Planetary rover path planning method and device
By training terrain classifiers and constructing slip rate prediction models with on-orbit data, combined with images and telemetry data, and considering terrain types and geometric characteristics, the problem of inaccurate slip rate prediction of planetary rover on the planet surface is solved, and the accuracy of path planning is improved. Accuracy and security.
Patent Information
- Application Number
- CN202210568074.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-05-24
AI Technical Summary
Existing planetary rover path planning methods are not accurate enough in predicting the slip rate of planetary surfaces and fail to effectively consider terrain types and geometric features, resulting in greater challenges in slip rate prediction and path planning for planetary rover in soft and rugged terrain.
By training a terrain classifier and constructing a slip rate prediction model based on planetary rover on-orbit data, combining image data and telemetry data, a slip description database is generated, taking into account terrain type, geometric characteristics and movement curvature, a comprehensive cost map is generated, and the path is calculated Pre-planning and risk assessment, output pre-planning strategy.
The accuracy of slip rate prediction and the reliability of path planning are improved, allowing the planetary vehicle to pass through complex terrain more safely, reducing energy waste and wheel wear, and improving navigation and safety.
Smart Images

Figure CN114910077B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of data mining, image processing, slip rate prediction, path planning and control, and software development, and in particular to a rover path planning method and device. Background Art
[0002] In deep space exploration missions, planetary rovers patrolling and exploring the surface of extraterrestrial bodies is an important part. The safe and reliable operation of planetary rovers on the surface of planets is the basis of all exploration missions. However, there are many craters and rock blocks on the surface of planets, and the planetary soil is mostly covered with rock debris and dust with a very small radius, so the thickness is uneven and it is soft and porous. When the planetary rover roams on such soft and rugged terrain, it will inevitably produce longitudinal and lateral slippage, causing energy waste of the planetary rover, wheel wear, and reduced driving efficiency, which has a great impact on accurate positioning, navigation, and the safety and reliability of the planetary rover's operation.
[0003] Currently, there is a lack of a method for a planetary rover to perform path planning on a planet with the above characteristics. Summary of the invention
[0004] An embodiment of the present invention provides a rover path planning method for performing rover path planning based on on-orbit data of the rover. The method includes:
[0005] Based on the image data taken during the rover's driving process and the executed path planning strategy, a terrain classifier is trained;
[0006] Based on the image data taken during the rover's driving process, the terrain classifier, the telemetry data of the rover's roaming after landing on the planet's surface, the visual positioning results, and the executed path planning strategy, a single-movement slip description database is constructed, wherein the single-movement slip description database includes multiple sets of single-movement slip description data, and the slip description data includes slip rate, terrain type, geometric features, and movement curvature;
[0007] Using the slip description database of a single movement, a slip rate prediction model is constructed, wherein the slip rate prediction model is a slip rate prediction function that takes into account terrain type, geometric characteristics and movement curvature;
[0008] Generate a comprehensive cost map based on the image data of the current position of the rover and the mobility performance data of the rover;
[0009] Based on the comprehensive cost graph, path pre-planning is performed to obtain the pre-planning strategy;
[0010] Based on the terrain classifier, the terrain type of the current position is obtained, a slip rate prediction function corresponding to the terrain type is determined, and a predicted slip rate is calculated based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function;
[0011] interpolating and generating a plurality of two-dimensional point coordinates according to the pre-planning strategy, recalculating the two-dimensional point coordinates using the predicted slip rate, connecting the recalculated two-dimensional point coordinates, and obtaining an expected path based on the slip rate prediction;
[0012] The expected path based on slip rate prediction is projected onto the image data of the current position for risk assessment. When the risk assessment result shows that the risk is not greater than the preset threshold, the pre-planning strategy is output.
[0013] An embodiment of the present invention provides a rover path planning device for performing rover path planning based on on-orbit data of the rover. The device includes:
[0014] A terrain classifier training module is used to train a terrain classifier based on the image data captured during the rover's driving process and the executed path planning strategy;
[0015] A slip description data construction module is used to construct a slip description database for a single movement based on image data taken during the rover's driving process, a terrain classifier, telemetry data of the rover's roaming after landing on the planet's surface, visual positioning results, and an executed path planning strategy. The slip description database for a single movement includes multiple groups of slip description data for a single movement, and the slip description data includes slip rate, terrain type, geometric features, and movement curvature;
[0016] A slip rate prediction model building module is used to build a slip rate prediction model using a slip description database of a single movement, wherein the slip rate prediction model is a slip rate prediction function that takes into account terrain type, geometric features and movement curvature;
[0017] A comprehensive cost map generation module is used to generate a comprehensive cost map based on the image data of the current position of the rover and the mobility performance data of the rover;
[0018] A pre-planning strategy acquisition module is used to perform path pre-planning based on the comprehensive cost map and obtain the pre-planning strategy;
[0019] A predicted slip rate determination module, used to obtain the terrain type of the current position based on the terrain classifier, determine the slip rate prediction function corresponding to the terrain type, and calculate the predicted slip rate based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function;
[0020] An expected path acquisition module, used for interpolating and generating a plurality of two-dimensional point coordinates according to a pre-planning strategy, recalculating the two-dimensional point coordinates using the predicted slip rate, connecting the recalculated two-dimensional point coordinates, and obtaining an expected path based on slip rate prediction;
[0021] The risk assessment module is used to project the expected path based on the slip rate prediction onto the image data of the current position to perform risk assessment. When the risk assessment result shows that the risk is not greater than the preset threshold, the pre-planning strategy is output.
[0022] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned rover path planning method when executing the computer program.
[0023] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned rover path planning method is implemented.
[0024] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned rover path planning method is implemented.
[0025] In an embodiment of the present invention, a terrain classifier is trained based on image data taken during the driving process of the rover and an executed path planning strategy; a slip description database for a single move is constructed based on image data taken during the driving process of the rover, the terrain classifier, telemetry data of the rover starting to roam after landing on the surface of the planet, visual positioning results, and an executed path planning strategy, wherein the slip description database for a single move includes multiple groups of slip description data for a single move, wherein the slip description data includes slip rate, terrain type, geometric features, and moving curvature; a slip rate prediction model is constructed using the slip description database for a single move, wherein the slip rate prediction model is a slip rate prediction function that takes into account the terrain type, geometric features, and moving curvature; and the image data of the current position of the rover is used to predict the slip rate of the rover. and the mobility performance data of the rover, generate a comprehensive cost map; based on the comprehensive cost map, perform path pre-planning to obtain a pre-planning strategy; based on a terrain classifier, obtain the terrain type of the current position, determine the slip rate prediction function corresponding to the terrain type, and calculate the predicted slip rate based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function; according to the pre-planning strategy, interpolate to generate multiple two-dimensional point coordinates, recalculate the two-dimensional point coordinates using the predicted slip rate, connect the recalculated two-dimensional point coordinates, and obtain an expected path based on slip rate prediction; project the expected path based on the slip rate prediction onto the image data of the current position, perform risk assessment, and output the pre-planning strategy when the risk assessment result is that the risk is not greater than a preset threshold. In the above process, the slip description data used to construct the slip rate prediction model include four important features: slip rate, terrain type, geometric characteristics and moving curvature. This makes the constructed slip rate prediction model very accurate. Based on the above high-accuracy slip prediction model, a highly accurate predicted slip rate can be obtained, and then through risk analysis, a highly accurate pre-planning strategy can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0027] Figure 1 The process of the rover path planning method in the embodiment of the present invention is as follows Figure 1 ;
[0028] Figure 2 is a flow chart of training a terrain classifier in an embodiment of the present invention;
[0029] Figure 3 This is a schematic diagram of the classification of Martian terrain types in an embodiment of the present invention;
[0030] Figure 4 Schematic diagram of a convolutional neural network in an embodiment of the present invention;
[0031] Figure 5 A flowchart of projecting the executed path planning strategy onto the image data in an embodiment of the present invention;
[0032] Figure 6 A flow chart of constructing a slip description database for a single move in an embodiment of the present invention;
[0033] Figure 7 is a flow chart for calculating the slip rate of a vehicle in an embodiment of the present invention;
[0034] Figure 8 It is a schematic diagram of using the deviation between the visual positioning result and the planned end point position to describe the cumulative movement slip of the route in an embodiment of the present invention;
[0035] Fig. 9 Schematic diagram of geometric features in an embodiment of the present invention;
[0036] Fig.10 The process of the rover path planning method in the embodiment of the present invention is as follows Figure 2 ;
[0037] Fig.11 It is a schematic diagram of the projection of the executed path planning strategy onto the navigation left image in the training set image data in an embodiment of the present invention;
[0038] Fig.12 For Fig.11 A schematic diagram showing the coverage area in FIG.
[0039] Fig.13 is a schematic diagram of a digital orthophoto map in an embodiment of the present invention;
[0040] Fig.14 A comprehensive cost graph generated in an embodiment of the present invention;
[0041] Fig.15 A schematic diagram of a pre-planning strategy projection in an embodiment of the present invention;
[0042] Fig.16 A schematic diagram of a mask map of a coverage area of a pre-planning strategy in an embodiment of the present invention;
[0043] Fig.17 It is a schematic diagram of projecting an expected path based on slip rate prediction in an embodiment of the present invention;
[0044] Fig.18 Schematic diagram of a rover path planning device in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0046] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be appropriately adjusted as needed.
[0047] The inventors found that the introduction of slip rate prediction during path planning can enable the rover to pass through complex terrain covered by fine sand, flowing or soft volcanic ash more safely, and these areas are often important scientific interests in future planetary exploration. At present, the planetary rover rarely introduces slip rate prediction during path planning. First, its physical model itself is extremely complex, and various influencing factors are difficult to define and obtain; second, the constructed slip rate prediction models are all based on the results of ground experiments or simulations, and rarely use real data on orbit for analysis and verification, so the prediction model may not accurately reflect the actual movement of the planetary rover; third, most of the constructed slip models only consider geometric factors, and ignore terrain type factors, so the existing slip rate prediction methods are not accurate enough. Therefore, an embodiment of the present invention proposes a planetary rover path planning method, which performs slip prediction based on on-orbit data and then performs path planning, with high accuracy.
[0048] Figure 1 The process of the rover path planning method in the embodiment of the present invention is as follows Figure 1 ,like Figure 1 As shown, the method includes:
[0049] Step 101, training a terrain classifier based on the image data captured during the rover's driving process and the executed path planning strategy;
[0050] Step 102, based on the image data taken during the rover's driving process, the terrain classifier, the telemetry data of the rover's roaming after landing on the planetary surface, the visual positioning result and the executed path planning strategy, a single-movement slip description database is constructed, wherein the single-movement slip description database includes multiple groups of single-movement slip description data, and the slip description data includes slip rate, terrain type, geometric features and movement curvature;
[0051] Step 103, using the slip description database of a single movement, constructing a slip rate prediction model, wherein the slip rate prediction model is a slip rate prediction function that takes into account terrain type, geometric features, and movement curvature;
[0052] Step 104, generating a comprehensive cost map based on the image data of the current position of the rover and the mobility performance data of the rover;
[0053] Step 105, based on the comprehensive cost graph, perform path pre-planning to obtain a pre-planning strategy;
[0054] Step 106, based on the terrain classifier, obtain the terrain type of the current position, determine the slip rate prediction function corresponding to the terrain type, and calculate the predicted slip rate based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function;
[0055] Step 107, interpolating and generating a plurality of two-dimensional point coordinates according to the pre-planning strategy, recalculating the two-dimensional point coordinates using the predicted slip rate, connecting the recalculated two-dimensional point coordinates, and obtaining an expected path based on the slip rate prediction;
[0056] Step 108 , projecting the expected path based on the slip rate prediction onto the image data of the current position, performing risk assessment, and outputting the pre-planning strategy when the risk assessment result is that the risk is not greater than a preset threshold.
[0057] In an embodiment of the present invention, the slip description data used to construct the slip rate prediction model includes four important features: slip rate, terrain type, geometric characteristics and moving curvature, so that the constructed slip rate prediction model has a very high accuracy. Based on the above high-accuracy slip prediction model, a highly accurate predicted slip rate can be obtained, and then through risk analysis, a highly accurate pre-planning strategy can be obtained.
[0058] In step 101, a terrain classifier is trained based on the image data captured during the rover's driving process and the executed path planning strategy;
[0059] The biggest risk of a rover moving on the planet comes from the judgment of the type of ground terrain. Currently, the identification of the surface type of the planet is mainly carried out by visually interpreting the images taken by the rover during driving. Therefore, first of all, the image data taken during the driving process of the rover is used to extract features from the areas covered by the executed planning strategy by training a deep convolutional neural network to construct a terrain classifier. Since the results of terrain classification will be brought into the subsequent slip rate prediction function fitting, only the areas covered by the executed planning strategy are marked during the annotation.
[0060] Figure 2 The flowchart of training a terrain classifier in an embodiment of the present invention is as follows. In one embodiment, based on the image data captured during the driving process of the rover and the executed path planning strategy, the terrain classifier is trained, including:
[0061] Step 201, selecting image data corresponding to the executed path planning strategy from the image data;
[0062] Step 202, projecting the executed path planning strategy onto the image data;
[0063] Step 203, marking the terrain type of the coverage area projected into the image data by the executed path planning strategy to form a terrain type label set;
[0064] Step 204, dividing the terrain type label set into a training set and a validation set;
[0065] Step 205, using a convolutional neural network to perform offline learning on the training set to generate a terrain classifier;
[0066] Step 206, using the verification set, verify the correctness of the terrain classifier. When the verification result shows that the correctness is lower than the preset value, modify the training parameters of the convolutional neural network and re-perform offline learning until the verification result shows that the correctness is not lower than the preset value.
[0067] In the above embodiment, the classification rules of terrain types for different planetary soils are slightly different. Taking Mars as an example, referring to the existing classification, the terrain types of Mars are divided into the following five categories: bedrock, gravel, medium-sized rocks, textureless soil and fine sand. Figure 3 FIG. 1 is a schematic diagram of the classification of Martian terrain types in an embodiment of the present invention. Figure 3 As shown, they are marked with A, B, C, D, and E. Among them, gravel mainly refers to the terrain with small stones embedded in the planetary soil; medium-sized stones mainly refer to some medium-sized stones scattered in the area, whose height has not yet affected the safe passage of the planetary rover. Generally speaking, the height of the stone is no more than 5 cm.
[0068] The above “categories” are the main features of the area to be classified. For example, when there is fine sand scattered on the bedrock, as long as the main body is recognized as bedrock from the appearance, it is considered bedrock. Therefore, there is only one type of coverage area mark in each image.
[0069] In step 205, a convolutional neural network is used to perform offline learning on the training set to generate a terrain classifier. Figure 4 Schematic diagram of a convolutional neural network in an embodiment of the present invention. During the training process, the input sample image is the image data P1, the mask map P2 of the area covered by the executed path planning strategy, and the terrain type label set; the output terrain type is the terrain type of the mask area in the mask map P2 at the corresponding position in the image data P1, that is, A or B or C or D or E. The network loss function used is shown in formula (1):
[0070]
[0071] Where C represents the total loss, n is the number of samples, x represents the input sample, a is the network output value, and b is the actual value of the sample.
[0072] The deep convolutional neural network used in the embodiment of the present invention specifically refers to a deep residual network, and the network finally obtained by training is denoted as Net.
[0073] In step 206, the correctness of the terrain classifier is evaluated by calculating the mean intersection over union (MIoU), and the preset value of MIoU is 90%.
[0074] In the embodiment of the present invention, the terrain classification result is represented by a confusion matrix, where the horizontal axis represents the true value and the vertical axis represents the predicted value, which includes the following four cases:
[0075] True Positive (TP): The actual value is true and the prediction is also true;
[0076] False positive (FP): the actual value is false, but the prediction is true;
[0077] False negative (FN): the actual value is true, but the prediction is false;
[0078] True Negative (TN): The actual value is false and the predicted value is also false.
[0079] Then, the classification accuracy IoU of each type k It can be expressed by formula (2):
[0080]
[0081] Where n represents the total number of terrain types. Then, the MIoU of the terrain classifier can be calculated using formula (3):
[0082]
[0083] Figure 5 The flowchart of projecting the executed path planning strategy to the image data in an embodiment of the present invention is as follows. In one embodiment, projecting the executed path planning strategy to the image data includes:
[0084] Step 501, performing three-dimensional reconstruction on the image data according to the camera calibration data to generate a digital elevation model DEM;
[0085] Step 502, performing interval sampling according to the executed path planning strategy to generate two-dimensional coordinates of the path points corresponding to the executed path planning strategy;
[0086] Step 503, interpolating on the digital elevation model to obtain the three-dimensional coordinates of the path points corresponding to the executed path planning strategy;
[0087] Step 504, according to the camera imaging model, solving the two-dimensional coordinates of the path points corresponding to the executed path planning strategy in the absence of distortion;
[0088] Step 505, adding camera distortion to the two-dimensional coordinates of the path point corresponding to the executed path planning strategy in the undistorted state;
[0089] Step 506, based on the two-dimensional coordinates of the path points corresponding to the executed path planning strategy with the camera distortion added, the path points corresponding to the executed path planning strategy are connected to obtain the projection of the executed path planning strategy in the image data.
[0090] In step 102, a slip description database for a single movement is constructed based on image data captured during the rover's driving process, a terrain classifier, telemetry data of the rover's roaming after landing on the planet's surface, visual positioning results, and an executed path planning strategy. The slip description database for a single movement includes multiple sets of slip description data for a single movement, and the slip description data includes slip rate, terrain type, geometric features, and movement curvature.
[0091] Step 102 is to construct a slip description database for a single move using the acquired on-orbit data, where the on-orbit data includes image data taken during the rover's driving process, telemetry data, visual positioning results, and executed path planning strategies.
[0092] Figure 6 The flowchart of constructing a slip description database for a single movement in an embodiment of the present invention is as follows. In one embodiment, based on the image data taken during the driving process of the rover, the terrain classifier, the telemetry data of the rover starting to roam after landing on the surface of the planet, the visual positioning result and the executed path planning strategy, the slip description database for a single movement is constructed, including:
[0093] Step 601, based on the telemetry data of the planetary rover, obtaining the vehicle slip rate of the planetary rover;
[0094] Step 602, based on the visual positioning result of the rover and the executed path planning strategy, an overall slip evaluation is performed on the single movement process, and the longitudinal slip rate and the lateral slip rate are calculated in sequence;
[0095] Step 603, based on the terrain classifier, classify the area covered by the executed path planning strategy to obtain the terrain type;
[0096] Step 604, calculating the geometric features of the terrain according to the executed path planning strategy and the image data, wherein the geometric features include the longitudinal slope and the lateral slope;
[0097] Step 605, obtaining the movement curvature in the executed path planning strategy;
[0098] Step 606, determining the vehicle slip rate, longitudinal slip rate and lateral slip rate, terrain type, geometric features and movement curvature as slip description data for a single movement;
[0099] Step 607: Add multiple groups of single-movement slip description data to a single-movement slip description database according to the terrain types.
[0100] In the above embodiment, the slip description data of a single movement is I=(Slip, Type, Appe, Curve), wherein Slip, Type, Appe and Curve represent slip rate, terrain type, geometric features and movement curvature respectively.
[0101] Now calculate each value in the slip description data for the above single movement separately.
[0102] 1. Slip rate
[0103] (1) Vehicle slip rate;
[0104] Figure 7 The figure is a flow chart of calculating the vehicle slip rate in an embodiment of the present invention. In one embodiment, the vehicle slip rate of the planetary rover is obtained based on telemetry data, including:
[0105] Step 701, based on the telemetry data of the planetary rover, the angular velocity of each wheel and the linear velocity of the whole vehicle in the body coordinate system of the planetary rover are obtained;
[0106] Step 702, based on the motion model and movement control parameters of the planetary rover, decompose the linear velocity of the entire vehicle in the body coordinate system into the linear velocity of each wheel;
[0107] Step 703, obtaining the vehicle slip rate of the planetary rover according to the angular velocity and linear velocity of each wheel of the planetary rover.
[0108] The vehicle slip rate and the subsequently calculated longitudinal slip rate and lateral slip rate are quantitatively calculated with reference to the planetary vehicle body coordinate system. The planetary vehicle body system is defined as: the origin is the theoretical geometric center of the lower floor of the structure, the +X axis points to the forward direction of the vehicle body; the +Z axis is perpendicular to the structural floor and faces the normal direction of the planetary ground; the Y axis, X axis and Z axis form a right-handed coordinate system.
[0109] Specifically, the slip rate of the i-th wheel at time t is s i (t) The calculation method is shown in formula (4):
[0110]
[0111] where ω i (t) is the angular velocity of the i-th wheel at time t, r is the wheel radius, v i (t) is the linear velocity of the i-th wheel at time t. The angular velocity of the wheel ω i (t) is measured by the wheel encoder and can be obtained through telemetry data query. In addition, the linear velocity of the entire vehicle in the body coordinate system is recorded by the vehicle-mounted inertial measurement unit device and can be obtained through telemetry data query. Then, based on the motion model and mobile control parameters of the planetary rover, the linear velocity of the entire vehicle in the body coordinate system is decomposed into the linear velocity of each wheel, where the mobile control parameters mainly involve the mobile curvature. When performing the decomposition calculation, the mobile curvature takes the value Curve in the executed path planning strategy.
[0112] The average slip rate of each wheel at time t is taken as the vehicle slip rate at time t, denoted as s(t), as shown in formula (5):
[0113]
[0114] k is the total number of wheels. It can be seen from formula (5) that when the slip rate s(t) is greater than zero, it means that the wheel is slipping; when it is equal to 0, it means that the wheel is not slipping or sliding; when it is less than 0, it means that the wheel is slipping. Generally, the rover is prone to slipping when driving on flat terrain or climbing a slope, and is prone to sliding when going downhill.
[0115] Finally, the vehicle slip rate s is the average value of the vehicle slip rate at all moments of this sampling, as shown in formula (6):
[0116]
[0117] n is the total number of sampling moments.
[0118] (2) Longitudinal slip rate and lateral slip rate
[0119] Figure 8This is a schematic diagram of using the deviation between the visual positioning result and the planned end position to describe the cumulative movement slip of the route in an embodiment of the present invention. According to the executed path planning strategy, the moving starting position, the planned end position and the visual positioning position are determined. The moving starting position, the planned end position and the visual positioning position are respectively Figure 8 The coordinates of the numbers 1, 2, and 3 are denoted as p0(x0, y0, z0), p i ′(x i ′,y i ′,z i ′) and p i (x i ,y i ,z i The mileage of a single movement is recorded as Mile (recorded by the vehicle's inertial measurement unit and can be obtained through telemetry data query).
[0120] Then, the following calculations can be completed in sequence:
[0121] 1) The accumulated slip amount represents the two-dimensional plane distance between the visual positioning position and the planned end position after a single move, that is, Figure 8 The distance of the middle line segment 23 is denoted as Cum, see formula (7):
[0122]
[0123] 2) Longitudinal slip rate (long slip) calculation
[0124] Let the longitudinal slip represent the slip amount after the cumulative slip amount Cum is decomposed along the direction of the rover, recorded as Long s ,Right now Figure 8 The distance of the midline segment 24 is shown in equations (8) and (9):
[0125] Let ∠215 be θ2, ∠315 be θ1, and ∠312 be θ, then we have
[0126]
[0127]
[0128] Where θ is the first line segment ( Figure 8 The middle line segment 13) and the second line segment ( Figure 8 The angle between the middle line segment 12), where the first line segment is the moving starting point position p0 (x0, y0, z0) and the visual positioning position p i (x i ,y i ,z i ), the second line segment is the moving starting point position p0(x0,y0,z0) and the planned end point position pi ′(x i ′,y i ′,z i ′) formed by the line segment;
[0129] Then, the longitudinal slip rate longslip indicates the longitudinal slip Long s The ratio of the moving distance Mile is shown in formula (10):
[0130]
[0131] 3) Lateral slip rate (latslip) calculation
[0132] Let lateral slip represent the cumulative slip Cum decomposed along the direction perpendicular to the travel direction of the Mars rover, that is, Figure 8 The distance of the midline segment 34 is recorded as the lateral slip Lat s , see formula (11):
[0133]
[0134] Then, the lateral slip rate latslip represents the lateral slip Lat s The ratio of the moving mileage Mile is shown in formula (12):
[0135]
[0136] 2. Terrain Type
[0137] Based on the terrain classifier, the area covered by the executed path planning strategy is classified to obtain the terrain type Type.
[0138] 3. Geometric features
[0139] Based on the digital elevation model DEM constructed by binocular navigation camera images in the image data, the longitudinal slope (denoted as slope long ) and lateral slope (denoted as slope lat ) two pieces of information to describe the terrain geometry, Fig. 9 It is a schematic diagram of geometric features in an embodiment of the present invention. Similarly, according to the executed path planning strategy, the moving starting point position and the planned end point position are determined. Fig. 9 In the figure, the numbers 1 and 2 represent the moving starting point and the planned end point, respectively. Figure 8 The meaning is the same.
[0140] (1) Longitudinal slope
[0141] The longitudinal slope refers to the slope along the direction of the rover's travel, recorded as slope long ,Right now Fig. 9The slope of the second line segment (line segment 12) in is calculated by formula (13).
[0142]
[0143] For longitudinal slope, uphill is positive and downhill is negative.
[0144] (2) Lateral slope lat )
[0145] The lateral slope is the slope perpendicular to the direction of the rover's travel, denoted as slope lat Here, we first construct a grid with the midpoint of the second line segment as the center, and generate multiple elevation profiles through linear fitting. For example, Fig. 9 A 3×3 grid is constructed with the midpoint of the middle line segment 12 as the center. The grid size is approximately the size of the rover. Eight elevation profiles are generated by linear fitting. Then, the slope of each elevation profile perpendicular to the direction of the rover is calculated and the absolute value is taken to obtain the absolute value of the slope of each elevation profile perpendicular to the direction of the rover, which is recorded as slope. i (i=1,…,8); finally, take the maximum absolute value of the slope and record it as the lateral slope slope lat , see formula (14).
[0146] slope lat =max{slope i} (14)
[0147] 4. Curve
[0148] The moving curvature in the executed path planning strategy is obtained. In the embodiment of the present invention, the moving curvature takes the absolute value of the executed path planning strategy, that is, it does not distinguish between positive and negative. If it is a straight line walking, Curve=0.
[0149] In step 103, a slip rate prediction model is constructed using the slip description database of a single movement. The slip rate prediction model is a slip rate prediction function that considers terrain type, geometric features and movement curvature. For a given configuration of a rover, its slip rate is mainly affected by three factors: terrain type (Type), geometric features (Appe) and movement curvature (Curve), and the three factors must be considered simultaneously. When the terrain type is determined, the slip rate is only related to the ground geometric features and movement curvature.
[0150] In one embodiment, a slip rate prediction model is constructed using a slip description database of a single movement, including:
[0151] The single-movement slip description data in the single-movement slip description database are divided according to the terrain type to obtain a set corresponding to each terrain type;
[0152] For each terrain type, the slip description data in the set corresponding to the terrain type are subjected to multiple nonlinear regression fittings to obtain multiple slip rate prediction functions corresponding to the terrain type;
[0153] Multiple slip rate prediction functions corresponding to each terrain type are evaluated;
[0154] For each terrain type, the slip rate prediction function with the smallest evaluation value is selected as the slip rate prediction model corresponding to the terrain type.
[0155] In the above embodiment, the slip rate prediction function includes a longitudinal slip rate part and a lateral slip rate part. In one embodiment, the slip rate prediction model is expressed as:
[0156]
[0157] Among them, longslip T and latslip T are the longitudinal slip rate and lateral slip rate when the terrain type is T, curve is the movement curvature, slope long is the longitudinal slope, slope lat is the lateral slope, a1, a2, …, a i ,b1,b2,…,b j as a parameter.
[0158] In order to facilitate the solution, equation (16) is used instead of equation (15):
[0159] slip T =f(curve,slope,c1,c2,…,c m ) (16)
[0160] Where curve is a single variable, curve = (curve1, curve2, ..., curve n ); slope is also a single variable, slope=(slope1,slope2,…,slope n ). The observation value is n groups in the slip description database
[0161] The embodiment of the present invention adopts the following method to solve m parameters c1, c2, ..., c m :
[0162] Let Y = slip T , X=[curve,slope], e=[c1,c2,…,c m ], then, formula (16) can be expressed by formula (17), where εi is the residual:
[0163] Y=f(X,e)+ε i (17)
[0164] Then, the residual sum of squares is recorded as Q(e), and the calculation method is shown in formula (18):
[0165]
[0166] In order to make Q(e) close to 0, the derivative of Q(e) with respect to e is obtained, that is, formula (19):
[0167]
[0168] Next, we need to solve the solution e of equation (19) and determine the overall minimum solution e.
[0169] f(X i ,e) Approximately replace f(X i ,e), let e1 be the initial value of e, then we have formula (20):
[0170]
[0171] The derivative value is formula (21):
[0172]
[0173] make Then formula (18) can be expressed as:
[0174]
[0175] in, Then if the initial value e1 is given, and are all known and can be calculated. Therefore, the residual sum of squares represented by Q(e) is the residual sum of squares of the linear regression of formula (23):
[0176]
[0177] Its least squares estimate is:
[0178]
[0179] in
[0180] Therefore, assuming that the initial value e1 of the estimated parameter e is known, a new value e2 of e can be obtained. Repeating this method can obtain a quasi-linear model, as shown in formula (25):
[0181]
[0182] The solution is:
[0183]
[0184] Continuing, we can get a sequence e1, e2, ..., e n ,…. Its iteration expression can be written as:
[0185]
[0186] Where, f(X,e)=[f(X1,e),f(X2,e),…,f(X n ,e)].
[0187] The first-order derivative of Q(e) taking the minimum value can be expressed by formula (28):
[0188]
[0189] Therefore, if there is e in the iteration process n+1 =e n , then At this time, Q(e) has a minimum value.
[0190] Through the above calculation, the parameters c1, c2, ..., c can be solved. m , then corresponding to formula (15), the parameters a1, a2, …, a i ,b1,b2,…,b j .
[0191] Considering the continuity of vehicle body movement slip, the current slip rate will be greatly affected by the last vehicle slip rate. Therefore, in the embodiment of the present invention, the last vehicle slip rate is also introduced when predicting the current slip rate. Combined with formula (15), assuming that the current terrain type Type = T, the predicted slip rate of the i-th movement can be expressed by formula (29):
[0192]
[0193] in, and are the i-th longitudinal slip rate and lateral slip rate when the terrain type is T when considering the i-1th vehicle slip rate, and is the i-th longitudinal slip rate and lateral slip rate when the terrain type is T, s i-1 is the vehicle slip rate of the i-1th time, and k is the proportional coefficient.
[0194] Finally, the fitted slip rate prediction function is evaluated. The embodiment of the present invention uses the commonly used root mean square error as an indicator, denoted as RMSE, as shown in formula (30):
[0195]
[0196] Among them, P i is the predicted slip rate calculated by the fitting function, T i is the actual slip rate of the movement. Finally, the fitting slip rate prediction function with the smallest RMSE is selected as the slip rate prediction function for this terrain type.
[0197] In step 104, a comprehensive cost map is generated based on the image data of the current position of the rover and the mobility performance data of the rover; the comprehensive cost map is used for path search.
[0198] In one embodiment, an environmental cost map is generated based on image data of the current position of the rover and the mobility performance data of the rover, including:
[0199] Based on the image data of the current position of the rover, three-dimensional terrain is constructed to generate digital elevation models and digital orthophotos;
[0200] Based on the digital elevation model, digital orthophoto map and the mobility performance data of the rover, a comprehensive cost map is generated.
[0201] The mobility performance data is quantified by calculating several types of cost indicators, including slope, roughness, steps, and communication shadows, which are weighted and superimposed as shown in formula (31):
[0202]
[0203] Among them, p, c, j, y represent slope, roughness, step, and communication shadow respectively. max 、c max 、j max is the maximum slope, maximum roughness, and maximum step value that the lunar rover is allowed to pass through, and θ is the weight coefficient, θ∈(0,1).
[0204] Afterwards, step 105 is executed to perform path pre-planning based on the comprehensive cost map to obtain a pre-planning strategy.
[0205] In step 106, based on the terrain classifier, the terrain type of the current position is obtained, a slip rate prediction function corresponding to the terrain type is determined, and based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function, a predicted slip rate is calculated;
[0206] In one embodiment, obtaining the terrain type of the current location based on the terrain classifier includes:
[0207] Projecting the pre-planning strategy onto the image data of the current position to generate a mask map of the area covered by the pre-planning strategy;
[0208] The mask image is classified by using a terrain classifier to obtain a terrain type corresponding to the pre-planning strategy.
[0209] In one embodiment, the predicted slip rate is calculated based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function, including:
[0210] Generate a digital elevation model of the current location based on the image data of the current location;
[0211] Calculating geometric features of the current location based on the digital elevation model and the pre-planning strategy;
[0212] The moving curvature of the pre-planned strategy and the geometric characteristics of the current position are input into the corresponding slip rate prediction function to obtain the predicted slip rate.
[0213] In step 107, according to the pre-planning strategy, multiple two-dimensional point coordinates are interpolated and generated, the two-dimensional point coordinates are recalculated using the predicted slip rate, and the recalculated two-dimensional point coordinates are connected to obtain an expected path based on slip rate prediction, where the expected path is a set of path points.
[0214] In one embodiment, the following formula is used to recalculate the two-dimensional point coordinates using the predicted slip rate:
[0215]
[0216] Among them, p i (x i ,y i ), i = n is the coordinate of the two-dimensional point before recalculation, p i ′(x i ′,y i ′), i=n is the coordinate of the two-dimensional point after recalculation, is the nth longitudinal slip rate when the terrain type is T, is the nth lateral slip when the terrain type is T.
[0217] In step 108, the expected path based on the slip rate prediction is projected onto the image data of the current position to perform risk assessment. When the risk assessment result shows that the risk is not greater than a preset threshold, the pre-planning strategy is output.
[0218] Fig.10 The process of the rover path planning method in the embodiment of the present invention is as follows Figure 2 In one embodiment, step 108 further includes:
[0219] When the risk assessment result is that the risk is greater than the preset threshold, step 105 to step 107 are re-executed until the risk assessment result is that the risk is not greater than the preset threshold.
[0220] Among them, the preset thresholds are that the path does not crush large rocks that do not meet driving requirements, the path does not fall into deep pits that do not meet driving requirements, etc.
[0221] The present invention is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out that the following specific embodiments are only used to further explain the present invention and cannot be understood as limiting the scope of protection of the present invention. Ordinary technicians in this field can make some non-essential improvements and adjustments to the present invention based on the above invention content.
[0222] This embodiment takes the on-orbit data of a Mars rover as an example.
[0223] Step 1: Based on the image data taken during the rover's driving process and the executed path planning strategy, select the image data corresponding to the executed path planning strategy; project the executed path planning strategy to the image data; mark the coverage area of the executed path planning strategy projected to the image data with the terrain type to form a terrain type label set; divide the terrain type label set into a training set and a verification set; use a convolutional neural network to perform offline learning on the terrain type label set to generate a terrain classifier; use the verification set to verify the correctness of the terrain classifier, and when the verification result is that the correctness is lower than the preset value, modify the training parameters of the convolutional neural network and re-perform offline learning until the verification result is that the correctness is not lower than the preset value.
[0224] For example, firstly, the executed path planning strategy (see Table 1) is projected onto the navigation left image in the image data. Fig.11 It is a schematic diagram of the projection of the executed path planning strategy onto the navigation left image in the training set image data in an embodiment of the present invention, Fig.12 For Fig.11 Schematic diagram of marking the coverage area in the figure, the corresponding terrain type should be marked as "gravel", recorded as B.
[0225] Table 1
[0226] step Path planning strategy has been implemented 1 Walk 5.4 meters at a curvature of -0.15 degrees 2 Walk 6.9 meters at a curvature of 0.12 degrees
[0227] Step 2: Based on the on-orbit data of the rover after it landed on the Martian surface and began to roam (image data taken during the rover's driving process, telemetry data, visual positioning results, and executed path planning strategies), the slip description data of a single move is calculated and a slip description database of a single move is constructed, as shown in Table 2.
[0228] Table 2
[0229]
[0230] Among them, types A, B, C, D, and E represent the five terrain types of "bedrock", "gravel", "medium-sized stones", "textured soil", and "fine sand", respectively.
[0231] Step 3: Based on the slip description database constructed above, nonlinear regression is used to predict slip according to the terrain type to obtain the corresponding predicted slip function, that is, formula (29) can be briefly described as formula (33):
[0232]
[0233] in, is the j-th slip rate when the terrain type is T when considering the j-1-th vehicle slip rate; is the jth slip rate when the terrain type is T; s j-1 is the vehicle slip rate at the j-1th time.
[0234] Step 4: Generate a comprehensive cost map based on the image data of the current position of the rover and the mobility performance data of the rover, including: constructing a three-dimensional terrain based on the image data of the current position of the rover, generating a digital elevation model and a digital orthophoto map, Fig.13 is a schematic diagram of a digital orthophoto map in an embodiment of the present invention. Based on the digital elevation model, the digital orthophoto map, and the mobility performance data of the rover, a comprehensive cost map is generated. Fig.14 It is a comprehensive cost graph generated in an embodiment of the present invention.
[0235] Step 5: Based on the environmental cost map, generate the following pre-planning strategy, see Table 3.
[0236] Table 3
[0237] step Pre-planning strategy 1 Walk 6.5 meters at a curvature of -0.02 degrees 2 Walk 5.5 meters at a curvature of -0.05 degrees
[0238] Step 6: Project the pre-planned strategy onto the left navigation image of the image data at the current location. Fig.15 is a schematic diagram of the projection of the pre-planning strategy in the embodiment of the present invention, and then a mask map of the pre-planning strategy coverage area is generated. Fig.16 This is a schematic diagram of the mask map of the area covered by the pre-planning strategy in an embodiment of the present invention. The mask map is then classified using a terrain classifier to obtain the terrain type corresponding to the pre-planning strategy, B (i.e., "gravel"); based on the "gravel" terrain type, the corresponding slip rate prediction function is searched.
[0239] Step 7: According to the corresponding slip rate prediction function, the predicted slip rate is obtained. According to the pre-planning strategy, multiple two-dimensional point coordinates are interpolated and generated, the two-dimensional point coordinates are recalculated using the predicted slip rate, and the recalculated two-dimensional point coordinates are connected to obtain the expected path based on the slip rate prediction.
[0240] Step 8: First, project the expected path based on the slip rate prediction onto the left navigation image of the image data at the current location. Fig.17 This is a schematic diagram of projecting the expected path based on slip rate prediction in an embodiment of the present invention, where curve 1 represents the pre-planning strategy and curve 2 represents the pre-planning strategy based on slip prediction. Then, it is checked that the path does not crush stones with a height greater than 5 cm and does not pass through impact craters, meets the driving requirements, and the risk is less than the preset threshold, and the pre-planning strategy is output.
[0241] In summary, in the method proposed in the embodiment of the present invention, a terrain classifier is trained based on the image data taken during the driving process of the rover and the executed path planning strategy; a slip description database for a single move is constructed based on the image data taken during the driving process of the rover, the terrain classifier, the telemetry data of the rover starting to roam after landing on the surface of the planet, the visual positioning result, and the executed path planning strategy, wherein the slip description database for a single move includes multiple groups of slip description data for a single move, wherein the slip description data includes slip rate, terrain type, geometric features, and moving curvature; a slip rate prediction model is constructed using the slip description database for a single move, wherein the slip rate prediction model is a slip rate prediction function that considers the terrain type, geometric features, and moving curvature; and a slip rate prediction model is constructed based on the current position of the rover. The method comprises the following steps: generating a comprehensive cost map based on the image data of the current position and the mobility performance data of the rover; performing path pre-planning based on the comprehensive cost map to obtain a pre-planning strategy; obtaining the terrain type of the current position based on the terrain classifier, determining the slip rate prediction function corresponding to the terrain type, and calculating the predicted slip rate based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function; interpolating and generating a plurality of two-dimensional point coordinates according to the pre-planning strategy, recalculating the two-dimensional point coordinates using the predicted slip rate, connecting the recalculated two-dimensional point coordinates, and obtaining an expected path based on the slip rate prediction; projecting the expected path based on the slip rate prediction onto the image data of the current position, performing risk assessment, and outputting the pre-planning strategy when the risk assessment result shows that the risk is not greater than a preset threshold. In the above process, the slip description data used to construct the slip rate prediction model include four important features: slip rate, terrain type, geometric characteristics and moving curvature. This makes the constructed slip rate prediction model very accurate. Based on the above high-accuracy slip prediction model, a highly accurate predicted slip rate can be obtained, and then through risk analysis, a highly accurate pre-planning strategy can be obtained.
[0242] The embodiment of the present invention further provides a rover path planning device, the principle of which is similar to the rover path planning method, and will not be described in detail here.
[0243] Fig.18 This is a schematic diagram of a rover path planning device in an embodiment of the present invention, comprising:
[0244] A terrain classifier training module 1801 is used to train a terrain classifier based on the image data captured during the rover's driving process and the executed path planning strategy;
[0245] The slip description data construction module 1802 is used to construct a slip description database for a single movement based on the image data taken during the rover's driving process, the terrain classifier, the telemetry data of the rover's roaming after landing on the planet's surface, the visual positioning results, and the executed path planning strategy. The slip description database for a single movement includes multiple groups of slip description data for a single movement, and the slip description data includes slip rate, terrain type, geometric features, and movement curvature;
[0246] The slip rate prediction model building module 1803 is used to build a slip rate prediction model using the slip description database of a single movement, wherein the slip rate prediction model is a slip rate prediction function that takes into account the terrain type, geometric characteristics and movement curvature;
[0247] A comprehensive cost map generation module 1804 is used to generate a comprehensive cost map based on the image data of the current position of the rover and the mobility performance data of the rover;
[0248] A pre-planning strategy acquisition module 1805 is used to perform path pre-planning based on the comprehensive cost map and obtain a pre-planning strategy;
[0249] The predicted slip rate determination module 1806 is used to obtain the terrain type of the current position based on the terrain classifier, determine the slip rate prediction function corresponding to the terrain type, and calculate the predicted slip rate based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function;
[0250] An expected path acquisition module 1807 is used to interpolate and generate a plurality of two-dimensional point coordinates according to a pre-planning strategy, recalculate the two-dimensional point coordinates using the predicted slip rate, and connect the recalculated two-dimensional point coordinates to obtain an expected path based on slip rate prediction;
[0251] The risk assessment module 1808 is used to project the expected path based on the slip rate prediction onto the image data of the current position to perform risk assessment, and output the pre-planning strategy when the risk assessment result is that the risk is not greater than a preset threshold.
[0252] In one embodiment, the terrain classifier training module is specifically used to:
[0253] Selecting, from the image data, image data corresponding to the executed path planning strategy;
[0254] Projecting the executed path planning strategy onto the image data;
[0255] Marking the terrain type of the covered area projected into the image data by the executed path planning strategy to form a terrain type label set;
[0256] Divide the terrain type label set into a training set and a validation set;
[0257] Use convolutional neural network to perform offline learning on the training set to generate terrain classifier;
[0258] The validation set is used to verify the correctness of the terrain classifier. When the validation result shows that the correctness is lower than the preset value, the training parameters of the convolutional neural network are modified and offline learning is performed again until the validation result shows that the correctness is not lower than the preset value.
[0259] In one embodiment, the terrain classifier training module is specifically used to:
[0260] Reconstructing the image data in three dimensions according to the camera calibration data to generate a digital elevation model;
[0261] Perform interval sampling according to the executed path planning strategy to generate two-dimensional coordinates of the path points corresponding to the executed path planning strategy;
[0262] Interpolate on the digital elevation model to obtain the three-dimensional coordinates of the path points corresponding to the executed path planning strategy;
[0263] According to the camera imaging model, the two-dimensional coordinates of the path points corresponding to the executed path planning strategy are solved without distortion;
[0264] Adding camera distortion to the two-dimensional coordinates of the path points corresponding to the executed path planning strategy without distortion;
[0265] Based on the two-dimensional coordinates of the path points corresponding to the executed path planning strategy with the camera distortion added, the path points corresponding to the executed path planning strategy are connected to obtain the projection of the executed path planning strategy in the image data.
[0266] In one embodiment, the slip description data construction module is specifically used for:
[0267] Based on the telemetry data of the planetary car, the vehicle slip rate of the planetary car is obtained;
[0268] Based on the visual positioning results of the rover and the executed path planning strategy, the overall slip evaluation of the single movement process is carried out, and the longitudinal slip rate and lateral slip rate are calculated in turn;
[0269] Based on the terrain classifier, the area covered by the executed path planning strategy is classified to obtain the terrain type;
[0270] Calculate the geometric features of the terrain according to the executed path planning strategy and the image data, wherein the geometric features include a longitudinal slope and a lateral slope;
[0271] Get the moving curvature in the executed path planning strategy;
[0272] Determining the vehicle slip rate, longitudinal slip rate and lateral slip rate, terrain type, geometric characteristics and movement curvature as slip description data for a single movement;
[0273] Multiple groups of single-movement slip description data are added to a single-movement slip description database according to terrain types.
[0274] In one embodiment, the slip description data construction module is specifically used for:
[0275] Based on the telemetry data of the planetary rover, the angular velocity of each wheel and the linear velocity of the whole vehicle in the body coordinate system of the planetary rover are obtained;
[0276] Based on the motion model and mobile control parameters of the planetary rover, the linear velocity of the whole vehicle in the body coordinate system is decomposed into the linear velocity of each wheel;
[0277] According to the angular velocity and linear velocity of each wheel of the planetary car, the vehicle slip rate of the planetary car is obtained.
[0278] In one embodiment, the slip description data construction module is specifically used for:
[0279] Using equations (4), (5) and (6), the vehicle slip rate of the planetary car is obtained.
[0280] In one embodiment, the slip description data construction module is specifically used for:
[0281] Based on the visual positioning results of the rover and the executed path planning strategy, the overall slip evaluation of a single movement process is performed, and the longitudinal slip rate and lateral slip rate are calculated in turn, including:
[0282] According to the executed path planning strategy, determine the moving starting point, planning end point and visual positioning position;
[0283] The longitudinal slip ratio is calculated using equations (8), (9) and (10);
[0284] The lateral slip rate is calculated using equations (8), (11) and (12).
[0285] In one embodiment, the slip description data construction module is specifically used for:
[0286] Computes the geometry of the terrain based on the executed path planning strategy, including:
[0287] According to the executed path planning strategy, determine the moving starting point and the planned end point;
[0288] The longitudinal slope is calculated using formula (13);
[0289] A grid is constructed with the midpoint of the second line segment as the center, and multiple elevation profiles are generated by linear fitting, wherein the second line segment is a line segment formed by the moving starting point position and the planned end point position;
[0290] The slope of each elevation profile along the direction perpendicular to the moving direction of the rover is calculated respectively and the absolute value is taken to obtain the absolute value of the slope of each elevation profile along the direction perpendicular to the moving direction of the rover;
[0291] The lateral slope is calculated using formula (14).
[0292] In one embodiment, the slip rate prediction model building module is specifically used to:
[0293] The single-movement slip description data in the single-movement slip description database are divided according to the terrain type to obtain a set corresponding to each terrain type;
[0294] For each terrain type, the slip description data in the set corresponding to the terrain type are subjected to multiple nonlinear regression fittings to obtain multiple slip rate prediction functions corresponding to the terrain type;
[0295] Multiple slip rate prediction functions corresponding to each terrain type are evaluated;
[0296] For each terrain type, the slip rate prediction function with the smallest evaluation value is selected as the slip rate prediction model corresponding to the terrain type.
[0297] In one embodiment, the slip rate prediction model is expressed as formula (15).
[0298] In one embodiment, the method further comprises:
[0299] When considering the last vehicle slip rate, the slip rate prediction model is expressed as formula (29).
[0300] In one embodiment, the comprehensive cost map generation module is specifically used to:
[0301] Based on the image data of the current position of the rover, three-dimensional terrain is constructed to generate digital elevation models and digital orthophotos;
[0302] Based on the digital elevation model, digital orthophoto map and the mobility performance data of the rover, a comprehensive cost map is generated.
[0303] In one embodiment, the predicted slip ratio determination module is specifically configured to:
[0304] Projecting the pre-planning strategy onto the image data of the current position to generate a mask map of the area covered by the pre-planning strategy;
[0305] The mask image is classified by using a terrain classifier to obtain a terrain type corresponding to the pre-planning strategy.
[0306] In one embodiment, the expected path obtaining module is specifically used for:
[0307] Formula (32) is used to recalculate the coordinates of the two-dimensional point using the predicted slip rate.
[0308] In one embodiment, the risk assessment module 1901 is further configured to:
[0309] When the risk assessment result is that the risk is greater than the preset threshold, the pre-planning strategy acquisition module, the predicted slip rate determination module and the expected path acquisition module are called to obtain the expected path based on the slip rate prediction until the risk assessment result is that the risk is not greater than the preset threshold.
[0310] In summary, in the device proposed in the embodiment of the present invention, a terrain classifier is trained based on the image data taken during the driving process of the rover and the executed path planning strategy; a slip description database for a single move is constructed based on the image data taken during the driving process of the rover, the terrain classifier, the telemetry data of the rover starting to roam after landing on the surface of the planet, the visual positioning result, and the executed path planning strategy, wherein the slip description database for a single move includes multiple groups of slip description data for a single move, wherein the slip description data includes slip rate, terrain type, geometric features, and moving curvature; a slip rate prediction model is constructed using the slip description database for a single move, wherein the slip rate prediction model is a slip rate prediction function that considers the terrain type, geometric features, and moving curvature; and a slip rate prediction model is constructed based on the current position of the rover. The method comprises the following steps: generating a comprehensive cost map based on the image data of the current position and the mobility performance data of the rover; performing path pre-planning based on the comprehensive cost map to obtain a pre-planning strategy; obtaining the terrain type of the current position based on the terrain classifier, determining the slip rate prediction function corresponding to the terrain type, and calculating the predicted slip rate based on the pre-planning strategy, the image data of the current position and the corresponding slip rate prediction function; interpolating and generating a plurality of two-dimensional point coordinates according to the pre-planning strategy, recalculating the two-dimensional point coordinates using the predicted slip rate, connecting the recalculated two-dimensional point coordinates, and obtaining an expected path based on the slip rate prediction; projecting the expected path based on the slip rate prediction onto the image data of the current position, performing risk assessment, and outputting the pre-planning strategy when the risk assessment result shows that the risk is not greater than a preset threshold. In the above process, the slip description data used to construct the slip rate prediction model include four important features: slip rate, terrain type, geometric characteristics and moving curvature. This makes the constructed slip rate prediction model very accurate. Based on the above high-accuracy slip prediction model, a highly accurate predicted slip rate can be obtained, and then through risk analysis, a highly accurate pre-planning strategy can be obtained.
[0311] An embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned rover path planning method when executing the computer program.
[0312] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned rover path planning method is implemented.
[0313] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned rover path planning method is implemented.
[0314] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0315] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0316] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0317] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0318] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any 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 rover path planning method, characterized in that: include: A terrain classifier is trained based on the image data captured by the rover during its driving process and the executed path planning strategy; Based on the image data captured by the rover during its driving process, the terrain classifier, the telemetry data of the rover starting to roam after landing on the planetary surface, the visual positioning results and the executed path planning strategy, a single-movement slip description database is constructed. The single-movement slip description database includes multiple sets of single-movement slip description data, and the slip description data includes slip rate, terrain type, geometric characteristics and movement curvature; Using a slip description database of a single movement, a slip rate prediction model is constructed. The slip rate prediction model is a slip rate prediction function that takes into account terrain type, geometric characteristics, and movement curvature. Generate a comprehensive cost map based on the image data of the rover's current position and the rover's mobility performance data; Based on the comprehensive cost graph, path pre-planning is performed to obtain the pre-planning strategy; Determining a terrain type at a current location based on a terrain classifier, determining a slip rate prediction function corresponding to the terrain type, and calculating a predicted slip rate based on a pre-planning strategy, image data at the current location, and the corresponding slip rate prediction function; interpolating and generating a plurality of two-dimensional point coordinates according to a pre-planning strategy, recalculating the two-dimensional point coordinates using the predicted slip rate, and connecting the recalculated two-dimensional point coordinates to obtain an expected path based on the slip rate prediction; The expected path based on slip rate prediction is projected onto the image data of the current position for risk assessment. When the risk assessment result shows that the risk is not greater than the preset threshold, the pre-planning strategy is output.
2. The method according to claim 1, wherein Based on the image data captured by the rover during its driving process and the executed path planning strategy, a terrain classifier is trained, including: Selecting image data corresponding to the executed path planning strategy from the image data; Projecting the executed path planning strategy onto the image data; The coverage area projected into the image data by the executed path planning strategy is marked with terrain type to form a terrain type label set; Divide the terrain type label set into a training set and a validation set; Use convolutional neural networks to perform offline learning on the training set to generate a terrain classifier; The validation set is used to verify the correctness of the terrain classifier. When the validation result shows that the correctness is lower than the preset value, the training parameters of the convolutional neural network are modified and offline learning is performed again until the validation result shows that the correctness is not lower than the preset value.
3. The method according to claim 2, wherein Projecting the executed path planning strategy onto the image data includes: Performing three-dimensional reconstruction on the image data according to the camera calibration data to generate a digital elevation model; Perform interval sampling according to the executed path planning strategy to generate the two-dimensional coordinates of the path points corresponding to the executed path planning strategy; Interpolate on the digital elevation model to obtain the three-dimensional coordinates of the path points corresponding to the executed path planning strategy; According to the camera imaging model, the two-dimensional coordinates of the path points corresponding to the executed path planning strategy are solved in the absence of distortion; Add camera distortion to the two-dimensional coordinates of the path points corresponding to the executed path planning strategy in the undistorted state; Based on the two-dimensional coordinates of the path points corresponding to the executed path planning strategy with camera distortion added, the path points corresponding to the executed path planning strategy are connected to obtain a projection of the executed path planning strategy in the image data.
4. The method according to claim 1, wherein Based on the image data captured by the rover during its driving process, the terrain classifier, the telemetry data of the rover's roaming after landing on the planet's surface, the visual positioning results, and the executed path planning strategy, a slip description database for a single move is constructed, including: Based on the telemetry data of the planetary rover, the vehicle slip rate of the planetary rover is obtained; Based on the rover's visual positioning results and the executed path planning strategy, the overall slip evaluation of a single movement process is performed, and the longitudinal slip rate and lateral slip rate are calculated in turn; Based on the terrain classifier, the area covered by the executed path planning strategy is classified to obtain the terrain type; Calculating geometric features of the terrain based on the executed path planning strategy and the image data, wherein the geometric features include longitudinal slope and lateral slope; Get the movement curvature in the executed path planning strategy; Determining the vehicle slip rate, longitudinal slip rate and lateral slip rate, terrain type, geometric characteristics and movement curvature as slip description data for a single movement; Multiple groups of single-movement slip description data are added to a single-movement slip description database according to terrain types.
5. The method according to claim 4, wherein Based on the telemetry data, the vehicle slip rate of the planetary rover is obtained, including: Based on the telemetry data of the planetary rover, the angular velocity of each wheel and the linear velocity of the whole vehicle in the body coordinate system are obtained; Based on the motion model and movement control parameters of the planetary rover, the linear velocity of the entire vehicle in the body coordinate system is decomposed into the linear velocity of each wheel; According to the angular velocity and linear velocity of each wheel of the planetary car, the vehicle slip rate of the planetary car is obtained.
6. The method according to claim 5, wherein The following formula is used to obtain the vehicle slip rate of the planetary car, including: Among them, s is the vehicle slip rate, n is the total number of sampling moments, s(t) is the vehicle slip rate at moment t, k is the total number of wheels, s i (t) is the slip rate of the i-th wheel at time t, ω i (t) is the angular velocity of the i-th wheel at time t, r is the wheel radius, v i (t) is the linear velocity of the i-th wheel at time t.
7. The method according to claim 4, wherein Based on the rover's visual positioning results and the executed path planning strategy, the overall slip evaluation of a single movement process is performed, and the longitudinal slip rate and lateral slip rate are calculated in sequence, including: According to the executed path planning strategy, determine the moving starting point, planned end point and visual positioning position; The longitudinal slip rate is calculated using the following formula: Among them, longslip is the longitudinal slip rate, Long s is the longitudinal slip, p0(x0,y0,z0) is the starting point of the movement, and p′ i (x′ i ,y′ i ,z′ i ) is the planned end point position, p i (x i ,y i ,z i ) is the visual positioning position, Mile is the single movement distance; θ is the angle between the first line segment and the second line segment, where the first line segment is the line segment formed by the movement starting position and the visual positioning position, and the second line segment is the line segment formed by the movement starting position and the planned end position; The lateral slip rate is calculated using the following formula: Among them, latslip is the lateral slip rate, Lat s For lateral slip.
8. The method according to claim 4, wherein Computes the terrain geometry based on the executed path planning strategy, including: Determine the starting point and the planned end point of the movement based on the executed path planning strategy; The longitudinal slope is calculated using the following formula: slope long is the longitudinal slope; p′ i (x′ i ,y′ i ,z′ i ) is the planned end position, and p0(x0,y0,z0) is the moving starting position; A grid is constructed with the midpoint of the second line segment as the center, and multiple elevation profiles are generated by linear fitting, wherein the second line segment is a line segment formed by the moving starting position and the planned end position; Calculate the slope of each elevation profile along the direction perpendicular to the rover's travel and take its absolute value to obtain the absolute value of the slope of each elevation profile along the direction perpendicular to the rover's travel; The lateral slope is calculated using the following formula: slope lat =max{slope i } Among them, slope lat is the lateral slope, slope i is the absolute value of the slope of the i-th elevation profile perpendicular to the rover's moving direction.
9. The method according to claim 1, wherein Using the slip description database of a single move, a slip rate prediction model is constructed, including: The single-movement slip description data in the single-movement slip description database are divided according to the terrain type to obtain a set corresponding to each terrain type; For each terrain type, multiple nonlinear regression fitting is performed on the slip description data in the set corresponding to the terrain type to obtain multiple slip rate prediction functions corresponding to the terrain type; Multiple slip rate prediction functions corresponding to each terrain type are evaluated; For each terrain type, the slip rate prediction function with the smallest evaluation value is selected as the slip rate prediction model corresponding to the terrain type.
10. The method according to claim 9, wherein The slip rate prediction model is expressed as: Among them, longslip T and latslip T are the longitudinal slip rate and lateral slip rate when the terrain type is T, curve is the moving curvature, slope long is the longitudinal slope, slope lat is the lateral slope, a1, a2,…, a i ,b1,b2,…,b j As a parameter.
11. The method according to claim 10, wherein Also includes: When considering the last vehicle slip rate, the slip rate prediction model is expressed as: in, and are the i-th longitudinal slip rate and lateral slip rate when the terrain type is T, considering the i-1-th vehicle slip rate. and is the longitudinal slip rate and lateral slip rate of the ith time when the terrain type is T, s i-1 is the vehicle slip rate of the i-1th time, and k is the proportional coefficient.
12. The method according to claim 1, wherein Based on the image data of the rover's current position and the rover's mobility performance data, an environmental cost map is generated, including: Based on the image data of the rover's current position, the three-dimensional terrain is constructed and a digital elevation model and digital orthophoto map are generated; Based on the digital elevation model, digital orthophoto map and the mobility performance data of the rover, a comprehensive cost map is generated.
13. The method according to claim 1, wherein Based on the terrain classifier, the terrain type of the current location is obtained, including: Projecting the pre-planning strategy onto the image data of the current position to generate a mask map of the area covered by the pre-planning strategy; The mask image is classified using a terrain classifier to obtain a terrain type corresponding to the pre-planning strategy.
14. The method according to claim 1, wherein Calculating a predicted slip rate based on a pre-planning strategy, image data of a current position, and the corresponding slip rate prediction function, including: Generate a digital elevation model of the current location based on the image data of the current location; Calculating geometric features of the current location based on the digital elevation model and the pre-planning strategy; The moving curvature of the pre-planned strategy and the geometric characteristics of the current position are input into the corresponding slip rate prediction function to obtain the predicted slip rate.
15. The method according to claim 1, wherein The following formula is used to recalculate the two-dimensional point coordinates using the predicted slip rate: Among them, p i (x i ,y i ), i=n is the coordinate of the two-dimensional point before recalculation, p i ′(x i ′,y i ′), i=n is the coordinate of the two-dimensional point after recalculation, is the nth longitudinal slip rate when the terrain type is T, is the nth lateral slip rate when the terrain type is T.
16. The method according to claim 1, wherein Also includes: If the risk assessment result indicates that the risk is greater than the preset threshold, re-execute the following steps until the risk assessment result indicates that the risk is not greater than the preset threshold: Based on the comprehensive cost graph, path pre-planning is performed to obtain the pre-planning strategy; Determining a terrain type at a current location based on a terrain classifier, determining a slip rate prediction function corresponding to the terrain type, and calculating a predicted slip rate based on a pre-planning strategy, image data at the current location, and the corresponding slip rate prediction function; According to the pre-planning strategy, a plurality of two-dimensional point coordinates are generated by interpolation, the two-dimensional point coordinates are recalculated using the predicted slip rate, and the recalculated two-dimensional point coordinates are connected to obtain an expected path based on the slip rate prediction.
17. A rover path planning device, characterized in that: include: Terrain classifier training module, used to train a terrain classifier based on the image data captured by the rover during its driving process and the executed path planning strategy; A slip description data construction module is used to construct a slip description database for a single move based on image data captured during the rover's travel, a terrain classifier, telemetry data from the rover's roaming after landing on the planet's surface, visual positioning results, and an executed path planning strategy. The slip description database for a single move includes multiple sets of slip description data for a single move, including slip rate, terrain type, geometric features, and movement curvature. A slip rate prediction model building module is used to build a slip rate prediction model using a slip description database of a single movement. The slip rate prediction model is a slip rate prediction function that takes into account terrain type, geometric characteristics, and movement curvature; A comprehensive cost map generation module is used to generate a comprehensive cost map based on the image data of the rover's current position and the rover's mobility performance data; The pre-planning strategy acquisition module is used to perform path pre-planning and obtain the pre-planning strategy based on the comprehensive cost map; a predicted slip rate determination module, configured to obtain a terrain type at a current location based on a terrain classifier, determine a slip rate prediction function corresponding to the terrain type, and calculate a predicted slip rate based on a pre-planning strategy, image data at the current location, and the corresponding slip rate prediction function; an expected path acquisition module, configured to interpolate and generate a plurality of two-dimensional point coordinates according to a pre-planning strategy, recalculate the two-dimensional point coordinates using the predicted slip rate, and connect the recalculated two-dimensional point coordinates to obtain an expected path based on the slip rate prediction; The risk assessment module is used to project the expected path based on the slip rate prediction onto the image data of the current position to perform risk assessment. When the risk assessment result shows that the risk is not greater than the preset threshold, the pre-planning strategy is output.
18. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 16 is implemented.
19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 16 is implemented.
20. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Multi-rule simulation test system of lunar vehicle
CN102306216A
Vehicle collision avoidance dynamic safety path planning method based on accurate trajectory prediction
CN112109704A
