Robot trajectory tracking control method, system, device and storage medium based on pulse neural membrane system optimization

Through the optimization method based on the pulse neural membrane system, the problem of large robot trajectory tracking errors in substation power inspections is solved, more efficient trajectory control is achieved, and the efficiency and quality of inspections are improved.

CN118502448BActive Publication Date: 2024-10-29CHENGDU UNIV OF INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410953946.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-29
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Traditional robot trajectory control methods lead to large trajectory tracking errors in substation power inspections, affecting the robot's work quality and inspection efficiency.

Method used

An optimization method based on the impulse neural membrane system is used to discretize the robot kinematic model through the Euler forward difference method, define the trajectory tracking error function, and use the adaptive optimization impulse neural membrane system to solve the optimization objective function and obtain optimal control. amount to make the robot's motion trajectory track to the specified reference trajectory.

Benefits of technology

The accuracy of robot trajectory tracking control is improved, especially in the case of irregular inspection paths, which significantly improves inspection efficiency and work quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118502448B_ABST
    Figure CN118502448B_ABST
Patent Text Reader

Abstract

The present invention discloses a robot trajectory tracking control method, system, device and storage medium based on pulse neural membrane system optimization, belonging to the field of robot technology. The method comprises discretizing the robot kinematic model by Euler forward difference method to obtain the robot discrete kinematic model; defining the trajectory tracking error function, and constructing the trajectory tracking objective function in combination with the robot discrete kinematic model; solving and optimizing the objective function by adaptive optimization pulse neural membrane system to obtain the optimal control quantity of the robot, so that the robot's motion trajectory is tracked to the specified reference trajectory, and the effectiveness of the method is verified by simulating two sets of irregular reference trajectories. The present invention provides a new solution to the wheeled mobile robot trajectory tracking problem, which has important practical value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of robot technology, and in particular relates to a robot trajectory tracking control method, system, device and storage medium based on pulse neural membrane system optimization. Background Art

[0002] With the development of science and technology, mobile robots have been widely used in many fields such as agriculture and industry, and mobile robots have become a hot topic of research in recent years. In recent years, with the development of robotics technology, wheeled mobile robots have been widely used in substation inspections. Substations are relatively closed application scenarios, and their inspection trajectories are often irregular paths. It is difficult to describe the reference trajectory of the robot with a continuous function, and a series of discrete points are often used to describe it. Traditional robot trajectory control methods, such as robust control, , Control, etc., relies on a continuous reference trajectory model when designing the controller, which results in large trajectory tracking errors in the actual application of power inspection robots in substations, seriously affecting the robot's work quality and inspection efficiency. Summary of the invention

[0003] The purpose of the present invention is to provide a robot trajectory tracking control method, system, device and storage medium based on pulse neural membrane system optimization to solve the problem that the trajectory tracking error of the substation inspection robot is large, which seriously affects the robot's work quality and inspection efficiency.

[0004] The embodiment of the present application is implemented as follows: a robot trajectory tracking control method based on pulse neural membrane system optimization includes:

[0005] The robot kinematics model is discretized using Euler forward difference method to obtain the robot discrete kinematics model;

[0006] Defining a trajectory tracking error function, and constructing a trajectory tracking objective function in combination with the robot discrete kinematics model;

[0007] The objective function is solved and optimized by using an adaptive optimization pulse neural membrane system to obtain the optimal control quantity of the robot so that the motion trajectory of the robot tracks the specified reference trajectory.

[0008] Optionally, in some embodiments of the present application, the robot trajectory tracking control method based on pulse neural membrane system optimization also includes: based on Matlab, simulating and verifying the tracking of different characteristic trajectories of linear and nonlinear curves.

[0009] Optionally, in some embodiments of the present application, the robot kinematic model is:

[0010] ;

[0011] In the formula, is the robot’s attitude angle, is the linear velocity of the robot during motion, = , is the angular velocity, For robots Direction and The velocity component in the direction, is the coordinate of the robot's center of mass in the moving plane, is the horizontal axis, is the vertical axis, is the control quantity of the model; and / or

[0012] The robot kinematics model is discretized using the Euler forward difference method, and the obtained robot discrete kinematics model is:

[0013] ;

[0014] In the formula, is the sampling period, for The robot's status information at all times, for The linear velocity of the robot at the moment, for The angular velocity of the robot at the moment, for The robot's status information at all times.

[0015] Optionally, in some embodiments of the present application, the trajectory tracking error function is:

[0016] ;

[0017] In the formula, Indicated in The horizontal coordinate of the actual motion trajectory of the robot at discrete points The horizontal coordinate of the reference trajectory Deviation; Indicated in The vertical coordinate of the actual motion trajectory of the robot at discrete points The vertical coordinate of the reference trajectory Deviations; and / or

