A hierarchically driven humanoid control architecture for autonomous unmanned systems
Designing a hierarchically driven autonomous unmanned system control architecture through a human-like control mechanism simplifies the traditional complex unmanned platform control system into a hierarchical drive framework, solving the complexity and coupling problems of traditional system design and improving modularity and versatility. degree of ization.
Patent Information
- Application Number
- CN202210637668.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-07
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-06-07
Smart Images

Figure CN115042174B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of robot motion control, and in particular relates to a hierarchically driven autonomous unmanned system humanoid control architecture. Background Art
[0002] The control system of the autonomous unmanned system can be deconstructed into a hierarchical drive control system constructed by the "brain layer", "central layer" and "peripheral layer" based on the human-like control mechanism, in which the "brain layer" completes the deep perception of the environmental situation and generates corresponding coarse-grained trajectory instructions to the "central layer"; the "central layer" is driven by the above-mentioned coarse-grained trajectory instructions and generates corresponding fine-grained behavioral actions through intuitive control and virtual model control methods; finally, the "peripheral layer" controls the servo actuator to realize the execution of the above-mentioned fine-grained behavioral actions and the closed-loop tracking of the virtual control quantity, thereby realizing the "coarse to fine" control of the entire autonomous unmanned system.
[0003] For the control framework design of traditional autonomous unmanned platform systems, it is often designed as a whole system, and the entire design work is very complicated. The present invention uses a humanoid control mechanism to decouple and reduce the dimension of its control system design process through a hierarchical drive method to achieve the purpose of modular and universal design. The present invention first generates coarse-grained trajectory instructions or posture control commands through the "brain layer", which includes coarse-grained instructions of the center of mass position, speed and posture of the platform system body; after receiving the above coarse-grained instructions, the "central layer" combines the controlled model of the unmanned platform with virtual intuitive control to generate fine-grained motion behavior, which completes the feedback tracking of the coarse-grained instructions through virtual force and virtual torque, and distributes the virtual control amount to the physical execution unit to generate its fine-grained control amount; finally, the "peripheral layer" drives the physical actuator unit to generate actuation instructions, and the present invention adopts a multi-pass hybrid control method to realize the output of the drive command. Finally, the complex overall control of the unmanned platform is simplified to hierarchical drive control. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] The technical problem to be solved by the present invention is: how to propose a hierarchically driven humanoid control architecture for autonomous unmanned systems, which simplifies the complex behavior control of unmanned platforms into a hierarchical driving framework based on the humanoid control mechanism, simplifies the difficulty of control system design and algorithm development, and improves the modularity and generality of the system.
[0006] (II) Technical solution
[0007] In order to solve the above technical problems, the present invention provides a hierarchically driven humanoid control architecture for autonomous unmanned systems, which is applied to a control system for a quadruped robot unmanned equipment, and is designed in a hierarchically driven form based on the basic principle of humanoid control; based on the basic principle of humanoid control, the control architecture divides the walking control module of the human body into three modules: a "brain layer", a "central layer" and a "peripheral layer";
[0008] The design process of the control architecture includes the following steps:
[0009] Step 1: Divide the functions of each walking control module of the unmanned equipment control system according to the control instruction granularity level, model evolution capability and bionic function attribution; including:
[0010] Step 11: Divide the functions of the "brain layer", including: perception and mapping, global positioning and navigation, task understanding, and task planning;
[0011] Step 12: Divide the functions of the “central layer” into: virtual rigid body stability control, limb control, and body state estimation;
[0012] Step 13: Divide the functions of the “peripheral layer” into: servo drive control, force feedback state estimation;
[0013] Step 2: After completing the functional division of each walking control module of the unmanned equipment control system in step 1, design the "brain layer", which perceives the environment, models the environment model, realizes its own positioning through the global positioning navigation algorithm, and outputs the global positioning information of the robot; understands the external task instructions, forms the task planning, and finally outputs the local elevation map, the coarse-grained behavior instructions of the task planning, the coarse-grained motion trajectory, and the coarse-grained posture instructions to the "central layer";
[0014] Step 3: The "central layer" completes the robot's own stable balance and motion control, coordinates limb control behavior and body state estimation; the "central layer" inputs the global positioning information, local elevation map, coarse-grained motion trajectory, coarse-grained posture instructions and coarse-grained behavior instructions output by the "brain layer", and also inputs the force perception information of the "peripheral layer"; the "central layer" uses the global positioning information and force perception information as feedback information, and based on the virtual model control method, that is, the VMC control method, it realizes tracking of the desired motion trajectory, completes the execution of coarse-grained behavior instructions, solves the virtual force and torque instructions required for fine-grained control of the body, and further solves the support force of the corresponding support point through the static optimal allocation method, and outputs it to the "peripheral layer"; at the same time, the "central layer" completes the position, posture and trajectory planning of the limbs according to the coarse-grained behavior instructions, and outputs the joint angle x required for fine-grained control of the limbs. d ,speed and acceleration command
[0015] Step 4: The "central layer" outputs the support force corresponding to the fine-grained support points and the joint angle x required to control the limbs d ,speed and acceleration command They are input into the "peripheral layer" together; the "peripheral layer" generates corresponding torque instructions through impedance control, model identification and disturbance estimation methods, and outputs them to the actuator.
[0016] (III) Beneficial effects
[0017] Compared with the prior art, the present invention proposes a hierarchically driven humanoid control architecture for autonomous unmanned systems, which will adopt hierarchical drive and humanoid control to design the control architecture of unmanned systems and platforms, thereby solving the shortcomings of traditional control systems such as complex design, coupling, and difficulty in system updating and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 An unmanned system driven by humanoid layers;
[0019] Figure 2 Schematic diagram of the coarse-grained decision planning model at the brain level;
[0020] Figure 3 It is a schematic diagram of the virtual control quantity allocation model for the central layer multi-point support;
[0021] Figure 4 Schematic diagram of the multi-channel servo drive control model at the peripheral layer. DETAILED DESCRIPTION
[0022] In order to make the purpose, content, and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the accompanying drawings and examples.
[0023] In order to solve the above technical problems, the present invention provides a hierarchically driven humanoid control architecture for autonomous unmanned systems, which is applied to a control system for a quadruped robot unmanned equipment and is designed in a hierarchically driven form based on the basic principle of humanoid control; Figure 1 As shown, based on the basic principle of humanoid control, the control architecture divides the walking control module of the human body into three modules: "brain layer", "central layer" and "peripheral layer";
[0024] The design process of the control architecture includes the following steps:
[0025] Step 1: Divide the functions of each walking control module of the unmanned equipment control system according to the control instruction granularity level, model evolution capability and bionic function attribution; including:
[0026] Step 11: Divide the functions of the "brain layer", including: perception and mapping, global positioning and navigation, task understanding, and task planning;
[0027] Step 12: Divide the functions of the “central layer” into: virtual rigid body stability control, limb control, and body state estimation;
[0028] Step 13: Divide the functions of the “peripheral layer” into: servo drive control, force feedback state estimation;
[0029] Step 2: After completing the functional division of each walking control module of the unmanned equipment control system in step 1, design the "brain layer", which perceives the environment, models the environment model, realizes its own positioning through the global positioning navigation algorithm, and outputs the global positioning information of the robot; understands the external task instructions, forms the task planning, and finally outputs the local elevation map, the coarse-grained behavior instructions of the task planning, the coarse-grained motion trajectory, and the coarse-grained posture instructions to the "central layer";
[0030] Step 3: The "central layer" completes the robot's own stable balance and motion control, coordinates limb control behavior and body state estimation; the "central layer" inputs the global positioning information, local elevation map, coarse-grained motion trajectory, coarse-grained posture instructions and coarse-grained behavior instructions output by the "brain layer", and also inputs the force perception information of the "peripheral layer"; the "central layer" uses the global positioning information and force perception information as feedback information, and based on the virtual model control method Virtual ModelControl (VMC), that is, the VMC control method, it realizes tracking of the desired motion trajectory, completes the execution of coarse-grained behavior instructions, solves the virtual force and torque instructions required for fine-grained control of the body, and further solves the support force of the corresponding support point through the static optimal allocation method, and outputs it to the "peripheral layer"; at the same time, the "central layer" completes the position, posture and trajectory planning of the limbs according to the coarse-grained behavior instructions, and outputs the joint angle x required for fine-grained control of the limbs. d ,speed and acceleration command
[0031] Step 4: The "central layer" outputs the support force corresponding to the fine-grained support points and the joint angle x required to control the limbs d ,speed and acceleration command They are input into the "peripheral layer" together; the "peripheral layer" generates corresponding torque instructions through impedance control, model identification and disturbance estimation methods, and outputs them to the actuator.
[0032] Among them, in the step 11, the brain layer function of the human body is used to perceive the environment, build an environmental model, realize self-positioning through the global positioning and navigation algorithm, and output the global positioning information of the robot; and understand the external task instructions, form task planning, and finally output the local elevation map and the coarse-grained behavior instructions of the task planning to the "central layer"; thus, the functions of the "brain layer" are divided into: perception and mapping, global positioning and navigation, task understanding, and task planning;
[0033] In step 11, the input of the "brain layer" includes vision, radar, positioning and external task instruction information, establishes an environmental model through SLAM algorithm and ranging algorithm, and outputs a local elevation map; realizes self-positioning through global positioning navigation algorithms including combined navigation and local visual navigation, and outputs the global positioning information of the robot; understands the external task instructions, and then realizes task planning through fuzzy decision-making, reinforcement learning, and semantic analysis algorithms, and outputs coarse-grained motion trajectories, coarse-grained posture instructions, and coarse-grained behavior instructions;
[0034] Table 1. Functional division of human-like hierarchical control brain layers
[0035]
[0036]
[0037] Wherein, in said step 12, the functions of the "central layer" are divided;
[0038] Drawing on the functions of the central layer of the human body, the "central layer" is used to complete the robot's own stable balance and motion control, coordinate limb control behavior and body state estimation; the "central layer" inputs the global positioning information, local elevation map, coarse-grained motion trajectory, coarse-grained posture instructions and coarse-grained behavior instructions output by the "brain layer", and also inputs the force perception information of the "peripheral layer"; the "central layer" uses the global positioning information and force perception information as feedback information, and based on the virtual model control method, it realizes tracking of the coarse-grained motion trajectory, completes the execution of the coarse-grained behavior instructions, solves the virtual force and torque instructions required for fine-grained control of the body, and further solves the support force of the corresponding support point through the static optimal allocation method, and outputs it to the "peripheral layer"; at the same time, the "central layer" completes the planning of the position, posture and trajectory of the limbs according to the coarse-grained behavior instructions, and outputs the joint angle, speed and acceleration instructions required for fine-grained control of the limbs; thus, the functions of the "central layer" are divided into: virtual rigid body stability control, limb control, and body state estimation;
[0039] Table 2. Functional division of humanoid hierarchical control center layer
[0040]
[0041]
[0042] Wherein, in said step 13, the functions of the "peripheral layer" are divided;
[0043] Drawing on the functions of the human body's peripheral layer, the "peripheral layer" is used to complete the stress reflex of the external environment, realize muscle tension control through nerve pulses and nerve stimulation, and realize force perception of the external environment through feedback from bones and muscles. Therefore, the input of the "peripheral layer" is the support force corresponding to the fine-grained support points output by the "central layer", as well as the joint angle, speed and acceleration instructions required to control the limbs; the "peripheral layer" generates corresponding torque instructions through impedance control, model identification and disturbance estimation methods, and outputs them to the actuator; at the same time, the "peripheral layer" collects the position, speed and torque information fed back by the actuator, realizes force perception through force feedback estimation and load disturbance estimation methods, generates force perception information and feeds it back to the "central layer"; therefore, the functions of the "peripheral layer" are divided into: servo drive control, force feedback state estimation;
[0044] Table 3. Functional division of the humanoid hierarchical control terminal layer
[0045]
[0046] Among them, Figure 2 As shown, the specific steps of step 2 are as follows:
[0047] Step 21: Collect data from perception sensors including vision and radar, establish an environmental model through SLAM algorithm and ranging algorithm, and output a local elevation map; realize self-positioning through global positioning and navigation algorithms including combined navigation and local visual navigation, and output the global positioning information of the robot;
[0048] Step 22: Achieve task understanding through fuzzy decision-making, reinforcement learning, and semantic analysis algorithms, and generate coarse-grained behavioral instructions to be output to the "central layer";
[0049] Step 23: Complete the planning of the coarse-grained motion trajectory based on the robot's global positioning information and task understanding results;
[0050] Step 24: Plan coarse-grained posture instructions and output them to the "central layer".
[0051] Wherein, the step 23 specifically includes:
[0052] Step 231: Rely on the initialization trajectory planning algorithm to complete the setting of trajectory position constraints, and set the current global positioning result to It is the starting position of the trajectory, and the end position of the trajectory is planned based on the task understanding. set up is the midpoint of the trajectory, then the trajectory position constraint [P st ,P mid ,P end ]as follows:
[0053]
[0054] Step 232: Refer to the method of step 231 to complete the setting of trajectory speed constraints, and set the current global positioning speed to v cog , which is the velocity constraint at the starting point of the trajectory. According to the task understanding, the expected velocity at the end of the planned trajectory is v cog,d , set it as the end velocity of the trajectory, the velocity of the midpoint of the trajectory only ensures its continuity, then the trajectory velocity constraint [v st ,v mid ,v end ]as follows:
[0055]
[0056] Step 233: Construct trajectory optimization solution equation, assuming that the trajectory parameters to be optimized are X = [p0, p1, ..., p n ] T , based on the constraints of step 231 to step 232, the following equation can be obtained:
[0057]
[0058] Among them, t0 is the start time of the trajectory, t1 is the midpoint time of the trajectory, t2 is the end time of the trajectory, n is the order of the trajectory polynomial, P st is the starting point of the trajectory, P mid is the midpoint position of the trajectory, P end is the end position of the trajectory, v st is the trajectory starting velocity, v end is the velocity at the end of the trajectory;
[0059] Step 234: Design a cost function for trajectory optimization, using the overall acceleration rate of change jerk of the trajectory as the minimization target:
[0060]
[0061] Among them, j(t) represents the function of the acceleration change rate jerk changing with time, T represents the time of this segment of trajectory, and the objective function of trajectory optimization is as follows:
[0062]
[0063] Where X is the trajectory parameter to be optimized, n is the trajectory polynomial order, k is the number of trajectory segments, f(X) is the optimization objective function, and t i-1 is the starting time of the i-th trajectory, t i is the end time of the i-th trajectory;
[0064] Step 235: Solve the above trajectory optimization problem by using the minimum principle to obtain the optimal trajectory parameters This parameter is used to calculate the corresponding coarse-grained motion trajectory.
[0065] Wherein, the step 24 comprises:
[0066] Step 241: Collect the force perception information output by the "peripheral layer" to obtain the support status and support position of each contact point of the robot, and combine the body posture solution result in the global positioning information to estimate the terrain slope and obtain the coefficients [a, b, c] in the terrain model z = ax + by + c T ;
[0067] Step 242: There are 4 support points, and their global positions are by As the cost function, construct the following equation:
[0068]
[0069] Step 243: Solve the above matrix operation to obtain the optimal model parameters This parameter is further used to calculate the terrain slope angle and output to the "central layer" as the desired coarse-grained posture command.
[0070] Wherein, the step 3 specifically includes the following steps:
[0071] Step 31: Complete the design of the VMC control model and force distribution model for the “central layer” body control. The steps are as follows:
[0072] Step 311: Design a VMC control model that completes the coarse-grained desired speed command V planned by the “brain layer” x,d , V y,d , expected posture angle θ d ,γ d and the desired altitude command P z,d The feedback closed-loop control is used to calculate the corresponding virtual force F x ,F y ,F z With virtual torque T x ,T y ,T z ; Among them, the PD controller is used to build the VMC control model:
[0073]
[0074] Among them, K x ,K y ,K z is the stiffness coefficient of the trajectory controller, D x ,D y ,D z is the damping coefficient of the trajectory controller; K θ ,K γ is the stiffness coefficient of the attitude controller, D θ ,D γ ; V x ,V y ,V z Output the X-axis, Y-axis velocity and Z-axis position estimate in the global positioning information for the "brain layer", is its differential state change; θ,γ are the pitch, roll and heading angle estimates corresponding to the global positioning information output by the “brain layer”, ω x ,ω y ,ω z is the corresponding estimated value of the XYZ axis angular velocity;
[0075] Step 312: Design a force distribution model to complete the calculation of the virtual force F in step 311 x ,F y ,F z and virtual torque T x ,T y ,T z Optimize the distribution, solve the decomposed support force of each support point and output it to the "peripheral layer";
[0076] Step 313: Establish a static balance model of the unmanned platform, such as Figure 3 As shown, it is assumed that the number of support points is 3, G represents the center of mass of the fuselage, G' represents the projection point of the center of mass of the fuselage on the support plane, C is the pressure center point, Pi is the support point, Fi is the support force of the support point, MG represents the virtual torque calculated by the virtual body self-made controller, FG represents the virtual force including gravity, O-xyz represents the world coordinate system, and the coordinate origin is on the support plane, and the z-axis is orthogonal to the support plane;
[0077] Taking the robot as the research object, there is a static balance relationship at point G:
[0078]
[0079]
[0080] here, Represents the vector position of Pi relative to point G, then:
[0081]
[0082]
[0083] In the above formula, I b is the moment of inertia of the fuselage, is the vector rotation angular acceleration of the fuselage, is the moment of inertia of the i-th leg link, is the vector rotation angular acceleration corresponding to the i-th leg link, is the vector position between the mass center of the ith link and the mass center of the fuselage, is the mass of the i-th connecting rod, represents the vector linear acceleration of the center of mass of the i-th connecting rod, represents the external torque applied at the i-th point, represents the external vector force at the i-th support point, Represents the vector position between the external force point and the center of mass of the fuselage, m b Indicates the quality of the fuselage. represents the vector linear acceleration of the fuselage, and g represents the vector gravity acceleration;
[0084] Step 314: The static equilibrium model in step 313 i That is, the force vectors of each support point to be solved, and the formula in step 313 can be rearranged to obtain:
[0085]
[0086] Here, the quadratic optimization theory is used to solve the above equation, and the support force is constrained to satisfy the friction cone constraint. The mathematical description of the optimization problem is as follows:
[0087] min Q(x)=(Ax-b) T S(Ax-b)+x T Wx
[0088]
[0089]
[0090] In the above formula, Q(x) is the quadratic programming objective function; S is the weighting matrix; W is the symmetric semi-positive definite matrix; is the normal force at the ith support point; is the tangential force at the i-th support point; μ is the sliding friction coefficient;
[0091] Step 32: Solve the above quadratic programming problem to obtain the optimal support force for each support point Output it to the "peripheral layer";
[0092] Step 33: Based on the coarse-grained behavioral instructions and coarse-grained motion trajectories of the "brain layer", the limb movement is planned and the joint angle x required for fine-grained control of the limb is output. d ,speed and acceleration command
[0093] Among them, in step 4, a three-channel impedance controller of angle, speed and force is designed, such as Figure 4 As shown, the corresponding torque command is solved and finally integrated and output to the actuator.
[0094] The step 4 comprises the following specific steps:
[0095] Step 41: Design an angle impedance controller whose input is the fine-grained angle command x planned by the central layer d , the feedback data is the actuator feedback angle x, and the traction required for angle closed-loop control is calculated using the stiffness + damping control method:
[0096]
[0097] Among them, K p,x is the stiffness coefficient of the angle impedance controller, K d,x is the damping coefficient of the angle impedance controller;
[0098] Step 42: Design a speed impedance controller whose input is the fine-grained angular velocity command planned by the central layer Feedback data is the actuator feedback angular velocity and angular velocity The traction required for angular velocity closed-loop control is calculated using the stiffness + damping + feedforward control method:
[0099]
[0100] in is the stiffness coefficient of the speed impedance controller, is the damping coefficient of the speed impedance controller, is the feedforward coefficient of the speed impedance controller;
[0101] Step 43: Combine the virtual traction forces calculated in Step 41 and Step 42 into f pv , using the Jacobian matrix to map to the corresponding torque command τ pv ;
[0102]
[0103] Step 44: Design the impedance controlled controller. First, estimate the current ground support force f based on the virtual work principle and Jacobi inverse dynamics. est :
[0104] f est =J -T τ m
[0105] Among them, τ m It is the actuator torque feedback data;
[0106] Based on the fine-grained support force instructions of the central layer Construct feedback impedance control rate and integrate feedforward proportional control to generate traction:
[0107]
[0108] Step 45: Blend the traction from step 44 into f F , and calculate the corresponding torque command τ F :
[0109]
[0110] Step 46: Finally, the torque commands in step 43 and step 45 are added and output to the actuator:
[0111] τ=τ pv +τ F .
[0112] Example 1
[0113] The purpose of this embodiment is to propose a hierarchical driven autonomous unmanned system humanoid control architecture, which designs the control framework of the unmanned system and platform in a hierarchical driven form based on the humanoid control mechanism. In order to make the purpose, content and advantages of the present invention clearer, the specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and a typical quadruped robot unmanned platform embodiment:
[0114] First, we need to complete the functional division of the control level of the unmanned system under the guidance of humanoid control mechanism. For the experimental humanoid control method to build an unmanned equipment control system, we need to first complete the division of the control system level, determine which part of the unmanned equipment can be attributed to the brain layer, what tasks the central stability control includes, and what type of actuators the peripheral servo control specifically targets. The brain layer mainly includes environmental perception, global navigation and task planning functions. The specific brain layer function division is shown in the following table:
[0115] Table of human-like hierarchical control of brain layer functional division
[0116]
[0117] From the above table, we can see that the brain layer in the humanoid control model corresponds to the O observation and OD parts in OODA. It can be seen that the design of the brain layer of the humanoid control model is similar to the perception and navigation part of traditional unmanned vehicles or drones. The biggest difference from the existing design methods in humanoid control is that the object it plans or navigates is a virtual humanoid intelligent body rather than a specific unmanned vehicle or aircraft. The planning result only plans the motion trajectory and posture of the center of mass of the virtual humanoid intelligent body through intuitive control. For the errors between the physical model and the virtual model, the self-evolution of the brain layer combined with the environmental feedback data or the stable control of the central layer is used to overcome the disturbance and track the expected state.
[0118] For the autonomous motion control performance of unmanned equipment, the traditional design method mixes stability control with servo control, or directly includes servo control in stability control. This design method leads to completely different control system designs for unmanned equipment with different configurations and actuator types. In addition, in many vehicle systems, only the underlying speed closed-loop control is used, which also makes the system design only applicable to this type of unmanned equipment. In the humanoid central control layer, in addition to simplifying different unmanned equipment to virtual rigid bodies for posture control, the control output at the actuator layer is unified by introducing the concept of force servo. In order to solve the problem that some unmanned equipment can only use wheel speed control or position, a mixed closed-loop feedback mechanism of force, speed, and position is further introduced to achieve tracking of the desired virtual force. Therefore, the functional division of the central layer is shown in the following table:
[0119] Table class human hierarchical control center layer functional division
[0120]
[0121] It can be seen from the above table that the central layer only covers the stability control part in the design of traditional unmanned equipment motion control systems, and summarizes it into the control of the simplified virtual rigid body of the unmanned equipment body and the planning and control of the limbs corresponding to the redundant degrees of freedom, such as the swinging legs, load robotic arms or other redundant degrees of freedom in bionic robots, and estimates the load disturbance based on the basic state estimation by integrating heterogeneous sensor data.
[0122] Table class hierarchical control terminal layer functional division
[0123]
[0124] From the above table, it can be seen that the peripheral layer covers the servo drive part in the design of traditional unmanned equipment motion control systems. However, the difference is that the ultimate goal of humanoid servo drive is to build force servo. Therefore, the final outputs of position, speed, and torque control are superimposed together and output to the actuator. Based on the feedback data of the actuator, the impedance, admittance and other compliant control models will be constructed in the peripheral layer to solve the problems of low response speed of pure position control mode in unmanned equipment drive and easy jitter caused by force feedforward control terminal.
[0125] After clarifying the functions that need to be completed at each level, the brain layer control system is designed. The brain layer mainly completes the planning of coarse-grained instructions. For the unmanned platform system, the coarse-grained instructions are mainly the trajectory, speed, acceleration and posture that the virtual intelligent body needs to move. The present invention adopts the minimum trajectory Jerk planning method to convert the input task waypoints into coarse-grained trajectory instructions. Based on the above expected waypoints, the corresponding position constraints can be constructed:
[0126]
[0127] At the current body speed v cog and the expected speed v cog,d Construct the speed constraint corresponding to the trajectory. No specific speed value is set at the end of the trajectory, only the continuity of the speed before and after is guaranteed:
[0128]
[0129] Define X = [p0, p1, ..., p n ] T are the coefficients of the trajectory polynomial, then the above constraints are arranged to construct the corresponding constraint matrix:
[0130]
[0131] The corresponding optimization problem is constructed with the goal of minimizing Jerk. To ensure that the integral of the overall impact of the trajectory is minimized, the objective function is:
[0132]
[0133] Among them, j(t) represents the function of the acceleration jerk changing with time, T represents the time of this trajectory, and the objective function of minimizing Jerk is as follows:
[0134]
[0135] Where k is the number of trajectory segments, t i (i=1,…,2) is the initial time and the terminal time of each foot end trajectory. The corresponding polynomial coefficients can be solved by combining the minimum principle with the above position, velocity and acceleration constraint matrices.
[0136] The above steps generate coarse-grained trajectory instructions for the virtual agent. For posture instructions, the present invention mainly considers typical terrain slope following behavior. For example, the quadruped robot obtains the support status and support position in real time by collecting real-time encoders and torque feedback. Based on the above recorded support discrete point cache, a linear plane fitting problem is constructed to obtain the corresponding coefficient of the current support plane z=ax+by+c to estimate the current terrain slope.
[0137] Taking the quadruped robot platform as an example, it has 4 legs, and the corresponding cache data Fitting is performed so that the cost function The minimum is the corresponding coefficient X = [abc] is the minimum point, then find the partial derivative of the above equation The following cost function calculation formula can be constructed:
[0138]
[0139] Arrange the above formula into the matrix AX=B form corresponding to the least squares method:
[0140]
[0141] When the matrix A is full rank, it is reversible, and the plane coefficient X = [abc] can be further obtained, which is the normal vector of the corresponding plane. The final coarse-grained posture instruction is consistent with the normal vector.
[0142] The design of the central layer is further completed. The central layer mainly generates fine-grained behavior commands for virtual actuators based on the coarse-grained instructions of the brain layer. It first considers only the main body of the unmanned platform and simplifies it into a virtual rigid body. At the same time, a virtual servo controller is further designed for the main body control object to generate the virtual force and virtual torque required for the desired trajectory and posture feedback adjustment:
[0143]
[0144] Where F is the virtual force, T is the virtual torque, K and D are the stiffness and damping systems corresponding to each channel respectively.
[0145] After the virtual servo completes the feedback control, it is necessary to distribute the virtual control quantity to the actuator in a fine-grained control command. The present invention adopts a multi-point supported static balance algorithm to construct the control quantity distribution mechanism:
[0146] Figure 3In the above, G represents the center of mass of the fuselage, G' represents the projection point of the center of mass of the fuselage on the support plane, C represents the center of pressure, Pi represents the interaction point between the foot end and the ground, Fi represents the interaction force between the foot end and the ground, MG represents the resultant torque applied to the fuselage, FG represents the resultant force applied to the fuselage (including gravity), O-xyz represents the world coordinate system, and the origin of the coordinate is on the support plane, and the z-axis is orthogonal to the support plane.
[0147] Taking the robot as the research object, there is a static balance relationship at point G:
[0148]
[0149]
[0150] here, represents the vector position of Pi relative to point G. Considering the dynamic influence of the legs, the dynamics of the fuselage itself, and the external force application signal, there is:
[0151]
[0152]
[0153] In the above formula, I b is the moment of inertia of the fuselage, is the vector rotation angular acceleration of the fuselage, is the moment of inertia of the i-th leg link, is the vector rotation angular acceleration corresponding to the i-th leg link, is the vector position between the mass center of the ith link and the mass center of the fuselage, is the mass of the i-th connecting rod, represents the vector linear acceleration of the center of mass of the i-th connecting rod, represents the external torque applied at the i-th point, represents the external vector force at the i-th point, Represents the vector position between the external force point and the center of mass of the fuselage, m b Indicates the quality of the fuselage. represents the vector linear acceleration of the fuselage, and g represents the vector gravitational acceleration.
[0154] In order to solve the above optimization allocation problem, the present invention adopts a quadratic optimization algorithm to perform iterative solution while considering the physical and actuator constraints shown in the following table:
[0155] Table 1. Constraints of typical unmanned platforms
[0156]
[0157]
[0158] Based on the posture adaptive control model, the foot-ground support force model is established, and the quadratic programming function is used And the tangential force of the ground is not higher than the maximum static friction. The constraints are as follows:
[0159] min Q(x)=(Ax-b) T S(Ax-b)+x T Wx
[0160]
[0161]
[0162] In the above formula, Q(x) is the quadratic programming objective function; S is the weighting matrix; W is the symmetric semi-positive definite matrix; is the normal force at the i-th contact point; is the tangential force at the i-th contact point; μ is the sliding friction coefficient.
[0163] After the central layer generates fine-grained commands corresponding to each virtual actuator, the peripheral layer controller realizes feedback tracking of the above commands by fusion output of position, velocity and force feedforward multi-loops, and finally generates actuation instructions that can be received by the actuator unit. For the unmanned system of quadruped robots, since the end mechanism of the bionic robot needs to determine whether to generate torque control commands based on the current support situation, the following constraints can be used to determine whether to drive each loop based on the support swing control requirements, such as Figure 3 shown.
[0164] (1) Force feedforward loop: When the end support mark G i Enable when true;
[0165] (2) Force feedback loop: When the end support mark G i Enabled when true; Enabled when the swing trajectory has acceleration planning results;
[0166] (3) Speed feedforward loop: Enabled when the swing trajectory has a speed planning result; when the end support flag G i True and enabled when there is Jacobi velocity inverse kinematics control output;
[0167] (4) Speed feedback loop: Enabled when the swing trajectory has a speed planning result; when the end support flag G i True and enabled when there is Jacobi velocity inverse kinematics control output;
[0168] (5) Position feedback loop: enabled when the swing trajectory has a position planning result;
[0169] Construct a position loop controller that uses stiffness, damping, and angle to construct a feedback control rate:
[0170] (1) First, the current end position and velocity are calculated based on the robot's key angle feedback and the inverse kinematic solution:
[0171]
[0172] Based on the expected terminal planning position result x d Construct the feedback impedance control rate to generate the virtual force pulling the end position change:
[0173]
[0174] Construct a speed impedance controller that uses angle feedback to construct a speed feedforward output and mix and superimpose it with the position loop control output:
[0175] First, based on the robot's key angle feedback and combined with the inverse kinematics solution, the current end velocity is calculated and its acceleration is differentiated:
[0176]
[0177] (2) Based on the expected terminal planning speed results Construct the feedback impedance control rate and integrate the feedforward proportional control to generate the virtual force traction end position change:
[0178]
[0179] The virtual forces of the position and speed loops are mapped to torques using Jacobi dynamics, and mixed and superimposed outputs are performed;
[0180]
[0181] Construct a force impedance controller that uses force servo state estimation to build feedback, uses stiffness, damping and model feedforward, and mixes and superimposes with the position and velocity loop virtual torque control output;
[0182] First, the current foot end force is estimated based on the principle of virtual work and Jacobi inverse dynamics:
[0183] f est =J -T τ m
[0184] (2) Based on the expected terminal planning force result F d Construct the feedback impedance control rate and integrate the feedforward proportional control to generate the virtual force traction end position change:
[0185]
[0186] The virtual force of the force loop is mapped to torque using Jacobi dynamics, and the mixed superposition output is:
[0187]
[0188] Finally, the torque output of the position, velocity, and force loops is combined with friction and gravity feedforward compensation and mixed into the robot actuator:
[0189]
[0190] In summary, the present invention belongs to the field of robot motion control technology, and specifically relates to a hierarchically driven humanoid control architecture for autonomous unmanned systems. It is very complicated to consider an autonomous unmanned system as a whole for control. The present invention adopts a humanoid control mechanism to decouple and reduce the dimension of its control system design through a hierarchical drive method. First, the "brain layer" generates coarse-grained behavior drive control commands, which are mainly coarse-grained instructions for controlling the center of mass position, speed and posture of the unmanned platform body; the "central layer" generates fine-grained virtual intuitive control by receiving the above coarse-grained instructions and combining the unmanned platform model, and completes the platform body's follow-up of the coarse-grained behavior commands with virtual force and virtual torque, and distributes the virtual control quantity to the physical execution unit to generate its fine-grained expected control quantity; finally, the "peripheral layer" drives the unmanned platform actuator unit to track the feedback closed loop of the fine-grained control quantity, and adopts a multi-channel coupling control method for typical actuator units to achieve the purpose of servo drive, and finally simplifies the complex unmanned platform overall control into hierarchical drive control.
[0191] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A hierarchically driven humanoid control architecture for autonomous unmanned systems, characterized in that: The control architecture is applied to the control system of a quadruped robot unmanned equipment, which is designed in a hierarchical drive form based on the basic principle of humanoid control; based on the basic principle of humanoid control, the control architecture divides the walking control module of the human body into three modules: "brain layer", "central layer" and "peripheral layer"; The design process of the control architecture includes the following steps: Step 1: Divide the functions of each walking control module of the unmanned equipment control system according to the control instruction granularity level, model evolution capability and bionic function attribution; including: Step 11: Divide the functions of the "brain layer", including: perception and mapping, global positioning and navigation, task understanding, and task planning; Step 12: Divide the functions of the "central layer" into: virtual rigid body stability control, limb control, and body state estimation; Step 13: Divide the functions of the "peripheral layer", including: servo drive control, force feedback state estimation; Step 2: After completing the functional division of each walking control module of the unmanned equipment control system in step 1, design the "brain layer", which perceives the environment, models the environment model, realizes its own positioning through the global positioning navigation algorithm, and outputs the global positioning information of the robot; understands the external task instructions, forms the task planning, and finally outputs the local elevation map, the coarse-grained behavior instructions of the task planning, the coarse-grained motion trajectory, and the coarse-grained posture instructions to the "central layer"; Step 3: The "central layer" completes the robot's own stable balance and motion control, coordinates limb control behavior and body state estimation; the "central layer" inputs the global positioning information, local elevation map, coarse-grained motion trajectory, coarse-grained posture instructions and coarse-grained behavior instructions output by the "brain layer", and also inputs the force perception information of the "peripheral layer"; the "central layer" uses the global positioning information and force perception information as feedback information, and based on the virtual model control method, that is, the VMC control method, it realizes tracking of the desired motion trajectory, completes the execution of coarse-grained behavior instructions, solves the virtual force and torque instructions required for fine-grained control of the body, and further solves the support force of the corresponding support point through the static optimal allocation method, and outputs it to the "peripheral layer"; at the same time, the "central layer" completes the position, posture and trajectory planning of the limbs according to the coarse-grained behavior instructions, and outputs the joint angle x required for fine-grained control of the limbs. d ,speed and acceleration command Step 4: The "central layer" outputs the support force corresponding to the fine-grained support points and the joint angle x required to control the limbs d ,speed and acceleration command The peripheral layer generates corresponding torque instructions through impedance control, model identification and disturbance estimation methods, and outputs them to the actuator.
2. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 1, characterized in that: In step 11, the brain layer of the human body is used to perceive the environment, build an environmental model, realize self-positioning through a global positioning and navigation algorithm, and output the global positioning information of the robot; and understand the external task instructions, form a task plan, and finally output the local elevation map and the coarse-grained behavior instructions of the task plan to the "central layer"; thus, the functions of the "brain layer" are divided into: perception and mapping, global positioning and navigation, task understanding, and task planning; In step 11, the input of the "brain layer" includes vision, radar, positioning and external task instruction information, establishes an environmental model through SLAM algorithm and ranging algorithm, and outputs a local elevation map; realizes self-positioning through global positioning and navigation algorithms including combined navigation and local visual navigation, and outputs the global positioning information of the robot; understands the external task instructions, and then realizes task planning through fuzzy decision-making, reinforcement learning, and semantic analysis algorithms, and outputs coarse-grained motion trajectories, coarse-grained posture instructions, and coarse-grained behavior instructions.
3. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 2, characterized in that: In the step 12, the functions of the "central layer" are divided; Drawing on the functions of the central layer of the human body, the "central layer" is used to complete the robot's own stable balance and motion control, coordinate limb control behavior and body state estimation; the "central layer" inputs the global positioning information, local elevation map, coarse-grained motion trajectory, coarse-grained posture instructions and coarse-grained behavior instructions output by the "brain layer", and also inputs the force perception information of the "peripheral layer"; the "central layer" uses the global positioning information and force perception information as feedback information, and based on the virtual model control method, it realizes tracking of the coarse-grained motion trajectory, completes the execution of the coarse-grained behavior instructions, solves the virtual force and torque instructions required for the fine-grained control of the body, and further solves the support force of the corresponding support point through the static optimal allocation method, and outputs it to the "peripheral layer"; at the same time, the "central layer" completes the planning of the position, posture and trajectory of the limbs according to the coarse-grained behavior instructions, and outputs the joint angle, velocity and acceleration instructions required for the fine-grained control of the limbs; therefore, the functions of the "central layer" are divided into: virtual rigid body stability control, limb control, and body state estimation.
4. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 3, characterized in that: In the step 13, the functions of the "peripheral layer" are divided; Drawing on the functions of the human body's peripheral layer, the "peripheral layer" is used to complete the stress reflex of the external environment, realize muscle tension control through nerve pulses and nerve stimulation, and realize force perception of the external environment through bone and muscle feedback. Therefore, the input of the "peripheral layer" is the support force corresponding to the fine-grained support point output by the "central layer", as well as the joint angle, speed and acceleration instructions required to control the limbs; the "peripheral layer" generates corresponding torque instructions through impedance control, model identification and disturbance estimation methods, and outputs them to the actuator; at the same time, the "peripheral layer" collects the position, speed and torque information fed back by the actuator, realizes force perception through force feedback estimation and load disturbance estimation methods, generates force perception information and feeds it back to the "central layer"; therefore, the functions of the "peripheral layer" are divided into: servo drive control and force feedback state estimation.
5. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 4, characterized in that: The specific steps of step 2 are as follows: Step 21: Collect data from perception sensors including vision and radar, establish an environmental model through SLAM algorithm and ranging algorithm, and output a local elevation map; realize self-positioning through global positioning and navigation algorithms including combined navigation and local visual navigation, and output the global positioning information of the robot; Step 22: Achieve task understanding through fuzzy decision-making, reinforcement learning, and semantic analysis algorithms, and generate coarse-grained behavioral instructions to be output to the "central layer"; Step 23: Complete the planning of the coarse-grained motion trajectory based on the robot's global positioning information and task understanding results; Step 24: Plan coarse-grained posture instructions and output them to the "central layer".
6. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 5, characterized in that: The step 23 specifically includes: Step 231: Rely on the initialization trajectory planning algorithm to complete the setting of trajectory position constraints, and set the current global positioning result to It is the starting position of the trajectory, and the end position of the trajectory is planned based on the task understanding. set up is the midpoint of the trajectory, then the trajectory position constraint [P st ,P mid ,P end ]as follows: Step 232: Refer to the method of step 231 to complete the setting of trajectory speed constraints, and set the current global positioning speed to v cog , which is the velocity constraint at the starting point of the trajectory. According to the task understanding, the expected velocity at the end of the planned trajectory is v cog,d , set it as the end velocity of the trajectory, the velocity of the midpoint of the trajectory only ensures its continuity, then the trajectory velocity constraint [v st ,v mid ,v end ]as follows: Step 233: Construct trajectory optimization solution equation, assuming that the trajectory parameters to be optimized are X = [p0, p1, ..., p n ] T , based on the constraints of step 231 to step 232, the following equation can be obtained: Among them, t0 is the start time of the trajectory, t1 is the midpoint time of the trajectory, t2 is the end time of the trajectory, n is the order of the trajectory polynomial, P st is the starting point of the trajectory, P mid is the midpoint position of the trajectory, P end is the end position of the trajectory, v st is the trajectory starting velocity, v end is the velocity at the end of the trajectory; Step 234: Design a cost function for trajectory optimization, using the overall acceleration rate of change jerk of the trajectory as the minimization target: Among them, j(t) represents the function of the acceleration change rate jerk changing with time, T represents the time of this segment of trajectory, and the objective function of trajectory optimization is as follows: Where X is the trajectory parameter to be optimized, n is the trajectory polynomial order, k is the number of trajectory segments, f(X) is the optimization objective function, and t i-1 is the starting time of the i-th trajectory, t i is the end time of the i-th trajectory; Step 235: Solve the above trajectory optimization problem by using the minimum principle to obtain the optimal trajectory parameters This parameter is used to calculate the corresponding coarse-grained motion trajectory.
7. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 6, characterized in that: The step 24 comprises: Step 241: Collect the force perception information output by the "peripheral layer" to obtain the support status and support position of each contact point of the robot, and combine the body posture solution result in the global positioning information to estimate the terrain slope and obtain the coefficients [a, b, c] in the terrain model z = ax + by + c T ; Step 242: There are 4 support points, and their global positions are by As the cost function, construct the following equation: Step 243: Solve the above matrix operation to obtain the optimal model parameters This parameter is further used to calculate the terrain slope angle and output to the "central layer" as the desired coarse-grained posture command.
8. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 7, characterized in that: The step 3 specifically includes the following steps: Step 31: Complete the design of the VMC control model and force distribution model for the "central layer" body control. The steps are as follows: Step 311: Design a VMC control model that completes the coarse-grained desired speed command V planned by the "brain layer" x,d , V y,d , expected posture angle θ d ,γ d and the desired altitude command P z,d The feedback closed-loop control is used to calculate the corresponding virtual force F x ,F y ,F z With virtual torque T x ,T y ,T z ; Among them, the PD controller is used to build the VMC control model: Among them, K x ,K y ,K z is the stiffness coefficient of the trajectory controller, D x ,D y ,D z is the damping coefficient of the trajectory controller; K θ ,K γ is the stiffness coefficient of the attitude controller, D θ ,D γ ; V x ,V y ,V z Output the X-axis, Y-axis velocity and Z-axis position estimates in the global positioning information for the "brain layer". is its differential state change; θ,γ are the pitch, roll and heading angle estimates corresponding to the global positioning information output by the "brain layer", ω x ,ω y ,ω z is the corresponding estimated value of the XYZ axis angular velocity; Step 312: Design a force distribution model to complete the calculation of the virtual force F in step 311 x ,F y ,F z and virtual torque T x ,T y ,T z Optimize the distribution, solve the decomposed support force of each support point and output it to the "end layer"; Step 313: Establish a static equilibrium model of the unmanned platform, assuming that the number of support points is 3, G represents the center of mass of the fuselage, G' represents the projection point of the center of mass of the fuselage on the support plane, C represents the pressure center point, Pi represents the support point, Fi represents the support force of the support point, MG represents the virtual torque calculated by the virtual body self-made controller, FG represents the virtual force including gravity, O-xyz represents the world coordinate system, and the coordinate origin is on the support plane, and the z-axis is orthogonal to the support plane; Taking the robot as the research object, there is a static balance relationship at point G: here, Represents the vector position of Pi relative to point G, then: In the above formula, I b is the moment of inertia of the fuselage, is the vector rotation angular acceleration of the fuselage, is the moment of inertia of the i-th leg link, is the vector rotation angular acceleration corresponding to the i-th leg link, is the vector position between the mass center of the ith link and the mass center of the fuselage, is the mass of the i-th connecting rod, represents the vector linear acceleration of the center of mass of the i-th connecting rod, represents the external torque applied at the i-th point, represents the external vector force at the i-th support point, Represents the vector position between the external force point and the center of mass of the fuselage, m b Indicates the quality of the fuselage. represents the vector linear acceleration of the fuselage, and g represents the vector gravity acceleration; Step 314: The static equilibrium model in step 313 i That is, the force vectors of each support point to be solved, and the formula in step 313 can be rearranged to obtain: Here, the quadratic optimization theory is used to solve the above equation, and the support force is constrained to satisfy the friction cone constraint. The mathematical description of the optimization problem is as follows: min Q(x)=(Ax-b) T S(Ax-b)+x T Wx In the above formula, Q(x) is the quadratic programming objective function; S is the weighting matrix; W is the symmetric semi-positive definite matrix; is the normal force at the i-th support point; is the tangential force at the i-th support point; μ is the sliding friction coefficient; Step 32: Solve the above quadratic programming problem to obtain the optimal support force for each support point Output it to the "peripheral layer"; Step 33: Based on the coarse-grained behavioral instructions and coarse-grained motion trajectories of the "brain layer", the limb movement is planned and the joint angle x required for fine-grained control of the limb is output. d ,speed and acceleration command 9. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 8, characterized in that: In step 4, an angle-speed-force three-channel impedance controller is designed to solve the corresponding torque command, and finally merge the output to the actuator.
10. The hierarchically driven autonomous unmanned system humanoid control architecture as claimed in claim 9, characterized in that: The step 4 comprises the following specific steps: Step 41: Design an angle impedance controller whose input is the fine-grained angle command x planned by the central layer d , the feedback data is the actuator feedback angle x, and the traction required for angle closed-loop control is calculated using the stiffness + damping control method: Among them, K p,x is the stiffness coefficient of the angle impedance controller, K d,x is the damping coefficient of the angle impedance controller; Step 42: Design a speed impedance controller whose input is the fine-grained angular velocity command planned by the central layer Feedback data is the actuator feedback angular velocity and angular velocity The traction required for angular velocity closed-loop control is calculated using the stiffness + damping + feedforward control method: in is the stiffness coefficient of the speed impedance controller, is the damping coefficient of the speed impedance controller, is the feedforward coefficient of the speed impedance controller; Step 43: Combine the virtual traction forces calculated in Step 41 and Step 42 into f pv , using the Jacobian matrix to map to the corresponding torque command τ pv ; Step 44: Design the impedance controlled controller. First, estimate the current ground support force f based on the virtual work principle and Jacobi inverse dynamics. est : f est =J -T t m Among them, τ m It is the actuator torque feedback data; Based on the fine-grained support force instructions of the central layer Construct feedback impedance control rate and integrate feedforward proportional control to generate traction: Step 45: Blend the traction from step 44 into f F , and calculate the corresponding torque command τ F : Step 46: Finally, the torque commands in step 43 and step 45 are added and output to the actuator: τ=τ pv +t F 。
Citation Information
Patent Citations
Humanoid robot provided with a manager for the physical and virtual resources thereof, and methods for use and programming
CN103354775A
Control method and device for bionic jumping action of quadruped robot, electronic equipment and computer readable medium
CN112207825A
