Mobile robot closed-loop positioning method and system based on index transfer function

Through the closed-loop control method based on the exponential transfer function, the difficulty in parameter adjustment and overshooting problems in the PID control strategy is solved, and efficient and smooth closed-loop positioning of the mobile robot in a two-dimensional plane is achieved, ensuring operational safety.

CN118550295AActive Publication Date: 2024-08-27HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410618114.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-27
Estimated Expiration
2044-05-17

AI Technical Summary

Technical Problem

The existing PID control strategy requires laborious parameter adjustment in the closed-loop positioning of mobile robots, and the physical meaning is not clear. It is prone to overshoot, affecting response speed and stability, and it is difficult to avoid safety issues such as collisions and falls in a limited space.

Method used

A closed-loop control method based on the exponential transfer function is used to construct a closed-loop control model and generate a control strategy by obtaining the initial and desired poses to control the robot to achieve precise positioning in a two-dimensional plane, reduce overshoot, and improve response speed and stability.

Benefits of technology

It achieves efficient and smooth closed-loop positioning in a limited space, reduces overshoot, avoids safety issues such as collisions and falls, and improves the operating safety of the robot near the boundary.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004845893670000022
    Figure HDA0004845893670000022
  • Figure HDA0004845893670000041
    Figure HDA0004845893670000041
  • Figure BDA0004845893660000111
    Figure BDA0004845893660000111
Patent Text Reader

Abstract

The invention discloses a mobile robot closed-loop positioning method, system and device based on an exponential transfer function and a medium, and the method comprises the steps: obtaining a first initial pose and a first expected pose of a target robot; based on the first initial pose and the first expected pose, whether the difference value between the first initial pose and the first expected pose is smaller than a preset threshold value or not is determined; if not, constructing a closed-loop control model based on the transfer function of the index rule; generating a closed-loop control strategy of the target robot based on the closed-loop control model; and based on a closed-loop control strategy, controlling the target robot to perform closed-loop motion so as to convert the target robot from the initial pose to a first expected pose. Closed-loop positioning of the robot in a two-dimensional plane with the limited size can be achieved, in the positioning process, overshoot can be controlled as small as possible, the problem that the robot is damaged due to collision, falling and the like when the robot is close to the boundary is avoided, the response speed is high, and stability is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot control technology, and in particular to a closed-loop positioning method, system, computer equipment and storage medium for a mobile robot based on an exponential transfer function. Background Art

[0002] The closed-loop positioning of a mobile robot requires measuring the position of the robot, and determining the speed of the robot at the next moment based on the difference between the current actual position and the expected position (position error). Therefore, the position closed-loop control method does not have a predictive function. The decision-making scheme of the robot speed during positioning has a decisive influence on the dynamic performance of the positioning process, such as the response speed, overshoot, and stability.

[0003] At present, the most widely used technology is the PID control strategy, that is, the output speed is equal to the sum of the proportion (P), integral (I) and differential (D) of the position error, in which the proportion amplifies the error signal to make the system move in the direction of reducing the error, the integral eliminates the error, and the differential damps the response to slow down and reduce overshoot. Usually, experiments are conducted by manually adjusting the gain coefficients of the three parts to make the dynamic performance of the closed-loop positioning meet the requirements.

[0004] However, the physical meanings of the three parameters of PID are not clear, manual adjustment is laborious, and is often adjusted based on experience. In addition, the effects must be verified through physical experiments or simulation experiments for further adjustment. When adjusting the parameters, their effects conflict with each other, making it difficult to achieve optimal dynamic performance, which also brings inconvenience to parameter adjustment. Moreover, the results of the PID control method often contain a certain amount of overshoot, which can easily lead to safety problems in limited spaces. If the overshoot is reduced, the response speed will inevitably slow down significantly. Summary of the invention

[0005] Based on this, it is necessary to provide a mobile robot closed-loop positioning method, system, computer device and storage medium based on exponential transfer function to address the above technical problems, so as to solve at least one problem existing in the above-mentioned prior art.

[0006] In a first aspect, a closed-loop positioning method for a mobile robot based on an exponential transfer function is provided, comprising:

[0007] Acquire a first initial position and a first desired position of the target robot;

[0008] Based on the first initial posture and the first expected posture, determining whether a difference between the first initial posture and the first expected posture is less than a preset threshold;

[0009] If not, a closed-loop control model is constructed based on the transfer function of the exponential law;

[0010] Based on the closed-loop control model, generating a closed-loop control strategy of the target robot;

[0011] Based on the closed-loop control strategy, the target robot is controlled to perform closed-loop motion to transform the target robot from the initial posture to the first desired posture.