[0018] The constructing trajectory tracking objective function comprises:

[0019] Assume that currently Discrete points , , consider later points, then the trajectory tracking objective function to be optimized is for:

[0020] ;

[0021] In the formula, is the index value, It means starting from 1 to Finish, Take the integer;

[0022] Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value;

[0023] when , that is, at discrete points Consider later points, then the trajectory tracking objective function to be optimized is for:

[0024] ;

[0025] In the formula, is the index value, It means starting from 1 to Finish, Take the integer;

[0026] Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value.

[0027] Optionally, in some embodiments of the present application, the adaptive optimization pulse neural membrane system AOSNPS The method for solving and optimizing the objective function includes:

[0028] Given by The reference trajectory of a wheeled mobile robot consists of discrete points ;

[0029] Initializing the parameters of the objective function to be optimized;

[0030] Make sure the robot is The objective function of the moment trajectory tracking the reference trajectory ;

[0031] Using the control quantity encoding method Randomly generated binary sequence matrix Convert to control quantity The decimal candidate solution matrix of , and Each group of candidate solutions is introduced into ,according to The calculation results update the binary sequence matrix , through continuous iterative learning, parameter optimization is performed and output Time control amount The best binary candidate solution for , and then use the control quantity encoding method to convert the control quantity The best binary candidate solution for Convert to decimal and you get Optimal control quantity at any moment ;

[0032] Select the first two elements of the optimal control quantity obtained As The actual control input of the robot at the moment is used to update the robot's discrete kinematics model. The posture state at the moment;

[0033] Determine whether the robot has reached the last discrete point of the reference trajectory. If "yes", the loop ends; if "no", the next moment is reached. , and jump to confirm that the robot is The objective function of the moment trajectory tracking the reference trajectory The steps continue to cycle.

[0034] Optionally, in some embodiments of the present application, the initialization parameters include a sampling period of the robot control , the robot's initial position , the robot's initial posture angle , maximum line speed , maximum angular velocity , Optimize the learning rate of the algorithm , population size , the number of reference points to be considered later , the number of binary digits of the coded control quantity , from the first discrete point , Start loop.

[0035] Optionally, in some embodiments of the present application, the control amount encoding method includes:

[0036] Assuming the control quantity The value range of satisfies the constraints:

[0037] ;

[0038] In the formula, is the maximum speed of the robot, is the maximum steering angular velocity of the robot;

[0039] Given any reference trajectory , is a linear, nonlinear curve or a series of trajectory coordinate sequences that do not satisfy the description of a single curve; when the control input is , the robot's motion trajectory Tracking a specified reference trajectory .

[0040] Assumptions The integer part of The decimal part is represented by The binary representation is 0, plus a sign bit, 0 for positive and 1 for negative. The maximum decimal number that can be represented in binary is , therefore, ensure that:

[0041] ;

[0042] Get the minimum integer , according to the properties of logarithms, we have:

[0043] ;

[0044] In the formula, The symbol represents the value Round up;

[0045] For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation:

[0046] ;

[0047] Assumptions The integer part of The decimal part is represented by 1 bit binary representation, plus a sign bit, 0 for positive, 1 for negative; The maximum decimal number that can be represented in binary is Therefore, ensure that:

[0048] ;

[0049] Get the minimum integer , according to the properties of logarithms, we have:

[0050] ;

[0051] In the formula, The symbol represents the value Round up;

[0052] For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation:

[0053] .

[0054] Optionally, in some embodiments of the present application, the optimal control amount is solved by the control amount encoding method. The decimal problem is converted to Optimizing the binary combination problem to be solved, the conversion method includes:

[0055] first, Randomly generate a OK Column binary sequence matrix ,

[0056]

[0057] In the formula, is the population size, is the length of each binary sequence, ;

[0058] Then, the control amount encoding method is used to convert the sequence matrix Convert to the corresponding decimal matrix , Each row Control quantity A set of binary candidate solutions for :

[0059] ;

[0060] ;

[0061] In the formula, For control The decimal number of the candidate solution of ; For control The decimal number of the candidate solution of ; For control The set of decimal candidate solutions of , , Control quantity A set of decimal candidate solutions for ;

[0062] Now Medium control amount Each candidate solution , , substitute the objective function value , and update the sequence matrix according to the calculation results The combination of binary sequences in the output is to optimize the parameters through continuous iterative learning. Optimal control quantity at any moment The binary candidate solution of ;

[0063] Finally, the control amount encoding method is used again to convert Optimal control quantity at any moment The binary candidate solution of Convert to decimal and get Optimal control quantity at any moment .

