AGV car B-spline curve path fast generation method, storage medium and system

Through the B-spline curve path generation method, the problem of complex and unsmooth AGV path generation is solved, and the effect of quickly generating a smooth path is achieved to meet the walking needs of the AGV car.

CN115755755BActive Publication Date: 2024-09-27GUANGDONG JATEN ROBOT & AUTOMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211550586.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2024-09-27
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

Existing AGV path generation methods require complex computing resources or the generated paths are not smooth, and cannot quickly and effectively generate paths suitable for AGV cars to walk.

Method used

Using the B-spline path generation method, by obtaining the two-dimensional coordinates and attitude angle information of the starting point and end point, two clamped B-spline control points P1 and P2 are established, and the positions of the control points are calculated to generate a smooth path, using an iterative loop Optimize the maximum curvature to ensure path smoothness and computational efficiency.

Benefits of technology

Quickly generate a smooth path suitable for the AGV car to walk, using less computing resources and calculation time to ensure the posture of the AGV from the designated starting point to the designated end point, and the effect is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115755755B
    Figure CN115755755B
Patent Text Reader

Abstract

The AGV trolley B-spline curve path rapid generation method, storage medium and system of the present invention can rapidly generate a path consisting of cubic B-spline curves suitable for the AGV trolley to travel, using less computing resources and computing time, so that the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and has a good use effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of AGVs, and in particular relates to a method, a storage medium and a system for quickly generating a B-spline curve path of an AGV. Background Art

[0002] In the AGV field, the paths are pre-set in most cases, but there are often situations where there is no preset path and the path needs to be generated by yourself, such as when the AGV is outside the path and needs to generate a path to insert a path point; or when the AGV needs to go to a temporarily specified coordinate point, etc. The requirement can be simply described as generating a path for the AGV to move smoothly from the starting point to the end point given the posture of the starting point. There are many ways to generate paths in the industry, most of which either require complex calculations and consume a lot of computing resources, or the generated path is not smooth and is not suitable for AGV walking. Summary of the invention

[0003] The purpose of the present invention is to overcome the problems that most existing path generation methods either require complex and large amounts of computing resources or the generated paths are not smooth, and to provide a method, storage medium and system for quickly generating a B-spline curve path for an AGV with a smooth generated path and a small transport volume.

[0004] In order to achieve the above object, the present invention adopts the following technical solutions

[0005] The method for quickly generating the B-spline curve path of the AGV vehicle includes the following steps:

[0006] a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path that the AGV needs to generate.

[0007] b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2.

[0008] c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max].

[0009] d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, set L1 = L1_min+t1*i, L2 = L2_min+t2*j respectively, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated at each traversed control point P1 and P2 position.

[0010] e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′.

[0011] f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h; otherwise, proceed to step g.

[0012] g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop.

[0013] h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

[0014] Compared with the prior art, the AGV trolley B-spline curve path rapid generation method of the present invention can quickly generate a path composed of cubic B-spline curves suitable for the AGV trolley to travel, using less computing resources and computing time, so that the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and the use effect is good.

[0015] Furthermore, in step f, the accuracy threshold is set to 10 mm.

[0016] A storage medium stores a plurality of execution instructions, wherein the execution instructions are used for the central control center of the AGV to load and perform the following operations:

[0017] a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path that the AGV needs to generate.

[0018] b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2.

[0019] c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max].

[0020] d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, set L1 = L1_min+t1*i, L2 = L2_min+t2*j respectively, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated at each traversed control point P1 and P2 position.

[0021] e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′.

[0022] f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h; otherwise, proceed to step g.

[0023] g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop.

[0024] h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

[0025] Through this setting, a path composed of cubic B-spline curves suitable for the AGV to travel can be quickly generated. With less computing resources and calculation time, the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and the use effect is good.

[0026] Furthermore, in step f, the accuracy threshold is set to 10 mm.

[0027] The AGV B-spline curve path rapid generation control system includes a central control center, an AGV, and a storage device for storing multiple execution instructions, wherein the execution instructions are used by the central control center to load and perform the following operations:

[0028] a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path that the AGV needs to generate.

[0029] b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2.

[0030] c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max].

[0031] d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, set L1 = L1_min+t1*i, L2 = L2_min+t2*j respectively, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated at each traversed control point P1 and P2 position.

[0032] e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′.

[0033] f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h; otherwise, proceed to step g.

[0034] g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop.

[0035] h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

[0036] Furthermore, in step f, the accuracy threshold is set to 10 mm.

[0037] Through this setting, a path composed of cubic B-spline curves suitable for the AGV to travel can be quickly generated. With less computing resources and calculation time, the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and the use effect is good. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Flow chart of the method for quickly generating the B-spline curve path of the AGV vehicle of the present invention

