A motion trajectory planning method for a micro-probe

The movement trajectory of the micro-detector is planned through the deep reinforcement learning model, which solves the problem that traditional detectors are difficult to move in asteroid surface detection, and enables reliable jumping movement and energy attenuation of the micro-detector on the asteroid surface to avoid escape.

CN118363385BActive Publication Date: 2024-10-11NINGBO INST OF NORTHWESTERN POLYTECHNICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410773342.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-11
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

In asteroid surface detection, traditional wheeled detectors are difficult to move effectively. Due to the weak and irregular gravity field of asteroids, existing detectors have limited application prospects in actual missions.

Method used

A micro-detector motion trajectory planning method based on a deep reinforcement learning model is used to determine the proposed take-off velocity vector through a pre-trained deep reinforcement learning model. Combined with state estimation and reflection strategies, the micro-detector is controlled to jump and move on the asteroid surface to ensure that it Energy gradually decays to avoid escape.

Benefits of technology

Effectively plan the motion trajectory of the micro-detector so that it can reliably move to the final target position and avoid escape, which is suitable for detection missions on asteroid surfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118363385B_ABST
    Figure CN118363385B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for planning the motion trajectory of a micro-probe, which relates to the field of asteroid probe control. The scheme determines the initial velocity vector, initial position coordinates and escape velocity of the micro-probe at the current moment under the current number of jumps and inputs them into a pre-trained deep reinforcement learning model to obtain a pseudo-take-off velocity vector whose modulus is less than the modulus of the escape velocity; based on a state estimation strategy, the position coordinates and running velocity vector of the micro-probe at the next moment are determined, and a rebound velocity vector is further determined when it is determined that the target asteroid has been hit, and the completion of the jump is determined when the modulus of the rebound velocity vector is greater than a preset static velocity, and the next jump cycle is started when it has not moved to the final target position coordinates. The scheme provided by the present application can effectively plan the motion trajectory of the micro-probe when performing a detection task, and can effectively prevent the micro-probe from escaping during the detection task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of asteroid probe control technology, and in particular to a motion trajectory planning method for a micro-probe. Background Art

[0002] Asteroids are small in size, irregular in shape, and have weak and complex gravity fields, which makes it difficult to use traditional wheeled probes when exploring the surface of asteroids. For this reason, a variety of exploration schemes for moving on the surface of asteroids have been proposed, including exploration based on cube momentum wheel jumping probes, exploration based on double wheels plus momentum wheel jumping probes, and exploration based on sea urchin telescopic legs. However, currently only closed probes based on momentum wheel jumping and tumbling have good application prospects in actual exploration missions. Therefore, it is an urgent problem to study the motion trajectory planning scheme based on momentum wheel jumping and tumbling probes to ensure that the probes can move reliably on the surface of asteroids as required. Summary of the invention

[0003] The problem to be solved by the present invention is to provide a motion trajectory planning method for a micro-detector, which can effectively plan the motion trajectory of the micro-detector when performing a detection task, and is beneficial to practical application.

[0004] In order to solve the above problems, the present invention provides a motion trajectory planning method for a micro-probe, comprising:

[0005] S11: Set the current number of jumps to 1;

[0006] S12: Under the current number of jumps, determining the initial velocity vector of the micro-probe when it is stationary at the current moment and the initial position coordinates in the coordinate system, wherein the coordinate system is established according to a predetermined polyhedron diagram representing the surface contour of the target small celestial body;

[0007] S13: determining the escape velocity corresponding to the initial position coordinates according to a preset escape velocity update strategy;

[0008] S14: Input the initial position coordinates, the initial velocity vector and the escape velocity as input items into a pre-trained deep reinforcement learning model to determine the pseudo-take-off velocity vector corresponding to the micro-probe, and then control the micro-probe to move according to the pseudo-take-off velocity vector; wherein the deep reinforcement learning model is pre-trained according to the final target position coordinates of this detection, and the modulus of the pseudo-take-off velocity vector is less than the modulus of the escape velocity;

[0009] S15: Determine the position coordinates and running speed vector of the micro-detector at the next moment based on the state estimation strategy;

[0010] S16: judging whether the micro-probe has hit the target small celestial body according to the position coordinates; if so, proceeding to S17; if not, returning to S15;

[0011] S17: determining a rebound velocity vector representing the micro-probe after impact according to the running velocity vector, the position coordinates and a preset reflection strategy;

[0012] S18: Determine whether the modulus of the rebound velocity vector is greater than a preset static velocity; if so, proceed to S15; if not, proceed to S19;

[0013] S19: Determine that the jump is completed, and determine whether the current position coordinates of the micro-detector are the same as the final target position coordinates within a preset error tolerance range; if not, proceed to S110;

[0014] S110: Set the current jump number = the current jump number + 1 and return to S12 to start the next jump until the movement reaches the final target position coordinates.

[0015] The beneficial effects of the present invention are as follows: the scheme provided in the present application can effectively plan the motion trajectory of the micro-detector when performing a detection task, so that it can reliably move to the final target position to be detected; the deep reinforcement learning model is pre-trained to obtain a pseudo-take-off velocity vector and the modulus of the vector is smaller than the modulus of the escape velocity, and the energy of the micro-detector will gradually decay during the bouncing process after take-off, so there will be no escape, so that the scheme can effectively prevent the micro-detector from escaping during the execution of the detection task, which is beneficial to practical application.

[0016] Furthermore, the determination of the polyhedron graph representing the surface contour of the target small celestial body in step S12 includes the following steps:

[0017] Obtain a scatter scan of the surface of the target small celestial body;

