A robot path planning method and system based on real-time modeling

The robot positioning error is corrected through the state space model and Bayesian formula, and the path planning is optimized using filters, which solves the problem of inaccurate path planning caused by real-time perception and modeling errors, and achieves higher positioning accuracy and path planning efficiency.

CN118034304BActive Publication Date: 2024-09-06GUANGZHOU DONGDING INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410249462.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-05
Publication Date
2024-09-06
Estimated Expiration
2044-03-05

AI Technical Summary

Technical Problem

Existing robot path planning methods suffer from the problem of inaccurate path planning due to real-time perception and modeling errors.

Method used

Using a method based on real-time modeling, the robot positioning error is corrected through the state space model and Bayesian formula, and the Kalman filter or extended Kalman filter is used for recursive filtering to improve positioning accuracy and optimize path planning.

Benefits of technology

Each time new positioning observation data is obtained, error correction is performed to improve positioning accuracy, and path planning is performed based on the corrected positioning information before path planning to improve the accuracy and efficiency of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118034304B
    Figure CN118034304B
Patent Text Reader

Abstract

The present invention specifically relates to a robot path planning method and system based on real-time modeling. The method comprises the following steps: establishing a real-time error model, using a state space model to characterize the real-time error model: the state space model comprises a first vector characterizing the robot positioning state and a second vector characterizing the observed robot positioning; defining a likelihood function as the probability of observing the second vector when a first vector of a given real state is given, and expressing the error based on a Gaussian noise model; setting a priori distribution, wherein the first vector comes from historical statistical data of previous measurements, and defining a priori probability distribution; then continuously collecting position observation data output by a robot positioning receiver; updating the posterior probability distribution using a Bayesian formula; then passing through a recursive filter, and correcting the robot positioning error; and then planning the robot path based on the corrected robot positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of robot path planning, and in particular relates to a robot path planning method and system based on real-time modeling. Background Art

[0002] Robot path planning methods usually require environmental modeling: collect data through sensors (such as lidar, cameras or ultrasonic sensors, etc.) to build an environmental map, including the location, shape and size of obstacles. The map can be a grid map, a topological map or other forms of representation, such as a point cloud or a continuous space model. Determine the starting position and target position of the robot. Set planning parameters, such as the size of the robot, motion constraints (minimum turning radius, speed limit, etc.), planning scope, and possible path optimization criteria (such as shortest distance, minimum energy consumption, fastest speed, etc.). Apply a search algorithm on a known global map to find a feasible path from the starting point to the target point. If the environment is uncertain or changes in real time, the robot needs to make local path adjustments based on real-time sensor feedback to avoid unknown obstacles or adapt to environmental changes. Local path planning algorithms may include potential field method, dynamic window method, artificial potential field function method, fuzzy logic control, etc.

[0003] After obtaining the preliminary path, it needs to be smoothed to reduce unnecessary steering and acceleration and deceleration, and improve operating efficiency and stability. The trajectory generation stage converts the planned discrete path into a continuous time series of instructions for the robot actuator to follow. The robot moves according to the planned trajectory and continuously updates its position information during the actual execution process. When the actual situation deviates from the expected path, the feedback control mechanism is used to correct the path to ensure that the robot can reach the destination safely and accurately along the planned path.

[0004] The problems existing in the existing technology mainly include: real-time perception and modeling errors may lead to inaccurate path planning. Summary of the invention

[0005] The purpose of the present invention is to provide a robot path planning method based on real-time modeling to solve the problems raised in the above background technology.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] A robot path planning method based on real-time modeling includes the steps of correcting the robot positioning error according to existing data before planning the robot path;

[0008] Establish a real-time error model and use a state space model to characterize the real-time error model:

[0009] The state space model includes a first vector representing the robot positioning state and a second vector representing the observed robot positioning.

[0010] The first vector includes the real position of the robot and other state variables that affect the robot's positioning accuracy;

[0011] The second vector is the position observation data received by the robot for positioning;

[0012] Define the likelihood function as the probability of observing the second vector given the true state first vector, and express the error based on the Gaussian noise model;

[0013] Setting the prior distribution, the first vector comes from the historical statistical data of previous measurements, defining the prior probability distribution;

[0014] Then, the position observation data output by the robot positioning receiver is continuously collected;

[0015] Update the posterior probability distribution using the Bayesian formula;