[0064] Accordingly, the embodiment of the present application also provides a robot trajectory tracking control system based on pulse neural membrane system optimization, including:

[0065] The model discretization module is used to discretize the robot kinematics model using the Euler forward difference method to obtain the robot discrete kinematics model;

[0066] Constructing an objective function module, defining a trajectory tracking error function, and constructing a trajectory tracking objective function in combination with the robot discrete kinematics model;

[0067] The module for solving and optimizing the objective function uses an adaptive optimization pulse neural membrane system to solve and optimize the objective function, obtain the optimal control quantity of the robot, and make the robot's motion trajectory track the specified reference trajectory.

[0068] Accordingly, an embodiment of the present application also provides a computer device, including a storage device and a processor, wherein the storage device stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.

[0069] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor executes the steps of the above method.

[0070] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0071] In this application, a robot trajectory tracking control method based on pulse neural membrane system optimization is proposed for the trajectory control problem of mobile robots, especially for specifying irregular discrete reference trajectories. First, the robot's kinematic model is discretized using the Euler forward difference method to obtain a discrete kinematic model of the robot; secondly, the trajectory tracking error function is defined, and the trajectory tracking objective function is constructed in combination with the robot's discrete kinematic model; finally, the objective function is solved and optimized using an adaptively optimized pulse neural membrane system to obtain the optimal control quantity of the robot, so that the robot's motion trajectory can track the specified reference trajectory. In addition, the effectiveness of this method is verified by simulating two sets of irregular reference trajectories; the present invention provides a new solution to the trajectory tracking problem of wheeled mobile robots, improves the robot's trajectory tracking control accuracy, and has important practical value for irregular inspection path application scenarios such as substation inspection robots. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 This is a flow chart of a robot trajectory tracking control method based on pulse neural membrane system optimization according to the present invention;

[0073] Figure 2 For the present invention AOSNPS Flowchart of a method for solving an optimization objective function;

[0074] Figure 3 A trajectory tracking diagram of a broken line provided by an embodiment of the present invention;

[0075] Figure 4 A trajectory tracking diagram of a cosine curve provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0076] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0077] The technical solution of this application is as follows:

[0078] First, see Figure 1 The present application embodiment provides a robot trajectory tracking control method based on pulse neural membrane system optimization, including:

[0079] S1. Discretize the robot kinematics model using the Euler forward difference method to obtain a discrete kinematics model of the robot;

[0080] S2. defining a trajectory tracking error function, and constructing a trajectory tracking objective function in combination with the robot discrete kinematics model;

[0081] S3. Utilize the adaptive optimization pulse neural membrane system to solve and optimize the objective function, obtain the optimal control quantity of the robot, and make the motion trajectory of the robot track the specified reference trajectory.

[0082] In some embodiments, the robot trajectory tracking control method based on pulse neural membrane system optimization also includes: based on Matlab, simulating and verifying the tracking of different characteristic trajectories of linear and nonlinear curves.

[0083] In S1:

[0084] In some embodiments, the robot kinematic model is:

[0085] ;

[0086] In the formula, is the robot’s attitude angle, is the linear velocity of the robot during motion, = , is the angular velocity, For robots Direction and The velocity component in the direction, is the coordinate of the robot's center of mass in the moving plane, is the horizontal axis, is the vertical axis, is the control quantity of the model.

[0087] In some embodiments, the robot kinematics model is discretized using the Euler forward difference method, and the obtained robot discrete kinematics model is:

[0088] ;

[0089] In the formula, is the sampling period, for The robot's status information at all times, for The linear velocity of the robot at the moment, for The angular velocity of the robot at the moment, for The robot's status information at all times.

[0090] In S2:

[0091] In some embodiments, Discrete points , A reference trajectory is given in the form of The reference trajectory The horizontal coordinate of the point, The reference trajectory The vertical coordinate of a point.

[0092] It is understandable that the design control quantity , so that the robot's motion trajectory Tracking the desired reference trajectory .

[0093] In some embodiments, the trajectory tracking error function is:

[0094] ;

[0095] In the formula, Indicated in The horizontal coordinate of the actual motion trajectory of the robot at discrete points The horizontal coordinate of the reference trajectory Deviation; Indicated in The vertical coordinate of the actual motion trajectory of the robot at discrete points The vertical coordinate of the reference trajectory deviation.

[0096] In some embodiments, constructing a trajectory tracking objective function includes:

[0097] Assume that currently Discrete points , , consider later points, then the trajectory tracking objective function to be optimized is for:

[0098] ;

[0099] In the formula, is the index value, It means starting from 1 to Finish, Take the integer;

[0100] Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value;