[0018] According to the scatter scan image, the target small celestial body is modeled as a polyhedron of constant density to obtain a corresponding polyhedron image; wherein the polyhedron image includes a plurality of intersecting triangular faces and any two intersecting triangular faces have only one common edge intersecting each other, and the three vertices of the triangular faces are the scatter points in the scatter scan image.

[0019] In this solution, the polyhedron diagram of various target small celestial bodies including small celestial bodies with irregular surfaces can be reliably determined by the above method, so that the polyhedron diagram can be used as the basis for subsequent motion trajectory planning.

[0020] Further, determining the escape velocity corresponding to the initial position coordinates according to a preset escape velocity update strategy includes:

[0021] Determine the gravity value corresponding to the initial position coordinate based on the general expression of gravity value;

[0022] The general expression of the gravity value is:

[0023] ;

[0024] in, represents the gravity value, represents the initial position coordinates of the current position of the micro-detector, is the gravitational constant, is the density of the target small celestial body, represents the set of triangular faces and for Any triangle in express The set of three edges of for Any edge of Indicates from midpoint to The vector of Indicates from The geometric center of The vector of is the edge integral calculation matrix determined based on the first preset relationship, is a surface integral calculation matrix determined based on a second preset relational expression, is a first geometric attribute matrix determined based on a third preset relationship, is a second geometric attribute matrix determined based on a fourth preset relationship;

[0025] The first preset relationship is:

[0026] ;

[0027] in, Indicates direction external, The normal vector of Indicated in within The first vector corresponding to the direction of the external normal is Indicated in within The second vector corresponding to the direction of the external normal of For Intersecting triangles;

[0028] The second preset relationship is:

[0029] ;

[0030] The third preset relationship is:

[0031] ;

[0032] in, express arrive The vector of the first vertex, express arrive The vector of the second vertex, express The actual length of

[0033] The fourth preset relationship is:

[0034] ;

[0035] in, express arrive The vector of the first vertex, express arrive The vector of the second vertex, express arrive The vector of the third vertex;

[0036] The escape velocity corresponding to the initial position coordinates is determined according to the gravitational value.

[0037] In this solution, the escape velocity at different positions can be reliably determined by the above method, which is beneficial for the subsequent determination of the simulated take-off velocity vector.

[0038] Further, determining a rebound velocity vector representing the micro-probe after impact according to the running velocity vector, the position coordinates and a preset reflection strategy includes:

[0039] Determine the target triangular surface currently hit by the micro-probe according to the position coordinates;

[0040] Determine the rebound velocity vector representing the micro-probe after impact according to the preset reflection formula direction;

[0041] The preset reflection formula is:

[0042] ;

[0043] in, is the running speed vector, A normal vector representing the target triangle surface;

[0044] Determine the rebound velocity vector representing the micro-probe after impact according to the fifth preset relationship size;

[0045] The fifth preset relationship is:

[0046] ;

[0047] in, Indicates the preset restitution coefficient.

[0048] Further, determining the target triangular surface currently hit by the micro-probe according to the position coordinates includes:

[0049] For any triangular face, determine the sum of the position coordinate and the Euclidean norm of the three vertices of the triangular face as a numerical reference;

[0050] The minimum value among the numerical benchmarks is determined so that the triangle surface corresponding to the minimum numerical benchmark is used as the target triangle surface.

[0051] In this scheme, the above-mentioned setting realizes a method for calculating the path of the micro-probe after it makes a jump on the surface of the target small celestial body, and then goes through the whole process of flying, landing and bouncing until the energy decays and stops.

[0052] Further, determining the position coordinates and running speed vector of the micro-detector at the next moment based on the state estimation strategy includes:

[0053] The position coordinates and running speed vector of the micro-detector at the next moment are determined according to the pre-established state equation; the state vector is defined as , and among them represents the position vector of the micro-detector, Representing the three-axis components of the running speed vector of the micro-probe;

[0054] The state equation is:

[0055] ;

[0056] in, represents the first-order derivative of the state vector, is the spin angular velocity of the target small celestial body, Represents the three-axis components of gravitational acceleration determined according to the preset main gravitational acceleration determination strategy.

[0057] Further, the gravitational acceleration is determined according to a preset main gravitational acceleration determination strategy, including:

[0058] Determining gravitational acceleration from an uncertain model , the uncertainty model is expressed as:

[0059] ;

[0060] in, is the standard gravity value vector obtained based on the general expression of the predetermined gravity value, represents a random perturbation and Satisfies Gaussian distribution.

[0061] In this scheme, the above method can be used To characterize the Gaussian uncertainty of gravity caused by the uneven mass of the target small celestial body, and then determine the gravitational acceleration.

[0062] Further, judging whether the micro-probe has hit the target small celestial body according to the position coordinates includes:

[0063] Determine the total signed projection used to measure the current contact relationship between the micro-probe and the target small celestial body according to the sixth preset relationship ;

[0064] The sixth preset relationship is:

[0065] ;

[0066] in, is the gravitational constant, is the density of the target small celestial body, A second geometric attribute matrix determined based on the current position coordinates of the micro-detector and a fourth preset relationship;

[0067] Determine the total signed projection Is it equal to 0?

[0068] If so, it is determined that the microprobe has not collided with the target small celestial body;

[0069] If not, it is determined that the microprobe has collided with the target small celestial body.

[0070] Furthermore, the step of pre-training the deep reinforcement learning model according to the final target position coordinates detected this time includes:

[0071] Construct a reinforcement learning environment including state space, action space and reward function; where:

[0072] The state quantities in the state space are defined to include a position vector and a velocity vector, and the coordinate range of the position vector is constrained within the coordinate range of the boundary ball point of the target small celestial body, and the value range of the modulus of the velocity vector is less than the escape velocity corresponding to the current position of the micro-probe;