[0012] In one embodiment, the controlling the target robot to perform closed-loop motion based on the closed-loop control strategy to transform the target robot from the initial posture to the first desired posture includes:

[0013] Step a: obtaining a second desired posture, and using the first desired posture as a second initial posture;

[0014] Step b: based on the second initial posture and the second expected posture, determining whether the difference between the second initial posture and the second expected posture is less than the preset threshold;

[0015] Step c: If not, generating a second closed-loop control strategy for the target robot based on the closed-loop control model;

[0016] Step d: Based on the second closed-loop control strategy, controlling the target robot to perform closed-loop motion, so as to transform the target robot from the second initial posture to the second desired posture;

[0017] The third desired posture is obtained, and the second desired posture is used as the second initial posture, and the above steps bd are executed repeatedly until the target robot is converted to the target posture.

[0018] In one embodiment, the closed-loop control strategy includes a desired speed, and the controlling the target robot to perform closed-loop motion based on the closed-loop control strategy includes:

[0019] Based on the expected speed, respectively calculating a first speed of each motor in a translational state and a second speed in a rotational state;

[0020] Based on the first speed and the second speed, respectively calculate and obtain the expected speed of each of the motors;

[0021] Based on the desired speed of each motor, each motor is controlled separately.

[0022] In one embodiment, generating a closed-loop control strategy of the target robot based on the closed-loop control model includes:

[0023] Based on the difference between the first initial posture and the first expected posture of the target robot, constructing a plurality of adjustment nodes according to a preset rule;

[0024] Based on the closed-loop control model, calculating the expected speed of the target robot corresponding to each of the adjustment nodes;

[0025] Based on the expected speed of the target robot at each of the adjustment nodes, the first closed-loop control strategy is generated to control the target robot to adjust the speed at the corresponding adjustment node according to the expected speed.

[0026] In one embodiment, the initial speed and the approach speed of the target robot are determined, wherein the approach speed refers to the speed when the distance between the current posture of the target robot and the expected posture is less than a preset distance threshold;

[0027] Inputting the initial speed and the approach speed into the closed-loop control model to calculate the expected speed corresponding to each degree of freedom of the target robot;

[0028] Based on the desired speed, the first closed-loop control strategy is generated.

[0029] In one embodiment, the initial speed is greater than the closing speed, and the closing speed is greater than zero.

[0030] In one embodiment, generating a closed-loop control strategy of the target robot based on the closed-loop control model includes:

[0031] According to the expected posture, obtaining the expected value of each degree of freedom of the target robot;

[0032] According to the initial posture, obtaining the initial value of each degree of freedom of the target robot;

[0033] The expected value and the initial value of each degree of freedom are input into the closed-loop control model separately or simultaneously for calculation, so as to generate a closed-loop control strategy corresponding to each degree of freedom of the target robot.

[0034] In a second aspect, a closed-loop positioning system for a mobile robot based on an exponential transfer function is provided, comprising:

[0035] A posture acquisition unit, used to acquire a first initial posture and a first expected posture of the target robot;

[0036] a difference determination unit, configured to determine, based on the first initial posture and the first expected posture, whether a difference between the first initial posture and the first expected posture is less than a preset threshold;

[0037] A closed-loop control model building unit, used for building a closed-loop control model based on a transfer function of an exponential law when the judgment result is negative;

[0038] A closed-loop control strategy generating unit, used to generate a closed-loop control strategy of the target robot based on the closed-loop control model;

[0039] A posture conversion unit is used to control the target robot to perform closed-loop motion based on the closed-loop control strategy, so as to convert the target robot from the initial posture to the first desired posture.

[0040] In a third aspect, a computer device is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein when the processor executes the computer-readable instructions, the steps of the closed-loop positioning method of a mobile robot based on an exponential transfer function as described above are implemented.

[0041] In a fourth aspect, a readable storage medium is provided, wherein the readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the closed-loop positioning method of a mobile robot based on an exponential transfer function as described above are implemented.

[0042] The above-mentioned closed-loop positioning method, system, computer device and storage medium of the mobile robot based on the exponential transfer function, the method is implemented, including: obtaining the first initial posture and the first expected posture of the target robot; based on the first initial posture and the first expected posture, determining whether the difference between the first initial posture and the first expected posture is less than a preset threshold; if not, constructing a closed-loop control model based on the exponential transfer function; generating a closed-loop control strategy of the target robot based on the closed-loop control model; based on the closed-loop control strategy, controlling the target robot to perform closed-loop motion to convert the target robot from the initial posture to the first expected posture. In the embodiment of the present application, the robot is closed-loop controlled by the exponential transfer function, and the closed-loop control strategy is constructed by inputting the initial posture and the expected posture, so as to control the closed-loop motion of the robot, so as to realize the closed-loop positioning of the mobile robot in a two-dimensional plane of limited size, and in the positioning process, the overshoot can be controlled as small as possible to avoid the problem of collision, falling and other damage to the robot when the robot approaches the boundary, and the response speed is fast and the stability is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0044] Figure 1It is a flow chart of a closed-loop positioning method of a mobile robot based on an exponential transfer function according to an embodiment of the present invention;

