Robot navigation and positioning method based on multi-sensor fusion

Through multi-sensor fusion and deep learning models, dynamic adjustment of sensor weights, combined with the improved Kalman filter algorithm, solves the problem of insufficient accuracy and robustness of traditional navigation systems in complex environments, and achieves efficient, accurate navigation, positioning and autonomy. decision making.

CN118225083BActive Publication Date: 2024-08-30SUZHOU MINGTAI INTELLIGENT EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410365810.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-08-30
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

Traditional robot navigation systems are difficult to achieve high-precision and robust navigation and positioning in complex or changing environments. Single sensors or simple data fusion methods are susceptible to environmental interference and cannot fully utilize the complementarity of multiple sensor data.

Method used

A multi-sensor fusion method is adopted to collect environmental data through optical sensors, inertial measurement units and geomagnetic sensors, perform time series analysis and deep learning model feature extraction, dynamically adjust sensor weights, and use an improved Kalman filter algorithm for position estimation and navigation strategies. Adjustment.

Benefits of technology

It significantly improves the accuracy and robustness of robot navigation and positioning, can flexibly respond to complex environmental changes, reduces navigation errors, enhances autonomous exploration and decision-making capabilities, and reduces dependence on external control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118225083B
    Figure CN118225083B
Patent Text Reader

Abstract

The present invention relates to the field of robot technology, and in particular to a robot navigation and positioning method based on multi-sensor fusion, comprising the following steps: S1: collecting and obtaining multi-dimensional information data of the robot's surrounding environment; S2: identifying time series features in the data; S3: applying a preset deep learning model to extract features of the time series features identified by S2; S4: adjusting the weights of different sensor data in real time; S5: fusing multi-sensor data adjusted by S4 weights, and using a preset improved Kalman filter algorithm to perform position estimation; S6: dynamically adjusting the robot's navigation strategy according to the position estimation result of S5; the present invention significantly improves the accuracy and robustness of the robot's navigation and positioning in a complex environment by efficiently fusing multi-sensor data and applying an improved Kalman filter algorithm, while ensuring the flexibility and adaptability of dynamically adjusting the navigation strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot technology, and in particular to a robot navigation and positioning method based on multi-sensor fusion. Background Art

[0002] With the rapid development of robotics technology, its applications in industrial automation, service industry and daily life are becoming increasingly extensive. The navigation and positioning capability of robots is the cornerstone of their autonomous behavior and is directly related to the efficiency and safety of robot operations. Traditional robot navigation systems often rely on preset environmental maps and simple sensor data processing technologies, such as using single or simple combinations of sensor data such as optical sensors, ultrasonic sensors or inertial measurement units for positioning and navigation. However, these methods face many challenges in complex or changing environments, such as sensor limitations, environmental uncertainties and dynamic changes, etc. These factors may lead to reduced navigation accuracy or even navigation failure.

[0003] Faced with complex and changing environmental conditions, a single sensor or a simple sensor data fusion method often cannot meet the high-precision and high-robustness navigation and positioning requirements. On the one hand, a single type of sensor data is easily interfered by specific environmental factors, such as illumination changes, sound wave reflections, etc., which affects the accuracy of navigation; on the other hand, simple data fusion methods fail to fully utilize the complementarity between various types of sensor data, limiting the system's ability to adapt to the environment and its response speed to dynamic obstacles.

[0004] Therefore, how to effectively integrate multiple sensor data, dynamically adjust data processing strategies to adapt to environmental changes, and improve the accuracy and robustness of the robot's navigation and positioning system has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] Based on the above objectives, the present invention provides a robot navigation and positioning method based on multi-sensor fusion.

[0006] The robot navigation and positioning method based on multi-sensor fusion includes the following steps:

[0007] S1: First, collect environmental data through different types of sensors to obtain multi-dimensional information data about the robot's surroundings;

[0008] S2: Perform time series analysis on the multi-dimensional information data collected in S1 to identify the temporal features in the data;

[0009] S3: Apply the preset deep learning model to extract the time series features identified by S2, aiming to identify the features that affect navigation and positioning from different sensor data;

[0010] S4: Based on the features extracted by S3, a preset dynamic weight adjustment algorithm based on machine learning is used to adjust the weights of different sensor data in real time to adapt to environmental changes and optimize the accuracy of fused data;

[0011] S5: Fuse the multi-sensor data after S4 weight adjustment, and use the preset improved Kalman filter algorithm for position estimation;

[0012] S6: Dynamically adjust the robot's navigation strategy based on the position estimation results of S5.

[0013] Furthermore, the different types of sensors in S1 include optical sensors, inertial measurement units and geomagnetic sensors. The specific steps of collecting environmental data are as follows:

[0014] S11: Use optical sensors to capture visual image data around the robot. The optical sensor captures images generated by light reflection and refraction to obtain visual features of the environment and the shape and color information of objects. This is used to provide the robot with visual-based environmental perception capabilities and can identify visual markers of road signs and obstacles.

[0015] S12: Use an inertial measurement unit to collect the robot's motion state data, including speed, acceleration and angular velocity. The inertial measurement unit includes an accelerometer, a gyroscope and sometimes a magnetometer. By measuring the acceleration and rotation of the robot, the robot is provided with its own motion information to help determine the relative position change;

[0016] S13: Collect geomagnetic field data through geomagnetic sensors. Geomagnetic sensors are used to measure the strength and direction of the earth's magnetic field and provide a reference for the robot's direction positioning.

