Autonomous obstacle avoidance learning control method and device for unmanned operating system

By constructing an obstacle avoidance environment and optimal obstacle avoidance control model, and using behavior-evaluation neural network and state extrapolation technology, we solve the problems of optimality and data utilization efficiency in obstacle avoidance control of autonomous unmanned systems, and achieve high efficiency and safety. obstacle avoidance strategy.

CN114610040BActive Publication Date: 2024-10-22TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210342793.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2024-10-22
Estimated Expiration
2042-04-02

AI Technical Summary

Technical Problem

Existing obstacle avoidance control methods for autonomous unmanned systems cannot guarantee the optimality of the control strategy, and there are challenges in how to effectively use learning data to achieve experience playback and autonomous exploration.

Method used

Using optimal control and reinforcement learning technology, by constructing an obstacle avoidance environment and optimal obstacle avoidance control model, using behavior-evaluation neural network to build an online learning controller, based on state extrapolation to achieve experience playback and virtual exploration, and determine the adaptive network Update rules to achieve safe learning and autonomous obstacle avoidance.

Benefits of technology

It achieves the safety of autonomous unmanned systems and the optimality of obstacle avoidance strategies, improves the optimization performance of motion paths, and effectively utilizes learning data to ensure real-time performance and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610040B_ABST
    Figure CN114610040B_ABST
Patent Text Reader

Abstract

The present invention discloses an autonomous obstacle avoidance learning control method and device applied to an unmanned operating system, so as to solve the obstacle avoidance control problem of the autonomous unmanned system in a multi-obstacle environment; the method comprises: constructing an obstacle avoidance environment and an optimal obstacle avoidance control model; constructing an online learning controller by using a behavior-evaluation neural network; realizing experience replay and virtual exploration based on state extrapolation; determining an adaptive network update rule to realize safe learning and autonomous obstacle avoidance; the device comprises: a detector and locator, a microprocessor, a memory and a drive device; the obstacle avoidance control method disclosed by the present invention designs an obstacle avoidance penalty item with explanatory power, which can generate a relatively optimal safe operation trajectory in real time, and can guide the autonomous unmanned system to quickly pass through the obstacle environment and accurately reach the designated target point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of reinforcement learning and obstacle avoidance control, and more specifically, to an autonomous obstacle avoidance learning control method and device applied to an unmanned operation system. Background Art

[0002] Autonomous unmanned systems represented by drones, unmanned vehicles, and robots have received widespread attention and application. There are many obstacles in the working environment of such moving objects, and the unmanned systems are required to complete the given tasks while avoiding collisions with obstacles. Therefore, designing autonomous obstacle avoidance control methods is an important part of motion planning. Generally speaking, obstacle avoidance methods are divided into pre-generation methods (global planning) and reactive methods (local planning). The former requires a model of the entire environment and is therefore not suitable for real-time adjustment; the latter is more suitable for actual dynamic environments because it is easy to combine with optimal real-time feedback.

[0003] Typical representatives of reactive methods are artificial potential field method and model predictive control method, but these methods cannot guarantee the optimality of the control strategy on the entire motion trajectory, and the optimization of the control strategy needs to be further improved. In recent years, the integration of reinforcement learning (RL) and optimal control has provided a novel approach to solve this problem. It uses neural networks and policy iteration to achieve approximate solutions to control strategies.

[0004] Many control schemes have been proposed for autonomous obstacle avoidance control using RL. However, the obstacle avoidance strategies of these methods are conservative, the mathematical definitions are not clear enough, and the optimization performance still needs to be improved. In addition, how to effectively use learning data to achieve experience replay and autonomous exploration is also a key issue that needs to be solved urgently. Summary of the invention

[0005] The present invention provides an autonomous obstacle avoidance learning control method and device applied to an unmanned operating system, which is used to solve the problems of safe learning and autonomous obstacle avoidance of an autonomous unmanned system. The present invention ensures the safety of the motion process and the optimality of the obstacle avoidance strategy, realizes the efficient use of learning data, and has a simple design and is easy to implement. See the following description for details:

[0006] The present invention provides an autonomous obstacle avoidance learning control method applied to an unmanned operating system, the method comprising:

[0007] The present invention aims at the problem of autonomous obstacle avoidance control, uses optimal control and reinforcement learning technology, and studies an autonomous obstacle avoidance learning control method based on experience replay to achieve safe and reliable obstacle avoidance, which is in line with the application requirements and development trends of related technologies. No similar technical solutions were found through searching existing literature and technologies.