[0045] Figure 2 is a curve diagram of a vx curve in one embodiment of the present invention Figure 1 ;

[0046] Figure 3 is a curve diagram of a vx curve in one embodiment of the present invention Figure 2 ;

[0047] Figure 4 is a structural schematic diagram of a closed-loop positioning system for a mobile robot based on an exponential transfer function in one embodiment of the present invention;

[0048] Figure 5 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] In one embodiment, if Figure 1 As shown, a closed-loop positioning method for a mobile robot based on an exponential transfer function is provided, comprising the following steps:

[0051] In step S110, a first initial posture and a first desired posture of the target robot are obtained;

[0052] In the embodiment of the present application, the first initial position refers to the current real-time position of the target robot, such as (x, y, θ), which may include three independent variables, x, y represent the position, and θ represents the posture. That is, three degrees of freedom. It can be understood that the position may also include multiple degrees of freedom, such as 6 degrees of freedom, 7 degrees of freedom, etc., which can be set according to actual conditions, and the present application does not limit it here.

[0053] As an implementation method, the position and posture of the target robot can be continuously photographed by a camera in real time, an image coordinate system can be constructed, and the coordinate positions of the key points of the target robot in the image can be determined. Based on the coordinate positions, the position and posture of the target robot in the image can be determined, and then converted into the robot coordinate system to obtain the position and posture of the target robot in the robot coordinate system, thereby obtaining the current position and posture of the target robot.

[0054] As an implementation method, the current position and posture of the target robot can also be obtained through a pre-set planar position sensor, such as a linear displacement sensor, an angular displacement sensor, etc., to detect the displacement and rotation angle of the target robot, thereby determining the current position and posture of the target robot.

[0055] As an implementation method, the robot's historical travel data can be collected and training samples can be constructed. The posture prediction model, such as the Transformer model, can be iteratively trained through the training samples. When the iterative convergence conditions are met, the trained posture prediction model is obtained. Then, the current travel data of the target robot can be obtained. Through feature engineering, the current travel data is converted into the current travel vector, and input into the trained posture prediction model for prediction processing to obtain the current posture of the target robot. The travel data can be captured image data or posture data over a period of time.

[0056] It can be understood that when posture data is used as prediction data, the current posture at the current moment can be predicted through the posture data of the robot in the past period of time, such as one minute before the current moment. Based on the prediction result, it can be compared with the actual posture again. For example, the similarity can be calculated by Euclidean distance to determine whether the similarity between the two is greater than a preset threshold, such as 90%. If so, the prediction result can be used as the current posture, otherwise, the prediction is made again.

[0057] Furthermore, in order to avoid errors in the recognition of the current posture, the posture can be determined simultaneously in multiple ways, and then the posture with the highest similarity is obtained and determined as the current posture.

[0058] In the embodiment of the present application, the first desired posture can be determined according to the driving strategy and boundary position of the robot, and the driving strategy can include the moving direction, moving position and rotation position of each part and the whole of the robot. For example, when it is necessary to perform a grasping action, the action planning strategy can be the moving direction, moving position and rotation position of the robot arm. Alternatively, the first desired posture can also be set manually.

[0059] In an embodiment of the present application, environmental information can be collected, and based on the environmental information, virtual boundary information can be created, the shape information of the robot can be obtained, and the activity space of the robot can be determined based on the shape information, such as the space required for rotation, the coordinate value of the maximum cross-sectional area of ​​the robot when moving, to determine the space required, etc., and then based on the virtual boundary information and the activity space, not touching the virtual boundary and minimizing the distance between the virtual boundary are used as the goal to determine the first desired posture.

[0060] In step S120, based on the first initial pose and the first desired pose, determine whether the difference between the first initial pose and the first desired pose is less than a preset threshold;

[0061] In an embodiment of the present application, after obtaining the first initial pose and the first desired pose, the difference between the first initial pose and the first desired pose can be calculated. For example, the difference between the initial value and the expected value of each degree of freedom can be calculated separately. Taking the initial position x as an example, the expected position is x0, and it is calculated whether the difference between the two is less than the threshold, that is, |x - x0| < thres, where thres represents the preset threshold. The initial position x and the expected position x0 can be the position coordinates of the robot in the world coordinate system, that is, in the environment where it is located.