[0017] S14: Perform preliminary integration of multi-source data from S11, S12, and S13 to establish a time-synchronized data set. Specifically, timestamp alignment technology is used to ensure that the data from each source reflects the status at the same point in time. The visual image data from the optical sensor, the motion data from the inertial measurement unit, and the geomagnetic field data from the geomagnetic sensor are then organized in a unified data format to form a comprehensive data set.

[0018] Furthermore, the S2 specifically includes:

[0019] S21: Apply the time series analysis algorithm to process the time synchronization data set obtained in S14, and use the sliding window technology to segment the data set. Each window covers data of a certain time length to capture the change characteristics in the time dimension;

[0020] S22: In each sliding window, the frequency domain analysis of each sensor data is performed using fast Fourier transform to identify the periodic changes and main frequency components in the data, and to identify the natural frequency of the robot motion and the repetitive patterns in the environment;

[0021] S23: Statistical feature extraction is performed on the frequency analysis results of S22, including calculating the average value, standard deviation, maximum value and minimum value of the data in each window, providing a quantitative description of the time series characteristics of the data, and statistically analyzing the trend and volatility of the sensor data over time;

[0022] S24: Using hidden Markov models to learn and identify the statistical features extracted in S23 to model the structural characteristics and patterns of the time series;

[0023] S25: Based on the output of the hidden Markov model in S24, identify key timing features in the dataset. Key timing features include the robot’s start and stop patterns, changes in the robot’s motion characteristics when moving on different terrains, behavioral adjustments when encountering obstacles, and the robot’s transfer patterns from one navigation marker to another.

[0024] Furthermore, the S24 specifically includes:

[0025] S241: Initialize the parameters of the hidden Markov model, including the state transition probability matrix A, the observation probability matrix B and the initial state probability distribution π. The parameters define the transition probability between hidden states in the model, the probability of each hidden state generating observation data and the probability of each hidden state at the beginning of the model.

[0026] The state transition probability matrix is: A = [a ij ], where a ij represents the probability of transitioning from state i to state j;

[0027] The observation probability matrix is: B = [b j (k)], where b j (k) represents the probability of observing the kth observation value in state j;

[0028] The initial state probability distribution is: π=[π i ], where π i represents the probability that the model is in state i at the beginning;

[0029] S242: using the statistical feature sequence extracted in S23 as the observation sequence, applying the forward-backward algorithm to train the hidden Markov model, and iteratively updating the model parameters by maximizing the probability of the observation sequence;

[0030] S243: After the hidden Markov model parameters are trained, the new observation sequence is decoded using the Viterbi algorithm to find the hidden state sequence that produces the observation data, so as to identify the structural features and repetitive patterns in the time series;

[0031] S244: Identify important turning points and pattern repetitions in time series data by analyzing the hidden state sequence obtained by the Viterbi algorithm.

[0032] Furthermore, the S3 specifically includes:

[0033] S31: Use the CNN model as the preset deep learning model for feature extraction. The CNN model is suitable for processing data with obvious spatial hierarchical structure;

[0034] S32: Preprocess the time series feature data identified by time series analysis in step S2, including standardization and shape adjustment, to adapt to the input requirements of the CNN model. Preprocessing is to convert the time series data into a consistent format and size so that the processed data can be processed by the CNN model. The preprocessing formula is: Among them, X norm is the standardized data point; X is the original data point; μ is the mean value of the data; σ is the standard deviation of the data;