[0016] Then the recursive filter is used to correct the robot positioning error;

[0017] The robot path is then planned based on the corrected robot positioning.

[0018] Preferably, other state variables affecting the positioning accuracy of the robot include speed and acceleration.

[0019] Preferably, the recursive filter comprises a Kalman filter (KF) or an extended Kalman filter (EKF), in which the true posterior distribution is approximated by iterative cycles of prediction steps and update steps.

[0020] Preferably, during the prediction step, the current state and its covariance matrix are predicted based on the state estimation at the previous moment and the dynamic model.

[0021] Preferably, during the updating step, new robot positioning observations are combined with the prediction results, the state estimate is updated via the Bayesian formula, and the covariance matrix is ​​updated to reflect the residual uncertainty.

[0022] The robot path planning system based on real-time modeling includes a computer program product of instructions, which, when running on a computer, enables the computer to execute the robot path planning method based on real-time modeling.

[0023] Beneficial Effects

[0024] This application will perform an error correction on the current position and related state variables every time a new robot positioning observation data is obtained, thereby improving the positioning accuracy. And before planning the robot path each time, the robot positioning error is corrected according to the existing data, and the robot path is planned based on the corrected robot positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 Flowchart of the robot path planning method based on real-time modeling. DETAILED DESCRIPTION

[0026] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0027] This application discloses a robot path planning method based on real-time modeling. Figure 1 The steps include correcting the robot positioning error based on the existing data before planning the robot path;

[0028] Establish a real-time error model and use a state space model to characterize the real-time error model:

[0029] The state space model includes a first vector representing the robot positioning state and a second vector representing the observed robot positioning.

[0030] The first vector A includes the real position of the robot and other state variables that affect the positioning accuracy of the robot (other state variables that affect the positioning accuracy of the robot include velocity, acceleration or time-related drift parameters);

[0031] The second vector B is the position observation data received by the robot positioning;

[0032] Define the likelihood function P(B|A) as the probability of observing B given the true state A, and express the error based on the Gaussian noise model;

[0033] Set the prior distribution. The first vector A comes from the historical statistical data of previous measurements, defining the prior probability distribution P(A);

[0034] Then, the position observation data B output by the robot positioning receiver is continuously collected;

[0035] Use the Bayesian formula to update the posterior probability distribution.

[0036] That is, P(A|B)=P(B|A)*P(A) / P(B);

[0037] Where P(B|A) is the likelihood function, which represents the probability of observing value B given state A; P(A) is the prior probability distribution; P(B) is the marginal probability of observing B in all possible states, which can be normalized to ensure that the sum of the posterior probabilities is 1;

[0038] Bayesian estimation is then performed through a recursive filter, such as a Kalman filter (KF) or an extended Kalman filter (EKF), or even a more complex particle filter, where the true posterior distribution is approximated and the robot positioning error is corrected by iterative cycles of prediction steps and update steps;

[0039] Then the robot path is planned based on the corrected robot positioning;

[0040] Kalman filter (KF) and extended Kalman filter (EKF) are recursive optimal filtering algorithms used to estimate the state of dynamic systems. They both include two main stages of prediction and update in structure, and are based on the Bayesian estimation principle. The following are the basic structural components of the two filters: Kalman filter (KF), 1. Prediction step:

[0041] State prediction: Based on the system's dynamic model and the state estimate at the previous moment, state prediction is performed through the state transfer matrix.

[0042] \[\hat{x}_{k|k-1}=A_{k-1}\hat{x}_{k-1|k-1}+B_{k-1}u_{k-1}\]

[0043] State covariance prediction: The new prediction error covariance matrix is ​​calculated using the state transfer matrix and the error covariance matrix of the previous moment.

[0044] \[P_{k|k-1}=A_{k-1}P_{k-1|k-1}A_{k-1}^T+Q_{k-1}\]

[0045] 2. Update Step:

[0046] Calculate the Kalman gain: Use the relationship between the current observation information and the prediction error covariance to determine the optimal fusion weight.

[0047] \[K_k=P_{k|k-1}H_k^T(H_k P_{k|k-1}H_k^T+R_k)^{-1}\]

[0048] State update: Combine the predicted state and the actual observation to update the state estimate via the Kalman gain.