[0008] 1. An autonomous obstacle avoidance learning control method applied to an unmanned operating system, characterized in that the method comprises the following steps:

[0009] S10, constructing obstacle avoidance environment and optimal obstacle avoidance control model;

[0010] S20, constructing an online learning controller using behavior-evaluation neural network;

[0011] S30, experience replay and virtual exploration based on state extrapolation;

[0012] S40, determining adaptive network update rules to achieve safe learning and autonomous obstacle avoidance.

[0013] Furthermore, the process of constructing the obstacle avoidance environment and the optimal obstacle avoidance control model in step S10 is as follows:

[0014] Step S101, constructing a nonlinear obstacle model based on the detection radius by the following formula;

[0015]

[0016] Where: is the internal dynamic information of f(x(t)), g(x(t)) is the control coupling matrix, and u(t) is the control input or control strategy;

[0017] Step S102, establishing a cost function including an obstacle function term according to the following formula;

[0018] r(x,u)=x T Qx+u T Ru+B(x).

[0019] Where: Q and R are positive definite and symmetric constant matrices, and B(x) is the barrier function term.

[0020] Step S103, according to the above cost function, the optimal obstacle avoidance control model is obtained using the Bellman optimality condition:

[0021]

[0022] Among them: ▽J * is the optimal cost function J * (x) Partial derivative with respect to x.

[0023] Furthermore, in step S20, the online learning controller process is constructed using the behavior-evaluation neural network:

[0024] The behavior-critic neural network gives an approximation of the optimal cost function The latter gives the obstacle avoidance control strategy Calculate the real-time obstacle avoidance control strategy, which is the output of the learning controller and has the functions of strategy optimization and obstacle avoidance. After obtaining the approximate cost function and obstacle avoidance control strategy, bring them into the Bellman equation and calculate the real-time Bellman error δ(t).

[0025] Step S201, constructing a behavior-evaluation neural network module based on the optimal obstacle avoidance control model combined with a multi-layer feedforward neural network;

[0026] Step S202, calculating the real-time obstacle avoidance control strategy according to the following formula;

[0027]

[0028] in: is the activation function of the state following The partial derivative of , c(x) is the kernel function around the current state, is the behavior network weight, ▽B o (x) is the obstacle avoidance penalty term B o The partial derivative of (x).

[0029] Step S203, calculating the real-time Bellman error δ(t) according to the following formula;

[0030]

[0031] in: is the evaluation network weight.

[0032] Furthermore, the step S30 implements the experience playback and virtual exploration process based on state extrapolation:

[0033] Step S301: Generate empirical data points using state extrapolation

[0034] Step S302, calculating and storing the extrapolated obstacle avoidance control strategy according to the following formula;

[0035]

[0036] Where: x k is the above-mentioned empirical data point, i.e., the virtual state generated by extrapolation. Step S303, calculate and store the extrapolated Bellman error according to the following formula;

[0037]

[0038] Among them: the experience data point is the extrapolated trajectory around the current state point, and the extrapolated obstacle avoidance control strategy is calculated and stored based on the experience data point; the Bellman error is re-evaluated at the extrapolated point, and the extrapolated Bellman error is calculated and stored.

[0039] Further, the step S40 determines the adaptive network update rules to achieve the safe learning and autonomous obstacle avoidance process;

[0040] Step S401, determining an adaptive update rule of the evaluation network according to the following formula;

[0041]

[0042] Step S402, determining an adaptive update rule of the evaluation network using a gradient descent adaptive method according to the following formula;

[0043]

[0044] Among them: is k c1 ,k c2 >0 evaluates the network learning rate, which is used to adjust the weight of real-time data and experience data in the update rule;

[0045] Step S403, determining the adaptive update rule of the behavior network by using the gradient projection operator method according to the following formula;

[0046]

[0047] where proj{·} is the projection operator, k a >0 is the behavior network learning rate, F a is a positive definite matrix;

[0048] Step S404, achieving safety learning and autonomous obstacle avoidance through a policy iteration process.

[0049] The present invention can also be implemented by the following technical solutions:

[0050] A device with an autonomous obstacle avoidance learning control method having an unmanned operating system, the device comprising:

[0051] --Detection and locator, used to provide positioning and detection information to unmanned systems;