[0035] S33: The preprocessed data is input into the CNN model. The CNN model automatically learns and extracts features from time series data through multiple convolutional layers and pooling layers. Each convolutional layer uses a set of learned filters to perform a convolution operation on the input data to identify local patterns in the data, including trends and periodic changes. The formula for the convolution operation is: F(i, j) = ∑ m ∑ n W(m,n)·X(im,jn), where F(i,j) is the value of the output feature map of the convolution operation at position (i,j); W(m,n) is the weight of the convolution kernel, and its value at position (m,n), representing the parameters of the learned feature extractor; X(im,jn is the value of the input data at position im,jn after relative displacement, representing the output data of the original or previous layer, which is used for product operation with the convolution kernel; ∑ m ∑ n It is a double summation symbol, which means traversing all m and n and accumulating the sum of the multiplication of the entire convolution kernel and the input data;

[0036] S34: Use the output features of the CNN model for subsequent analysis to identify features that affect navigation positioning, including changes in motion patterns, the presence of structures in the environment, and visual patterns associated with navigation landmarks.

[0037] Furthermore, the S4 specifically includes:

[0038] S41: Define the initial weight of each sensor data stream as w i , where i represents the index of the sensor. The weight is used to reflect the contribution of each sensor to the accuracy of the final fusion data when starting the navigation and positioning task;

[0039] S42: Collect real-time sensor data and use the features extracted in step S3 to calculate the real-time performance score p of each sensor data i , the specific calculation formula is: i =α·A i +(1-α)·C i , where p i represents the real-time performance score of the i-th sensor; A i is a score calculated based on the accuracy of matching the data of sensor i with environmental markers or expected behavior patterns; C i is a score calculated based on the consistency of the data of sensor i in the time series; α is a preset parameter used to balance the weight of accuracy and consistency in the performance score;

[0040] S43: Apply dynamic weight adjustment algorithm, according to real-time performance score p i Adjust the weight of each sensor data. The weight adjustment formula is: Among them, w i is the initial weight of the first i sensor; is the weight of the i-th sensor after adjustment; p i is the real-time performance score of the i-th sensor; f is the weight rounding function, which adjusts the weight according to the sensor's performance score and the loss function under the current weight configuration; L is the loss function, which is used to measure the error between the fused data and the real environment state under the current weight configuration;

[0041] S44: Repeat steps S42 and S43 to dynamically adjust the sensor data weights in real time to ensure that the data fusion strategy can be dynamically optimized according to the real-time performance of each sensor and environmental changes, thereby improving the accuracy and robustness of navigation positioning.

[0042] Furthermore, the S5 specifically includes:

[0043] S51: score p of the real-time performance of each sensor data obtained in step S4 i , assigning a dynamic weight to each sensor The dynamic weight Determines the contribution of each sensor data in the final fusion process;

[0044] S52: Use the weighted average method to fuse the weighted multi-sensor data. The fused data is represented by D fusion , the specific calculation formula is: Among them, D i represents the data of the i-th sensor, is its corresponding dynamic weight;

[0045] S53: Use the preset improved Kalman filter algorithm to fused data D fusion Perform position estimation.

[0046] Furthermore, the specific steps of performing position estimation in S53 are as follows:

[0047] S531: Initialization, setting the initial state estimate based on the estimate of the robot's initial position and orientation and the estimate of the initial uncertainty and the initial error covariance P0, is the initial state estimation of the robot, including position and speed; P0 is the error covariance matrix of the initial state estimation;

[0048] S532: Make a prediction, using the robot's physical model to predict the state and error covariance at the next time point. The state prediction formula is: The error covariance prediction formula is: in, is the state estimate at time k; F k is the state transfer matrix; B k is the control input model; u k is the control input vector used to guide the movement of the robot; k|k-1 is the error covariance matrix of the predicted state; Q k is the process noise covariance matrix;

[0049] S533: Update, combine the new observation data from the sensor, update the state estimate and error covariance, and the Kalman gain calculation formula is: The state update formula is: The error covariance update formula is:

[0050] P k =(IK k H k ) k|k-1 , where K k is the Kalman gain; H k is the observation model matrix; R k is the observation noise covariance matrix; z k is the actual observation vector at time k; is the updated state estimate, which combines the prediction information and the new observation information; P k is the error covariance matrix of the updated state estimate; I is the identity matrix;

[0051] S534: Output position estimation, finally, Provides a position estimate at time k, including the robot's latest position and robot state information.

[0052] Furthermore, the S6 specifically includes:

[0053] S61: Analyze the position estimation result provided by S5, including the current position of the robot, the expected path and the characteristics of the environment, to identify obstacles, navigation marks and environmental characteristics on the path;

[0054] S62: Based on the analysis results of S61, the applicability of the current navigation strategy is evaluated. The evaluation is based on factors including the feasible path length, obstacle density and expected time. The specific evaluation formula is:

[0055] F applicability (strategy) = α·L+β·D+γ·T, where strategy represents the navigation strategy, L represents the path length, D represents the density of obstacles on the path, T represents the expected time required to pass the path, and α, β, and γ are weight coefficients of the evaluation basis respectively;

[0056] S63: Select the navigation strategy with the highest applicability score as the new navigation strategy of the robot. If the current strategy has the highest score, continue to maintain it; if other strategies have higher scores, switch to the strategy with the highest score.

[0057] S64: Dynamically adjust the robot's motion parameters to adapt to the new navigation strategy, the motion parameters including adjusting speed, steering angle or path planning parameters.

[0058] Furthermore, the navigation strategies include straight line shortest path navigation, safety priority navigation and time optimal navigation.

[0059] Beneficial effects of the present invention:

[0060] The present invention significantly improves the accuracy of robot navigation and positioning by fusing multi-sensor data and adopting an improved Kalman filter algorithm for dynamic position estimation. The improved Kalman filter algorithm takes into account the uncertainty of sensor data and environmental changes, and dynamically adjusts the sensor weights to ensure that the optimal position estimation result can be obtained under various environmental conditions. This is especially important for robot systems that need to operate in different environments, thereby ensuring efficient and accurate task execution.

[0061] The present invention uses a dynamic weight adjustment algorithm to adjust the contribution of each sensor data in position estimation in real time, effectively responding to the challenges brought by environmental changes. This adaptive feature enables the system to flexibly respond to complex and changeable working environments, such as changes in indoor and outdoor environments, different lighting conditions, and temporary environmental interference, thereby ensuring that the robot's navigation performance is not affected when facing unknown or changing environments.

[0062] The present invention enhances the robot's autonomous exploration and decision-making capabilities in unknown environments by dynamically adjusting the navigation strategy based on real-time position estimation results. The robot can intelligently select the best navigation path and behavior strategy based on the current position estimation and environmental information, effectively avoid obstacles, and reduce navigation errors. This not only improves the robot's efficiency in completing tasks, but also reduces dependence on external control and intervention, providing solid technical support for the robot's widespread application and independent operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 A schematic diagram of a robot navigation and positioning method according to an embodiment of the present invention;

[0065] Figure 2 The figure is a schematic diagram of a flow chart of dynamically adjusting a robot's navigation strategy according to an embodiment of the present invention. DETAILED DESCRIPTION

[0066] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0067] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. The words "include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0068] like Figure 1-2 As shown, the robot navigation and positioning method based on multi-sensor fusion includes the following steps:

[0069] S1: First, collect environmental data through different types of sensors to obtain multi-dimensional information data about the robot's surroundings;

[0070] S2: Perform time series analysis on the multi-dimensional information data collected in S1 to identify the time series features in the data and provide a basis for subsequent data fusion;

[0071] S3: Apply the preset deep learning model to extract the time series features identified by S2, aiming to identify the features that affect navigation and positioning from different sensor data;