[0062] In step S130, if not, based on the transfer function of the exponential law, construct a closed-loop control model;

[0063] In an embodiment of the present application, when the difference between the first initial pose and the first desired pose is less than the preset threshold, it means that no pose conversion is required. At this time, the speed of multiple degrees of freedom can be set to zero to brake the robot. Otherwise, a closed-loop control model can be constructed based on the transfer function of the exponential law.

[0064] Among them, the closed-loop control model can be specifically expressed by the following formula:

[0065]

[0066] Among them, sgn(x) is the sign function, v1 and v2 are speed parameters, v1 > v2 > 0, and the v - x curve is as Figure 2 、 Figure 3 shown, Figure 2 The figure indicates x0 > 0; Figure 3 Figure: x0 < 0. The vertical axis of this curve represents the speed v, and the horizontal axis represents the initial pose x.

[0067] Among them, v1 = F(0, x0), v2 = |F(x0, x0)|. v1 is the starting speed, and v2 is the approaching speed. The approaching speed means that when the robot performs position closed-loop motion according to this exponential law, the initial speed is v1, and the speed is v2 when approaching the desired position. Therefore, when using this exponential law, the physical meaning of the parameters is clear, and it is easy to set and debug the parameters; at the same time, the speed of the robot when approaching the desired position is low, which can greatly reduce or eliminate overshoot, and it is easy to make the robot position closed-loop control have both fast response and no overshoot performance by appropriately increasing v1 and decreasing v2.

[0068] In step S140, based on the closed-loop control model, generate the first closed-loop control strategy for the target robot;

[0069] In an embodiment of the present application, the speed of the target robot can be calculated through the above-mentioned closed-loop control model. The speed may include multiple speeds, namely, the speeds corresponding to each degree of freedom. Based on the speed, a speed adjustment strategy for each degree of freedom can be generated as the first closed-loop control strategy.

[0070] In an embodiment of the present application, the first closed-loop control strategy may include the expected speed corresponding to each degree of freedom, as well as the adjustment order and adjustment time of the degree of freedom, such as completing the adjustment within 1 second.

[0071] The expected speed refers to the x-axis speed v of the robot in the robot coordinate system. x , y-axis speed v y And angular velocity ω, the posture is the posture in the world coordinate system. It can be understood that by inputting the posture in the world coordinate system, the expected speed of each degree of freedom in the robot coordinate system can be output.

[0072] In step S150, based on the first closed-loop control strategy, the target robot is controlled to perform closed-loop motion to transform the target robot from the initial posture to the first desired posture.

[0073] In an embodiment of the present application, based on the generated first closed-loop control strategy, the expected speed of each degree of freedom can be converted into the expected speed of each motor of the robot through inverse kinematic solution, and the speed servo of the robot is completed through the speed loop implemented inside the motor, thereby achieving speed adjustment of each degree of freedom of the target robot, so as to transform the target robot from the initial posture to the first expected posture.

[0074] In an embodiment of the present application, the robot can detect the environment in real time during the posture conversion process, such as ultrasonic sensors, visual sensors, etc., to determine whether there are obstacles around, such as temporary objects, people, steps, etc., which may block the movement and rotation of the robot. At this time, the movement can be stopped and an alarm message can be output. If the obstacle is not cleared within a preset time range, the path can be re-planned based on the location of the obstacle, and the expected posture can be re-determined based on the re-planned path, and the closed-loop control strategy can be generated again based on the re-determined expected posture.

[0075] Furthermore, when the initial posture of the robot changes, the current posture of the robot can be obtained as the initial posture, or the posture of the robot can be called back to restore to the initial posture, and then the first closed-loop control strategy is generated based on the re-determined expected posture.

[0076] In an embodiment of the present application, a closed-loop positioning method for a mobile robot based on an exponential transfer function is provided, comprising: obtaining a first initial position and a first desired position of a target robot; determining whether the difference between the first initial position and the first desired position is less than a preset threshold value based on the first initial position and the first desired position; if not, constructing a closed-loop control model based on an exponential transfer function; generating a first closed-loop control strategy for the target robot based on the closed-loop control model; and controlling the target robot to perform closed-loop motion based on the first closed-loop control strategy to convert the target robot from the initial position to the first desired position. In an embodiment of the present application, the robot is closed-loop controlled by an exponential transfer function, and a closed-loop control strategy is constructed by inputting the initial position and the desired position, so as to control the closed-loop motion of the robot, so that the closed-loop positioning of the mobile robot in a two-dimensional plane of limited size can be realized, and in the positioning process, the overshoot can be controlled as small as possible to avoid collision, falling, and other damage to the robot when the robot approaches the boundary, and the response speed is fast and the stability is high.