[0073] The action in the action space is defined to include a pseudo-take-off velocity vector of the microprobe, the direction of the pseudo-take-off velocity vector is within a preset friction cone and the modulus of the pseudo-take-off velocity vector is less than the modulus of the escape velocity, and the preset friction cone is a cone having a normal vector of a triangular surface corresponding to the current position as a central axis and a complementary angle of a maximum take-off angle of the microprobe as a semi-vertex angle;

[0074] defining the reward function for motivating the microprobe to move toward the final target position coordinates;

[0075] A preset neural network is used to interact with the reinforcement learning environment to adjust the parameters of the preset neural network, and then the training of the deep reinforcement learning model is determined to be completed when a preset training termination condition is reached.

[0076] Further, defining the reward function for motivating the micro-probe to move toward the final target position coordinates includes:

[0077] Defining a sparse reward function and a continuous dense reward function as the reward function for motivating the micro-probe to move toward the final target position coordinates;

[0078] The sparse reward function is expressed as:

[0079] ;

[0080] in, is an action output by the current preset neural network and belongs to the action space, For Action The state of the micro-detector after being executed, Indicates the state of being in the target area corresponding to the final target position coordinates The first reward value at time Indicates the state of being in the target area corresponding to the final target position coordinates The second reward value at time represents the reward weight, Indicates execution of an action To reach the state The corresponding energy consumption reward value is Indicates the execution action determined based on the seventh preset relationship The energy required, the seventh preset relationship is:

[0081] ;

[0082] in, represents the output torque matrix corresponding to the momentum wheel of the microprobe, represents the angular velocity of the momentum wheel, represents the step time;

[0083] The continuous dense reward function is expressed as:

[0084] ;

[0085] in, represents an exponential reward function for rewarding the microprobe for moving toward the final target position coordinates in an exponential form, represents a penalty reward function for penalizing unnecessary jumping actions of the microprobe, represents a preset distance parameter for limiting the movement of the micro-probe within a maximum movement range near the final target position coordinates, is the distance between the current position of the micro-detector and the coordinates of the final target position, is the first scaling factor used to control the reward level of the exponential reward, is the second scaling factor used to control the reward level of the penalty-type reward.

[0086] In this scheme, by setting up a sparse reward function and a continuous dense reward function, the micro-detector can be reliably guided to continuously move toward the final target position coordinates, which is conducive to the completion of the detection task. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Figure 1 A flow chart of a method for planning the motion trajectory of a micro-probe provided by the present invention;

[0088] Figure 2 A scatter scan image of asteroid HW1 provided by the present invention;

[0089] Figure 3 A polyhedron diagram of asteroid HW1 provided by the present invention;

[0090] Figure 4 A schematic diagram of the distribution of gravity values ​​on the surface of asteroid HW1 provided by the present invention;

[0091] Figure 5 A schematic diagram of a micro-probe provided by the present invention colliding with a target triangular surface;

[0092] Figure 6 A schematic diagram of a constraint of a preset friction cone on a pseudo take-off velocity vector provided by the present invention;

[0093] Figure 7 A schematic diagram of the motion trajectory of a micro-detector provided by the present invention. DETAILED DESCRIPTION

[0094] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0095] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0096] Please refer to Figure 1 , Figure 1 A flow chart of a motion trajectory planning method for a micro-probe provided by the present invention; the present invention provides an embodiment, a motion trajectory planning method for a micro-probe, comprising:

[0097] S11: Set the current number of jumps to 1;

[0098] S12: Under the current number of jumps, determining the initial velocity vector of the micro-probe when it is stationary at the current moment and the initial position coordinates in the coordinate system, where the coordinate system is established according to a predetermined polyhedron diagram representing the surface contour of the target small celestial body;

[0099] S13: determining the escape velocity corresponding to the initial position coordinates according to a preset escape velocity update strategy;

[0100] S14: Inputting the initial position coordinates, the initial velocity vector and the escape velocity as input items into a pre-trained deep reinforcement learning model to determine the pseudo-take-off velocity vector corresponding to the micro-probe, and then controlling the micro-probe to move according to the pseudo-take-off velocity vector; wherein the deep reinforcement learning model is pre-trained according to the final target position coordinates of this detection, and the modulus of the pseudo-take-off velocity vector is less than the modulus of the escape velocity;

[0101] S15: Determine the position coordinates and running speed vector of the micro-detector at the next moment based on the state estimation strategy;

[0102] S16: judging whether the micro-probe has hit the target small celestial body according to the position coordinates; if so, proceed to S17; if not, return to S15;

[0103] S17: determining a rebound velocity vector representing the micro-probe after impact according to the running velocity vector, the position coordinates and the preset reflection strategy;

[0104] S18: Determine whether the modulus of the rebound velocity vector is greater than the preset static velocity; if so, proceed to S15; if not, proceed to S19;

[0105] S19: Determine that the jump is completed, and determine whether the current position coordinates of the micro-detector are within a preset error tolerance range and are the same as the final target position coordinates; if not, proceed to S110;

[0106] S110: Set the current jump number = the current jump number + 1 and return to S12 to start the next jump until the final target position coordinates are reached.

[0107] In this embodiment, considering that traditional wheeled probes are prone to slipping and unable to work in the microgravity environment of small celestial bodies, the micro-probe here can be a cubic probe driven by a momentum wheel, that is, a jumping and rolling probe based on a momentum wheel. This probe can use the principle of conservation of momentum to jump and move, which is conducive to meeting the needs of multi-point field detection on the surface of small celestial bodies; the target small celestial bodies here include but are not limited to small celestial bodies with irregular surfaces.