[0052] -- A microprocessor, mainly a typical embedded chip and related functional circuits, used to perform the neural network training and control calculation of the autonomous obstacle avoidance learning control method of the unmanned operating system described in claims 1-4;

[0053] --a memory, coupled to the microprocessor, for storing the system's running trajectory information, saving the learning data generated by state extrapolation and transmitting it to the microprocessor on a regular basis;

[0054] --Drive device, used to provide power to the unmanned system and is responsible for executing control instructions.

[0055] Beneficial effects:

[0056] The autonomous obstacle avoidance learning control method of the disclosed embodiment regards the autonomous unmanned system as a moving intelligent agent, and designs an interpretable obstacle avoidance penalty term in combination with the obstacle function method, so that the intelligent agent can bypass multiple obstacles in a more optimal way to reach the target point. Compared with the existing methods, it is safer, has a shorter motion path, and is more real-time. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 is a flow chart of an autonomous obstacle avoidance learning control method applied to an unmanned operating system according to an embodiment;

[0058] Figure 2 is a flow chart of step S10 according to an embodiment;

[0059] Figure 3 is a flow chart of step S20 according to an embodiment;

[0060] Figure 4 is a flow chart of step S30 according to an embodiment;

[0061] Figure 5 is a schematic diagram of autonomous obstacle avoidance and state extrapolation according to an embodiment;

[0062] Figure 6 is a flow chart of step S40 according to an embodiment;

[0063] Figure 7 The figure is a comparison diagram of safety trajectories during an obstacle avoidance process of an unmanned vehicle system according to an embodiment.

[0064] Figure 8 The figure is a safe trajectory diagram of the obstacle avoidance process of a drone system according to one embodiment.

[0065] Fig. 9 The block diagram of an autonomous obstacle avoidance learning control device applied to an unmanned operation system according to an embodiment is shown. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical scheme and advantages of the present invention clearer, the embodiments of the present invention are further described in detail below. It should be noted that unless otherwise specified, the relative arrangement of components and steps, mathematical expressions and numerical values ​​described in these embodiments do not limit the scope of the present disclosure. At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0067] The present invention provides an autonomous obstacle avoidance learning control method applied to an unmanned operating system, comprising the following contents:

[0068] Construct an obstacle avoidance environment and an optimal obstacle avoidance control model. An autonomous unmanned system is a typical intelligent agent system. In one embodiment, it can be represented as an affine nonlinear system. It is assumed that the intelligent agent has local detection capabilities, and the obstacle object is a circular area or a spherical area. Construct an obstacle environment based on the detection radius, and each obstacle will radiate a corresponding obstacle area, avoidance area, and detection area. On the basis of the obstacle environment, establish a safe domain for the operation of the system, use the obstacle function method to construct the obstacle function term, and then design the cost function. According to the cost function, using the Bellman optimality condition, the optimal obstacle avoidance control model and the Bellman equation are obtained.

[0069] Optionally, according to the radius of various areas in the obstacle environment, a smoothly changing scheduling function can be designed, whose value changes smoothly between 0 and 1. This function is responsible for adjusting the role of the obstacle function term in the cost function.

[0070] Furthermore, an online learning controller is constructed using an actor-critic (AC) neural network. For the optimal obstacle avoidance control model, a multi-layer feedforward neural network is used to construct an evaluation network and a behavior network. The former gives an approximate value of the optimal cost function, and the latter gives an obstacle avoidance control strategy. Based on the behavior-evaluation structure, the real-time obstacle avoidance control strategy is calculated. This control strategy is the output of the learning controller, which has both strategy optimization and obstacle avoidance functions. After obtaining the approximate cost function and obstacle avoidance control strategy, they are substituted into the Bellman equation to calculate the real-time Bellman error (i.e., learning error).

[0071] Optionally, the obstacle avoidance penalty term in the reinforcement learning process can be constructed based on the above obstacle function term. This design can effectively ensure the accuracy of the neural network approximation.

[0072] Furthermore, experience replay and virtual exploration are realized based on state extrapolation. In the implementation of reinforcement learning, effective acquisition of rewards is an important link to ensure the effectiveness of decision-making. However, it is impractical to let the agent enter the obstacle area to obtain negative rewards in actual obstacle avoidance. Therefore, state extrapolation is used to generate experience data points. The experience data point is the extrapolated trajectory around the current state point. The extrapolated obstacle avoidance control strategy is calculated and stored based on the experience data point. The Bellman error is re-evaluated at the extrapolation point, and the extrapolated Bellman error is calculated and stored.