[0072] S4: Based on the features extracted by S3, a preset dynamic weight adjustment algorithm based on machine learning is used to adjust the weights of different sensor data in real time to adapt to environmental changes and optimize the accuracy of fused data;

[0073] S5: Fusion of multi-sensor data after weight adjustment in S4 and position estimation using a preset improved Kalman filter algorithm, which is specially optimized to process data from multiple sources and dynamically adjust its prediction model;

[0074] S6: Based on the position estimation results of S5, the robot’s navigation strategy is dynamically adjusted to ensure efficient and accurate navigation in complex environments.

[0075] The different types of sensors in the S1 include optical sensors, inertial measurement units, and geomagnetic sensors. The specific steps for collecting environmental data are as follows:

[0076] S11: Use optical sensors to capture visual image data around the robot. The optical sensor captures images generated by light reflection and refraction to obtain visual features of the environment and the shape and color information of objects. This is used to provide the robot with visual-based environmental perception capabilities and can identify visual markers of road signs and obstacles.

[0077] S12: Use an inertial measurement unit to collect the robot's motion state data, including speed, acceleration and angular velocity. The inertial measurement unit includes an accelerometer, a gyroscope and sometimes a magnetometer. By measuring the acceleration and rotation of the robot, the robot is provided with its own motion information to help determine the relative position change;

[0078] S13: Collect geomagnetic field data through geomagnetic sensors. Geomagnetic sensors are used to measure the strength and direction of the earth's magnetic field and provide a reference for the robot's direction positioning. This type of data is particularly suitable for indoor environments or places where GPS signals are unreliable, helping the robot maintain the correct navigation direction.

[0079] S14: Preliminary integration of multi-source data from S11, S12 and S13 to establish a time-synchronized data set, providing a basis for subsequent in-depth analysis and data fusion. Specifically, timestamp alignment technology is used to ensure that data from each source reflects the status at the same time point, solving the time inconsistency problem caused by differences in sensor acquisition frequency or processing delays; then the visual image data of the optical sensor, the motion data of the inertial measurement unit and the geomagnetic field data of the geomagnetic sensor are organized in a unified data format to form a comprehensive data set. This step ensures that the information obtained from multiple sensors can be accurately recorded and aligned on a unified timeline, laying a solid foundation for subsequent advanced data processing and fusion analysis.

[0080] S2 specifically includes:

[0081] S21: Apply the time series analysis algorithm to process the time synchronization data set obtained in S14, and use the sliding window technology to segment the data set. Each window covers data of a certain time length to capture the change characteristics in the time dimension;

[0082] S22: In each sliding window, the frequency domain analysis of each sensor data is performed using fast Fourier transform to identify the periodic changes and main frequency components in the data, and to identify the natural frequency of the robot motion and the repetitive patterns in the environment;

[0083] S23: Statistical feature extraction is performed on the frequency analysis results of S22, including calculating the average value, standard deviation, maximum value and minimum value of the data in each window, providing a quantitative description of the time series characteristics of the data, and statistically analyzing the trend and volatility of the sensor data over time;

[0084] S24: Using a hidden Markov model to learn and identify the statistical features extracted in S23 to model the structural features and patterns of the time series. The hidden Markov model is a statistical model used to describe a Markov process with hidden unknown parameters. In this step, the HMM is trained to identify and simulate specific state transitions in the sensor data time series. These transitions may correspond to different motion modes of the robot or changes in environmental conditions. Through training, the HMM can predict the sequence of hidden states based on the observed statistical feature sequence, thereby identifying the structural features and repeated patterns in the time series.

[0085] S25: Based on the output of the hidden Markov model in S24, identify the key timing features in the data set. The key timing features include the robot's start and stop patterns, changes in the robot's motion characteristics when moving on different terrains, behavioral adjustments when encountering obstacles, and the robot's transfer patterns from one navigation marker to another. By identifying these key timing features, we can deeply understand the robot's behavior and response under different environmental conditions, providing an important basis for subsequent data fusion and navigation decisions.

[0086] S24 specifically includes:

[0087] S241: Initialize the parameters of the hidden Markov model, including the state transition probability matrix A, the observation probability matrix B and the initial state probability distribution π. The parameters define the transition probability between hidden states in the model, the probability of each hidden state generating observation data and the probability of each hidden state at the beginning of the model.

[0088] The state transition probability matrix is: A = [a ij ], where a ij represents the probability of transitioning from state i to state j;

[0089] The observation probability matrix is: B = [b j (k)], where b j (k) represents the probability of observing the kth observation value in state j;

[0090] The initial state probability distribution is: π=[π i ], where π i represents the probability that the model is in state i at the beginning;

[0091] S242: Using the statistical feature sequence extracted in S23 as the observation sequence, the forward-backward algorithm is applied to train the hidden Markov model, and the model parameters are iteratively updated by maximizing the probability of the observation sequence. Specifically, for a given observation sequence O = {o1, o2, ..., o T}, the forward-backward algorithm will iteratively update A, B, π to maximize P(O|λ), where λ represents the set of parameters of the hidden Markov model;

[0092] S243: After the hidden Markov model parameter training is completed, the Viterbi algorithm is used to decode the new observation sequence to find the hidden state sequence that produces the observation data, so as to identify the structural features and repetitive patterns in the time series; such as the specific movement behavior of the robot or the environmental change pattern. The specific steps are as follows:

[0093] For a given observation sequence O and model λ = (A, B, π), the Viterbi algorithm is used to find the state sequence Q = {q1, q2, …, qT}, solved by dynamic programming, define V t (j) is the value of o observed at time t t , and the probability of the maximum probability path in state j, for each state j and each time step t, is calculated as:

[0094] V t (j) = max 1≤i≤ N[V t-1 (i) a ij ]·b j (o t ), where V t (j) is the probability of the most probable path in state j at time t, given the observation sequence so far; t is the observed value observed at time t; N is the total number of states, the number of hidden states in the hidden Markov model; a ij is the state transition probability, which indicates the probability of transitioning from state i at time t-1 to state j at time t; b j (o t ) is the observation probability, given that in state j, the observed value o is observed t The probability of max 1≤i≤N This is a mathematical expression, which means that for all possible previous states i (where i ranges from inverse N), find the expression V t-1 (i) a ij The value of i that reaches the maximum value, the purpose of this expression is to select the optimal previous state to ensure that the current state j has the maximum probability path at time t;

[0095] In short, the core of the Viterbi algorithm is to iteratively calculate the optimal path probability V for each state j at each time point t through dynamic programming. t (j) The algorithm starts from the initial state and gradually calculates the optimal path of each state at each time point until the observation sequence ends, thereby finding the optimal state sequence of the entire observation sequence. This process depends on the state transition probability a ij and the observation probability b j (o t ), these probabilities are determined by the parameters of the hidden Markov model.

[0096] S244: By analyzing the hidden state sequence obtained by the Viterbi algorithm, important turning points and pattern repetitions in the time series data are identified, such as the state transition from static to dynamic, or the behavior pattern under specific environmental conditions; specifically, by analyzing the state sequence Q = {q1, q2, ..., q T}, find the areas where the state changes frequently (turning points) and the recurrence of state patterns (repeated patterns); calculate the state transition frequency matrix C = [c ij ], where c ij represents the number of times state i transitions to state j. Periodic analysis can identify periodic patterns by evaluating the time intervals and variability of state transitions.

[0097] S3 specifically includes:

[0098] S31: Use the CNN model as the preset deep learning model for feature extraction. The CNN model is suitable for processing data with obvious spatial hierarchical structure, such as time series data. The CNN model can identify local patterns and features.

[0099] S32: Preprocess the time series feature data identified by time series analysis in step S2, including standardization and shape adjustment, to adapt to the input requirements of the CNN model. Preprocessing is to convert the time series data into a consistent format and size so that the processed data can be processed by the CNN model. The preprocessing formula is: Among them, X norm is the standardized data point, which represents the processed time series feature value so that it has a unified scale and range; X is the original data point, which represents the unprocessed time series feature value; μ is the mean value of the data, which is calculated as the average of all time series data points X; σ is the standard deviation of the data, which is calculated as the square root of the sum of the squares of the differences between all time series data points X and their mean value μ; the purpose of this preprocessing step is to standardize the original time series data so that the processed data has zero mean and unit variance, thereby improving the efficiency and accuracy of subsequent deep learning model processing;

[0100] S33: The preprocessed data is input into the CNN model. The CNN model automatically learns and extracts features from time series data through multiple convolutional layers and pooling layers. Each convolutional layer uses a set of learned filters to perform a convolution operation on the input data to identify local patterns in the data, including trends and periodic changes. The formula for the convolution operation is: F(i, j) = ∑ m ∑ n W(m,n)·X(im,jn), where F(i,j) is the value of the output feature map of the convolution operation at position (i,j), indicating the new feature value after being processed by a specific filter; W(m,n) is the weight of the convolution kernel (or filter), and its value at position (m,n), indicating the parameters of the learned feature extractor; X(im,jn) is the value of the input data at position (im,jn) after relative displacement, indicating the output data of the original or previous layer, which is used for multiplication operation with the convolution kernel; ∑ m ∑ nIt is a double summation symbol, which means that all m and n are traversed, and the sum of the multiplication of the entire convolution kernel and the input data is accumulated. Here, m and n traverse all positions of the convolution kernel W. The convolution operation generates an output feature map F by sliding the convolution kernel W on the input data and calculating the dot product sum of the convolution kernel and the local area of ​​the input data. This process can capture local patterns and features in the input data, such as edges and textures, which is crucial for deep learning models, especially convolutional neural networks (CNNs) in feature extraction.

[0101] S34: Use the output features of the CNN model for subsequent analysis to identify features that affect navigation positioning, including changes in motion patterns (such as acceleration and deceleration), the presence of structures in the environment (such as doorways and aisles), and visual patterns associated with navigation landmarks.

[0102] S4 specifically includes:

[0103] S41: Define the initial weight of each sensor data stream as w i , where i represents the index of the sensor. The weight is used to reflect the contribution of each sensor to the accuracy of the final fusion data when starting the navigation and positioning task;

[0104] S42: Collect real-time sensor data and use the features extracted in step S3 to calculate the real-time performance score p of each sensor data i , the specific calculation formula is: i =α·A i +(1-α)·C i , where p i represents the real-time performance score of the i-th sensor; A i It is a score calculated based on the matching accuracy between sensor i’s data and environmental markers or expected behavior patterns, reflecting the accuracy of sensor data; C i It is a score calculated based on the consistency of the data of sensor i in the time series, reflecting the stability and reliability of the data; α is a preset parameter used to balance the weight of accuracy and consistency in the performance score, with a value range of 0,1;

[0105] By calculating the performance score p of each sensor in real time i , can dynamically evaluate the relative performance of each sensor under the current environmental conditions, which provides a basis for subsequent weight adjustments, ensuring that the data fusion process can more flexibly adapt to various environmental changes and improve the accuracy and robustness of the overall system;