[0077] In one embodiment of the present application, generating a first closed-loop control strategy for the target robot based on the closed-loop control model includes:

[0078] Based on the difference between the first initial posture and the first expected posture of the target robot, constructing a plurality of adjustment nodes according to a preset rule;

[0079] Based on the closed-loop control model, calculating the expected speed of the target robot corresponding to each of the adjustment nodes;

[0080] Based on the expected speed of the target robot at each of the adjustment nodes, the first closed-loop control strategy is generated to control the target robot to adjust the speed at the corresponding adjustment node according to the expected speed.

[0081] Specifically, based on the difference between the first initial posture and the first expected posture of the target robot, multiple adjustment nodes can be constructed according to time points, distance points, angle points, etc. The adjustment nodes are used as speed adjustment points, that is, the speed is adjusted between adjacent adjustment points. For example, taking the initial position x and the expected position x0 as an example, the difference between the two positions, that is, the distance, can be used to construct multiple distance nodes as adjustment nodes, and the expected speed of the target robot corresponding to each of the adjustment nodes can be calculated based on the closed-loop control model to control the target robot to perform closed-loop motion at the corresponding adjustment node according to the expected speed. In this application, the initial posture and the expected posture in each cycle can be divided into nodes again, and the speed between each node can be calculated and determined, so that the speed of multiple degrees of freedom between the initial posture and the expected posture in each cycle can be dynamically adjusted, which can make the speed adjustment more accurate and stable.

[0082] In one embodiment of the present application, generating a first closed-loop control strategy for the target robot based on the closed-loop control model includes:

[0083] Determine an initial speed and a closing speed of the target robot, wherein the closing speed refers to a speed when the distance between the current posture of the target robot and the desired posture is less than a preset distance threshold;

[0084] Inputting the initial speed and the approach speed into the closed-loop control model to calculate the expected speed corresponding to each degree of freedom of the target robot;

[0085] Based on the desired speed, the first closed-loop control strategy is generated.

[0086] Specifically, the initial speed and approach speed can be set manually or automatically by the system. By setting the initial speed and approach speed, the speed of the robot can be lowered when approaching the desired position, which can greatly reduce or eliminate overshoot. The initial speed and approach speed are input into the following formula to obtain the desired speed.

[0087]

[0088] Among them, sgn(x) is the sign function, v1 is the initial velocity, and v2 is the approach velocity.

[0089] Among them, the initial speed is greater than the approach speed, and the approach speed is greater than 0. By appropriately increasing v1 and reducing v2, the robot position closed-loop control has the performance of fast response and no overshoot.

[0090] In an embodiment of the present application, after controlling the target robot to perform closed-loop motion based on the closed-loop control strategy to convert the target robot from the initial pose to the first desired pose, it includes:

[0091] Step a: Obtain a second desired pose and use the first desired pose as the second initial pose;

[0092] Step b: Based on the second initial pose and the second desired pose, determine whether the difference between the second initial pose and the second desired pose is less than the preset threshold;

[0093] Step c: If not, generate a second closed-loop control strategy for the target robot based on the closed-loop control model;

[0094] Step d: Based on the second closed-loop control strategy, control the target robot to perform closed-loop motion to convert the target robot from the second initial pose to the second desired pose;

[0095] Obtain a third desired pose, use the second desired pose as the second initial pose, and repeatedly execute the above steps b-d until the target robot is converted to the target pose.

[0096] Specifically, during the pose adjustment process of the robot, it can be divided into multiple control cycles. In each control cycle, there is an initial pose and a desired pose. For example, in the first cycle, obtain the first initial pose and the first desired pose, then construct a closed-loop control model, and generate a first closed-loop control strategy through this model, so as to convert the first initial pose to the first desired pose. Then use this first desired pose as the initial pose of the next control cycle, and obtain the desired pose of the next cycle again, and then perform the closed-loop motion adjustment of the next cycle until the target robot is converted to the target pose.

[0097] Among them, the control cycle can be divided according to time, distance, rotation angle, etc.

[0098] It can be understood that in each control cycle, when v2T < thres, the robot will jump out of the loop braking before entering the dead zone |x - x0| < thres and crossing the desired position x0, so as to ensure that there is no overshoot in positioning.

[0099] In the embodiment of the present application, not only can multiple control cycles be constructed, and the desired speed of each degree of freedom can be calculated and adjusted in each control cycle, but also the division of adjustment nodes can be performed again in each control cycle, and the desired speed of each node can be calculated, so as to form a continuous speed change adjustment strategy, which can improve the accuracy of speed adjustment.