[0073] Optionally, the method of generating empirical data points may adopt uniform distribution, normal distribution, etc., but the reference for extrapolation must be the current state trajectory point.

[0074] Furthermore, the adaptive network update rules are determined to achieve safe learning and autonomous obstacle avoidance. The adaptive update rules of the evaluation network are determined using the gradient descent adaptive method. The adaptive update rules of the behavior network are determined using the gradient projection operator method. Then, the policy iteration process is characterized as an adaptive update process of the AC network parameters to achieve safe learning and autonomous obstacle avoidance.

[0075] According to a second aspect of the present disclosure, an autonomous obstacle avoidance learning control device applied to an unmanned operating system is provided, which mainly includes:

[0076] The detection and locator is used to provide positioning information and detection information to the unmanned system. In relevant embodiments, the detection and locator can be a laser radar, a visual camera, etc.

[0077] Microprocessors, mainly based on typical embedded chips and related functional circuits, are used to perform neural network training and control calculations and can be considered as the learning controller mentioned above.

[0078] The memory is coupled to the microprocessor and is used to store the system's running track information, save the learning data generated by state extrapolation, and transmit it to the microprocessor on a regular basis.

[0079] The driving device is used to provide power to the unmanned system and is responsible for executing control instructions. The autonomous unmanned system considered in the present disclosure has a symmetrical driving device. In relevant embodiments, the driving device is a micro-motor device that can be externally connected to wheels, rotors, etc.

[0080] Example 1

[0081] The embodiment of the present invention discloses an autonomous unmanned system with local detection capability, and proposes an autonomous obstacle avoidance learning control method based on optimal control and reinforcement learning technology, see Figure 1 , the method comprises the following steps:

[0082] S10: Construct obstacle avoidance environment and optimal obstacle avoidance control model;

[0083] Among them, the autonomous unmanned system is a typical intelligent system. In this embodiment, it can be expressed as an affine nonlinear system It is assumed that the agent has local detection capabilities and the obstacle object is a circular area or a spherical area. The obstacle environment is constructed based on the detection radius, and each obstacle will radiate a corresponding obstacle area O i 、Avoidance Area A i and detection area Based on the obstacle environment, the safety domain S of the system operation is established, the obstacle function term is constructed using the obstacle function method, and then the cost function J(x) is designed. According to the cost function, the optimal obstacle avoidance control model u is obtained using the Bellman optimality condition. *(x) and the Bellman equation. In order to adjust the role of the barrier function in the cost function, a smoothly changing scheduling function s(x) is designed, whose value changes smoothly between 0 and 1.

[0084] S20: Building an online learning controller using action-critic (AC) neural network;

[0085] Among them, for the optimal obstacle avoidance control model, a multi-layer feedforward neural network is used to construct an evaluation network and a behavior network. The former gives an approximate value of the optimal cost function The latter gives the obstacle avoidance control strategy Based on the behavior-evaluation structure, the real-time obstacle avoidance control strategy is calculated. This control strategy is the output of the learning controller, which has the function of strategy optimization and obstacle avoidance. After obtaining the approximate cost function and obstacle avoidance control strategy, it is substituted into the Bellman equation to calculate the real-time Bellman error δ(t) (i.e., learning error).

[0086] S30: Experience replay and virtual exploration based on state extrapolation;

[0087] Note that in the implementation of reinforcement learning, effective reward acquisition is an important part of ensuring decision-making effectiveness. However, it is unrealistic to allow the agent to enter the obstacle area to obtain negative rewards in actual obstacle avoidance. Therefore, state extrapolation is used to generate experience data points. The experience data point is the extrapolated trajectory around the current state point, and the extrapolated obstacle avoidance control strategy is calculated and stored based on the experience data point. Then, the Bellman error is re-evaluated at the extrapolated point, and the extrapolated Bellman error is calculated and stored.

[0088] S40: Determine adaptive network update rules to achieve safe learning and autonomous obstacle avoidance;

[0089] The adaptive update rule of the evaluation network is determined by the gradient descent adaptive method. The adaptive update rule of the behavior network is determined by the gradient projection operator method. Finally, the policy iteration process is characterized as the adaptive update process of the AC network parameters to achieve safe learning and autonomous obstacle avoidance.