[0039] Figure 2 Schematic diagram of the practical application of the present invention DETAILED DESCRIPTION

[0040] The technical solution of the present invention is described below in conjunction with the accompanying drawings:

[0041] Embodiment 1:

[0042] See also Figure 1 and Figure 2 The method for quickly generating a B-spline curve path of an AGV vehicle of the present invention comprises the following steps:

[0043] a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path that the AGV needs to generate.

[0044] b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2.

[0045] c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max].

[0046] d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, that is, use a double loop, set L1 = L1_min+t1*i, L2 = L2_min+t2*j, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated at each traversed control point P1 and P2 position.

[0047] e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′.

[0048] f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h; otherwise, proceed to step g.

[0049] g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop.

[0050] h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

[0051] Compared with the prior art, the AGV trolley B-spline curve path rapid generation method of the present invention can quickly generate a path composed of cubic B-spline curves suitable for the AGV trolley to travel, using less computing resources and computing time, so that the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and the use effect is good.

[0052] In one embodiment, in step f, the accuracy threshold is set to 10 mm.

[0053] See also Figure 2 , an experimental data is listed below to illustrate the technical solution of the present invention:

[0054] Step a: Assume that the coordinate of the starting point S is (0, 0), the coordinate of the end point T is (300, 400), the unit is mm, and the angles of the starting point and the end point are both 0, that is, the directions of the starting point and the end point are parallel to the positive direction of the X-axis.

[0055] Step c: L_ST=500, take L1_min=L2_min=0.1*L_ST=50, L1_max=L2_max=0.6*L_ST=300.

[0056] Step d: t1 = (L1_max-L1_min) / 9 = (300-50) / 9 = 27.8, t2 = (L2_max-L2_min) / 9 = 27.8, double loop, i.e. enumerate L1 = 50+27.8*0, 50+27.8*1, 50+27.8*2, ..., 50+27.8*9, and L2 = 50+27.8*0, 50+27.8*1, 50+27.8*2, ..., 50+27.8*9 respectively.

[0057] Step e: Take the L1 and L2 values ​​with the smallest maximum curvature of the B-spline curve in step d (where the maximum curvature of the B-spline curve needs to be specifically calculated), and record them as L1' and L2'. Here, it is assumed that L1'=50+27.8*2=105.6, L2'=50+27.8*4=161.2, that is, when i=2, j=4 in step d, the maximum curvature of the obtained B-spline curve is the smallest.

[0058] Step f: t1=t2=27.8>10mm, go to step 7.

[0059] Step g: L1_min=L1'-t1=105.6-27.8=77.8, L1_max=L1'+t1=133.4, L2_min=L2'-t2=161.2-27.8=133.4, L2_max=L2'+t2=189, proceed to step d.

[0060] Repeat step d: t1 = (L1_max - L1_min) / 9 = (133.4 - 77.8) / 9 = 6.2, t2 = (L2_max - L2_min) / 9 = 6.2, double loop, i.e. enumerate L1 = 77.8 + 6.2*0, 77.8 + 6.2*1, 77.8 + 6.2*2, ..., 77.8 + 6.2*9, and L2 = 77.8 + 6.2*0, 77.8 + 6.2*1, 77.8 + 6.2*2, ..., 77.8 + 6.2*9 respectively.

[0061] Repeat step e: Assume here that L1'=77.8+6.2*0=77.8, L2'=77.8+6.2*5=108.8, that is, when i=0, j=5 in step 4, the maximum curvature of the obtained B-spline curve is the smallest.

[0062] Repeat step f: t1=t2=6.2<10mm, t1 and t2 are both less than the accuracy threshold, and go to step h.

[0063] Step f: L1'=77.8, L2'=108.8, we can calculate the coordinates of point P1 as (77.8,0), and the coordinates of point P2 as (191.2,400), as shown in the original text Figure 2 As shown, the insertion path of the cubic clamped B-spline generated by the four point coordinates of the cubic B-spline curve are the starting point (0,0), control point P1 (77.8,0), control point P2 (191.2,400), and end point (300,400).

[0064] Embodiment 2:

[0065] See also Figure 1 and Figure 2 The main purpose of this embodiment is to provide a storage medium for the method for quickly generating a B-spline curve path of an AGV vehicle using the first embodiment. The storage medium stores a plurality of execution instructions, and the execution instructions are used for the central control center of the AGV to load and perform the following operations:

[0066] a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path that the AGV needs to generate.

[0067] b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2.

[0068] c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max].

[0069] d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, that is, use a double loop, set L1 = L1_min+t1*i, L2 = L2_min+t2*j, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated at each traversed control point P1 and P2 position.

[0070] e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′.

[0071] f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h; otherwise, proceed to step g.

[0072] g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop.

[0073] h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