[0100] It can be understood that in each control cycle, there is an initial speed and a closing speed, and the initial speed and the closing speed in each cycle may be different.

[0101] In an embodiment of the present application, the closed-loop control strategy includes a desired speed, and the control of the target robot to perform closed-loop motion based on the first closed-loop control strategy includes:

[0102] Based on the expected speed, respectively calculating a first speed of each motor in a translational state and a second speed in a rotational state;

[0103] Based on the first speed and the second speed, respectively calculate and obtain the expected speed of each of the motors;

[0104] Based on the desired speed of each motor, each motor is controlled separately.

[0105] Specifically, the expected speed may include the expected speed of multiple degrees of freedom. Taking three degrees of freedom (x, y, θ) as an example, the x-axis speed v x , y-axis speed v y And angular velocity ω, the motor is taken as an example with 4 motors, such as L1, L2, R1, R2 are respectively set at the upper left, lower left, upper right and lower right of the robot's top view, which can be used to control the rotation of the robot's Mecanum wheel. Then, in the translation state, the speed of the motor can be expressed as:

[0106] v R1 (translation) = v x -v y ;

[0107] v R2 (Translation) = -v x -v y ;

[0108] v l1 (translation) = v x +v y ;

[0109] v l2 (Translation) = -v x +v y ;

[0110] In the rotating state, the speed of the motor can be expressed as:

[0111] v R1 (rotation) = -(x + y)Ω;

[0112] v R2 (rotation) = -(x + y)Ω;

[0113] vl1 (rotation) = -(x + y)Ω;

[0114] v l2 (rotation) = -(x + y)Ω;

[0115] Then, through the above formula, the expected speed of each motor can be obtained as:

[0116] v R1 =v x -v y -(x+y)Ω;

[0117] v R2 =-v x -v y -(x+y)Ω;

[0118] v l1 =v x +v y -(x+y)Ω;

[0119] v l2 =-v x +v y -(x+y)Ω;

[0120] Based on the expected speeds of the above motors, a speed loop is implemented inside each motor to achieve the speed servo of the robot.

[0121] It is understandable that different robots have different structures, so the number and position of the motors will also be different.

[0122] In an embodiment of the present application, generating a first closed-loop control strategy for the target robot based on the closed-loop control model includes:

[0123] According to the expected posture, obtaining the expected value of each degree of freedom of the target robot;

[0124] According to the initial posture, obtaining the initial value of each degree of freedom of the target robot;

[0125] The expected value and the initial value of each degree of freedom are input into the closed-loop control model separately or simultaneously for calculation, so as to generate a closed-loop control strategy corresponding to each degree of freedom of the target robot.

[0126] Specifically, the desired posture can be input into the closed-loop control model, and the desired posture can be decomposed and calculated through the closed-loop control model to obtain the expected speed of each degree of freedom. Alternatively, the desired posture can be directly decomposed to obtain position parameters x, y, and attitude parameters θ, and then the position parameters and attitude parameters are respectively input into the closed-loop control model to obtain the expected speed corresponding to each degree of freedom. Then, based on the expected speed, a closed-loop control strategy for each degree of freedom can be generated.

[0127] In an embodiment of the present application, the robot is closed-loop controlled through an exponential transfer function, and a closed-loop control strategy is constructed by inputting an initial posture and a desired posture to control the closed-loop motion of the robot. Closed-loop positioning of the mobile robot in a two-dimensional plane of limited size can be achieved, and during the positioning process, the overshoot can be controlled to be as small as possible to avoid damage to the robot such as collision or falling when the robot approaches the boundary, and the response speed is fast and the stability is high.

[0128] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0129] In one embodiment, a mobile robot closed-loop positioning system based on an exponential transfer function is provided, and the mobile robot closed-loop positioning system based on an exponential transfer function corresponds one-to-one to the mobile robot closed-loop positioning method based on an exponential transfer function in the above embodiment. Figure 4 As shown, the closed-loop positioning device for a mobile robot based on an exponential transfer function includes a posture acquisition unit 10, a difference determination unit 20, a closed-loop control model construction unit 30, a closed-loop control strategy generation unit 40 and a posture conversion unit 50. The functional modules are described in detail as follows:

[0130] A posture acquisition unit 10 is used to acquire a first initial posture and a first desired posture of the target robot;

[0131] a difference determination unit 20, configured to determine, based on the first initial posture and the first expected posture, whether a difference between the first initial posture and the first expected posture is less than a preset threshold;

[0132] A closed-loop control model building unit 30, used to build a closed-loop control model based on a transfer function of an exponential law when the judgment result is no;