[0101] when , that is, at discrete points Consider later points, then the trajectory tracking objective function to be optimized is for:

[0102] ;

[0103] In the formula, is the index value, It means starting from 1 to Finish, Take the integer;

[0104] Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value.

[0105] In the S3:

[0106] It can be understood that the objective function is solved and optimized using an adaptive optimization pulse neural membrane system to obtain the optimal control quantity of the robot, and the obtained optimal control quantity is applied to the robot so that the robot's motion trajectory tracks the specified reference trajectory.

[0107] It can be understood that the mobile robot trajectory tracking control quantity Usually given in decimal form, the adaptive optimization of the spiking neural membrane system AOSNPS Use binary in solving optimization ( ) pulse sequence for information processing. Therefore, when solving the objective function of robot trajectory tracking, the control quantity needs to be converted between binary and decimal.

[0108] See also Figure 2 , the use of adaptive optimization pulse neural membrane system AOSNPS The method for solving and optimizing the objective function includes:

[0109] S31, given by The reference trajectory of a wheeled mobile robot consists of discrete points ;

[0110] S32, initializing the parameters of the objective function to be optimized;

[0111] S33, confirm that the robot is The objective function of the moment trajectory tracking the reference trajectory ;

[0112] S34, using the control amount encoding method Randomly generated binary sequence matrix Convert to control quantity The decimal candidate solution matrix of , and Each group of candidate solutions in step S33 is sequentially brought into ,according to The calculation results update the binary sequence matrix , through continuous iterative learning, parameter optimization is performed and output Time control amount The best binary candidate solution for , and then use the control quantity encoding method to convert the control quantity The best binary candidate solution for Convert to decimal and you get Optimal control quantity at any moment ;

[0113] S35, select the first two elements of the optimal control quantity obtained in S34 As The actual control input of the robot at the moment is used to update the robot's discrete kinematics model. The posture state at the moment;

[0114] S36: Determine whether the robot has reached the last discrete point of the reference trajectory. If yes, the loop ends; if no, the next step is to , and jump to S33 to continue the loop.

[0115] In said S31:

[0116] Understandably, Discrete points , A reference trajectory is given in the form of The reference trajectory The horizontal coordinate of the point, The reference trajectory The vertical coordinate of a point.

[0117] In the S32:

[0118] In some embodiments, the initialization parameters include the sampling period of the robot control , the robot's initial position , the robot's initial posture angle , maximum line speed , maximum angular velocity , Optimize the learning rate of the algorithm , population size , the number of reference points to be considered later , the number of binary digits of the coded control quantity , from the first discrete point , Start loop.

[0119] In said S34:

[0120] In some embodiments, the control amount encoding method includes:

[0121] S341, Assuming the control quantity The value range of satisfies the constraints:

[0122] ;

[0123] In the formula, is the maximum speed of the robot, is the maximum steering angular velocity of the robot, and are two definite positive constants;

[0124] Given any reference trajectory , is a linear, nonlinear curve or a series of trajectory coordinate sequences that do not satisfy the description of a single curve; when the control input is , the robot's motion trajectory Tracking a specified reference trajectory .

[0125] S342, Assumption The integer part of The decimal part is represented by The binary representation is 0, plus a sign bit, 0 for positive and 1 for negative. The maximum decimal number that can be represented in binary is , therefore, ensure that:

[0126] ;

[0127] Get the minimum integer , according to the properties of logarithms, we have:

[0128] ;

[0129] In the formula, The symbol represents the value Round up;

[0130] For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation:

[0131] ;

[0132] S343, Assumption The integer part of The decimal part is represented by 1 bit binary representation, plus a sign bit, 0 for positive, 1 for negative; The maximum decimal number that can be represented in binary is Therefore, ensure that:

[0133] ;

[0134] Get the minimum integer , according to the properties of logarithms, we have:

[0135] ;

[0136] In the formula, The symbol represents the value Round up;

[0137] For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation:

[0138] .

[0139] Furthermore, the optimal control quantity is solved by the control quantity encoding method. The decimal problem is converted to Optimizing the binary combination problem to be solved, the conversion method includes:

[0140] first, Randomly generate a OK Column binary sequence matrix ,

[0141] ;

[0142] In the formula, is the population size, is the length of each binary sequence, ;

[0143] Then, the control amount encoding method is used to convert the sequence matrix Convert to the corresponding decimal matrix , Each row Control quantity A set of binary candidate solutions for :

[0144] ;

[0145] ;

[0146] In the formula, For control The decimal number of the candidate solution of ; For control The decimal number of the candidate solution of ; For control The set of decimal candidate solutions of , , Control quantity A set of decimal candidate solutions for ;