[0049] \[\hat{x}_{k|k}=\hat{x}_{k|k-1}+K_k(z_k-H_k\hat{x}_{k|k-1})\]

[0050] -Updated covariance: updated state error covariance matrix.

[0051] \[P_{k|k}=(I-K_kH_k)P_{k|k-1}\]

[0052] in:

[0053] -\(\hat{x}\) is the state estimate vector.

[0054] -\(A\) is the state transfer matrix.

[0055] -\(B\) is the control input matrix.

[0056] -\(u\) is the control input vector.

[0057] -\(P\) is the covariance matrix of the state estimate.

[0058] -\(Q\) is the covariance matrix of the process noise.

[0059] -\(z\) is the observation vector.

[0060] -\(H\) is the observation matrix.

[0061] -\(R\) is the covariance matrix of the observation noise.

[0062] -\(K\) is the Kalman gain.

[0063] Extended Kalman filter (EKF), EKF is a variant of Kalman filter that linearizes and approximates nonlinear systems. Its basic structure also includes two steps: prediction and update, but it is different when dealing with nonlinear parts:

[0064] 1. Prediction Step:

[0065] The nonlinear state transfer function is subjected to first-order Taylor expansion to obtain a linearized prediction model.

[0066] The linearized first-order approximation model is used to perform the same prediction operation as KF.

[0067] 2. Update Step:

[0068] It is also necessary to linearize the nonlinear observation model, that is, to perform a first-order Taylor expansion on the observation function.

[0069] The linearized observation equation is used to calculate the Kalman gain and update the state estimate and error covariance matrix, which is similar to the update step in KF, but the linearized expressions are used.

[0070] The key to EKF is that, for nonlinear systems, it does not directly apply the original Kalman filter formula, but first locally linearizes the state transfer function and the observation function, and then performs the standard Kalman filter algorithm on this linearized model. However, since EKF relies on the approximation of the first-order Taylor expansion, when the system nonlinearity is strong or the system dynamics change greatly, EKF may be inaccurate or even divergent.