[0106] S43: Apply dynamic weight adjustment algorithm, according to real-time performance score p i Adjust the weight of each sensor data. The weight adjustment formula is: Among them, wi is the initial weight of the i-th sensor, reflecting its initial contribution to the accuracy of the fusion data; is the weight of the i-th sensor after adjustment; p i is the real-time performance score of the i-th sensor, which is calculated based on the freshness, signal-to-noise ratio and feature recognition accuracy of its data; f is the weight adjustment function, which adjusts the weight according to the performance score of the sensor and the loss function under the current weight configuration; L is the loss function, which is used to measure the error between the fused data and the real environment state under the current weight configuration, and supports the weight adjustment algorithm to optimize the weight configuration to reduce this error;

[0107] S44: repeating steps S42 and S43 to dynamically adjust the sensor data weights in real time, ensuring that the data fusion strategy can be dynamically optimized according to the real-time performance of each sensor and environmental changes, thereby improving the accuracy and robustness of navigation positioning;

[0108] Through the above steps and algorithms, the clarity and operability of the dynamic weight adjustment process are ensured, and the effectiveness of machine learning-based methods in real-time adaptation to environmental changes and optimization of multi-sensor data fusion is emphasized. This method improves the adaptability of the robot navigation and positioning system to complex environments and enhances the accuracy and intelligence of the data fusion process.

[0109] S5 specifically includes:

[0110] S51: score p of the real-time performance of each sensor data obtained in step S4 i , assigning a dynamic weight to each sensor The dynamic weight Determines the contribution of each sensor data in the final fusion process;

[0111] S52: Use the weighted average method to fuse the weighted multi-sensor data. The fused data is represented by D fusion , the specific calculation formula is: Among them, D i represents the data of the i-th sensor, is its corresponding dynamic weight, which ensures that the contribution of each sensor to the final position estimation is dynamically adjusted according to its real-time performance score;

[0112] S53: Use the preset improved Kalman filter algorithm to fused data D fusion For position estimation, the improved Kalman filter algorithm takes into account the uncertainty and dynamic changes of sensor data and optimizes the accuracy and robustness of position estimation.

[0113] The specific steps of performing position estimation in S53 are as follows:

[0114] S531: Initialization, setting the initial state estimate based on the estimate of the robot's initial position and orientation and the estimate of the initial uncertainty and the initial error covariance P0, is the initial state estimation of the robot, including position and speed; P0 is the error covariance matrix of the initial state estimation, indicating the uncertainty of the initial state estimation;

[0115] S532: Make a prediction, using the robot's physical model to predict the state and error covariance at the next time point. The state prediction formula is: The error covariance prediction formula is: in, is the state estimate at time k, given all information up to time k-1; F k B is the state transfer matrix, which is used to predict the state from time k-1 to k; k is the control input model, which describes the control input u k How to affect the change of state; k P is the control input vector, such as drive instructions, used to guide the movement of the robot; k|k-1 is the error covariance matrix of the predicted state, indicating the uncertainty of the predicted state; Q k is the process noise covariance matrix, which represents the source of uncertainty in the model prediction;

[0116] S533: Update, combine the new observation data from the sensor, update the state estimate and error covariance, and the Kalman gain calculation formula is: The state update formula is: The error covariance update formula is:

[0117] P k =(IK k H k ) k|k-1 , where K k is the Kalman gain, which is used to balance the weights of prediction and observation; H k is the observation model matrix, which maps the state space to the observation space; R k is the observation noise covariance matrix, which represents the source of uncertainty in the observation; k is the actual observation vector at time k; is the updated state estimate, which combines the prediction information and the new observation information; P kis the error covariance matrix of the updated state estimate, which represents the uncertainty of the updated state estimate; I is the unit matrix, whose dimension is consistent with the dimension of the state space;

[0118] S534: Output position estimation, finally, The position estimate at time k is provided, including the latest position of the robot and the robot state information (such as speed). This estimate is based on the result of multi-sensor data fusion and improved Kalman filter algorithm with dynamic weight adjustment, which can adapt to environmental changes and improve positioning accuracy.

[0119] Through the above steps, the improved Kalman filter algorithm can effectively fuse the multi-sensor data with dynamic weight adjustment to provide accurate robot position estimation.

[0120] S6 specifically includes:

[0121] S61: Analyze the position estimation result provided by S5, including the current position of the robot, the expected path and the characteristics of the environment, to identify obstacles, navigation marks and environmental characteristics on the path;

[0122] S62: Based on the analysis results of S61, the applicability of the current navigation strategy is evaluated. The evaluation is based on factors including the feasible path length, obstacle density and expected time. The specific evaluation formula is:

[0123] F applicalility (strategy) = α·L+β·D+γ·T, where strategy represents the navigation strategy, L represents the path length, D represents the density of obstacles on the path, T represents the expected time required to pass the path, and α, β, and γ are weight coefficients of the evaluation basis respectively;

[0124] S63: Select the navigation strategy with the highest applicability score as the new navigation strategy of the robot. If the current strategy has the highest score, continue to maintain it; if other strategies have higher scores, switch to the strategy with the highest score.

[0125] S64: Dynamically adjust the robot's motion parameters to adapt to the new navigation strategy. The motion parameters include adjusting the speed, steering angle, or path planning parameters. For example, if the new strategy requires avoiding obstacles, it may be necessary to slow down and adjust the steering angle to avoid them.

[0126] Through the above steps, the robot can flexibly adjust its navigation strategy according to real-time position estimation and environmental changes to ensure the accuracy, safety and efficiency of navigation. This process adopts a systematic approach to evaluate and select the navigation strategy that best suits the current situation, and adjust the robot's behavior accordingly to adapt to dynamically changing environmental conditions.