[0147] Now Medium control amount Each candidate solution , , substitute the objective function value , and update the sequence matrix according to the calculation results The combination of binary sequences in the output is to optimize the parameters through continuous iterative learning. Optimal control quantity at any moment The binary candidate solution of ;

[0148] Finally, the control amount encoding method is used again to convert Optimal control quantity at any moment The binary candidate solution of Convert to decimal and get Optimal control quantity at any moment

[0149] .

[0150] The above update sequence matrix For the combination of binary sequences, iterative learning, and parameter optimization methods, please refer to the published paper: Ming Zhu and Qiang Yang, An Adaptive Optimization Spiking Neural P System for Binary Problems, International Journal of Neural Systems, Vol. 31, No. 1 (2021) 2050054 (17 pages).

[0151] In a second aspect, the present application provides a robot trajectory tracking control system based on pulse neural membrane system optimization, including:

[0152] The model discretization module is used to discretize the robot kinematics model using the Euler forward difference method to obtain the robot discrete kinematics model;

[0153] Constructing an objective function module, defining a trajectory tracking error function, and constructing a trajectory tracking objective function in combination with the robot discrete kinematics model;

[0154] The module for solving and optimizing the objective function uses an adaptive optimization pulse neural membrane system to solve and optimize the objective function, obtain the optimal control quantity of the robot, and make the robot's motion trajectory track the specified reference trajectory.

[0155] In some embodiments, the robot trajectory tracking control method based on pulse neural membrane system optimization also includes: based on Matlab, simulating and verifying the tracking of different characteristic trajectories of linear and nonlinear curves.

[0156] In the discrete module of the model:

[0157] In some embodiments, the robot kinematic model is:

[0158] ;

[0159] In the formula, is the robot’s attitude angle, is the linear velocity of the robot during motion, = , is the angular velocity, For robots Direction and The velocity component in the direction, is the coordinate of the robot's center of mass in the moving plane, is the horizontal axis, is the vertical axis, is the control quantity of the model.

[0160] In some embodiments, the robot kinematics model is discretized using the Euler forward difference method, and the obtained robot discrete kinematics model is:

[0161] ;

[0162] In the formula, is the sampling period, for The robot's status information at all times, for The linear velocity of the robot at the moment, for The angular velocity of the robot at the moment, for The robot's status information at all times.

[0163] In the target function module:

[0164] In some embodiments, Discrete points , A reference trajectory is given in the form of The reference trajectory The horizontal coordinate of the point, The reference trajectory The vertical coordinate of a point.

[0165] It is understandable that the design control quantity , so that the robot's motion trajectory Tracking the desired reference trajectory .

[0166] In some embodiments, the trajectory tracking error function is:

[0167] ;

[0168] In the formula, Indicated in The horizontal coordinate of the actual motion trajectory of the robot at discrete points The horizontal coordinate of the reference trajectory Deviation; Indicated in The vertical coordinate of the actual motion trajectory of the robot at discrete points The vertical coordinate of the reference trajectory deviation.

[0169] In some embodiments, constructing a trajectory tracking objective function includes:

[0170] Assume that currently Discrete points , , consider later points, then the trajectory tracking objective function to be optimized is for:

[0171] ;

[0172] In the formula, is the index value, It means starting from 1 to Finish, Take the integer;

[0173] Solve Control volume parameters: , so that the trajectory tracks the objective function Take the minimum value;

[0174] when , that is, at discrete points Consider later points, then the trajectory tracking objective function to be optimized is for:

[0175] ;

[0176] In the formula, is the index value, It means starting from 1 to Finish, Take the integer;

[0177] Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value.

[0178] In the module for solving the optimization objective function:

[0179] It can be understood that the objective function is solved and optimized using an adaptive optimization pulse neural membrane system to obtain the optimal control quantity of the robot, and the obtained optimal control quantity is applied to the robot so that the robot's motion trajectory tracks the specified reference trajectory.

[0180] It can be understood that the mobile robot trajectory tracking control quantity Usually given in decimal form, the adaptive optimization of the spiking neural membrane system AOSNPS Use binary in solving optimization ( ) pulse sequence for information processing. Therefore, when solving the objective function of robot trajectory tracking, the control quantity needs to be converted between binary and decimal.

[0181] Adaptive optimization of spiking neural membrane system AOSNPS The method for solving and optimizing the objective function includes:

[0182] Given by The reference trajectory of a wheeled mobile robot consists of discrete points ;

[0183] Initializing the parameters of the objective function to be optimized;

[0184] Make sure the robot is The objective function of the moment trajectory tracking the reference trajectory ;