[0071] In the prediction step, the current state and its covariance matrix are predicted based on the state estimation and dynamic model of the previous moment (the prediction of the current position and state covariance matrix is ​​usually based on a filtering algorithm, such as Kalman filter (KF) or its extended version, such as unscented Kalman filter (UKF) and particle filter (PF). The following takes Kalman filter as an example to describe the prediction step:

[0072] 1. Initialization:

[0073] Set the robot's initial state vector `x_{k-1|k-1}`, which represents the optimal estimate at the previous time (k-1).

[0074] Determine the state transfer matrix `F_k`, which describes the state change relationship of the robot from time k-1 to time k according to the dynamic model.

[0075] Determine the process noise covariance matrix `Q_k`, which reflects the random errors in the state transition process due to model uncertainty or external disturbances.

[0076] 2. Motion Prediction:

[0077] Use the dynamic model to predict the state and calculate the state prediction value at the current time (k):

[0078] ```

[0079] x_{k|k-1}=F_k*x_{k-1|k-1}+B_k*u_k

[0080] ```

[0081] Where `u_k` is the control input vector (if present) and `B_k` is the control input matrix.

[0082] At the same time, the predicted state covariance matrix:

[0083] ```

[0084] P_{k|k-1}=F_k*P_{k-1|k-1}*F_k^T+Q_k

[0085] ```

[0086] Here `P_{k|k-1}` is the predicted covariance matrix, which represents the confidence level in the accuracy of the predicted state. `P_{k-1|k-1}` is the state covariance matrix of the best estimate at the previous moment.

[0087] In the update step, the new robot positioning observation data is combined with the prediction results, the state estimate is updated through the Bayesian formula (i.e., the robot positioning error is corrected), and the covariance matrix is ​​updated to reflect the residual uncertainty;

[0088] 1. Prediction stage:

[0089] Using the state estimate at the previous moment (including information such as position and speed) and control input (such as wheel speed, number of motor pulses, etc.), the state prediction value of the robot at the current moment is calculated according to the motion model.

[0090] At the same time, the predicted state covariance matrix (also called the process noise covariance matrix) is updated according to the uncertainty of the motion model.

[0091] 2. Update phase (Bayes update):

[0092] Collect new observations from sensors, such as lidar odometry, visual feature matching, or odometry readings.

[0093] Calculate the observation probability, that is, the probability of observing the current data given the predicted state conditions, usually expressed using the likelihood function: p(z_t|x_t).

[0094] Apply the Bayesian formula to update the status:

[0095] ```

[0096] p(x_t|z_t)=(p(z_t|x_t)*p(x_t)) / p(z_t)

[0097] ```

[0098] Where p(x_t|z_t) is the probability distribution of the robot state x_t given a new observation z_t, p(z_t|x_t) is the observation probability, p(x_t) is the predicted distribution, and p(z_t) is the evidence factor, also called the normalization constant.

[0099] 4. Kalman gain calculation:

[0100] In practical applications, especially in Kalman filters, since it is difficult to directly solve the above posterior probability in high-dimensional state space, a concise form is obtained through linearization and approximation methods. Calculate the Kalman gain K, which is the ratio of the prediction covariance matrix to the measurement covariance matrix and their cross covariance matrix, representing the trade-off between prediction information and observation information.

[0101] 5. State estimation update:

[0102] - The observation residual (observed value minus predicted observation value) is multiplied by the predicted state covariance matrix using the Kalman gain K to obtain the correction term for the state, which is added to the predicted state to obtain the optimal estimate (minimum mean square error estimate in the Kalman filter framework):

[0103] ```

[0104]

[0105] ```

[0106] 6. Covariance matrix update:

[0107] The updated state covariance matrix reflects the uncertainty of the state estimate after observation correction, and is calculated as:

[0108] ```

[0109] P_t|t=(I-K_t*H_t)*P_t|t-1

[0110] ```

[0111] Among them, I is the identity matrix, H_t is the Jacobian matrix or observation matrix of the observation model, P_t|t-1 is the predicted state covariance matrix, and P_t|t is the updated state covariance matrix.

[0112] It can be seen that this application will perform an error correction on the current position and related state variables every time new robot positioning observation data is obtained, thereby improving positioning accuracy.

[0113] The embodiments that require protection in this application include:

[0114] A robot path planning method based on real-time modeling includes the steps of correcting the robot positioning error according to the existing data before planning the robot path;

[0115] Establish a real-time error model and use a state space model to characterize the real-time error model:

[0116] The state space model includes a first vector representing the robot positioning state and a second vector representing the observed robot positioning.

[0117] The first vector includes the real position of the robot and other state variables that affect the robot's positioning accuracy;

[0118] The second vector is the position observation data received by the robot for positioning;

[0119] Define the likelihood function as the probability of observing the second vector given the true state first vector, and express the error based on the Gaussian noise model;

[0120] Setting the prior distribution, the first vector comes from the historical statistical data of previous measurements, defining the prior probability distribution;

[0121] Then, the position observation data output by the robot positioning receiver is continuously collected;

[0122] Update the posterior probability distribution using the Bayesian formula;

[0123] Then the recursive filter is used to correct the robot positioning error;

[0124] The robot path is then planned based on the corrected robot positioning.

[0125] Preferably, other state variables that affect the positioning accuracy of the robot include speed and acceleration.

[0126] Preferably, the recursive filter includes a Kalman filter (KF) and an extended Kalman filter (EKF). In the Kalman filter, the true posterior distribution is approximated by iterative cycles of prediction steps and update steps.

[0127] Preferably, during the prediction step, the current state and its covariance matrix are predicted based on the state estimation at the previous moment and the dynamic model.

[0128] Preferably, during the updating step, new robot positioning observation data is combined with the prediction results, the state estimate is updated via the Bayesian formula, and the covariance matrix is ​​updated to reflect the residual uncertainty.

[0129] The embodiment of the present application further provides a computer device system, which may include a terminal device or a server, and the data calculation program of the robot path planning method based on real-time modeling may be configured in the computer device system. The computer device system is introduced below.

[0130] If the computer device system is a terminal device, the present application embodiment provides a terminal device, taking the terminal device as a mobile phone as an example:

[0131] The mobile phone includes: Radio Frequency (RF) circuit, memory, input unit, display unit, sensor, audio circuit, Wireless Fidelity (WiFi) module, processor, power supply and other components. The RF circuit can be used to receive and send signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is processed by the processor; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA for short), a duplexer, etc. In addition, the RF circuit can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communications may use any communication standard or protocol, including but not limited to Global System of Mobilecommunication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), etc.

