Active following method for split type AGV motion posture
By establishing a simplified motion model and posture model of the four-wheel differential AGV, combined with a laser rangefinder and a PID controller, the precise posture correction and trajectory following of the split AGV are achieved, solving the problem of lidar navigation following in a high-speed environment. The problem of inaccuracy improves the autonomous navigation and collaborative working capabilities of AGV.
Patent Information
- Application Number
- CN202410569928.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-08-30
AI Technical Summary
Existing lidar navigation cannot achieve precise tracking between the split AGV and the main AGV in a high-speed, high-precision, and high-real-time environment.
By establishing a four-wheel differential AGV motion model and simplifying it into a two-wheel differential drive model, combined with a laser rangefinder and a reflector, the pose offset of the slave AGV relative to the master AGV is calculated in real time, and the PID controller is used to dynamically adjust Wheel angular velocity enables precise posture correction and trajectory following of the AGV.
It significantly improves the autonomous navigation and collaborative working capabilities of the split AGV in complex environments, improves the accuracy and dynamic adaptability of following, reduces manual intervention, and improves operational safety and efficiency.
Smart Images

Figure CN118567352A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of autonomous posture following and tracking of split-type master-slave AGVs, and in particular to an active following method for the motion posture of a split-type AGV. Background Art
[0002] Automatic Guided Vehicles (AGVs) are capable of carrying a certain load and driving accurately along a given path. They can use sensors to explore the surrounding environment and automatically find the optimal path and position themselves and track the set trajectory. Especially in the field of automatic parking, which requires high position accuracy, the underlying basic trajectory tracking needs to be strictly controlled.
[0003] The AGV system is a strongly coupled nonlinear dynamic system with various parametric and non-parametric uncertainties, and has external uncertainties such as wheel size, load changes, and ground height fluctuations, which often cause the AGV to deviate from its trajectory during automatic tracking and navigation. In the field of automatic parking technology, there are many navigation methods for AGV, such as magnetic strip navigation with a fixed path, ribbon navigation, QR code navigation, and free mode laser navigation. Among them, magnetic strip navigation is the most common, because the entire driving path of the AGV has a magnetic strip to provide continuous navigation information, so it is simple to use and highly safe. The disadvantage is that the magnetic strip is damaged by rolling or corrosion and requires frequent maintenance. Ribbon navigation has similar advantages to magnetic strip navigation, but like QR code navigation, it belongs to visual navigation, has high requirements for the application environment, and needs to keep the ribbon and QR code clear and tidy at all times, so it is not easy to maintain.
[0004] For the motion path navigation of split master-slave AGV, the current mainstream technologies basically adopt the free path navigation solution, and use sensor equipment to obtain environmental information to make path decisions. The main technologies include optical navigation, GPS navigation, inertial navigation, etc. Among them, optical navigation mainly includes active optical navigation (laser navigation) and passive optical navigation (visual navigation). The main advantages of optical navigation are that the AGV path can be flexibly planned, accurate positioning, convenient construction, and can adapt to various actual environments. Among them, the disadvantages of visual navigation based on optical cameras are high cost, and when the driving area is large, the calculation time is long and the operation efficiency is low. The commonly used methods of laser navigation are divided into laser navigation with reflectors and laser radar autonomous navigation (SLAM). Among them, laser navigation with reflectors is navigation based on reflector positioning. The disadvantage is that the laser and reflector cannot be blocked in the application environment, and it is suitable for places with relatively stable environments. Lidar navigation obtains the map of the entire working environment by detecting the terrain with laser radar, can plan the route autonomously, and has high flexibility and easy maintenance. However, the cost is high and the technical difficulty is great, especially in parking environments with high position accuracy requirements and high running speeds, it is difficult to accurately track and locate the trajectory. Others such as inertial navigation and wireless navigation (ZIGBEE, Bluetooth, WIFI, LBS base stations, etc.) also have problems of low position accuracy and large delay under high-speed operation conditions. Summary of the invention
[0005] The main purpose of the present invention is to provide an active following method for the motion posture of a split AGV, so as to solve the problem that the existing laser radar navigation cannot achieve accurate following between the slave AGV and the master AGV in a high-speed, high-precision and high-real-time environment.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: an active following method for the motion posture of a split AGV, comprising the following steps:
[0007] S1. Establishing the motion model of four-wheel differential AGV: Based on the simplified assumptions of AGV motion, the motion model of four-wheel drive AGV is simplified to a two-wheel differential drive model by analyzing the relationship between the longitudinal and lateral component velocities of each wheel during turning. The relationship between the linear velocity of the wheel and the expected motion speed of the AGV is established, and the differential control of the AGV running trajectory is achieved by accurately controlling the motor speed.
[0008] S2. Establish the posture model of the master and slave AGVs: define the parameters describing the deviation state of the AGV, and use the specific installation configuration of the laser rangefinder to derive the function expression reflecting the posture deviation of the slave AGV relative to the master AGV, and then combine the measured data to calculate the precise posture deviation of the slave AGV relative to the predetermined ideal position in real time;
[0009] S3. Establish a following model for the master-slave AGV: Compare the target posture of the AGV with the current actual posture, calculate the angular velocity error of each wheel, input this error into the PID controller to obtain the correction value of the angular velocity of each wheel, and dynamically adjust the output through the PID algorithm to ensure that the AGV follows the target posture quickly and stably; apply the corrected angular velocity to the current angular velocity, and then calculate the new linear velocity of each wheel according to the tire radius, so as to adjust the linear velocity of each wheel in real time to realize the precise posture correction and target trajectory following function of the AGV.
[0010] The preferred scheme also includes constructing a split four-wheel differential posture acquisition system, which includes a split four-wheel differential AGV body, namely a master AGV and a slave AGV. The master AGV is provided with three reflectors, including a first reflector, a second reflector and a third reflector. The slave AGV is provided with three laser rangefinders, including a first laser rangefinder, a second laser rangefinder and a third laser rangefinder, which respectively emit a first laser emission line, a second laser emission line and a third laser emission line. The three laser rangefinders are arranged in straight lines of equal height in the horizontal direction and are symmetrically distributed. The center height is the same as the emission lines of the three laser rangefinders on the slave AGV. The first reflector and the third reflector are parallel to the mounting surface, and the second reflector is at an angle of 30° to the mounting surface.
[0011] The preferred solution also includes constructing a geometric center coordinate system and a mass center coordinate system: let the geometric center be called CENTER, the mass center be called COM, and the distance from COM to CENTER be d cc , respectively establish the geometric center coordinate system X-CENTER-Y and the coordinate system X-COM-Y with the mass center as the origin. The X axes of the two coordinate systems coincide, and the Y axes are parallel. The forward movement direction of the robot is the positive direction of the X axis, and the positive direction of the Y axis is perpendicular to the left. The Z axis is perpendicular to the paper and outward, satisfying the right-hand rule.
[0012] In the preferred solution, in step S1, a motion model of the AGV four-wheel differential is constructed, and the specific process includes the following steps:
[0013] S11, made assumptions and simplifications about the movement of the slave AGV;
[0014] The AGV wheels do not spin when rolling;
[0015] The mass of the AGV body is evenly distributed, and the center of mass (COM) is located on the AGV geometric longitudinal symmetry line.
[0016] S12. According to the motion law of the AGV during turning motion, the relationship between the longitudinal component speed and the lateral component speed of the left and right wheels and the front and rear wheels is derived. The relationship between the longitudinal component speed and the lateral component speed of the left and right wheels and the front and rear wheels is:
[0017]
[0018] Among them, v right and v left Represent the longitudinal velocity of the left and right wheels, v front and v back Represent the lateral component velocities of the front and rear wheels respectively.
[0019] S13. Based on the above analysis, it is assumed that the wheelbase between the left and right wheels LR=QP, where LR is the wheelbase after the four-wheel differential model is simplified to the two-wheel model, QP is the actual wheelbase, and the geometric center Center coincides with the mass center COM. The motion model of the four-wheel drive AGV is simplified and equivalently processed to the motion model of the two-wheel differential drive AGV, and the motion equation of the geometric center of mass is derived, as well as the relationship between the linear velocity of the left and right wheels and the expected motion velocity of the AGV.
[0020] The motion equation of the geometric center of mass is derived as follows:
[0021]
[0022] Among them, v c represents the linear velocity of the geometric center of mass, w c represents the rotation speed around the center of mass, d LR Represents the axis of rotation about the center of mass.
[0023] Its inverse kinematic model is simplified as:
[0024]
[0025] The rotation speeds of the four tires are:
[0026]
[0027] Among them, M1, M2, M3 and M4 represent the left front, left rear, right rear and right front drive motors respectively, w M1 、w M2 、w M2 、w M4 Represent the angular velocities of the left front, left rear, right rear and right front drive motors respectively.
[0028] S14, by controlling the output speed of the motor, the effect of differential control from the AGV running trajectory is achieved.
[0029] In the preferred embodiment, step S2 specifically includes the following steps:
[0030] S21. Define the deviation parameters x, y and θ. x, y and θ represent the x value, y value and deviation angle of the coincidence point of the geometric center Center and the mass center COM from the position before the deviation when the AGV deviates. S22. According to the installation position and measurement data of the laser rangefinder, the posture deviation function f(x, y, θ) from the AGV relative to the ideal position is derived. The specific expression of the posture deviation function f(x, y, θ) is:
[0031]
[0032] Wherein, L is the installation distance between the first laser rangefinder and the third laser rangefinder, M is the vertical distance from the laser rangefinder to the X-axis of the geometric center of the AGV, N is the distance from the second laser rangefinder to the Y-axis of the geometric center of the AGV, D0 is the initial measurement value of the first laser rangefinder and the third laser rangefinder, D1 is the initial measurement value of the second laser rangefinder, D2 is the real-time measurement value of the second laser rangefinder, D3 is the real-time measurement value of the first laser rangefinder, and D4 is the real-time measurement value of the third laser rangefinder.
[0033] S23, calculate the posture offset value of the AGV relative to the ideal position through the posture offset function f(x, y, θ) and the real-time data of the laser rangefinder.
[0034] In the preferred embodiment, step S3 specifically includes the following steps:
[0035] S31, calculating the angular velocity error of each wheel according to the target posture and current posture of the AGV;
[0036]
[0037] Where i = {left front, left rear, right rear, right front}, x i ,y i and θ i is the position deviation of a wheel at any time, v i0 Indicates the current linear speed of a round, w i0 Indicates the current angular velocity of a wheel; v i represents the target linear velocity of a round, w i Indicates the target angular velocity of a certain round.
[0038] S32, inputting the angular velocity error into the PID controller to obtain the adjustment amount of the angular velocity of each wheel.
[0039] S33, superimposing the adjustment amount output by the PID controller on the current angular velocity to obtain a new angular velocity, and calculating the linear velocity of each wheel according to the new angular velocity and the tire radius.
[0040] The right wheel angular velocity error is: if Δwr =w right -w r0 , then the right wheel angular velocity increment output by PID is:
[0041]
[0042] Among them, w right is the target angular velocity of the right wheel, w r0 Current angular velocity of the right wheel.
[0043] The left wheel angular velocity error: if Δw l =w left -w l0 , then the left wheel angular velocity increment output by PID is:
[0044]
[0045] Among them, w left is the target angular velocity of the right wheel, w l0 Current angular velocity of the right wheel; K p , K i , K d They are the adjustment coefficients in the PID regulator respectively.
[0046] Wheel linear velocity calculation: The target linear velocity of each wheel is obtained by adding the angular velocity increment output by PID to the current angular velocity. The specific formula is:
[0047]
[0048] Where R M is the tire radius. So far, the differential model of the left and right wheels is obtained through real-time calculation of x, y and θ, and the posture correction and following of the slave AGV are performed in real time.
[0049] The present invention provides an active following method for the motion posture of a split AGV, and proposes a set of systematic solutions to the motion control and active following problems of the split AGV. First, through theoretical analysis and simplification, the four-wheel differential AGV is simplified into a two-wheel differential drive model, and high-precision control of the AGV motion trajectory is achieved. The posture model of the master-slave AGV is constructed. With the help of a specially arranged laser rangefinder and a reflector, the posture offset of the slave AGV relative to the master AGV or a predetermined path is monitored in real time, thereby improving the accuracy and dynamic adaptability of following. Through the real-time calculation of the posture offset function, the system can quickly identify and quantify the deviation, providing a basis for subsequent dynamic adjustment. In addition, a following model of the master-slave AGV is established, and by comparing the target posture with the actual posture, the angular velocity adjustment required for the wheel is dynamically calculated to ensure that the AGV can respond quickly and follow accurately. The present invention significantly enhances the autonomous navigation and collaborative working capabilities of the split AGV in a complex environment by comprehensively using dynamic modeling, real-time positioning, and advanced control theory. This not only improves the working efficiency and flexibility of AGV, but also lays a solid technical foundation for improving the automation level in the fields of intelligent manufacturing, warehousing and logistics. In addition, the implementation of this method is conducive to reducing manual intervention and improving operation safety, which is of great significance to promoting the development of intelligent logistics systems.
[0050] The present invention is beneficial in that:
[0051] (1) The device and method designed in the present invention can be used for rapid posture correction and trajectory following of parking AGVs with fast movement speed and high position accuracy requirements. The following detection device is simple and reliable, easy to quickly disassemble and maintain, and greatly improves the following efficiency and accuracy.
[0052] (2) The device and method designed in the present invention can adapt to vehicles of various wheelbases according to different laser detection distances, thereby actively adapting to different application scenarios.
[0053] (3) The laser rangefinder used is a mature product on the market with the characteristics of high accuracy, fast response speed and high reliability, which meets the real-time requirements of AGV's high-speed and high-precision trajectory following and posture correction. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0055] Figure 1 is a process flow chart of the method of the present invention;
[0056] Figure 2 It is a split four-wheel differential position acquisition system of the present invention;
[0057] Figure 3It is a layout model of the split master-slave four-wheel differential AGV posture acquisition system in an embodiment of the present invention;
[0058] Figure 4 The motion model of the four-wheel differential AGV in the embodiment of the present invention;
[0059] Figure 5 This is an equivalent simplified schematic diagram of a four-wheel differential AGV model in an embodiment of the present invention;
[0060] Figure 6 It is a split master-slave four-wheel differential AGV posture following model in an embodiment of the present invention;
[0061] In the figure: master AGV 1; slave AGV 2; first reflector 3; second reflector 4; third reflector 5, first laser rangefinder 6; second laser rangefinder 7; third laser rangefinder 8; first laser emission line 9; second laser emission line 10; third laser emission line 11. DETAILED DESCRIPTION
[0062] like Figures 1 to 6 As shown, an active following method for the motion posture of a split AGV includes the following steps:
[0063] S1. Establish a motion model for a four-wheel differential AGV: Based on the simplified assumptions about the motion of the AGV, the motion model of the four-wheel drive AGV is simplified to a two-wheel differential drive model by analyzing the relationship between the longitudinal and lateral component velocities of each wheel during turning. The relationship between the linear velocity of the wheel and the desired motion speed of the AGV is established, and differential control of the AGV's running trajectory is achieved by precisely controlling the motor speed.
[0064] S2. Establish the posture model of the master and slave AGVs: define the parameters that describe the deviation state of the AGV, and use the specific installation configuration of the laser rangefinder to derive the function expression that reflects the posture deviation of the slave AGV2 relative to the master AGV1. Then, combined with the measured data, calculate the precise posture deviation of the slave AGV2 relative to the predetermined ideal position in real time.
[0065] S3. Establish a following model for the master-slave AGV: Compare the target posture of the AGV with the current actual posture, calculate the angular velocity error of each wheel, input this error into the PID controller to obtain the correction value of the angular velocity of each wheel, and dynamically adjust the output through the PID algorithm to ensure that the AGV follows the target posture quickly and stably; apply the corrected angular velocity to the current angular velocity, and then calculate the new linear velocity of each wheel according to the tire radius, so as to adjust the linear velocity of each wheel in real time to realize the precise posture correction and target trajectory following function of the AGV.
[0066] The above steps provide an active following method for the motion posture of a split AGV, which effectively improves the ability of the split AGV to autonomously navigate and work collaboratively in a complex environment. By establishing a simplified motion model of a four-wheel differential AGV, the complex four-wheel system is converted into an easy-to-control two-wheel differential model, which not only reduces the complexity of the control system, but also achieves high-precision differential control of the AGV motion trajectory by accurately controlling the motor speed, thereby improving the stability and accuracy of driving. The constructed master-slave AGV posture model monitors the relative posture offset between the slave AGV2 and the master AGV1 in real time through a laser rangefinder, and quickly calculates the accurate posture offset in combination with the measured data, so that the slave AGV2 can perceive its own position deviation in real time and respond quickly, which is crucial for maintaining formation driving and accurate following in a dynamic environment. In addition, the PID controller is used to dynamically adjust the angular velocity of each wheel, which can not only quickly respond to the posture deviation and reduce the lag and oscillation in the following process, but also ensure stable and fast posture correction and trajectory tracking under various working conditions. This approach improves the flexibility and robustness of following, and ensures good following effects even in the face of external disturbances or path changes.
[0067] The preferred scheme also includes constructing a split four-wheel differential posture acquisition system, which includes a split four-wheel differential AGV body, namely a master AGV1 and a slave AGV2. The master AGV1 is provided with three reflectors, including a first reflector 3, a second reflector 4 and a third reflector 5. The slave AGV2 is provided with three laser rangefinders, including a first laser rangefinder 6, a second laser rangefinder 7 and a third laser rangefinder 8, which respectively emit a first laser emission line 9, a second laser emission line 10 and a third laser emission line 11. The three laser rangefinders are arranged in equal height lines in the horizontal direction and are symmetrically distributed. The center height is the same as the emission lines of the three laser rangefinders on the slave AGV2. The first reflector 3 and the third reflector 5 are parallel to the mounting surface, and the second reflector 4 is at an angle of 30° to the mounting surface.
[0068] In the embodiment, the first reflector 3, the second reflector 4 and the third reflector 5 are respectively arranged and represented as reflector 1, reflector 2 and reflector 3; the first laser rangefinder 6, the second laser rangefinder 7 and the third laser rangefinder 8 are respectively arranged and represented as laser rangefinder 1, laser rangefinder 2 and laser rangefinder 3.
[0069] The above preferred solution describes in detail the technical details of constructing a split four-wheel differential AGV posture acquisition system, and provides a specific implementation means for realizing the active following method.
[0070] By setting three reflectors on the master AGV and corresponding to the three laser rangefinders on the slave AGV2, the position of the slave AGV2 relative to the master AGV1 can be accurately measured. This design uses laser ranging technology to directly obtain spatial distance information, greatly improving the accuracy and reliability of positioning, especially in dynamic environments.
[0071] The design of symmetrically arranging the laser rangefinders in equal height lines in the horizontal direction ensures the consistency and stability of the measurement, reduces the measurement error introduced by the angle deviation, and enables the slave AGV2 to maintain a more stable motion state during the following process.
[0072] The specific installation method of the reflector and the laser rangefinder (such as the second reflector is at a 30° angle to the installation surface) takes into account the optimization of space utilization efficiency and signal reflection, which not only ensures the effectiveness of the measurement, but also enhances the flexibility of the system, enabling it to adapt to more diverse environmental layouts and path planning.
[0073] This system design provides a precise positioning and following mechanism for the collaborative work between split AGVs, which helps to achieve efficient and orderly operation of multiple AGVs in scenarios such as automated logistics, smart manufacturing or smart parking, and improves the overall system's degree of automation and work efficiency.
[0074] The preferred solution also includes constructing a geometric center coordinate system and a mass center coordinate system: let the geometric center be called CENTER, the mass center be called COM, and the distance from COM to CENTER be d cc , respectively establish the geometric center coordinate system X-CENTER-Y and the coordinate system X-COM-Y with the mass center as the origin. The X axes of the two coordinate systems coincide, and the Y axes are parallel. The forward movement direction of the robot is the positive direction of the X axis, and the positive direction of the Y axis is perpendicular to the left. The Z axis is perpendicular to the paper and outward, satisfying the right-hand rule.
[0075] The above preferred scheme constructs a clear coordinate system to provide a unified reference framework for the motion posture analysis and control of the split AGV. By establishing a unified coordinate system, the position and posture changes of the AGV in three-dimensional space can be accurately described and quantified, including displacement, rotation, etc., making the motion model and posture estimation more accurate. The clear division of the coordinate system simplifies the process of establishing kinematic and dynamic equations, making the mathematical model more intuitive and easy to understand, and facilitating theoretical analysis and calculation. At the same time, it also provides a clear basis for control system design. The clear coordinate system definition makes it possible to reproduce and verify the dynamic behavior of the AGV in computer simulation, which helps to optimize the design, predict potential problems before actual deployment, and reduce the time and cost of on-site debugging.
[0076] In the preferred solution, in step S1, a motion model of the AGV four-wheel differential is constructed, and the specific process includes the following steps:
[0077] S11, the movement of AGV2 is assumed and simplified: AGV changes the direction of movement of the vehicle through the speed difference between the four left and right driving wheels, and each wheel belongs to a two-degree-of-freedom driving system. Because the rolling constraints between the driving wheels and the ground are relatively complex, in order to perform kinematic modeling, the problem is assumed and simplified as follows;
[0078] The AGV wheels do not spin when rolling;
[0079] The mass of the AGV body is evenly distributed, and the center of mass (COM) is located on the AGV's geometric longitudinal symmetry line, but not necessarily on the geometric transverse symmetry line.
[0080] S12. According to the motion law of AGV2 during the turning motion, the relationship between the longitudinal component speed and the lateral component speed of the left and right wheels and the front and rear wheels is derived. The relationship between the longitudinal component speed and the lateral component speed of the left and right wheels and the front and rear wheels is:
[0081]
[0082] Among them, v right and v left Represent the longitudinal velocity of the left and right wheels, v front and v back Represent the lateral component velocities of the front and rear wheels respectively.
[0083] from Figure 4 It can be seen that as long as the speeds of the four driving wheels are different, steering movement will occur. Once steering movement occurs, it means that there is a center of rotation (ICR). The relative movement speed direction of the four wheels and the ground contact point (point A in the figure) is as follows: Figure 4 As shown, the direction of the combined velocity is perpendicular to the line segment A-ICR, and the tire can only move along the longitudinal component velocity v 1x Direction rotation, speed decomposition shows that there is also a lateral component velocity v along the wheel axis (motor axis) 1y , the other tires in the figure have the same motion law. Since the lateral component speeds of the four tires are different, the robot will produce a rotational component motion, while the longitudinal component speed will produce a longitudinal component motion. The resultant motion is a circular motion of the robot around the ICR w c .
[0084] Further analysis shows that the lateral velocity component is generated by the sliding friction between the tire and the ground, and the longitudinal velocity component is generated by the rolling friction between the tire and the ground, so the steering movement is generated by sliding friction. Therefore, the lateral velocity component of points A and D is the same, and the longitudinal velocity component of points A and B is the same. Similarly, the lateral velocity component of points B and C is the same, and the longitudinal velocity component of points C and D is the same, but the lateral velocity component of the front wheel and the rear wheel is different, and the longitudinal velocity component of the left wheel and the right wheel is different.
[0085] S13. Based on the above analysis, it is assumed that the wheelbase between the left and right wheels LR=QP, where LR is the wheelbase after the four-wheel differential model is simplified to the two-wheel model, QP is the actual wheelbase, and the geometric center Center coincides with the mass center COM. The motion model of the four-wheel drive AGV is simplified and equivalently processed to the motion model of the two-wheel differential drive AGV, and the motion equation of the geometric center of mass is derived, as well as the relationship between the linear velocity of the left and right wheels and the expected motion velocity of the AGV.
[0086] The motion equation of the geometric center of mass is derived as follows:
[0087]
[0088] Among them, v c represents the linear velocity of the geometric center of mass, w c represents the rotation speed around the center of mass, d LR Represents the axis of rotation about the center of mass.
[0089] Its inverse kinematic model is simplified as:
[0090]
[0091] Therefore, the desired movement speed (v c ,w c ) can get the linear velocity v of the left and right wheels right and v left In actual operation, the longitudinal linear velocity of the two left (or right) side wheels may be the same as the linear velocity of the left (or right) virtual wheel, but the actual rotation speed of the two wheels may be different. The rotation speed of the four tires is obtained by formula 4.
[0092] The rotation speeds of the four tires are:
[0093]
[0094] Among them, M1, M2, M3 and M4 represent the left front, left rear, right rear and right front drive motors respectively, w M1 、w M2 、w M2 、w M4Represent the angular velocities of the left front, left rear, right rear and right front drive motors respectively.
[0095] S14, by controlling the output speed of the motor, the effect of differential speed control of the running track of AGV2 is achieved. Through formula 4, the effect of differential speed control of the running track of AGV can be achieved by controlling the output speed of the motor.
[0096] The above steps are a further refinement of the motion model construction of the four-wheel differential AGV. By simplifying the complex four-wheel system into an easy-to-control two-wheel differential model, the control accuracy and efficiency are improved. This process takes into account the actual motion constraints, such as no idling and uniform mass distribution, and derives accurate wheel speed control equations to achieve fine adjustment of the AGV trajectory. By directly linking the motor speed to the desired motion speed, the dynamic response capability and system stability are enhanced, and an optimization strategy is also provided for motor control and energy consumption management. This model not only improves the tracking accuracy and system adaptability, but also promotes the efficient integration and optimization of software and hardware design, which is crucial to the realization of intelligent and efficient AGV collaborative operation.
[0097] In the preferred embodiment, step S2 specifically includes the following steps:
[0098] S21. Define the deviation parameters x, y and θ. x, y and θ represent the x value, y value and deviation angle of the coincidence point of the geometric center Center and the mass center COM from the position before the deviation when the deviation occurs from AGV2. S22. According to the installation position and measurement data of the laser rangefinder, the posture deviation function f(x, y, θ) from the ideal position of AGV2 is derived. The specific expression of the posture deviation function f(x, y, θ) is:
[0099]
[0100] Among them, L is the installation distance between the first laser rangefinder 6 and the third laser rangefinder 8, M is the vertical distance from the laser rangefinder to the X-axis of the geometric center of the AGV, N is the distance from the second laser rangefinder 7 to the Y-axis of the geometric center of the AGV, D0 is the initial measurement value of the first laser rangefinder 6 and the third laser rangefinder 8, D1 is the initial measurement value of the second laser rangefinder 7, D2 is the real-time measurement value of the second laser rangefinder 7, D3 is the real-time measurement value of the first laser rangefinder 6, and D4 is the real-time measurement value of the third laser rangefinder 8.
[0101] In actual automatic parking operation, the movement of AGV will be affected by environmental factors such as the size of the load, the change of the vehicle wheelbase and the height fluctuation of the ground, which will cause the position between the slave AGV2 and the master AGV1 to shift. If the offset is too large, unpredictable results may occur during heavy-load and high-speed movement. In order to avoid accidents, the relative position between the slave AGV2 and the master AGV1 is required to be relatively fixed at all times. Assuming that the motion trajectory of the master AGV1 meets the motion requirements, the motion parameters of the slave AGV2 are adjusted to achieve the purpose of quickly and actively following the master AGV1. The motion model of the master-slave AGV is simplified as follows: Figure 6 shown.
[0102] Figure 6 In the figure, the master and slave AGV2 represented by the solid line are in the ideal position, and the slave AGV2 represented by the dotted line is in the state of deviation during movement. The deviation state is represented by parameters x, y and θ, that is, the deviation of the posture of the slave AGV2 relative to the master AGV1 is represented by the function f(x, y, θ), which is a function related to D0, D1, D2, D3, D4, L, M and N.
[0103] S23, calculate the posture offset value of the AGV relative to the ideal position through the posture offset function f(x, y, θ) and the real-time data of the laser rangefinder.
[0104] It can be seen from Formula 5 that the posture offset of slave AGV2 relative to the ideal position is closely related to the real-time data of the laser rangefinder. As long as the real-time data of D2, D3 and D4 are obtained, the posture offset value of slave AGV2 can be calculated.
[0105] The above steps are a further refinement of the posture model construction of the master-slave AGV to achieve high-precision posture monitoring of the slave AGV2. By combining laser ranging with specific algorithms, the translation and rotation deviations are calculated in real time. This design greatly improves the following accuracy and dynamic adjustment capabilities, ensuring stable navigation in complex environments. The direct measurement and calculation methods used simplify data processing, speed up response speed and reduce costs. By enhancing adaptability to environmental changes, the solution improves the overall reliability and anti-interference ability of the system, plays a key role in promoting the automation process in the fields of intelligent manufacturing and intelligent logistics, and realizes efficient and accurate technology application.
[0106] In the preferred embodiment, step S3 specifically includes the following steps:
[0107] S31, calculating the angular velocity error of each wheel according to the target posture and current posture of the AGV;
[0108]
[0109] Where i = {left front, left rear, right rear, right front}, x i ,yi and θ i is the position deviation of a wheel at any time, v i0 Indicates the current linear speed of a round, w i0 Indicates the current angular velocity of a wheel; v i represents the target linear velocity of a round, w i Indicates the target angular velocity of a certain round.
[0110] After the posture deviation of slave AGV2 is known, it is converted into the angular velocity error of each wheel. For each wheel of slave AGV2, the PID controller is used to calculate the adjustment amount of the angular velocity of each tire, and then the new angular velocity is obtained by superimposing it with the current angular velocity. For the convenience of calculation, the deviation value calculated by formula 5 is regarded as the posture change at any time, so x i ,y i and θ i It can represent the speed and angular velocity of a wheel at any time, that is, the current linear velocity and angular velocity error of a wheel.
[0111] It can be seen from Equation 6 that the following problem of AGV2 is transformed into a calculation problem of a bounded input quantity F = f(x, y, θ), which can make the actual posture of AGV quickly follow the reference posture of the main AGV under any initial error.
[0112] S32, input the angular velocity error into the PID controller to obtain the adjustment amount of the angular velocity of each wheel; in the actual control posture and following process, the existing PID control algorithm can be used to adjust the angular velocity of each wheel according to x i ,y i and θ i The angular velocity error of each wheel is calculated and fed into the PID controller to obtain the angular velocity increment, and the new linear velocity is calculated by velocity superposition.
[0113] S33, superimposing the adjustment amount output by the PID controller on the current angular velocity to obtain a new angular velocity, and calculating the linear velocity of each wheel according to the new angular velocity and the tire radius.
[0114] The right wheel angular velocity error is: if Δw r =w right -w r0 , then the right wheel angular velocity increment output by PID is:
[0115]
[0116] Among them, w right is the target angular velocity of the right wheel, w r0 Current angular velocity of the right wheel.
[0117] The left wheel angular velocity error: if Δwl =w left -w l0 , then the left wheel angular velocity increment output by PID is:
[0118]
[0119] Among them, w left is the target angular velocity of the right wheel, w l0 Current angular velocity of the right wheel; K p , K i , K d They are the adjustment coefficients in the PID regulator respectively.
[0120] Wheel linear velocity calculation: The target linear velocity of each wheel is obtained by adding the angular velocity increment output by PID to the current angular velocity. The specific formula is:
[0121]
[0122] Where R M is the tire radius. So far, the differential model of the left and right wheels is obtained through real-time calculation of x, y and θ, and the posture correction and following of the slave AGV are performed in real time.
[0123] The above process is a further refinement of the construction of the master-slave AGV following model. The autonomous navigation capability of the split AGV is significantly enhanced through sophisticated algorithm design. It calculates the wheel angular velocity error in real time and dynamically adjusts it with the help of the PID controller to ensure that the AGV can respond quickly and accurately match the target motion state, improving the accuracy and stability of tracking. This method can not only adaptively adjust the speed of each wheel and optimize turning control, but also ensure that a smooth following effect can be maintained in a changing environment. In addition, through the intelligent differential control strategy, real-time data feedback is effectively utilized, the system's adaptability to complex paths is improved, the safety and efficiency of the overall operation are enhanced, and advanced motion control solutions are provided for automated logistics and intelligent manufacturing.
[0124] Example 1
[0125] Table 1 shows the initial calibration data of the master and slave AGVs in the ideal position. L is the installation distance between laser rangefinders 1 and 3, M is the vertical distance from the laser rangefinder to the X-axis of the geometric center of the AGV, N is the distance from the laser rangefinder 2 to the Y-axis of the geometric center of the AGV, D0 is the initial measurement value of laser rangefinders 1 and 3 after calibration, and D1 is the initial measurement value of laser rangefinder 2 after calibration. The simulation conditions of Implementation Example 1 are that the vehicle wheelbase is 2390 mm, the slave AGV2 rotates 7° counterclockwise around any point, and the current data read by the laser rangefinder are D2, D3 and D4 respectively (see Table 2 Example 1). According to Formula 5, the deviation of the slave AGV2 in the X and Y directions relative to the ideal position is 34.28 mm and 21.19 mm, and the rotation angle θ is 7°. The actual posture deviation parameters x, y and θ of the slave AGV2 in the ground coordinate system are measured to be 34.32 mm, 21.14 mm and 7.02° respectively (see Table 3 Example 1). It can be seen from the errors between the actual posture and the calculated posture listed in Table 4 Example 1 that the posture errors in the X and Y directions are both less than 0.05 mm, and the deflection angle error is less than 0.02°, indicating that the slave AGV following device and the calculation model involved in the present invention fully meet the requirements of precise following.
[0126] Example 2
[0127] The initial ideal position calibration value of slave AGV2 is shown in Table 1. Other simulation conditions are the same as Example 1, except that the deflection angle of slave AGV2 is changed to 7° clockwise rotation around any point. The current data read by the laser rangefinder are D2, D3 and D4 (see Table 2 Example 2). According to Formula 5, the deviation of slave AGV2 from the ideal position in the X and Y directions is -61.63mm and -3.67mm, and the rotation angle θ is -7°. The actual posture deviation parameters x, y and θ of the slave AGV in the ground coordinate system are measured to be -61.54mm, -3.76mm and -7.02° respectively (see Table 3 Example 2). It can be seen from the errors between the actual posture and the calculated posture listed in Table 4 Example 2 that the posture errors in the X and Y directions are both less than 0.09mm, and the deflection angle error is less than 0.05°, indicating that the slave AGV following device and calculation model involved in the present invention fully meet the requirements of precise following.
[0128] Example 3
[0129] Other conditions are the same as those in Example 1, and the simulation condition is changed to a simple translation of 300 mm in the X direction from AGV2. The calculation and measured results are shown in Table 2 Example 3, Table 3 Example 3, and Table 4 Example 3, respectively. It can be seen from the results that the slave AGV following device and calculation model involved in the present invention fully meet the requirements of accurate following.
[0130] Example 4
[0131] Other conditions are the same as those in Example 1, the simulation condition is changed to the vehicle wheelbase of 3000 mm, the slave AGV2 rotates 5° counterclockwise around any point, and the calculation and measured results are shown in Table 2 Example 4, Table 3 Example 4, and Table 4 Example 4. It can be seen from the results that the slave AGV following device and calculation model involved in the present invention fully meet the requirements of precise following, and can also adapt to vehicles with different wheelbases, increasing the flexibility of parking application scenarios.
[0132] Table 1 Calibration value (unit: mm)
[0133] L M N D0 D1 1800 505 471.5 1380 1497
[0134] Table 2 Measured values of laser rangefinder (unit: mm)
[0135] Examples Vehicle wheelbase From AGV posture D2 D3 D4 1 2390 Rotate 7° counterclockwise 1464.4 1305 1526 2 2390 Rotate 7° clockwise 1556.67 1500.96 1279.95 3 2390 X-axis translation 300 1756.8 1680 1680 4 3000 Rotate 5° counterclockwise 1992.78 1933.7 2091.2
[0136] Table 3 Calculated values and actual values from AGV posture (unit: mm)
[0137]
[0138]
[0139] Table 4 Following error of AGV (unit: mm)
[0140]
[0141] The above embodiments are only preferred technical solutions of the present invention and should not be regarded as limiting the present invention. The protection scope of the present invention shall be the technical solutions recorded in the claims, including equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.
Claims
1. An active following method for the motion posture of a split AGV, It is characterized in that The following steps are involved: S1. Establishing the motion model of four-wheel differential AGV: Based on the simplified assumptions of AGV motion, the motion model of four-wheel drive AGV is simplified to a two-wheel differential drive model by analyzing the relationship between the longitudinal and lateral component velocities of each wheel during turning. The relationship between the linear velocity of the wheel and the expected motion speed of the AGV is established, and the differential control of the AGV running trajectory is achieved by accurately controlling the motor speed. S2. Establish the posture model of the master and slave AGVs: define the parameters describing the deviation state of the AGV, and use the specific installation configuration of the laser rangefinder to derive the function expression reflecting the posture deviation of the slave AGV relative to the master AGV, and then combine the measured data to calculate the precise posture deviation of the slave AGV relative to the predetermined ideal position in real time; S3. Establish a following model for the master-slave AGV: Compare the target posture of the AGV with the current actual posture, calculate the angular velocity error of each wheel, input this error into the PID controller to obtain the correction value of the angular velocity of each wheel, and dynamically adjust the output through the PID algorithm to ensure that the AGV follows the target posture quickly and stably; apply the corrected angular velocity to the current angular velocity, and then calculate the new linear velocity of each wheel according to the tire radius, so as to adjust the linear velocity of each wheel in real time to realize the precise posture correction and target trajectory following function of the AGV.
2. According to claim 1, an active following method for the motion posture of a split AGV, It is characterized in that The invention also includes constructing a split four-wheel differential position acquisition system, the system including a split four-wheel differential AGV body, namely a master AGV (1) and a slave AGV (2), the master AGV (1) is provided with three reflectors, including a first reflector (3), a second reflector (4) and a third reflector (5), the slave AGV (2) is provided with three laser rangefinders, including a first laser rangefinder (6), a second laser rangefinder (7) and a third laser rangefinder (8), which respectively emit a first laser emission line (9), a second laser emission line (10) and a third laser emission line (11), the three laser rangefinders are arranged in equal height lines in the horizontal direction and are symmetrically distributed, the center height is equal to the emission lines of the three laser rangefinders on the slave AGV (2), the first reflector (3) and the third reflector (5) are parallel to the mounting surface, and the second reflector (4) forms an angle of 30° with the mounting surface.
3. According to claim 2, an active following method for the motion posture of a split AGV, It is characterized in that It also includes constructing the geometric center coordinate system and the mass center coordinate system: let the geometric center be called CENTER, the mass center be called COM, and the distance from COM to CENTER be d cc , respectively establish the geometric center coordinate system X-CENTER-Y and the coordinate system X-COM-Y with the mass center as the origin. The X axes of the two coordinate systems coincide, and the Y axes are parallel. The forward movement direction of the robot is the positive direction of the X axis, and the positive direction of the Y axis is perpendicular to the left. The Z axis is perpendicular to the paper and outward, satisfying the right-hand rule.
4. According to claim 3, an active following method for the motion posture of a split AGV, It is characterized in that In step S1, a motion model of the AGV four-wheel differential is constructed, and the specific process includes the following steps: S11, assumptions and simplifications are made about the movement of the slave AGV (2); The AGV wheels do not spin when rolling; The mass of the AGV body is evenly distributed, and the center of mass (COM) is located on the AGV geometric longitudinal symmetry line; S12. Based on the motion law of the AGV (2) during the turning motion, the relationship between the longitudinal component speed and the lateral component speed of the left and right wheels and the front and rear wheels is derived. The relationship between the longitudinal component speed and the lateral component speed of the left and right wheels and the front and rear wheels is: Among them, v right and v left Respectively represent the longitudinal velocity of the left and right wheels, v front and v back Respectively represent the lateral component speeds of the front and rear wheels; S13. Based on the above analysis, it is assumed that the wheelbase between the left and right wheels LR=QP, where LR is the wheelbase after the four-wheel differential model is simplified to the two-wheel model, QP is the actual wheelbase, and the geometric center Center coincides with the mass center COM. The motion model of the four-wheel drive AGV is simplified and equivalently processed to the motion model of the two-wheel differential drive AGV, and the motion equation of the geometric center of mass is derived, as well as the relationship between the motion linear velocity of the left and right wheels and the expected motion velocity of the AGV; The motion equation of the geometric center of mass is derived as follows: Among them, v c represents the linear velocity of the geometric center of mass, w c represents the rotation speed around the center of mass, d LR represents the rotational axis distance around the center of mass; Its inverse kinematic model is simplified as: The rotation speeds of the four tires are: Among them, M1, M2, M3 and M4 represent the left front, left rear, right rear and right front drive motors respectively, w M1 、w M2 、w M2 、w M4 Respectively represent the angular velocities of the left front, left rear, right rear and right front drive motors; S14, by controlling the output speed of the motor, the effect of differential control of the running trajectory of the AGV (2) is achieved.
5. According to claim 4, an active following method for the motion posture of a split AGV, It is characterized in that The step S2 specifically includes the following steps: S21, define the deviation parameters x, y and θ, where x, y and θ represent the x value, y value and deviation angle of the coincidence point of the geometric center Center and the mass center COM when the AGV (2) deviates from the position before the deviation; S22. Based on the installation position and measurement data of the laser rangefinder, the posture offset function f(x, y, θ) from the AGV (2) relative to the ideal position is derived. The specific expression of the posture offset function f(x, y, θ) is: Wherein, L is the installation distance between the first laser rangefinder (6) and the third laser rangefinder (8), M is the vertical distance from the laser rangefinder to the X-axis of the geometric center of the AGV, N is the distance from the second laser rangefinder (7) to the Y-axis of the geometric center of the AGV, D0 is the initial measurement value of the first laser rangefinder (6) and the third laser rangefinder (8), D1 is the initial measurement value of the second laser rangefinder (7), D2 is the real-time measurement value of the second laser rangefinder (7), D3 is the real-time measurement value of the first laser rangefinder (6), and D4 is the real-time measurement value of the third laser rangefinder (8); S23, calculate the posture offset value of AGV (2) relative to the ideal position through the posture offset function f(x, y, θ) and the real-time data of the laser rangefinder.
6. According to claim 5, an active following method for the motion posture of a split AGV, It is characterized in that The step S3 specifically includes the following steps: S31, calculating the angular velocity error of each wheel according to the target posture and current posture of the AGV; Where i = {left front, left rear, right rear, right front}, x i ,y i and θ i is the position deviation of a wheel at any time, v i0 Indicates the current linear speed of a round, w i0 Indicates the current angular velocity of a wheel; v i represents the target linear velocity of a round, w i Indicates the target angular velocity of a certain round; S32, inputting the angular velocity error into the PID controller to obtain the adjustment amount of the angular velocity of each wheel; S33, adding the adjustment amount output by the PID controller to the current angular velocity to obtain a new angular velocity, and calculating the linear velocity of each wheel according to the new angular velocity and the tire radius; The right wheel angular velocity error is: if Δw r =w right -w r0 , then the right wheel angular velocity increment output by PID is: Among them, w right is the target angular velocity of the right wheel, w r0 Current angular velocity of the right wheel; The left wheel angular velocity error: if Δw l =w left -w l0 , then the left wheel angular velocity increment output by PID is: Among them, w left is the target angular velocity of the right wheel, w l0 Current angular velocity of the right wheel; K p , K i , K d They are the adjustment coefficients in the PID regulator respectively; Wheel linear velocity calculation: The target linear velocity of each wheel is obtained by adding the angular velocity increment output by PID to the current angular velocity. The specific formula is: Where R M is the tire radius. The differential model of the left and right wheels is obtained through real-time calculation of x, y and θ, and the posture correction and following of the slave AGV (2) are performed in real time.
Citation Information
Cited By
Method for improving double-vehicle soft linkage precision
CN119717497A
Navigation and control method of four-wheel-drive differential-drive heavy-load AGV (Automatic Guided Vehicle)
CN121277189A
Mobile aircraft wing body docking equipment and method based on AGV (Automatic Guided Vehicle)
CN121291789A