[0185] Using the control quantity encoding method Randomly generated binary sequence matrix Convert to control quantity The decimal candidate solution matrix of , and Each group of candidate solutions is introduced into ,according to The calculation results update the binary sequence matrix , through continuous iterative learning, parameter optimization is performed and output Time control amount The best binary candidate solution for , and then use the control quantity encoding method to convert the control quantity The best binary candidate solution for Convert to decimal and you get Optimal control quantity at any moment ;

[0186] Select the first two elements of the optimal control quantity obtained As The actual control input of the robot at the moment is used to update the robot's discrete kinematics model. The posture state at the moment;

[0187] Determine whether the robot has reached the last discrete point of the reference trajectory. If "yes", the loop ends; if "no", the next moment is reached. , and jump to confirm that the robot is The objective function of the moment trajectory tracking the reference trajectory Continue the cycle.

[0188] Understandably, Discrete points , A reference trajectory is given in the form of The reference trajectory The horizontal coordinate of the point, The reference trajectory The vertical coordinate of a point.

[0189] In some embodiments, the initialization parameters include the sampling period of the robot control , the robot's initial position , the robot's initial posture angle , maximum line speed , maximum angular velocity , Optimize the learning rate of the algorithm , population size , the number of reference points to be considered later , the number of binary digits of the coded control quantity , from the first discrete point , Start loop.

[0190] In some embodiments, the control amount encoding method includes:

[0191] Assuming the control quantity The value range of satisfies the constraints:

[0192] ;

[0193] In the formula, is the maximum speed of the robot, is the maximum steering angular velocity of the robot, and are two definite positive constants;

[0194] Given any reference trajectory , is a linear, nonlinear curve or a series of trajectory coordinate sequences that do not satisfy the description of a single curve; when the control input is , the robot's motion trajectory Tracking a specified reference trajectory .

[0195] Assumptions The integer part of The decimal part is represented by The binary representation is 0, plus a sign bit, 0 for positive and 1 for negative. The maximum decimal number that can be represented in binary is , therefore, ensure that:

[0196] ;

[0197] Get the minimum integer , according to the properties of logarithms, we have:

[0198] ;

[0199] In the formula, The symbol represents the value Round up;

[0200] For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation:

[0201] ;

[0202] Assumptions The integer part of The decimal part is represented by 1 bit binary representation, plus a sign bit, 0 for positive, 1 for negative; The maximum decimal number that can be represented in binary is Therefore, ensure that:

[0203] ;

[0204] Get the minimum integer , according to the properties of logarithms, we have:

[0205] ;

[0206] In the formula, The symbol represents the value Round up;

[0207] For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation:

[0208] .

[0209] Furthermore, the optimal control quantity is solved by the control quantity encoding method. The decimal problem is converted to Optimizing the binary combination problem to be solved, the conversion method includes:

[0210] first, Randomly generate a OK Column binary sequence matrix ,

[0211] ;

[0212] In the formula, is the population size, is the length of each binary sequence, ;

[0213] Then, the control amount encoding method is used to convert the sequence matrix Convert to the corresponding decimal matrix , Each row Control quantity A set of binary candidate solutions for :

[0214] ;

[0215] ;

[0216] In the formula, For control The decimal number of the candidate solution of ; For control The decimal number of the candidate solution of ; For control The set of decimal candidate solutions of , , Control quantity A set of decimal candidate solutions for ;

[0217] Now Medium control amount Each candidate solution , , substitute the objective function value And update the sequence matrix according to the calculation results The combination of binary sequences in the output is to optimize the parameters through continuous iterative learning. Optimal control quantity at any moment The binary candidate solution of ;

[0218] Finally, the control amount encoding method is used again to convert Optimal control quantity at any moment The binary candidate solution of Convert to decimal and get Optimal control quantity at any moment .

[0219] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the robot trajectory tracking control method based on pulse neural membrane system optimization as described above.

[0220] The computer device may be a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with the user through a keyboard, a mouse, a remote control, a touch pad, or a voice control device.

[0221] The memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or D interface display memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory can be an internal storage unit of the computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory can also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. Of course, the memory can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory is often used to store the operating system and various application software installed on the computer device, such as the program code of the robot trajectory tracking control method based on the pulse neural membrane system optimization. In addition, the memory can also be used to temporarily store various types of data that have been output or are to be output.

[0222] The processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor is generally used to control the overall operation of the computer device. In this embodiment, the processor is used to run the program code stored in the memory or process data, such as running the program code of the robot trajectory tracking control method based on the pulse neural membrane system optimization.

[0223] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to perform the steps of the robot trajectory tracking control method based on pulse neural membrane system optimization as described above.