[0108] Specifically, in step S12, the micro-probe is in a stationary state, which means that the probe can be considered to be in a stationary state and is waiting to start the first jump under the current number of jumps. In the present application, when the micro-probe is at the starting point of this detection mission and the modulus of the rebound speed is determined to be no greater than the preset stationary speed, the probe can be considered to be in a stationary state; preferably, the initial velocity vector in step S12 can be set to a 0 vector, then when the micro-probe is in a stationary state on the surface of the target small celestial body, its state quantity is only its three-dimensional position information.

[0109] It should also be noted that when it is determined in step S16 based on the position coordinates that the micro-probe has not hit the target small celestial body, it means that the probe is still moving outside the target small celestial body and has not contacted the surface of the small celestial body, so it returns to step S15; when it is determined based on the position coordinates that the micro-probe has hit the target small celestial body, the rebound velocity vector can be determined according to step S17 by relying on the preset reflection strategy (designed according to the reflection principle).

[0110] When it is determined that the modulus of the rebound velocity vector is greater than the preset static velocity, it means that the detector still has relatively high energy, so it will continue to bounce and jump on the surface of the target small celestial body, and thus returns to step S15; when it is determined that the modulus of the rebound velocity vector is not greater than the preset static velocity, it can be approximately considered that the micro-detector is in a static state, and then enters step S19; it can be understood that in step S19, if it is determined that the current position coordinates of the micro-detector are the same as the final target position coordinates within the preset error allowable range, the loop is stopped.

[0111] In summary, the present application provides a method for planning the motion trajectory of a micro-probe, which can effectively plan the motion trajectory of the micro-probe when performing a detection task, so that it can reliably move to the final target position to be detected as required; a deep reinforcement learning model is pre-trained to obtain a pseudo-take-off velocity vector and the modulus of the vector is smaller than the modulus of the escape velocity, and the energy of the micro-probe will gradually decay during the bouncing process after take-off and will not escape, so that the scheme can effectively prevent the micro-probe from escaping during the execution of the detection task, which is beneficial to practical applications.

[0112] In some embodiments, the determination of the polyhedron graph representing the surface contour of the target small celestial body in step S12 includes the following steps:

[0113] Obtain a scatter scan of the surface of the target small celestial body;

[0114] The target small celestial body is modeled as a polyhedron of constant density according to the scatter scan image to obtain the corresponding polyhedron image; wherein the polyhedron image includes a plurality of intersecting triangular faces and any two intersecting triangular faces have only one common edge intersecting each other, and the three vertices of the triangular faces are the scatter points in the scatter scan image.

[0115] Specifically, the surface of a small celestial body may have depressions (such as craters), overhangs, internal voids (such as caves), or even holes (torus). According to the scatter scan graph, the target small celestial body is modeled as a polyhedron of constant density, consisting of planes intersecting along edges or at isolated scattered points called vertices. The resulting polyhedral graph includes multiple intersecting triangular faces and any two intersecting triangular faces have only one common edge intersecting, and three (or more) edges intersect with three (or more) faces at a vertex. The polyhedral graph serves as the connection topology between the scattered points of the target small celestial body and uniquely determines the configuration of the target small celestial body.

[0116] It is understandable that the terrain of the designated area can also be accurately depicted based on the scattered scan map, that is, the polyhedron map of the target small celestial body does not have to be modeled with a uniform high resolution, and no special limitation is made here.

[0117] Take the target asteroid HW1 as an example, and obtain the scattered point data of the surface of the asteroid HW1 according to NASA's 3D database to obtain a scattered point scan map. Please refer to Figure 2 , Figure 2 This is a scatter scan of the asteroid HW1 provided by the present invention, where the units of the data on the X-axis, Y-axis and Z-axis are all meters. Figure 3 For the corresponding Figure 2 , The present invention provides a polyhedron diagram of asteroid HW1, wherein the units of data of the X-axis, Y-axis and Z-axis are all meters.

[0118] It can be seen that the polyhedron diagram of various target small celestial bodies including small celestial bodies with irregular surfaces can be reliably determined by the above method, so that the polyhedron diagram can be used as the basis for subsequent motion trajectory planning.

[0119] In some embodiments, determining the escape velocity corresponding to the initial position coordinates according to a preset escape velocity update strategy includes:

[0120] Determine the gravity value corresponding to the initial position coordinates based on the general expression of gravity value;

[0121] The general expression of gravity value is:

[0122] ;

[0123] in, represents the gravity value, Indicates the initial position coordinates of the current position of the micro-detector, is the gravitational constant, is the density of the target small celestial body, represents a set of triangular faces and for Any triangle in express The set of three edges of for Any edge of Indicates from midpoint to The vector of Indicates from The geometric center of The vector of is the edge integral calculation matrix determined based on the first preset relationship, is a surface integral calculation matrix determined based on a second preset relational expression, is a first geometric attribute matrix determined based on a third preset relationship, is a second geometric attribute matrix determined based on a fourth preset relationship;

[0124] The first preset relationship is:

[0125] ;

[0126] in, Indicates direction external, The normal vector of Indicated in within The first vector corresponding to the direction of the external normal is Indicated in within The second vector corresponding to the direction of the external normal of For Intersecting triangles;

[0127] The second preset relationship is:

[0128] ;

[0129] The third preset relationship is:

[0130] ;

[0131] in, express arrive The vector of the first vertex, express arrive The vector of the second vertex, express The actual length of

[0132] The fourth preset relationship is:

[0133] ;

[0134] in, express arrive The vector of the first vertex, express arrive The vector of the second vertex, express arrive The vector of the third vertex;

[0135] Determine the escape velocity corresponding to the initial position coordinates based on the gravity value.