[0132] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0133] The input unit can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit may include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact coordinates, and then sends it to the processor, and can receive the command sent by the processor and execute it. In addition, the touch panel can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel, the input unit may also include other input devices. Specifically, other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc.

[0134] The display unit can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit may include a display panel, and optionally, the display panel may be configured in the form of a liquid crystal display (LiquidCrystal Display, LCD for short), an organic light-emitting diode (Organic Light-Emitting Diode, OLED for short), etc. Further, the touch panel may cover the display panel, and when the touch panel detects a touch operation on or near it, it is transmitted to the processor to determine the type of touch event, and then the processor provides corresponding visual output on the display panel according to the type of touch event. Although in the figure, the touch panel and the display panel are used as two independent components to realize the input and output functions of the mobile phone, in some embodiments, the touch panel and the display panel can be integrated to realize the input and output functions of the mobile phone.

[0135] The mobile phone may also include at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may configure the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0136] The audio circuit, speaker, and microphone can provide an audio interface between the user and the mobile phone. The audio circuit can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data. The audio data is then processed by the output processor and sent to, for example, another mobile phone through the RF circuit, or the audio data is output to the memory for further processing.

[0137] WiFi is a short-range wireless transmission technology. A mobile phone can help users send and receive emails, browse web pages, and access streaming media through a WiFi module, which provides users with wireless broadband Internet access. Although the WiFi module is shown in the figure, it is understandable that it is not a necessary component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0138] The processor is the control center of the mobile phone. It uses various interfaces and lines to connect the various parts of the entire mobile phone. It executes various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in the memory, and calling data stored in the memory, so as to monitor the mobile phone as a whole. Optionally, the processor may include one or more processing units; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor.

[0139] The mobile phone also includes a power source (such as a battery) for supplying power to each component. Preferably, the power source can be logically connected to the processor through a power management system, so that the power management system can manage charging, discharging, power consumption management, etc. Although not shown, the mobile phone can also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0140] In this embodiment, the processor included in the terminal device also has the following functions:

[0141] Executes data calculation procedures for robot path planning methods based on real-time modeling.

[0142] If the computer device system is a server, an embodiment of the present application also provides a server, which may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) (for example, one or more processors) and memories, and one or more storage media for storing applications or data (for example, one or more mass storage devices). Among them, the memory and the storage medium can be short-term storage or permanent storage. The program stored in the storage medium may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit can be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the server.

[0143] The server may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input and output interfaces, and / or one or more operating systems, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0144] In addition, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided in the above embodiment.

[0145] The embodiments of the present application also provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute the method provided in the above embodiments.

[0146] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.

[0147] Therefore, the present application also discloses a robot path planning system based on real-time modeling, including a computer program product of instructions, which, when running on a computer, enables the computer to execute the robot path planning method based on real-time modeling. It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0148] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A robot path planning method based on real-time modeling, characterized in that: The steps include correcting the robot positioning error according to the existing data before planning the robot path; Establish a real-time error model and use a state space model to characterize the real-time error model: The state space model includes a first vector representing the positioning state of the robot and a second vector representing the observed robot positioning; The first vector includes the real position of the robot and other state variables that affect the robot's positioning accuracy; The second vector is the position observation data received by the robot for positioning; Define the likelihood function as the probability of observing the second vector given the true state first vector, and express the error based on the Gaussian noise model; Setting the prior distribution, the first vector comes from the historical statistical data of previous measurements, defining the prior probability distribution; Then, the position observation data output by the robot positioning receiver is continuously collected; Update the posterior probability distribution using the Bayesian formula; Then the recursive filter is used to correct the robot positioning error; Then the robot path is planned based on the corrected robot positioning; Other state variables that affect the robot's positioning accuracy include velocity and acceleration; Recursive filters include Kalman filter (KF) and extended Kalman filter (EKF). In the Kalman filter, the true posterior distribution is approximated by iterative cycles of prediction steps and update steps. In the prediction step, the current state and its covariance matrix are predicted based on the state estimation and dynamic model of the previous moment; During the update step, new robot positioning observations are combined with the predictions, the state estimate is updated using the Bayesian formula, and the covariance matrix is ​​updated to reflect the residual uncertainty.

2. A robot path planning system based on real-time modeling, comprising a computer program product of instructions, which, when running on a computer, enables the computer to execute a robot path planning method based on real-time modeling as described in claim 1.