[0224] Wherein, the computer-readable storage medium stores an interface display program, and the interface display program can be executed by at least one processor so that the at least one processor executes the steps of the robot trajectory tracking control method based on pulse neural membrane system optimization as described above.

[0225] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server or network device, etc.) to execute the robot trajectory tracking control method based on pulse neural membrane system optimization described in the embodiment of the present application.

[0226] The present invention is further described below in conjunction with simulation verification.

[0227] Simulation Verification

[0228] Optimizing spiking neural membrane systems using adaptation for different reference trajectories AOSNPS Solve the optimal robot trajectory tracking control input, The simulation results are obtained in the following environment:

[0229] Line tracking simulation

[0230] Reference trajectory,

[0231] ;

[0232] Initialization parameters: , , , , , , , , , , The simulation results are as follows: Figure 3 shown.

[0233] from Figure 3 It can be seen that the experimental tracking simulation of the broken line trajectory has achieved good results, proving that the algorithm is effective in tracking the broken line trajectory.

[0234] Sine curve tracking simulation

[0235] The reference trajectory is a sinusoidal curve: , initialization parameters: , , , , , , , , , , The simulation results are as follows: Figure 4 shown.

[0236] from Figure 4 It can be seen that the experimental tracking simulation of the sinusoidal curve trajectory has achieved good results, proving the effectiveness of the algorithm in tracking the sinusoidal curve trajectory.

[0237] 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 and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A robot trajectory tracking control method based on pulse neural membrane system optimization, characterized in that: include: The robot kinematics model is discretized using Euler forward difference method to obtain the robot discrete kinematics model; Defining a trajectory tracking error function, and constructing a trajectory tracking objective function in combination with the robot discrete kinematics model; The objective function is solved and optimized by using an adaptive optimization pulse neural membrane system to obtain the optimal control quantity of the robot so that the motion trajectory of the robot tracks the specified reference trajectory; Adaptive optimization of spiking neural membrane system AOSNPS The method for solving and optimizing the objective function includes: Given by The reference trajectory of a wheeled mobile robot consists of discrete points ; Initializing the parameters of the objective function to be optimized; Make sure the robot is The objective function of the moment trajectory tracking the reference trajectory ; Using the control quantity encoding method Randomly generated binary sequence matrix Convert to control quantity The decimal candidate solution matrix of , and Each group of candidate solutions is introduced into ,according to The calculation results update the binary sequence matrix , through continuous iterative learning, parameter optimization is performed and output Time control amount The best binary candidate solution for , and then use the control quantity encoding method to convert the control quantity The best binary candidate solution for Convert to decimal and you get Optimal control quantity at any moment ; Select the first two elements of the optimal control quantity obtained As The actual control input of the robot at the moment is used to update the robot's discrete kinematics model. The posture state at the moment; Determine whether the robot has reached the last discrete point of the reference trajectory. If yes, the loop ends; if no, the loop continues until the next moment. , and jump to confirm that the robot is The objective function of the moment trajectory tracking the reference trajectory The steps continue to cycle.

2. The robot trajectory tracking control method based on pulse neural membrane system optimization according to claim 1 is characterized in that: The robot kinematic model is: ; In the formula, is the robot’s attitude angle, is the linear velocity of the robot during motion, = , is the angular velocity, For robots Direction and The velocity component in the direction, is the coordinate of the robot's center of mass on the moving plane, is the horizontal axis, is the vertical axis, is the control quantity of the model; The robot kinematics model is discretized using the Euler forward difference method, and the obtained robot discrete kinematics model is: ; In the formula, is the sampling period, for The robot's status information at all times, for The linear velocity of the robot at the moment, for The angular velocity of the robot at the moment, for The robot's status information at all times.

3. The robot trajectory tracking control method based on pulse neural membrane system optimization according to claim 1 is characterized in that: The trajectory tracking error function is: ; In the formula, Indicated in The horizontal coordinate of the actual motion trajectory of the discrete point robot The horizontal coordinate of the reference trajectory Deviation; Indicated in The vertical coordinate of the actual motion trajectory of the discrete point robot The vertical coordinate of the reference trajectory Deviation; The constructing trajectory tracking objective function comprises: Assume that currently Discrete points , , consider later points, then the trajectory tracking objective function to be optimized is for: ; In the formula, is the index value, It means starting from 1 to Finish, Take the integer; Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value; when , that is, at discrete points Consider later points, then the trajectory tracking objective function to be optimized is for: ; In the formula, is the index value, It means starting from 1 to Finish, Take the integer; Solution Control parameters: , so that the trajectory tracks the objective function Take the minimum value.