[0136] Specifically, the following derivation is given for the design of the general expression of the gravitational value:

[0137] For the target small celestial body outside the surface Its gravitational potential can be calculated by the following formula:

[0138] ;

[0139] in, is the mass element mass of the target small celestial body, is the total mass of the target small celestial body, is the volume of the target small celestial body. To facilitate the calculation using scanning scatter points The magnitude of gravity at a point can be determined by using Gaussian divergence theorem and Green's formula to convert the volume integral in the above formula into a line integral, and then taking partial derivatives for each spatial coordinate to obtain the general expression for the above gravitational value.

[0140] It should be noted that the edges Quilt With face Shared, that is, edge For face With face common edges.

[0141] Still for asteroid HW1, please refer to Figure 4 , Figure 4 A schematic diagram of the distribution of gravity values ​​on the surface of asteroid HW1 provided by the present invention, wherein the units of data on the X-axis, Y-axis and Z-axis are all meters.

[0142] It can be seen that the escape velocity at different positions can be reliably determined by the above method, which is beneficial to the subsequent determination of the pseudo-take-off velocity vector.

[0143] In some embodiments, determining the position coordinates and running speed vector of the micro-probe at the next moment based on the state estimation strategy includes:

[0144] The position coordinates and running speed vector of the micro-detector at the next moment are determined according to the pre-established state equation; the state vector is defined in the state equation as , and among them represents the position vector of the micro-detector, Represents the three-axis components of the running velocity vector of the micro-probe;

[0145] The state equation is:

[0146] ;

[0147] in, represents the first-order derivative of the state vector, is the spin angular velocity of the target small celestial body, Represents the three-axis components of gravitational acceleration determined according to the preset main gravitational acceleration determination strategy.

[0148] Specifically, the state equation can accurately describe the relationship between the input, output and state variables of the system, so the position coordinates and velocity vector of the micro-probe at the next moment can be reliably determined by solving the state equation.

[0149] In some embodiments, determining the gravitational acceleration according to a preset main gravitational acceleration determination strategy includes:

[0150] Determining gravitational acceleration from an uncertain model , the uncertainty model is expressed as:

[0151] ;

[0152] in, is the standard gravity value vector obtained based on the general expression of the predetermined gravity value, represents a random perturbation and Satisfies Gaussian distribution.

[0153] Specifically, the derivation of the uncertainty model is explained as follows: The external force acting on the micro-detector Including the main gravity (from the main celestial body and possible third celestial body), solar radiation pressure, electrostatic force and contact force, it is also convenient to express the dynamics of the microprobe in the rotating body frame. The total effective force It can be expressed as:

[0154] ;

[0155] in, Indicates the position of the target small celestial body's center of mass to the micro-probe The vector of represents the velocity vector of the microprobe.

[0156] Generally speaking, It is not only a function of position and velocity, but also a function of time, which leads to a time-invariant control strategy. This strategy excludes the periodic forces expressed in the rotating frame, such as solar radiation pressure and third-body perturbation, and thus obtains the above uncertain model. It should be noted that in practical applications, Can be taken , Characterizes the Gaussian uncertainty of gravity caused by the uneven mass of the target small celestial body, , preferably, the mean of the Gaussian distribution Take 0, variance It can be determined according to the gravitational value of the corresponding target small celestial body, and can be taken as 10 -4 ~10 -5 .

[0157] In some embodiments, determining whether the micro-probe has hit the target small celestial body according to the position coordinates includes:

[0158] Determine the total signed projection used to measure the contact relationship between the current micro-probe and the target small celestial body according to the sixth preset relationship ;

[0159] The sixth preset relationship is:

[0160] ;

[0161] in, is the gravitational constant, is the density of the target small celestial body, A second geometric attribute matrix determined based on the current position coordinates of the micro-detector and a fourth preset relationship;

[0162] Determine the total signed projection Is it equal to 0?

[0163] If so, it is determined that the microprobe did not collide with the target small celestial body;

[0164] If not, it is determined that the microprobe has collided with the target small celestial body.

[0165] It should be noted that is the second geometric attribute matrix introduced to simplify the calculation, which still follows the definition in the fourth preset relationship, namely:

[0166] ;

[0167] Determine the total signed projection Is it equal to 0? If so, it means that the micro-probe is not in contact with the surface of the target small celestial body at this time and is outside the target small celestial body; if not, the total signed projection calculated at this time for , it is determined that the microprobe has hit the target small celestial body.

[0168] In some embodiments, determining a rebound velocity vector representing the micro-probe after impact according to the running velocity vector, the position coordinates and a preset reflection strategy includes:

[0169] Determine the target triangular surface currently hit by the micro-probe according to the position coordinates;

[0170] Determine the rebound velocity vector representing the micro-probe after impact according to the preset reflection formula direction;

[0171] The default reflection formula is:

[0172] ;

[0173] in, is the running speed vector, Represents the normal vector of the target triangle;

[0174] Determine the rebound velocity vector representing the micro-probe after impact according to the fifth preset relationship size;

[0175] The fifth preset relationship is:

[0176] ;

[0177] in, Indicates the preset restitution coefficient.

[0178] In this embodiment, the step of determining the rebound velocity vector is designed based on the reflection principle. Specifically, since the polyhedron considered in this application is essentially an approximation of the surface of the target small celestial body (i.e., a surface composed of triangular faces, which is immovable and non-deformable), the above method is designed to simply and reliably realize the determination of the rebound velocity vector. Please refer to Figure 5 , Figure 5 This is a schematic diagram of a micro-probe provided by the present invention colliding with a target triangular surface. For the convenience of illustration, the target triangular surface currently collided is taken as and The corresponding normal vector is Take the example of With the target triangle When colliding, the incident speed can be Along the normal vector The projection is reversed and doubled, which can simulate the reflection effect after an object collides elastically with the surface of another object, and finally the rebound velocity vector is determined by the above method. direction.