[0133] A closed-loop control strategy generating unit 40, configured to generate a first closed-loop control strategy for the target robot based on the closed-loop control model;

[0134] The posture conversion unit 50 is used to control the target robot to perform closed-loop motion based on the first closed-loop control strategy, so as to convert the target robot from the initial posture to the first desired posture.

[0135] In one embodiment of the present application, the system further comprises a circulation unit, which is used to:

[0136] Step a: obtaining a second desired posture, and using the first desired posture as a second initial posture;

[0137] Step b: based on the second initial posture and the second expected posture, determining whether the difference between the second initial posture and the second expected posture is less than the preset threshold;

[0138] Step c: If not, generating a second closed-loop control strategy for the target robot based on the closed-loop control model;

[0139] Step d: Based on the second closed-loop control strategy, controlling the target robot to perform closed-loop motion, so as to transform the target robot from the second initial posture to the second desired posture;

[0140] The third desired posture is obtained, and the second desired posture is used as the second initial posture, and the above steps bd are executed repeatedly until the target robot is converted to the target posture.

[0141] In one embodiment of the present application, the first closed-loop control strategy includes a desired speed, and the posture conversion unit 50 is further used to:

[0142] Based on the expected speed, respectively calculating a first speed of each motor in a translational state and a second speed in a rotational state;

[0143] Based on the first speed and the second speed, respectively calculate and obtain the expected speed of each of the motors;

[0144] Based on the desired speed of each motor, each motor is controlled separately.

[0145] In one embodiment of the present application, the closed-loop control strategy generation unit 40 is further configured to:

[0146] Based on the difference between the first initial posture and the first expected posture of the target robot, constructing a plurality of adjustment nodes according to a preset rule;

[0147] Based on the closed-loop control model, calculating the expected speed of the target robot corresponding to each of the adjustment nodes;

[0148] Based on the expected speed of the target robot at each of the adjustment nodes, the first closed-loop control strategy is generated to control the target robot to adjust the speed at the corresponding adjustment node according to the expected speed.

[0149] In one embodiment of the present application, the closed-loop control strategy generation unit 40 is further configured to:

[0150] Determine an initial speed and a closing speed of the target robot, wherein the closing speed refers to a speed when the distance between the current posture of the target robot and the desired posture is less than a preset distance threshold;

[0151] Inputting the initial speed and the approach speed into the closed-loop control model to calculate the expected speed corresponding to each degree of freedom of the target robot;

[0152] Based on the desired speed, the first closed-loop control strategy is generated.

[0153] In an embodiment of the present application, the initial speed is greater than the closing speed, and the closing speed is greater than zero.

[0154] In one embodiment of the present application, the closed-loop control strategy generation unit 40 is further configured to:

[0155] According to the expected posture, obtaining the expected value of each degree of freedom of the target robot;

[0156] According to the initial posture, obtaining the initial value of each degree of freedom of the target robot;

[0157] The expected value and the initial value of each degree of freedom are input into the closed-loop control model separately or simultaneously for calculation, so as to generate a closed-loop control strategy corresponding to each degree of freedom of the target robot.

[0158] In an embodiment of the present application, the robot is closed-loop controlled through an exponential transfer function, and a closed-loop control strategy is constructed by inputting an initial posture and a desired posture to control the closed-loop motion of the robot. Closed-loop positioning of the mobile robot in a two-dimensional plane of limited size can be achieved, and during the positioning process, the overshoot can be controlled to be as small as possible to avoid damage to the robot such as collision or falling when the robot approaches the boundary, and the response speed is fast and the stability is high.

[0159] For the specific definition of the closed-loop positioning device of a mobile robot based on an exponential transfer function, please refer to the definition of the closed-loop positioning method of a mobile robot based on an exponential transfer function in the above text, which will not be repeated here. Each module in the above-mentioned closed-loop positioning device of a mobile robot based on an exponential transfer function can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.

[0160] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a closed-loop positioning method for a mobile robot based on an exponential transfer function is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0161] In an embodiment of the present application, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the closed-loop positioning method of a mobile robot based on an exponential transfer function as described above are implemented.

[0162] In an embodiment of the application, a readable storage medium is provided, wherein the readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the closed-loop positioning method of a mobile robot based on an exponential transfer function as described above are implemented.

[0163] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0164] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0165] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A closed-loop positioning method for a mobile robot based on an exponential transfer function, characterized in that: The method comprises: Acquire a first initial position and a first desired position of the target robot; Based on the first initial posture and the first expected posture, determining whether a difference between the first initial posture and the first expected posture is less than a preset threshold; If not, a closed-loop control model is constructed based on the transfer function of the exponential law; Based on the closed-loop control model, generating a first closed-loop control strategy for the target robot; Based on the first closed-loop control strategy, the target robot is controlled to perform closed-loop motion to transform the target robot from the initial posture to the first desired posture.