4. The robot trajectory tracking control method based on pulse neural membrane system optimization according to claim 1 is characterized in that: The initialization parameters include the sampling period of the robot control , the robot's initial position , the robot's initial posture angle , maximum line speed , maximum angular velocity , Optimize the learning rate of the algorithm , population size , the number of reference points to be considered later , the number of binary digits of the coded control quantity , from the first discrete point , Start the loop.

5. The robot trajectory tracking control method based on pulse neural membrane system optimization according to claim 1 is characterized in that: The control amount encoding method comprises: Assuming the control quantity The value range of satisfies the constraints: ; In the formula, is the maximum speed of the robot, is the maximum steering angular velocity of the robot; Given any reference trajectory , is a linear, nonlinear curve or a series of trajectory coordinate sequences that do not satisfy the description of a single curve; when the control input is , the robot's trajectory Tracking a specified reference trajectory ; Assumptions The integer part of The decimal part is represented by The binary representation is 0, plus a sign bit, 0 for positive and 1 for negative. The maximum decimal number that can be represented in binary is , therefore, ensure that: ; Get the minimum integer , according to the properties of logarithms, we have: ; In the formula, The symbol represents the value Round up; For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation: ; Assumptions The integer part of The decimal part is represented by 1 bit binary representation, plus a sign bit, 0 for positive, 1 for negative; The maximum decimal number that can be represented in binary is Therefore, ensure that: ; Get the minimum integer , according to the properties of logarithms, we have: ; In the formula, The symbol represents the value Round up; For the decimal part, the control amount The decimal part is accurate to 2 decimal places. The value is 7; control amount use Bit binary representation: 。 6. The robot trajectory tracking control method based on pulse neural membrane system optimization according to claim 5 is characterized in that: By using the control quantity encoding method, the optimal control quantity is solved The decimal problem is converted to Optimizing the binary combination problem to be solved, the conversion method includes: first, Randomly generate a OK Column binary sequence matrix , ; In the formula, is the population size, is the length of each binary sequence, ; Then, the control amount encoding method is used to convert the sequence matrix Convert to the corresponding decimal matrix , Each row Control quantity A set of binary candidate solutions for : ; ; In the formula, For control The decimal number of the candidate solution of ; For control The decimal number of the candidate solution of ; For control The set of decimal candidate solutions of , , Control quantity A set of decimal candidate solutions for ; Now Medium control amount Each candidate solution , , substitute the objective function value , and update the sequence matrix according to the calculation results The combination of binary sequences in the output is to optimize the parameters through continuous iterative learning. Optimal control quantity at any moment The binary candidate solution of ; Finally, the control amount encoding method is used again to convert Optimal control quantity at any moment The binary candidate solution of Convert to decimal and get Optimal control quantity at any moment 。 7. A robot trajectory tracking control system based on pulse neural membrane system optimization, characterized in that: include: The model discretization module is used to discretize the robot kinematics model using the Euler forward difference method to obtain the robot discrete kinematics model; Constructing an objective function module, defining a trajectory tracking error function, and constructing a trajectory tracking objective function in combination with the robot discrete kinematics model; A module for solving and optimizing the objective function uses an adaptive optimization pulse neural membrane system to solve and optimize the objective function, obtain the optimal control quantity of the robot, and make the robot's motion trajectory track the specified reference trajectory; Adaptive optimization of spiking neural membrane system AOSNPS The method for solving and optimizing the objective function includes: Given by The reference trajectory of a wheeled mobile robot consists of discrete points ; Initializing the parameters of the objective function to be optimized; Make sure the robot is The objective function of the moment trajectory tracking the reference trajectory ; Using the control quantity encoding method Randomly generated binary sequence matrix Convert to control quantity The decimal candidate solution matrix of , and Each group of candidate solutions is introduced into ,according to The calculation results update the binary sequence matrix , through continuous iterative learning, parameter optimization is performed and output Time control amount The best binary candidate solution for , and then use the control quantity encoding method to convert the control quantity The best binary candidate solution for Convert to decimal and you get Optimal control quantity at any moment ; Select the first two elements of the optimal control quantity obtained As The actual control input of the robot at the moment is used to update the robot's discrete kinematics model. The posture state at the moment; Determine whether the robot has reached the last discrete point of the reference trajectory. If yes, the loop ends; if no, the loop continues until the next moment. , and jump to confirm that the robot is The objective function of the moment trajectory tracking the reference trajectory The steps continue to cycle.

8. Computer device, characterized in that The invention comprises a storage and a processor, wherein the storage stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Self-adapting fuzzy pulse neurolemma system and reasoning algorithm and learning algorithm

    CN102831477A

  • Fault diagnosis method based on self-adaptive optimized pulse neuromembrane system

    CN109490702A