[0179] It should also be noted that To characterize the parameters of deformation energy recovery after the microprobe hits the surface of the target small celestial body and bounces off; in addition, the impact time of the microprobe hitting the target small celestial body can be further determined and recorded for subsequent tracing, which is not particularly limited here.

[0180] In some embodiments, determining the target triangular surface currently hit by the micro-probe according to the position coordinates includes:

[0181] For any triangular face, determine the sum of the position coordinates and the Euclidean norm of the three vertices of the triangular face as the numerical reference;

[0182] The minimum value among the numerical benchmarks is determined so that the triangle surface corresponding to the minimum numerical benchmark is used as the target triangle surface.

[0183] It can be seen that the above-mentioned setting realizes a method for calculating the path of the micro-probe after it makes a jump on the surface of the target small celestial body, and then goes through the whole process of flying, landing and bouncing until the energy decays and stops.

[0184] In some embodiments, the step of pre-training the deep reinforcement learning model according to the final target position coordinates detected this time includes:

[0185] Construct a reinforcement learning environment including state space, action space and reward function; where:

[0186] The state quantities in the state space are defined to include a position vector and a velocity vector, and the coordinate range of the position vector is constrained within the coordinate range of the boundary ball point of the target small celestial body, and the value range of the modulus of the velocity vector is less than the escape velocity corresponding to the current position of the micro-probe;

[0187] The action in the action space is defined to include a pseudo-take-off velocity vector of the micro-probe, the direction of the pseudo-take-off velocity vector is within a preset friction cone and the modulus of the pseudo-take-off velocity vector is less than the modulus of the escape velocity, and the preset friction cone is a cone formed by taking the normal vector of the triangular surface corresponding to the current position as the central axis and taking the complementary angle of the maximum take-off angle of the micro-probe as the semi-vertex angle;

[0188] Define a reward function for motivating the microprobe to move toward the final target position coordinates;

[0189] The preset neural network is used to interact with the reinforcement learning environment to adjust the parameters of the preset neural network, and then the deep reinforcement learning model training is determined to be completed when the preset training termination condition is reached.

[0190] In this embodiment, the reinforcement learning environment here is constructed based on the gym framework and the requirements of this detection task. In detail, the reinforcement learning environment includes a state space, an action space and a reward function. For the state space, when the micro-probe is at rest on the surface of the target small celestial body, its state quantity is only its three-dimensional position information, and there are certain constraints on the state variables, as described in the above text, wherein the maximum possible value of the value range of the modulus of the velocity vector is also less than the escape velocity corresponding to the current position of the micro-probe; for the action space, the action of the micro-probe is regarded as the take-off speed, and in order to ensure the continuity of the transition, the local surface characteristics impose key constraints on the movable action space of the probe, that is, the direction of the simulated take-off velocity vector mentioned above is within the preset friction cone and the modulus of the simulated take-off velocity vector is less than the modulus of the escape velocity. Please refer to Figure 6 , Figure 6A schematic diagram of a constraint of a preset friction cone on a pseudo take-off velocity vector provided by the present invention, Figure 6 The optional set of velocity vectors is represented as , Represents the vertex of the preset friction cone.

[0191] In addition, the architecture of the preset neural network here can be a neural network structure based on the A2C (Advantage Actor-Critic) algorithm. The architecture includes an action network and an evaluation network. They share the same neural network model. Each network is composed of a multilayer perceptron neural network with no less than two hidden layers. Each layer contains 256 neurons, and the activation function uses the ReLU function. More specifically, for the preset neural network, first set the hyperparameters of the preset neural network according to the actual detection task currently being performed. The hyperparameters here may include the total training time step, the maximum limit step of a single training sample, the number of training samples for word iteration, the discount factor, the learning rate, the batch size, the entropy increase coefficient, etc.; set the update step size to 10,000 seconds (that is, 10,000 calculation steps to ensure that the detector stops completely), the maximum number of steps per training cycle is limited to 100 steps, and the maximum explorable range It is set to be within 3000 meters from the initial position of the center of mass of the target small celestial body, and the preset error allowable range is set to be within 100 meters from the final target position coordinates.

[0192] In addition, the preset neural network is set to a multilayer perceptron form, the hidden layer is composed of two layers of 256 nodes, the learning rate is set to 0.001, the decay factor is 0.99, the network update parameter is 0.005, the experience replay buffer size is 10000, the batch size of each training is 64, and the small batch stochastic gradient descent method is used for training. The maximum simulation step size of each round is limited to 100.

[0193] During training, the preset neural network is used to continuously interact with the reinforcement learning environment to adjust the parameters of the preset neural network. Specifically, the training is carried out using the pytorch framework, and the main parameters of the training process are recorded and output through tensorboard. When the training effect reaches the expected result (that is, when the preset training termination condition is reached), it is determined that the deep reinforcement learning model training is completed.

[0194] After the deep reinforcement learning model training is completed, the reinforcement learning environment can be initialized according to the parameters input to the model. The preset neural network is equivalent to the controller of the model's actual decision-making. The output of the deep reinforcement learning model, that is, the simulated take-off velocity vector of the micro-probe, can be determined through the interaction between the preset neural network and the reinforcement learning model. In the detection task that requires multiple jumps to complete, the micro-probe can be reliably moved to the final target position under various constraints such as energy consumption and escape velocity by looping the above steps. Please refer to Figure 7 , Figure 7 A schematic diagram of the motion trajectory of a micro-probe provided in the present application, wherein the units of the data of the X-axis, Y-axis and Z-axis are all meters.