[0127] Navigation strategies include straight-line shortest path navigation, safety-first navigation, and time-optimal navigation; straight-line shortest path navigation will give priority to the shortest path; safety-first navigation will give priority to paths that avoid areas with dense obstacles; and time-optimal navigation will give priority to paths with the shortest estimated time.

[0128] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A robot navigation and positioning method based on multi-sensor fusion, characterized in that: The following steps are involved: S1: First, collect environmental data through different types of sensors to obtain multi-dimensional information data of the robot's surrounding environment. The different types of sensors include optical sensors, inertial measurement units, and geomagnetic sensors. The specific steps of collecting environmental data are as follows: S11: Use optical sensors to capture visual image data around the robot. The optical sensor captures images generated by light reflection and refraction to obtain visual features of the environment and the shape and color information of objects. This is used to provide the robot with visual-based environmental perception capabilities and can identify visual markers of road signs and obstacles. S12: Use an inertial measurement unit to collect the robot's motion state data, including speed, acceleration and angular velocity. The inertial measurement unit includes an accelerometer, a gyroscope and sometimes a magnetometer. By measuring the acceleration and rotation of the robot, the robot is provided with its own motion information to help determine the relative position change; S13: Collect geomagnetic field data through geomagnetic sensors. Geomagnetic sensors are used to measure the strength and direction of the earth's magnetic field and provide a reference for the robot's direction positioning. S14: Perform preliminary integration of multi-source data from S11, S12, and S13 to establish a time-synchronized data set. Specifically, timestamp alignment technology is used to ensure that the data from each source reflects the status at the same time point. The visual image data from the optical sensor, the motion data from the inertial measurement unit, and the geomagnetic field data from the geomagnetic sensor are then organized in a unified data format to form a comprehensive data set; S2: Perform time series analysis on the multi-dimensional information data collected in S1 to identify the time series features in the data, including: S21: Apply the time series analysis algorithm to process the time synchronization data set obtained in S14, and use the sliding window technology to segment the data set. Each window covers data of a certain time length to capture the change characteristics in the time dimension; S22: In each sliding window, the frequency domain analysis of each sensor data is performed using fast Fourier transform to identify the periodic changes and main frequency components in the data, and to identify the natural frequency of the robot motion and the repetitive patterns in the environment; S23: Statistical feature extraction is performed on the frequency analysis results of S22, including calculating the average value, standard deviation, maximum value and minimum value of the data in each window, providing a quantitative description of the time series characteristics of the data, and statistically analyzing the trend and volatility of the sensor data over time; S24: Using a hidden Markov model to learn and identify the statistical features extracted in S23 to model the structural features and patterns of the time series. S24 specifically includes: S241: Initialize the parameters of the hidden Markov model, including the state transition probability matrix A, the observation probability matrix B and the initial state probability distribution π. The parameters define the transition probability between hidden states in the model, the probability of each hidden state generating observation data and the probability of each hidden state at the beginning of the model. The state transition probability matrix is: A = [α ij ], where a ij represents the probability of transitioning from state i to state j; The observation probability matrix is: B = [b j (k)], where b j (k) represents the probability of observing the kth observation value in state j; The initial state probability distribution is: π=[π i ], where π i represents the probability that the model is in state i at the beginning; S242: using the statistical feature sequence extracted in S23 as the observation sequence, applying the forward-backward algorithm to train the hidden Markov model, and iteratively updating the model parameters by maximizing the probability of the observation sequence; S243: After the hidden Markov model parameters are trained, the new observation sequence is decoded using the Viterbi algorithm to find the hidden state sequence that produces the observation data, so as to identify the structural features and repetitive patterns in the time series; S244: Identify important turning points and pattern repetitions in time series data by analyzing the hidden state sequence obtained by the Viterbi algorithm; S25: Based on the output of the hidden Markov model in S24, identify key temporal features in the dataset. Key temporal features include the robot’s start and stop patterns, changes in motion characteristics when the robot moves on different terrains, behavioral adjustments when encountering obstacles, and the robot’s transfer patterns from one navigation marker to another. S3: Apply the preset deep learning model to extract the time series features identified by S2, aiming to identify the features that affect navigation and positioning from different sensor data, including: S31: Use the CNN model as the preset deep learning model for feature extraction. The CNN model is suitable for processing data with obvious spatial hierarchical structure; S32: Preprocess the time series feature data identified by time series analysis in step S2, including standardization and shape adjustment, to adapt to the input requirements of the CNN model. Preprocessing is to convert the time series data into a consistent format and size so that the processed data can be processed by the CNN model. The preprocessing formula is: Among them, X norm is the standardized data point; X is the original data point; μ is the mean value of the data; σ is the standard deviation of the data; S33: The preprocessed data is input into the CNN model. The CNN model automatically learns and extracts features from time series data through multiple convolutional layers and pooling layers. Each convolutional layer uses a set of learned filters to perform a convolution operation on the input data to identify local patterns in the data, including trends and periodic changes. The formula for the convolution operation is: F(i, j) = ∑ m ∑ n W(m,n)·X(im,jn), where F(i,j) is the value of the output feature map of the convolution operation at position (i,j); W(m,n) is the weight of the convolution kernel, and its value at position (m,n), representing the parameters of the learned feature extractor; X(im,jn is the value of the input data at position im,jn after relative displacement, representing the output data of the original or previous layer, which is used for product operation with the convolution kernel; ∑ m ∑ n It is a double summation symbol, which means traversing all m and n and accumulating the sum of the multiplication of the entire convolution kernel and the input data; S34: Use the output features of the CNN model for subsequent analysis to identify features that affect navigation and positioning, including changes in motion patterns, the presence of structures in the environment, and visual patterns associated with navigation landmarks; S4: Based on the features extracted by S3, a preset dynamic weight adjustment algorithm based on machine learning is used to adjust the weights of different sensor data in real time to adapt to environmental changes and optimize the accuracy of fused data; S5: Fuse the multi-sensor data after S4 weight adjustment, and use the preset improved Kalman filter algorithm for position estimation; S6: Dynamically adjust the robot's navigation strategy based on the position estimation results of S5.

2. The robot navigation and positioning method based on multi-sensor fusion according to claim 1 is characterized in that: The S4 specifically includes: S41: Define the initial weight of each sensor data stream as w i , where i represents the index of the sensor. This initial weight is used to reflect the contribution of each sensor to the accuracy of the final fusion data when starting the navigation and positioning task; S42: Collect real-time sensor data and use the features extracted in step S3 to calculate the real-time performance score p of each sensor data i , the specific calculation formula is: i =α·A i +(1-α)·C i , where p i represents the real-time performance score of the i-th sensor; A i is a score calculated based on the accuracy of matching the data of sensor i with environmental markers or expected behavior patterns; C i is a score calculated based on the consistency of the data of sensor i in the time series; α is a preset parameter used to balance the weight of accuracy and consistency in the performance score; S43: Apply dynamic weight adjustment algorithm, according to real-time performance score p i Adjust the weight of each sensor data. The weight adjustment formula is: Among them, w i is the initial weight of the i-th sensor; is the weight of the i-th sensor after adjustment; p i is the real-time performance score of the i-th sensor; f is the weight adjustment function, which adjusts the weight according to the sensor's performance score and the loss function under the current weight configuration; L is the loss function, which is used to measure the error between the fused data and the real environment state under the current weight configuration; S44: Repeat steps S42 and S43 to dynamically adjust the sensor data weights in real time to ensure that the data fusion strategy can be dynamically optimized according to the real-time performance of each sensor and environmental changes, thereby improving the accuracy and robustness of navigation positioning.

3. The robot navigation and positioning method based on multi-sensor fusion according to claim 2 is characterized in that: The S5 specifically includes: S51: score p of the real-time performance of each sensor data obtained in step S4 i , assigning a dynamic weight to each sensor The dynamic weight Determines the contribution of each sensor data in the final fusion process; S52: Use the weighted average method to fuse the weighted multi-sensor data. The fused data is represented by D fusion , the specific calculation formula is: D i , where D i represents the data of the i-th sensor, is its corresponding dynamic weight; S53: Use the preset improved Kalman filter algorithm to fused data D fusion Perform position estimation.

4. The robot navigation and positioning method based on multi-sensor fusion according to claim 3 is characterized in that: The specific steps of performing position estimation in S53 are as follows: S531: Initialization, setting the initial state estimate based on the estimate of the robot's initial position and orientation and the estimate of the initial uncertainty and the initial error covariance P0, is the initial state estimation of the robot, including position and speed; P0 is the error covariance matrix of the initial state estimation; S532: Make a prediction, using the robot's physical model to predict the state and error covariance at the next time point. The state prediction formula is: The error covariance prediction formula is: in, is the state estimate at time k; F k is the state transfer matrix; u k is the control input vector used to guide the movement of the robot; k|k-1 is the error covariance matrix of the predicted state; Q k is the process noise covariance matrix; S533: Update, combine the new observation data from the sensor, update the state estimate and error covariance, and the Kalman gain calculation formula is: The state update formula is: The error covariance update formula is: P k =(IK k H k ) k|k-1 , where K k is the Kalman gain; H k is the observation model matrix; R k is the observation noise covariance matrix; z k is the actual observation vector at time k; is the updated state estimate, which combines the prediction information and the new observation information; P k is the error covariance matrix of the updated state estimate; I is the identity matrix; S534: Output position estimation, finally, The position estimate at time k is provided, including the robot's latest position and robot state information.

5. The robot navigation and positioning method based on multi-sensor fusion according to claim 4 is characterized in that: The S6 specifically includes: S61: Analyze the position estimation result provided by S5, including the current position of the robot, the expected path and the characteristics of the environment, to identify obstacles, navigation marks and environmental characteristics on the path; S62: Based on the analysis results of S61, the applicability of the current navigation strategy is evaluated. The evaluation is based on factors including the feasible path length, obstacle density and expected time. The specific evaluation formula is: F applicability (strategy) = α·L+β·D+γ·T, where strategy represents the navigation strategy, L represents the path length, D represents the density of obstacles on the path, T represents the expected time required to pass the path, and α, β, and γ are weight coefficients of the evaluation basis respectively; S63: Select the navigation strategy with the highest applicability score as the new navigation strategy of the robot. If the current strategy has the highest score, continue to maintain it; if other strategies have higher scores, switch to the strategy with the highest score. S64: Dynamically adjust the robot's motion parameters to adapt to the new navigation strategy. The motion parameters include adjusting speed and steering angle.

6. The robot navigation and positioning method based on multi-sensor fusion according to claim 5, characterized in that: The navigation strategies include straight line shortest path navigation, safety priority navigation and time optimal navigation.

Citation Information

Patent Citations

  • Zero-speed detection method based on hidden Markov model and indoor pedestrian inertial navigation system

    CN109883429A

  • Positioning method and apparatus, device and medium

    CN110514211A