2. The closed-loop positioning method for a mobile robot based on an exponential transfer function as claimed in claim 1, characterized in that: The method of controlling the target robot to perform closed-loop motion based on the closed-loop control strategy to transform the target robot from the initial posture to the first desired posture comprises: Step a: obtaining a second desired posture, and using the first desired posture as a second initial posture; Step b: based on the second initial posture and the second expected posture, determining whether the difference between the second initial posture and the second expected posture is less than the preset threshold; Step c: If not, generating a second closed-loop control strategy for the target robot based on the closed-loop control model; Step d: Based on the second closed-loop control strategy, controlling the target robot to perform closed-loop motion, so as to transform the target robot from the second initial posture to the second desired posture; The third desired posture is obtained, and the second desired posture is used as the second initial posture, and the above steps bd are executed repeatedly until the target robot is converted to the target posture.

3. The closed-loop positioning method for a mobile robot based on an exponential transfer function as claimed in claim 1, characterized in that: The first closed-loop control strategy includes an expected speed, and controlling the target robot to perform closed-loop motion based on the first closed-loop control strategy includes: Based on the expected speed, respectively calculating a first speed of each motor in a translational state and a second speed in a rotational state; Based on the first speed and the second speed, respectively calculate and obtain the expected speed of each of the motors; Based on the desired speed of each motor, each motor is controlled separately.

4. The closed-loop positioning method for a mobile robot based on an exponential transfer function as claimed in claim 1, characterized in that: The step of generating a first closed-loop control strategy for the target robot based on the closed-loop control model comprises: Based on the difference between the first initial posture and the first expected posture of the target robot, constructing a plurality of adjustment nodes according to a preset rule; Based on the closed-loop control model, calculating the expected speed of the target robot corresponding to each of the adjustment nodes; Based on the expected speed of the target robot at each of the adjustment nodes, the first closed-loop control strategy is generated to control the target robot to adjust the speed at the corresponding adjustment node according to the expected speed.

5. The closed-loop positioning method for a mobile robot based on an exponential transfer function as claimed in claim 1, characterized in that: Determining the initial speed and the approach speed of the target robot, wherein the approach speed refers to the speed when the distance between the current posture of the target robot and the expected posture is less than a preset distance threshold; Inputting the initial speed and the approach speed into the closed-loop control model to calculate the expected speed corresponding to each degree of freedom of the target robot; Based on the desired speed, the first closed-loop control strategy is generated.

6. The closed-loop positioning method for a mobile robot based on an exponential transfer function as claimed in claim 5, characterized in that: The initial speed is greater than the closing speed, and the closing speed is greater than zero.

7. The closed-loop positioning method for a mobile robot based on an exponential transfer function as claimed in claim 1, characterized in that: The step of generating a first closed-loop control strategy for the target robot based on the closed-loop control model comprises: According to the expected posture, obtaining the expected value of each degree of freedom of the target robot; According to the initial posture, obtaining the initial value of each degree of freedom of the target robot; The expected value and the initial value of each degree of freedom are input into the closed-loop control model separately or simultaneously for calculation, so as to generate a closed-loop control strategy corresponding to each degree of freedom of the target robot.

8. A closed-loop positioning system for a mobile robot based on an exponential transfer function, characterized in that: The system comprises: A posture acquisition unit, used to acquire a first initial posture and a first expected posture of the target robot; a difference determination unit, configured to determine, based on the first initial posture and the first expected posture, whether a difference between the first initial posture and the first expected posture is less than a preset threshold; A closed-loop control model building unit, used for building a closed-loop control model based on a transfer function of an exponential law when the judgment result is negative; A closed-loop control strategy generating unit, used for generating a first closed-loop control strategy for the target robot based on the closed-loop control model; A posture conversion unit is used to control the target robot to perform closed-loop motion based on the first closed-loop control strategy, so as to convert the target robot from the initial posture to the first desired posture.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the steps of the closed-loop positioning method of a mobile robot based on an exponential transfer function as described in any one of claims 1 to 7 are implemented.

10. A readable storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the steps of the closed-loop positioning method of a mobile robot based on an exponential transfer function are implemented as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control system and method capable of realizing autonomous navigation and precise positioning of mobile robot

    CN110262495A

  • Robot positioning method and device, intelligent robot and storage medium

    CN112711249A

  • Robot chess playing method and device, computer readable storage medium and robot

    CN114237233A

  • Target tracking method and system and storage medium

    CN115100235A

  • Mechanical arm control method based on improved impedance control

    CN115416021A