[0195] In some embodiments, defining a reward function for motivating the microprobe to move toward the final target position coordinates includes:

[0196] A sparse reward function and a continuous dense reward function are defined as reward functions for motivating the micro-probe to move toward the final target position coordinates;

[0197] The sparse reward function is expressed as:

[0198] ;

[0199] in, is an action output by the current preset neural network and belongs to the action space, For Action The state of the micro-detector after execution, Indicates the state of being in the target area corresponding to the final target position coordinates The first reward value at time Indicates the state of being in the target area corresponding to the final target position coordinates The second reward value at time represents the reward weight, Indicates execution of an action To reach the state The corresponding energy consumption reward value is Indicates the execution action determined based on the seventh preset relationship The energy required, the seventh preset relationship is:

[0200] ;

[0201] in, represents the output torque matrix corresponding to the momentum wheel of the micro-probe, represents the angular velocity of the momentum wheel, Indicates the step time;

[0202] The continuous dense reward function is expressed as:

[0203] ;

[0204] in, represents an exponential reward function for rewarding the microprobe exponentially to move toward the final target position coordinates, represents the penalty reward function used to penalize unnecessary jumps of the microprobe, represents a preset distance parameter for limiting the movement of the micro-probe within a maximum range of motion near the final target position coordinates, is the distance between the current position of the micro-detector and the final target position coordinates, is the first scaling factor used to control the reward level of the exponential reward, is the second scaling factor used to control the reward level of the penalty-type reward.

[0205] Specifically, the sparse reward function and the continuous dense reward function are essentially parallel reward functions, wherein the sparse reward function can participate in the reward throughout the process, and the continuous dense reward function can be introduced only when the micro-probe is in the target area corresponding to the coordinates of the final target position.

[0206] It should be noted that is an exponential reward function. As the micro-probe approaches the final target position coordinates, the corresponding reward will increase exponentially to encourage the micro-probe to move better toward the final target position coordinates. is a penalty-type reward function that can penalize the extra jumps of the microprobe when it approaches the final target position coordinates, so as to shorten the entire movement process. Determined based on the following formula:

[0207] ;

[0208] in, is the coordinate of the final target position, is the current location of the microprobe.

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

[0210] It should also be noted that, in this specification, relational terms such as first, second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not imply any actual relationship or order between these entities or operations.

Claims

1. A method for planning the motion trajectory of a micro-probe, characterized in that: include: S11: Set the current number of jumps to 1; S12: Under the current number of jumps, determining the initial velocity vector of the micro-probe when it is stationary at the current moment and the initial position coordinates in the coordinate system, wherein the coordinate system is established according to a predetermined polyhedron diagram representing the surface contour of the target small celestial body; S13: determining the escape velocity corresponding to the initial position coordinates according to a preset escape velocity update strategy; S14: Input the initial position coordinates, the initial velocity vector and the escape velocity as input items into a pre-trained deep reinforcement learning model to determine the pseudo-take-off velocity vector corresponding to the micro-probe, and then control the micro-probe to move according to the pseudo-take-off velocity vector; wherein the deep reinforcement learning model is pre-trained according to the final target position coordinates of this detection, and the modulus of the pseudo-take-off velocity vector is less than the modulus of the escape velocity; S15: Determine the position coordinates and running speed vector of the micro-detector at the next moment based on the state estimation strategy; S16: judging whether the micro-probe has hit the target small celestial body according to the position coordinates; if so, proceeding to S17; if not, returning to S15; S17: determining a rebound velocity vector representing the micro-probe after impact according to the running velocity vector, the position coordinates and a preset reflection strategy; S18: Determine whether the modulus of the rebound velocity vector is greater than a preset static velocity; if so, proceed to S15; if not, proceed to S19; S19: Determine that the jump is completed, and determine whether the current position coordinates of the micro-detector are the same as the final target position coordinates within a preset error tolerance range; if not, proceed to S110; S110: Set the current jump number = the current jump number + 1 and return to S12 to start the next jump until the movement reaches the final target position coordinates.

2. The motion trajectory planning method of a micro-probe according to claim 1, characterized in that: The determination of the polyhedron graph representing the surface contour of the target small celestial body in step S12 includes the following steps: Obtain a scatter scan of the surface of the target small celestial body; According to the scatter scan image, the target small celestial body is modeled as a polyhedron of constant density to obtain a corresponding polyhedron image; wherein the polyhedron image includes a plurality of intersecting triangular faces and any two intersecting triangular faces have only one common edge intersecting each other, and the three vertices of the triangular faces are the scatter points in the scatter scan image.

3. The motion trajectory planning method of a micro-probe according to claim 2, characterized in that: Determining the escape velocity corresponding to the initial position coordinate according to a preset escape velocity update strategy includes: Determine the gravity value corresponding to the initial position coordinate based on the general expression of gravity value; The general expression of the gravity value is: ; in, represents the gravity value, represents the initial position coordinates of the current position of the micro-detector, is the gravitational constant, is the density of the target small celestial body, represents the set of triangular faces and for Any triangle in express The set of three edges of for Any edge of Indicates from midpoint to The vector of Indicates from The geometric center of The vector of is the edge integral calculation matrix determined based on the first preset relationship, is a surface integral calculation matrix determined based on a second preset relational expression, is a first geometric attribute matrix determined based on a third preset relationship, is a second geometric attribute matrix determined based on a fourth preset relationship; The first preset relationship is: ; in, Indicates direction external, The normal vector of Indicated in within The first vector corresponding to the direction of the external normal is Indicated in within The second vector corresponding to the direction of the external normal of For Intersecting triangles; The second preset relationship is: ; The third preset relationship is: ; in, express arrive The vector of the first vertex, express arrive The vector of the second vertex, express The actual length of The fourth preset relationship is: ; in, express arrive The vector of the first vertex, express arrive The vector of the second vertex, express arrive The vector of the third vertex; The escape velocity corresponding to the initial position coordinates is determined according to the gravitational value.