[0090] Example 2

[0091] In combination with a specific calculation formula, Example 2 further introduces the solution in Example 1, as shown below:

[0092] First, through Figure 1 Step S10 in the above process completes the description and formulation of the obstacle avoidance control problem.

[0093] S10: Construct obstacle avoidance environment and optimal obstacle avoidance control model;

[0094] In this embodiment, Figure 2The optimal obstacle avoidance control model is obtained by the steps in step S10, and step S10 mainly includes:

[0095] Step S101, constructing an obstacle environment based on the detection radius. Consider such an unmanned system or autonomous agent system, which is characterized by the following affine nonlinear model:

[0096]

[0097] Where is the internal dynamic information of f(x(t)), g(x(t)) is the control coupling matrix, and u(t) is the control input or control strategy. It is assumed that the agent has local detection capability, and its detection radius is D i ; At the same time, assuming that the obstacle object is a circular area or a spherical area, three areas are defined around each obstacle, namely: obstacle area O i (The radius is r i ), avoidance area A i (Radius R i ) and detection area (Radius D i ). Specifically, when the agent enters the detection area, it will find obstacles and start to take avoidance actions; after entering the avoidance area, the agent will take larger avoidance actions; the obstacle area is the danger zone, and once entering means mission failure. On this basis, all obstacle areas are represented as Where h(x) is a smooth function, and the safety domain of the system operation is S=Ω-O, where Ω is the operating domain of the system.

[0098] Step S102, design a cost function including a barrier function term. Using the barrier function method, design the following inverse barrier function term B(x):

[0099]

[0100] Where K b is a positive gain, and s(x) is a smoothly varying scheduling function. Optionally, the scheduling function can be determined as follows:

[0101]

[0102] In the above formula, d i is the distance between the agent and the obstacle. In some embodiments, in order to characterize the optimization requirements and obstacle avoidance requirements of the agent, the following cost function can be established based on the system state operation cost, control energy cost and obstacle function term:

[0103]

[0104] Step S103: Establish an optimal obstacle avoidance control model. According to the above cost function and using the Bellman optimality condition, the optimal obstacle avoidance control strategy is obtained as follows:

[0105]

[0106] Among them, ▽J * is the optimal cost function J * (x) is the partial derivative of x, and the optimal cost function is implicitly represented by the Bellman equation:

[0107]

[0108] After obtaining the optimal obstacle avoidance control model, you can continue to Figure 1 Step S20 in the above example constructs a learning controller to achieve an approximate solution to formulas (5) and (6).

[0109] S20: Building an online learning controller using action-critic neural networks;

[0110] In this embodiment, Figure 3 The steps in building a learning controller are as follows: Figure 3 As shown, step S20 mainly includes:

[0111] Step S201, constructing a behavior-evaluation neural network structure. In some embodiments, a three-layer feedforward neural network can be used to construct the AC structure. In order to better approximate the cost function, firstly, based on the above-mentioned obstacle function term B(x), the obstacle avoidance penalty term B is constructed as shown below: o (x):

[0112]

[0113] Here α is a positive constant. The significance of this obstacle avoidance penalty term is that it becomes infinite when the agent approaches the obstacle area, and gradually tends to zero when it moves away, so it has a certain mathematical explanation. Next, the weight matrix from the input layer to the hidden layer is set to a unit vector, and the weight matrix from the hidden layer to the output layer is set to The cost function can be approximated as:

[0114]

[0115] in is the activation function followed by the state, and c(x) is the kernel function around the current state. For the behavior network, a similar structure is adopted, and its weight It is also used to estimate the ideal evaluation weights to achieve interaction between the two networks.

[0116] Step S202: Calculate the real-time obstacle avoidance control strategy. Based on the approximation of the cost function, according to the behavior weights The obstacle avoidance control strategy can be calculated as follows:

[0117]

[0118] The control strategy is the output of the learning controller. In the learning controller, the evaluation network performs policy evaluation and gives an approximation of the cost function. The behavior network performs strategy improvement and gives a real-time obstacle avoidance control strategy.

[0119] Step S203, calculate the real-time Bellman error. Substitute the approximate cost function and the control strategy into the Bellman equation (6) in step S10, and calculate the real-time Bellman error δ(t) as follows:

[0120]

