CIDV shake elimination method used in advancing of double-wheel differential robot
Through detailed segmentation and acceleration curve optimization of the two-wheel differential robot's path planning, the robot navigation error and jitter problems are solved, navigation accuracy and smooth changes in acceleration and deceleration are achieved, and the complexity of PI adjustment and noise problems are reduced.
Patent Information
- Application Number
- CN202410711485.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-10-18
Smart Images

Figure CN118794435A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot technology, and in particular to a CIDV de-shaking method for a two-wheel differential robot during its travel. Background Art
[0002] The robot SLAM and autonomous navigation system mainly involves three key points: first, accurate map modeling; second, accurate robot positioning; third, real-time path planning. Unlike outdoor positioning and navigation, which can use GPS, this problem in indoor environments is more complicated. The reason is that the robot starts to move from an unknown position in an unknown environment. During the movement, it locates itself according to the position estimation and map, and builds an incremental map to realize the robot's autonomous positioning and navigation. Just like a blind person in an unknown environment, if he wants to perceive the general situation around him, he needs to stretch his hands as his "sensors" and constantly explore whether there are obstacles around. Of course, this "sensor" has a range, and he needs to keep moving while integrating the perceived information in his mind. When he feels that the newly explored environment seems to be a certain location he has encountered before, he will correct the integrated map in his mind and also correct his current position. Of course, as a blind person, his perception ability is limited, so there will be errors in the environmental information he explores, and he will set a probability value for the explored obstacles according to his degree of certainty. The larger the probability value, the greater the possibility of obstacles here.
[0003] At present, the robot SLAM and autonomous navigation process of the dual-wheel differential hub motor have high requirements for the motor acceleration / deceleration. In the dynamic path planning process, only a single trapezoidal linear acceleration / deceleration is used. When the acceleration is too small, the jitter phenomenon is slight, but the navigation error is too large, the robot route deflects, and even navigation fails; when the acceleration is too large, the start and stop jitter of the robot when finding a point is too large, and in severe cases, the robot may overturn and cause a safety accident. The general solution is to add a digital PI regulator, but the PI value is within a small range and has no obvious solution effect. If the P value is too large, it will cause the robot to be pulled back and forth during walking, and if the I value is too large, it will cause resonance in the robot's closed cavity, increasing the current noise when the motor is running. Therefore, it is urgent to develop a CIDV de-jitter method for dual-wheel differential robots to solve the above technical problems.
[0004] In view of this, the present invention is proposed. Summary of the invention
[0005] In view of the problems existing in the prior art, the purpose of the present invention is to provide a CIDV de-jittering method for a two-wheel differential robot in motion, so that the speed value of addition and subtraction changes presents a smooth curve with the integral of speed and time, and by maintaining the acceleration at a larger value, the robot can respond sensitively to the instructions given by dynamic path planning to the movement, navigate accurately, and start and stop smoothly without jitter.
[0006] In order to achieve the above object, the present invention provides a CIDV debounce method for a two-wheel differential robot during movement, comprising the following steps: S1: Extract each interval data of the path planning interval one by one, and record each indicator data set I: This solution finally calculates the constraint function f and weighted value required for speed and acceleration , depends on a continuous variable interval, requiring that the interval of the selected points should at least satisfy that the discontinuity points can be covered by a zero measure set, and the interval as a whole is continuous. Relax the restrictions and allow a few discontinuous points to exist. The unified operation is: for each interval, select the upper and lower and the interval tends to zero, which can be defined as The i-th subinterval of ] The upper and lower sums of the upper function f are denoted as and ; For the interval limit operation, this step provides the speed value for the final speed value calculated by the weighted constraint below; S2: Refine the small segmentation of each indicator data set I until the width of each small segmentation of each indicator data and amplitude ; This step is used for the secondary segmentation of the indicator set selected in the above step to obtain the effect of further refining the interval and provide a more continuous interval to ensure that the final acceleration curve is smooth; S3: Select a representative point in the small segmentation, take the speed of the point to represent the speed at that moment, and then calculate the acceleration and deceleration to be changed according to the constraints and weighting function; S4: Return to the process of S2 and continue to execute the loop until all indicator data are traversed and the overall planned trajectory is obtained.
[0007] Preferably, the specific steps of S1 are: For any partition of the interval [a, b] ,exist The i-th subinterval of ] The upper and lower bounds of the function f are denoted as , record the above segmentation into the indicator data set I.
[0008] Preferably, the specific steps of S2 are: Kinematic model functions for up-down and near-identical cases , the formula is: ; Establishing kinematic model function The total constraint function is piecewise continuous and differentiable, and the formula is: ; ; in, In order to comprehensively consider the objective function of various constraints, For this kinematic model, the piecewise continuous and differentiable total constraint function is is the constraint function Take the first two variables as (amplitude) and The constraints of the time, is the weight of each item, is the optimal path indicator set planned, is the offset factor, S is the scaling factor, and n is the order.
[0009] Preferably, the specific steps of S3 are: Select a marker point in the small segmentation, and take the speed of this point to represent the curve speed of the small segmentation interval , gradually give the acceleration and deceleration to be changed ; Among them, the curve speed is calculated using the following formulas and acceleration / deceleration :
[0010] The present invention provides a CIDV de-jittering method for a two-wheel differential robot during travel, which has the following beneficial effects: 1. The present invention effectively avoids the technical problem that in the prior art, in the process of dynamic path planning, only the overall planning process is divided, but the small intervals within each planned displacement are not divided, and the division granularity is not fine enough. The present invention provides a CIDV de-shaking method for the movement of a two-wheel differential robot, which not only re-divides the segmentation, but also directly abandons the abnormal situation of the original scheme such as the discontinuity point in the navigation process, thereby reducing the navigation accuracy. It adopts a zero-measure set to cover, ensuring that as many segmentations as possible are still continuous and integrable everywhere. The theory is still valid, so as to uniformly handle abnormal situations, while solving the drawbacks of the original scheme and improving the efficiency of the navigation method. Among them, CIDV is CurveIncreaseDecreaseVocity, which means curve acceleration and deceleration.
[0011] 2. The present invention does not limit the adjustment of acceleration and deceleration to alleviate the jitter phenomenon, so the acceleration and deceleration has a higher adjustment range, and the value can be set to more than 60rpm, thereby ensuring the accuracy of navigation.
[0012] 3. Since the present invention does not rely on PI regulation to mitigate the jitter phenomenon, it is not necessary to match the P value and I value case by case, thereby reducing programming, deployment and debugging costs, thereby avoiding the inevitable repeated pulling and current noise in PI regulation for the actual situation of the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 The present invention provides a flow chart of a CIDV de-jittering method for a two-wheel differential robot during movement. DETAILED DESCRIPTION
[0014] The present invention is further described below in conjunction with specific embodiments and drawings to help understand the content of the present invention.
[0015] like Figure 1 FIG. 2 is a flow chart of a CIDV de-jittering method for a two-wheel differential robot provided by the present invention. The CIDV de-jittering method for a two-wheel differential robot comprises the following steps: S1: Extract each interval data of the path planning interval one by one, and record each indicator data set I: This solution finally calculates the constraint function f and weighted value required for speed and acceleration , depends on a continuous variable interval, requiring that the interval of the selected points should at least satisfy that the discontinuity points can be covered by a zero measure set, and the interval as a whole is continuous. Relax the restrictions and allow a few discontinuous points to exist. The unified operation is: for each interval, select the upper and lower and the interval tends to zero, which can be defined as The i-th subinterval of ] The upper and lower sums of the upper function f are denoted as and ; For the interval limit operation, this step provides the speed value for the final speed value calculated by the weighted constraint below; S2: Refine the small segmentation of each indicator data set I until the width of each small segmentation of each indicator data and amplitude ; This step is used for the secondary segmentation of the indicator set selected in the above step to obtain the effect of further refining the interval and provide a more continuous interval to ensure that the final acceleration curve is smooth; S3: Select a representative point in the small segmentation, take the speed of the point to represent the speed at that moment, and then calculate the acceleration and deceleration to be changed according to the constraints and weighting function; S4: Return to the process of S2 and continue to execute the loop until all indicator data are traversed and the overall planned trajectory is obtained.
[0016] The specific steps of S1 are: For any partition of the interval [a, b] ,exist The i-th subinterval of ] The upper and lower bounds of the function f are denoted as , record the above segmentation into the indicator data set I.
[0017] The specific steps of S2 are: Kinematic model functions for up-down and near-identical cases , the formula is: ; Establishing kinematic model function The total constraint function is piecewise continuous and differentiable, and the formula is: ; ; in, In order to comprehensively consider the objective function of various constraints, For this kinematic model, the piecewise continuous and differentiable total constraint function is is the constraint function Take the first two variables as (amplitude) and The constraints of the time, is the weight of each item, is the optimal path indicator set planned, is the offset factor, S is the scaling factor, and n is the order.
[0018] The specific steps of S3 are: Select a marker point in the small segmentation, and take the speed of this point to represent the curve speed of the small segmentation interval , gradually give the acceleration and deceleration to be changed ; Among them, the curve speed is calculated using the following formulas and acceleration / deceleration :
[0019] In the prior art, the speed of the robot during movement is a trapezoidal speed, and its corresponding acceleration is an extreme point at the inflection point of the trapezoidal speed curve. The acceleration directions are generally different around the extreme point. According to the situation when Newton's kinematics law is applied to the mass point, F=ma, so that the instantaneous output direction of the hub motor at the inflection point is different, which leads to exceeding the rated efficiency of the hub motor hardware output. In view of the problem that this acceleration curve cannot achieve the smoothness similar to the arc curve, the present invention adopts a new acceleration selection method to make the final speed and acceleration curve smooth, so that during the operation of the robot, the motor output is smooth and no instantaneous acceleration inflection point or sharp point is generated. By keeping the acceleration at a large value, the present invention is sensitive to the indication of the robot's movement in dynamic path planning, and can ensure the accuracy of the navigation route. At the same time, the acceleration and deceleration value method of the present invention is adopted to make the speed value of the addition and subtraction change present a smooth curve with the integration of speed and time, instead of only using a single trapezoidal linear acceleration and deceleration, so as to achieve accurate navigation and smooth start and stop without jitter.
[0020] In the original dynamic path planning process, an optimal path will be planned between the starting point A of the robot and the destination B to be reached. In this entire path, each small interval will be divided, and each small interval will be given a travel speed and posture at that time (simply understood as direction). In view of the above process, the present invention, based on the travel information of the small intervals planned at each moment, further refines the speed information of the small intervals into as many small segments as possible. The maximum value of each small segment is the upper limit value M, and the minimum value is the lower limit value m. The amplitude is defined , the width is , when the number of refined parts is large enough, that is: , under the limit state, the limit of the linear speed of these small divisions is equal to the slope of the curve at that point (the differential of the displacement is the speed), that is, the speed. When there are first-class discontinuity points in each small interval, because the small divisions are small enough, they can be covered by the zero measure set, and the method can still be closed-loop. Thus, the original steep linear change in speed is converted into a smooth curve change, and the acceleration and deceleration values are set step by step. Therefore, the curve acceleration and deceleration of the present invention is used to replace the original trapezoidal acceleration and deceleration (the slope of the trapezoidal acceleration and deceleration is a slant line, and the speed change is not smooth), which solves the jitter problem of the robot during movement.
[0021] The invention concept is described in detail using specific examples herein, and the description of the above embodiments is only used to help understand the core idea of the invention. It should be pointed out that any obvious modification, equivalent substitution or other improvement made by a person of ordinary skill in the art without departing from the invention concept should be included in the protection scope of the present invention.
Claims
1. A CIDV de-jittering method for a two-wheel differential robot, characterized in that: The steps include: S1: Extract each interval data of the path planning interval one by one, and record each indicator data set I: This solution finally calculates the constraint function f and weighted value required for speed and acceleration , depends on a continuous variable interval, requiring that the interval of the selected points should at least satisfy that the discontinuity points can be covered by a zero measure set, and the interval as a whole is continuous. Relax the restrictions and allow a few discontinuous points to exist. The unified operation is: for each interval, select the upper and lower and the interval tends to zero, which can be defined as The i-th subinterval of ] The upper and lower sums of the upper function f are denoted as and ; For the interval limit operation, this step provides the speed value for the final speed value calculated by the weighted constraint below; S2: Refine the small segmentation of each indicator data set I until the width of each small segmentation of each indicator data and amplitude ; This step is used for the secondary segmentation of the indicator set selected in the above step to obtain the effect of further refining the interval and provide a more continuous interval to ensure that the final acceleration curve is smooth; S3: Select a representative point in the small segmentation, take the speed of the point to represent the speed at that moment, and then calculate the acceleration and deceleration to be changed according to the constraints and weighting function; S4: Return to the process of S2 and continue to execute the loop until all indicator data are traversed and the overall planned trajectory is obtained.
2. A CIDV de-jittering method for a two-wheel differential robot according to claim 1, characterized in that: The specific steps of S1 are: For any partition of the interval [a, b] ,exist The i-th subinterval of ] The upper and lower bounds of the function f are denoted as , record the above segmentation into the indicator data set I.
3. A CIDV de-jittering method for a two-wheel differential robot according to claim 2, characterized in that: The specific steps of S2 are: Kinematic model functions for up-down and near-identical cases , the formula is: ; Establishing kinematic model function The total constraint function is piecewise continuous and differentiable, and the formula is: ; ; in, In order to comprehensively consider the objective function of various constraints, For this kinematic model, the piecewise continuous and differentiable total constraint function is is the constraint function Take the first two variables as (amplitude) and The constraints of the time, is the weight of each item, is the optimal path indicator set planned, is the offset factor, S is the scaling factor, and n is the order.
4. A CIDV de-jittering method for a two-wheel differential robot according to claim 1, characterized in that: The specific steps of S3 are: Select a marker point in the small segmentation, and take the speed of this point to represent the curve speed of the small segmentation interval , gradually give the acceleration and deceleration to be changed ; Among them, the curve speed is calculated using the following formulas and acceleration / deceleration :