[0074] Compared with the prior art, the storage medium of the present invention can quickly generate a path composed of cubic B-spline curves suitable for the movement of an AGV, using less computing resources and computing time, so that the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and the use effect is good.

[0075] In one embodiment, in step f, the accuracy threshold is set to 10 mm.

[0076] Embodiment three:

[0077] The main purpose of this embodiment is to provide an AGV B-spline curve path rapid generation control system using the storage medium of the second embodiment, which includes a central control center, an AGV, and a storage device for storing multiple execution instructions, wherein the execution instructions are used by the central control center to load and perform the following operations:

[0078] a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path that the AGV needs to generate.

[0079] b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2.

[0080] c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max].

[0081] d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, that is, use a double loop, set L1 = L1_min+t1*i, L2 = L2_min+t2*j, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated at each traversed control point P1 and P2 position.

[0082] e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′.

[0083] f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h; otherwise, proceed to step g.

[0084] g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop.

[0085] h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

[0086] Compared with the prior art, the AGV trolley B-spline curve path rapid generation control system of the present invention can quickly generate a path composed of cubic B-spline curves suitable for the movement of the AGV trolley, using less computing power resources and computing time, so that the AGV can smoothly reach the coordinates and posture of the specified end point along the generated path from the specified starting point coordinates and posture, and the use effect is good.

[0087] In one embodiment, in step f, the accuracy threshold is set to 10 mm.

[0088] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs may also make changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the present invention should also fall within the scope of protection of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.

Claims

1. A method for quickly generating a B-spline curve path for an AGV vehicle, characterized in that: The following steps are involved: a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path required to be generated by the AGV; b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2; c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max]; d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, set L1 = L1_min+t1*i, L2 = L2_min+t2*j, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated by each traversed control point P1 and P2 position; e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′; f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h, otherwise proceed to step g; g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop; h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

2. According to the method for quickly generating the B-spline curve path of the AGV according to claim 1, it is characterized in that: In step f, the accuracy threshold is set to 10 mm.

3. A storage medium, wherein the storage device stores a plurality of execution instructions, characterized in that: The execution instruction is used by the central control center of the AGV to load and perform the following operations: a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path required to be generated by the AGV; b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2; c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max]; d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, set L1 = L1_min+t1*i, L2 = L2_min+t2*j, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated by each traversed control point P1 and P2 position; e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′; f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h, otherwise proceed to step g; g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop; h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

4. The storage medium according to claim 3, characterized in that In step f, the accuracy threshold is set to 10 mm.

5. The AGV B-spline curve path rapid generation control system is characterized by: It includes a central control center, an AGV, and a storage device for storing multiple execution instructions, wherein the execution instructions are used by the central control center to load and perform the following operations: a. Obtain the two-dimensional coordinates and attitude angle information of the starting point and end point of the path required to be generated by the AGV; b. Start from the starting point S and the end point T respectively, and extend in their posture directions, with L1 as the extension distance of the starting point S and L2 as the extension distance of the end point T, and set two clamped B-spline control points P1 and P2; c. According to the distance between the starting point and the end point, calculate the Euclidean distance L_ST between the starting point S and the end point T, calculate the minimum distance L1_min between the control point P1 and the starting point, and the minimum distance L2_min between the control point P1 and the end point; calculate the maximum distance L1_max between the control point P2 and the starting point, and the maximum distance L2_max between the control point P2 and the end point, let L1_min=L2_min=0.1*L_ST, L1_max=L2_max=0.6*L_ST, where L1∈[L1_min,L1_max], L2∈[L2_min,L2_max]; d. Set up interval t1 = (L1_max-L1_min) / 9, interval t2 = (L2_max-L2_min) / 9, divide the intervals [L1_min, L1_max] and [L2_min, L2_max] into 10 equal parts, traverse L1 and L2 respectively, set L1 = L1_min+t1*i, L2 = L2_min+t2*j, where i and j are integers from 0 to 9, and calculate the maximum curvature of the B-spline curve generated by each traversed control point P1 and P2 position; e. The L1 and L2 values ​​that minimize the maximum curvature of the B-spline curve are denoted as L1′ and L2′; f. Determine whether t1 and t2 are less than the accuracy threshold. If both t1 and t2 are less than the accuracy threshold, proceed to step h, otherwise proceed to step g; g. Let L1_min=L1′-t1, L1_max=L1′+t1, L2_min=L2′-t2, L2_max=L2′+t2, and enter step d to continue the iterative loop; h. Record L1′ and L2′, calculate the coordinates of P1 and P2 according to the distance between L1′ and L2′, and insert the path of the cubic clamped B-spline generated by the starting point S, control point P1, control point P2, and end point T.

6. The AGV B-spline curve path rapid generation control system according to claim 5 is characterized in that: In step f, the accuracy threshold is set to 10 mm.