4. The motion trajectory planning method of a micro-probe according to claim 2, characterized in that: Determining a rebound velocity vector representing the micro-probe after impact according to the running velocity vector, the position coordinates and a preset reflection strategy includes: Determine the target triangular surface currently hit by the micro-probe according to the position coordinates; Determine the rebound velocity vector representing the micro-probe after impact according to the preset reflection formula direction; The preset reflection formula is: ; in, is the running speed vector, A normal vector representing the target triangle surface; Determine the rebound velocity vector representing the micro-probe after impact according to the fifth preset relationship size; The fifth preset relationship is: ; in, Indicates the preset restitution coefficient.

5. The motion trajectory planning method of a micro-probe according to claim 4, characterized in that: Determining the target triangular surface currently hit by the micro-probe according to the position coordinates includes: For any triangular face, determine the sum of the position coordinate and the Euclidean norm of the three vertices of the triangular face as a numerical reference; The minimum value among the numerical benchmarks is determined so that the triangle surface corresponding to the minimum numerical benchmark is used as the target triangle surface.

6. The motion trajectory planning method of a micro-probe according to claim 1, characterized in that: Determining the position coordinates and running speed vector of the micro-detector at the next moment based on the state estimation strategy includes: The position coordinates and running speed vector of the micro-detector at the next moment are determined according to the pre-established state equation; the state vector is defined as , and among them represents the position vector of the micro-probe, Representing the three-axis components of the running speed vector of the micro-probe; The state equation is: ; in, represents the first-order derivative of the state vector, is the spin angular velocity of the target small celestial body, Represents the three-axis components of gravitational acceleration determined according to the preset main gravitational acceleration determination strategy.

7. The motion trajectory planning method of a micro-probe according to claim 6, characterized in that: Determine the gravitational acceleration according to a preset main gravitational acceleration determination strategy, including: Determining gravitational acceleration from an uncertain model , the uncertainty model is expressed as: ; in, is the standard gravity value vector obtained based on the general expression of the predetermined gravity value, represents a random perturbation and Satisfies Gaussian distribution.

8. The motion trajectory planning method of a micro-probe according to claim 1, characterized in that: Judging whether the microprobe has hit the target small celestial body according to the position coordinates includes: Determine the total signed projection used to measure the current contact relationship between the micro-probe and the target small celestial body according to the sixth preset relationship ; The sixth preset relationship is: ; in, is the gravitational constant, is the density of the target small celestial body, A second geometric attribute matrix determined based on the current position coordinates of the micro-detector and a fourth preset relationship; Determine the total signed projection Is it equal to 0? If so, it is determined that the microprobe has not collided with the target small celestial body; If not, it is determined that the microprobe has collided with the target small celestial body.

9. The motion trajectory planning method of a micro-probe according to any one of claims 1 to 8, characterized in that: The step of pre-training the deep reinforcement learning model according to the final target position coordinates of the detection comprises: Construct a reinforcement learning environment including state space, action space and reward function; where: The state quantities in the state space are defined to include a position vector and a velocity vector, and the coordinate range of the position vector is constrained within the coordinate range of the boundary ball point of the target small celestial body, and the value range of the modulus of the velocity vector is less than the escape velocity corresponding to the current position of the micro-probe; The action in the action space is defined to include a pseudo-take-off velocity vector of the microprobe, the direction of the pseudo-take-off velocity vector is within a preset friction cone and the modulus of the pseudo-take-off velocity vector is less than the modulus of the escape velocity, and the preset friction cone is a cone having a normal vector of a triangular surface corresponding to the current position as a central axis and a complementary angle of a maximum take-off angle of the microprobe as a semi-vertex angle; defining the reward function for motivating the microprobe to move toward the final target position coordinates; A preset neural network is used to interact with the reinforcement learning environment to adjust the parameters of the preset neural network, and then the training of the deep reinforcement learning model is determined to be completed when a preset training termination condition is reached.

10. The motion trajectory planning method of a micro-probe according to claim 9, characterized in that: Defining the reward function for motivating the microprobe to move toward the final target position coordinates includes: Defining a sparse reward function and a continuous dense reward function as the reward function for motivating the micro-probe to move toward the final target position coordinates; The sparse reward function is expressed as: ; in, is an action output by the current preset neural network and belongs to the action space, For Action The state of the micro-detector after being executed, Indicates the state of being in the target area corresponding to the final target position coordinates The first reward value at time Indicates the state of being in the target area corresponding to the final target position coordinates The second reward value at time represents the reward weight, Indicates execution of an action To reach the state The corresponding energy consumption reward value is Indicates the execution action determined based on the seventh preset relationship The energy required, the seventh preset relationship is: ; in, represents the output torque matrix corresponding to the momentum wheel of the microprobe, represents the angular velocity of the momentum wheel, Indicates the step time; The continuous dense reward function is expressed as: ; in, represents an exponential reward function for rewarding the microprobe for moving toward the final target position coordinates in an exponential form, represents a penalty reward function for penalizing unnecessary jumping actions of the microprobe, represents a preset distance parameter for limiting the movement of the micro-probe within a maximum movement range near the final target position coordinates, is the distance between the current position of the micro-detector and the coordinates of the final target position, is the first scaling factor used to control the reward level of the exponential reward, is the second scaling factor used to control the reward level of the penalty-type reward.