[0121] After using the AC network structure to obtain the obstacle avoidance control strategy and Bellman error, continue to Figure 1 Step S30 in the embodiment implements experience playback and virtual exploration.

[0122] S30: Experience replay and virtual exploration based on state extrapolation;

[0123] In this embodiment, Figure 4 The steps in to achieve experience playback are as follows: Figure 4 As shown, step S30 mainly includes:

[0124] Step S301, using state extrapolation to generate experience data points. From the design of the obstacle avoidance penalty term, it can be seen that when the agent approaches an obstacle, there will be a large negative reward. However, in actual obstacle avoidance, it is impractical to let the agent enter the obstacle area to obtain negative rewards. Therefore, state extrapolation is used to generate experience data points. In this embodiment, the agent is allowed to generate M extrapolated trajectory points by extrapolation in the closure neighborhood of the current state. This method of gaining experience through state extrapolation is as follows Figure 5 As shown in Figure 2, it can be seen that the extrapolated state of the agent may encounter obstacles, which will generate a large negative reward, so that the agent can make obstacle avoidance actions in advance and achieve safe virtual exploration.

[0125] Step S302, calculate and store the extrapolated obstacle avoidance control strategy. The extrapolated trajectory points can be regarded as the virtual experience of the intelligent agent. At these experience data points, the extrapolated control strategy is calculated. as follows:

[0126]

[0127] Step S303: Calculate and store the extrapolated Bellman error. Based on the extrapolation control strategy, re-evaluate the Bellman error at the extrapolation point and calculate the extrapolated Bellman error δ k (t) are as follows:

[0128]

[0129] The extrapolated data is stored and used as empirical data in real-time learning. Figure 1 Step S40 in the embodiment implements safety learning and autonomous obstacle avoidance.

[0130] S40: Determine adaptive network update rules to achieve safe learning and autonomous obstacle avoidance;

[0131] In this embodiment, Figure 6 The steps in achieving safe learning are as follows: Figure 6 As shown, step S40 mainly includes:

[0132] Step S401, determine the adaptive update rule of the evaluation network. In some embodiments, the following learning error sum can be constructed by combining real-time learning data and experience data:

[0133]

[0134] In order to minimize the above error sum, the gradient descent adaptive method is used to determine the adaptive update rule of the evaluation network:

[0135]

[0136] where k c1 ,k c2 >0 evaluates the network learning rate and is used to adjust the weight of real-time data and experience data in the update rule.

[0137] Step S402, determine the adaptive update rule of the behavior network. In some embodiments, the behavior weight needs to be constrained within a certain range to prevent excessive output of the control strategy. Therefore, the adaptive update rule of the behavior network is determined using the gradient projection operator method:

[0138]

[0139] where proj{·} is the projection operator, k a >0 is the behavior network learning rate, F a is a positive definite matrix.

[0140] Step S403, achieving safe learning and autonomous obstacle avoidance. The strategy iteration process of the reinforcement learning algorithm is mainly manifested as the adaptive update process of (14) and (15), using the obstacle avoidance penalty term to ensure safety, thereby achieving safe learning; the intelligent agent uses the network update rules to update the control strategy parameters, obtains the real-time obstacle avoidance control strategy, and then achieves autonomous obstacle avoidance.

[0141] Example 3

[0142] The feasibility of the solutions in Embodiments 1 and 2 is verified by combining specific experimental data and examples. This embodiment is carried out on an unmanned vehicle system, as described below:

[0143] According to step S10, six obstacles are arranged, and the parameters of the area corresponding to each obstacle are r1=0.4, R1=0.6, r2=0.5, R2=0.7, r3=0.45, R3=0.65, r4=0.55, R4=0.75, r5=0.45, R5=0.65, r6=0.5, R6=0.7; the body radius of the unmanned vehicle system is 0.2 meters, and the detection radius is set to 1 meter, that is, D i =1; the gain of the barrier function term is K b =5, the main coefficients of the scheduling function are configured as l1=1 / 8, l1=5 / 8, l1=3 / 8; the cost function is configured as Q=I2, R=5I2; finally, the starting point of the unmanned vehicle is calibrated to (7,6.5) and the target point is calibrated to (0,0).

[0144] According to step S20, in this embodiment, three nodes are configured in the hidden layer of the behavior network and the evaluation network, and the activation function is set to Without loss of generality, the three kernel functions can be selected as

[0145]

[0146] In addition, the obstacle avoidance penalty term B o The parameter in (x) is taken as α=1.

[0147] According to step S30, the virtual extrapolation trajectory randomly generates 25 data points in a uniform distribution manner, that is, M=25.

[0148] According to step S40, the parameter in the AC network update rule is selected as k c1 =0.1,k c2 =0.75,k a =0.75,F a =0.01I3.

[0149] Based on the above implementation, two existing obstacle avoidance control methods are considered for comparative evaluation. Figure 7This is a comparison diagram of the safe trajectories of the obstacle avoidance process of the unmanned vehicle system according to this embodiment. It is not difficult to find that the unmanned vehicle can effectively avoid six obstacles and successfully reach the target point. In addition, by comparing the trajectories with comparison method 1 and comparison method 2, it can be found that the method disclosed in the present invention can reach the target point with a shorter path, smaller oscillation, and smaller convergence error while ensuring safety.

[0150] In general, the beneficial effects of the autonomous obstacle avoidance learning control method applied to an unmanned operation system disclosed in an embodiment of the present invention are true.

[0151] Example 4

[0152] The feasibility of the solutions in Examples 1 and 2 is verified by combining another example and specific experimental data. This example is carried out on a drone system, as described below:

[0153] According to step S10, four obstacles are arranged, and the corresponding area parameters of each obstacle are r1 = 0.75, R1 = 1.05, r2 = 0.8, R2 = 1.1, r3 = 0.75, R3 = 1.05, r4 = 0.85, R4 = 1.15; the body radius of the UAV system is 0.3 meters, and the detection radius is set to 1.4 meters, that is, D i =1.4; the gain of the barrier function term is K b =40, similarly, the main coefficients of the scheduling function are configured as l1=1 / 8, l1=5 / 8, l1=3 / 8; the cost function is configured as Q=5I3, R=I3; finally, the starting point of the drone is calibrated to (9,8,9) and the target point is calibrated to (0,0,0).

[0154] According to step S20, in this embodiment, 4 nodes are configured in the hidden layer of the behavior network and the evaluation network, and the activation function is set to Without loss of generality, the kernel function The extrapolation vector You can choose

[0155]

[0156]

[0157] In addition, the obstacle avoidance penalty term B o The parameter in (x) is taken as α=0.8.

[0158] According to step S30, the virtual extrapolation trajectory is evenly distributed to randomly generate 30 data points in the three-dimensional space, that is, M=30.

[0159] According to step S40, the parameter in the AC network update rule is selected as k c1=0.1,k c2 =0.75,k a =0.75,F a =0.8I4.

[0160] Figure 8 This is a safe trajectory diagram of the obstacle avoidance process of the drone system according to this embodiment. It can be found that the drone can autonomously generate a safe and smooth motion trajectory in an obstacle environment, successfully avoiding each obstacle and successfully reaching the target point; at the same time, the drone will not go too deep into the avoidance zone, thereby effectively ensuring safety.

[0161] Example 5

[0162] This embodiment shows an autonomous obstacle avoidance learning control device applied to an unmanned operating system. Fig. 9 The device D90 in the embodiment comprises the following components:

[0163] The detection and locator D901 is used to provide positioning information and detection information to the unmanned system. For example, the detection and locator can be a laser radar, a visual camera, etc. D901 is mainly used to detect the real-time distance between obstacles and i , the distance signal will be transmitted to the microprocessor to calculate the scheduling function s(x) and the obstacle avoidance penalty term B o (x).

[0164] The microprocessor D902 is mainly composed of a typical embedded chip and related functional circuits, which is used to perform neural network training and control calculations and can be considered as the above-mentioned learning controller. The control signal it outputs Will be applied to drive devices D903 and D904.

[0165] The drive devices D903 and D904 are used to provide power to the unmanned system and are responsible for executing control instructions. The drive device can be selected as a micro-motor device, with external wheels, rotors, etc. Note that, without limitation, there can be multiple drive devices, but for the design of the present disclosure, the number of drive devices should be an even number.

[0166] The memory D905 is coupled to the microprocessor and is used to store the system's running trajectory information x(t), save the learning data x generated by state extrapolation, and k , δ k (t) and sent to the microprocessor regularly.

[0167] It should be pointed out here that the device description in the above embodiment corresponds to the method description in the embodiment, and the embodiment of the present invention will not be described in detail here.

[0168] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, prototype systems, autonomous intelligent mobile platforms, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or a combination of hardware and software embodiments.

[0169] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An autonomous obstacle avoidance learning control method applied to an unmanned operating system, characterized in that: The method comprises the following steps: S10, constructing an obstacle avoidance environment and an optimal obstacle avoidance control model; the process of constructing an obstacle avoidance environment and an optimal obstacle avoidance control model in step S10: Step S101: construct a nonlinear obstacle model based on the detection radius by the following formula: Where: is the internal dynamic information of f(x(t)), g(x(t)) is the control coupling matrix, and u(t) is the control input or control strategy; Step S102: Establish a cost function including an obstacle function term according to the following formula: r(x,u)=Qx+uTRu+B(x) Where: Q and R are positive definite and symmetric constant matrices, B(x) is the barrier function term; Step S103, according to the above cost function, the optimal obstacle avoidance control model is obtained using the Bellman optimality condition: in: is the partial derivative of the optimal cost function J*(x) with respect to x; S20, constructing an online learning controller using a behavior-evaluation neural network; the process of constructing an online learning controller using a behavior-evaluation neural network in step S20: The behavior-critic neural network gives an approximation of the optimal cost function The latter gives the obstacle avoidance control strategy Calculate the real-time obstacle avoidance control strategy, which is the output of the learning controller and has the functions of strategy optimization and obstacle avoidance. After obtaining the approximate cost function and obstacle avoidance control strategy, bring them into the Bellman equation and calculate the real-time Bellman error δ(t). Step S201, constructing a behavior-evaluation neural network module based on the optimal obstacle avoidance control model combined with a multi-layer feedforward neural network; Step S202, calculating the real-time obstacle avoidance control strategy according to the following formula; in: is the activation function of the state following The partial derivative of , c(x) is the kernel function around the current state, is the behavior network weight, is the partial derivative of the obstacle avoidance penalty term Bo(x); Step S203, calculating the real-time Bellman error δ(t) according to the following formula; in: is the evaluation network weight; S30, experience replay and virtual exploration based on state extrapolation; S40, determining adaptive network update rules to achieve safe learning and autonomous obstacle avoidance.

2. The autonomous obstacle avoidance learning control method applied to an unmanned operating system according to claim 1, characterized in that: The step S30 implements the experience replay and virtual exploration process based on state extrapolation: Step S301: Generate empirical data points using state extrapolation Step S302, calculating and storing the extrapolated obstacle avoidance control strategy according to the following formula; Where: x k is the empirical data point mentioned above, i.e., the virtual state generated by extrapolation; Step S303, calculating and storing the extrapolated Bellman error according to the following formula; Among them: the experience data point is the extrapolated trajectory around the current state point, and the extrapolated obstacle avoidance control strategy is calculated and stored based on the experience data point; the Bellman error is re-evaluated at the extrapolated point, and the extrapolated Bellman error is calculated and stored.

3. The autonomous obstacle avoidance learning control method applied to an unmanned operating system according to claim 2, characterized in that: The step S40 determines the adaptive network update rules to achieve the safe learning and autonomous obstacle avoidance process; Step S401, determining an adaptive update rule of the evaluation network according to the following formula; Step S402, determining an adaptive update rule of the evaluation network using a gradient descent adaptive method according to the following formula; Where: k c1 ,k c2 >0 is the evaluation network learning rate, which is used to adjust the weight of real-time data and experience data in the update rule; Step S403, determining the adaptive update rule of the behavior network by using the gradient projection operator method according to the following formula; where proj{·} is the projection operator, k a >0 is the behavior network learning rate, F a is a positive definite matrix; Step S404, achieving safety learning and autonomous obstacle avoidance through a policy iteration process.

4. A device with an autonomous obstacle avoidance learning control method with an unmanned operating system, characterized in that: The device comprises: --Detection and locator, used to provide positioning and detection information to unmanned systems; -- A microprocessor, mainly a typical embedded chip and related functional circuits, used to perform the neural network training and control calculation of the autonomous obstacle avoidance learning control method of the unmanned operating system described in claims 1-3; --a memory, coupled to the microprocessor, for storing the system's running trajectory information, saving the learning data generated by state extrapolation and transmitting it to the microprocessor on a regular basis; --Drive device, used to provide power to the unmanned system and is responsible for executing control instructions.