B spline path optimization-based integral compensation fuzzy adaptive pure tracking control method and device

Through B-spline path optimization and integral compensation fuzzy adaptive control methods, the problems of low accuracy and large resource usage of agricultural machinery in curve path tracking are solved, efficient curve planting in hilly and gently sloping terrain is achieved, and the autonomous operation of agricultural machinery is improved. ability.

CN118759844APending Publication Date: 2024-10-11SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410832394.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing agricultural machinery automatic navigation technology has problems such as low tracking accuracy, large storage space and long data communication time when processing curve paths. It is especially difficult to achieve efficient curve planting in hilly and gentle slope terrain.

Method used

The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization is used to smooth the path points through the B-spline curve, combined with the pure tracking model, forward-looking distance fuzzy controller and steering integral compensator to dynamically adjust the forward-looking distance and Steering angle enables precise tracking of curved paths.

Benefits of technology

It improves the tracking accuracy of curved paths, reduces lateral deviation and tracking errors, enhances the stability and robustness of the control system, and meets the operational needs of medium- and high-speed curvature paths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118759844A_ABST
    Figure CN118759844A_ABST
Patent Text Reader

Abstract

The invention discloses an integral compensation fuzzy adaptive pure tracking control method and device based on B-spline path optimization. The method comprises the following steps: acquiring sampling path points; optimizing the sampling path points by using a B spline to obtain a smooth path curve; inputting the smooth path curve into an improved integral compensation fuzzy adaptive pure tracking controller, and obtaining a current vehicle speed and a foresight path average curvature index preview point tracking curve path; the pure tracking controller is composed of a pure tracking model, a foresight distance fuzzy controller and a steering integral compensator. According to the pure tracking model, the central point of a rear axle of the agricultural machine serves as a tangent point, the longitudinal direction of a vehicle body at the current moment serves as a tangent line, a preview point is searched and tracked through the foresight distance, the expected front wheel rotation angle delta is obtained, and the agricultural machine reaches the preview point along an arc trajectory. By designing the fuzzy controller and dynamically adjusting the foresight distance, the problems of actual system response time lag, steering actuator saturation and the like are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of agricultural automatic navigation, and in particular relates to an integral compensation fuzzy adaptive pure tracking control method and device based on B-spline path optimization. Background Art

[0002] Agricultural machinery automatic navigation technology is one of the keys to smart agriculture and has become an important means to improve efficiency and reduce costs. Among them, high-precision path tracking control is crucial for autonomous operation of agricultural machinery. At present, research on straight line path tracking has been relatively in-depth at home and abroad. However, there are a large number of irregular fields in many provinces in China. Relying solely on straight line operations will result in the failure to fully utilize the edges of cultivated land, thereby reducing land use efficiency. In addition, there are many hilly and gently sloping lands in central and southern China (such as Jiangxi, Guizhou, and Hubei), and the terrain is uneven. Crops are often planted along the slope, showing the characteristics of curved planting. Therefore, curved path tracking is of great significance for expanding the scope of application of autonomous operation of agricultural machinery.

[0003] The curve path is complex and changeable, and it is difficult to fit it with an equation. The curve needs to be discretized into continuous points with small spacing for tracking, which will cause excessive storage space and long data communication time, affecting real-time performance. Secondly, the traditional pure tracking control method has large lateral deviations in some cases, and the tracking error after path interpolation is large, which affects the accuracy of agricultural machinery curve path tracking. If the sampling frequency is too high, multiple path points need to be stored continuously, which may cause excessive storage space and long data communication time, thus affecting real-time performance. Summary of the invention

[0004] The main purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide an integral compensation fuzzy adaptive pure tracking control method and device based on B-spline path optimization, which can adapt to various curvature paths including medium and high speeds, such as rotary tillage, sowing, fertilization and other operational requirements.

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

[0006] In a first aspect, the present invention provides an integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization, comprising the following steps:

[0007] Get sampling path points;

[0008] The sampling path points are optimized using B-spline to obtain a smooth path curve;

[0009] The smooth path curve is input into the improved integral compensation fuzzy adaptive pure tracking controller, and the curve path is tracked by obtaining the current vehicle speed and the average curvature of the forward-looking path to index the preview point; the pure tracking controller consists of three parts: a pure tracking model, a forward-looking distance fuzzy controller and a steering integral compensator; the pure tracking model takes the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent, and searches and tracks the preview point through the forward-looking distance to obtain the expected front wheel turning angle δ, so that the agricultural machinery reaches the preview point along a circular arc trajectory.

[0010] As a preferred technical solution, the sampling path points are optimized using B-spline to obtain a smooth curve path, specifically:

[0011] The B-spline curve is composed of P0, P1, ..., P n There are n+1 control points and a set of non-decreasing continuously changing vector nodes u i The k-order spline curve is defined, n>3, and the curve definition expression is:

[0012]

[0013] Among them, P i represents the control point, u represents the vector node, n represents the number of control points, k represents the order of the B-spline curve, i represents the i-th node vector or control point, B i,k (u) represents the i-th k-order B-spline curve basis function;

[0014] The basis function B i,k (u) is composed of the DeBoer-Cox recursion formula, expressed as:

[0015]

[0016] Where U1 and U2 represent basis functions B i,k The k value represents the smoothness of the curve. The larger the k value, the smoother the curve, but the higher the computational complexity.

[0017] As a preferred technical solution, in the pure tracking model, the formula for the expected front wheel turning angle is:

[0018] In the formula, α represents the front viewing angle of the agricultural machinery, L d Indicates the distance between the center point of the rear wheel axle of the agricultural machinery and the preview point.

[0019] As a preferred technical solution, the design of the pure tracking controller includes navigation parameter calculation: lateral deviation: connect adjacent path points into line segments, and then calculate the distance from the center point B of the current rear wheel axle of the agricultural machinery to the nearest path point X i and the previous and next path points X i-1 , Xi+1 The vertical distance of the line segment, the lateral deviation is equal to the smaller value of the absolute value of the calculated result. When X is known i is the closest point, X i+1 When it is the second closest point, the lateral deviation e d The calculation formula is:

[0020]

[0021] Among them, x and y represent the horizontal and vertical coordinate values ​​respectively;

[0022] Average curvature of the forward path: Connect the adjacent points of the interpolated curve path into line segments, and i-1 , X i and X i+1 Approximately fit three points on the same circle and then find X i Point curvature ρ i .

[0023] As a preferred technical solution, the foresight distance fuzzy controller is specifically:

[0024] First, the input and output variables are fuzzified, and the speed of the agricultural machinery v and the average curvature of the forward-looking path ρ are used as the input of the fuzzy controller. d As output, the basic principle of the foresight distance fuzzy control rule is then formulated.

[0025] As a preferred technical solution, the integral compensator continuously feeds back the lateral deviation of the agricultural machine and promptly corrects the steering angle to keep the agricultural machine on the desired track. The integral compensator increases the weight of the lateral deviation in the control algorithm, so that the agricultural machine maintains stable driving and precise control under different working conditions.

[0026] The formula of the integral compensator is as follows:

[0027] δ i =K i *∑e d

[0028] In the formula, δ i Indicates the front wheel angle integral compensation, K i Represents the integrating factor.

[0029] As a preferred technical solution, the integral compensator determines the current vehicle lateral deviation e d When the angle is less than 0.1m, the front wheel steering angle integral compensation is performed.

[0030] In a second aspect, the present invention provides an integral compensation fuzzy adaptive pure tracking control system based on B-spline path optimization, which is applied to the integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization, including a sampling module, a curve optimization module and a tracking control module;

[0031] The sampling module is used to obtain sampling path points;

[0032] The curve optimization module is used to optimize the sampling path points using B-spline to obtain a smooth path curve;

[0033] The tracking control module is used to input the smooth path curve into the improved integral compensation fuzzy adaptive pure tracking controller, and track the curve path by obtaining the current vehicle speed and the average curvature index of the forward-looking path to track the preview point; the pure tracking controller is composed of three parts: a pure tracking model, a forward-looking distance fuzzy controller and a steering integral compensator; the pure tracking model uses the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent, and searches and tracks the preview point through the forward-looking distance to obtain the expected front wheel turning angle δ, so that the agricultural machinery reaches the preview point along a circular arc trajectory.

[0034] In a third aspect, the present invention provides an agricultural machinery device, the agricultural machinery device comprising:

[0035] at least one processor; and,

[0036] a memory communicatively connected to the at least one processor; wherein,

[0037] The memory stores computer program instructions that can be executed by the at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can execute the integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization.

[0038] In a fourth aspect, the present invention provides a computer-readable storage medium storing a program, which, when executed by a processor, implements the integral-compensated fuzzy adaptive pure tracking control method based on B-spline path optimization.

[0039] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0040] (1) The present invention adopts the B-spline optimization method to improve the smoothness of the continuous sampling path of the driving agricultural machinery, thereby improving the tracking effect.

[0041] (2) The present invention solves the impact of variable curvature curve path characteristics on tracking accuracy and improves tracking accuracy.

[0042] (3) The present invention designs a fuzzy controller to dynamically adjust the forward-looking distance to solve problems such as actual system response lag and steering actuator saturation, thereby enhancing the stability and robustness of the control system.

[0043] (4) The present invention utilizes lateral deviation integration to achieve front wheel steering angle compensation, further optimizing the performance of the control system so that the agricultural machinery can operate more accurately and smoothly when tracking the path.

[0044] (5) The curved path is interpolated by the method of the present invention and used for tracking, which can significantly reduce its lateral deviation before interpolation. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 This is an overall flow chart of the integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization of the present invention.

[0047] Figure 2 This is a data comparison diagram before and after the B-spline data interpolation of the present invention;

[0048] Figure 3 This is a structural block diagram of the adaptive pure tracking controller based on fuzzy control of the present invention.

[0049] Figure 4 It is a diagram showing the relationship between the kinematic model of the two-wheel vehicle of the present invention and the pure pursuit geometry.

[0050] Figure 5 This is a flow chart of the method for calculating agricultural machinery navigation variables of the present invention.

[0051] Figure 6 The present invention is a flowchart of agricultural machinery navigation control in one embodiment of the present invention.

[0052] Figure 7 It is a structural diagram of the integral compensation fuzzy adaptive pure tracking control system based on B-spline path optimization of the present invention;

[0053] Figure 8 It is a schematic structural diagram of the agricultural machinery equipment of the present invention. DETAILED DESCRIPTION

[0054] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0055] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0056] In order to improve the accuracy of curve path tracking, the present invention designs an integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization, which can adapt to various curvature paths including medium and high speeds, such as rotary tillage, sowing, fertilization and other operation requirements. The average absolute and maximum absolute lateral deviation means of the improved method are reduced by 4.8% and 7.1% compared with the traditional pure tracking control method, and the tracking error after path interpolation is reduced by 75.9% compared with that before interpolation, which effectively improves the accuracy of agricultural machinery curve path tracking, meets the needs of agricultural production that requires curve operations, and lays the foundation for high-precision control.

[0057] The present invention firstly uses B-spline to interpolate and smooth the optimized path information of the sampled path points (interval of path points>1m) for the low-frequency sampling path trajectory points of driving agricultural machinery (interval of points after interpolation≤0.1m); in terms of control, in order to adapt to various curvature paths including medium and high speeds, such as rotary tillage, sowing, fertilization and other operation requirements, a fuzzy adaptive pure tracking control method with integral compensation is designed, and the driving speed of the agricultural machinery and the average curvature of the forward-looking path are input into the fuzzy controller to dynamically adjust the forward-looking distance. Finally, the front wheel turning angle is compensated based on the lateral deviation integral.

[0058] like Figure 1 As shown, an integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization in this embodiment includes the following steps:

[0059] S1, obtain sampling path points;

[0060] S2, using B-spline optimization to obtain a smooth curve path for the sampling path points;

[0061] Step S2 is specifically as follows:

[0062] The B-spline curve is composed of P0, P1, ..., Pn (n>3) A total of n+1 control points and a set of non-decreasing continuously changing vector nodes u i The k-order spline curve defined by is:

[0063]

[0064] Where P i - control points;

[0065] u——vector node;

[0066] n——number of control points;

[0067] k——B-spline curve order;

[0068] i——the i-th node vector, control point;

[0069] B i,k (u)——i-th k-order B-spline basis function;

[0070] Among them, the basis function B i,k (u) is composed of the DeBoer-Cox recursion formula, expressed as:

[0071]

[0072] In the formula, U1, U2——basis function B i,k The coefficient of (u);

[0073] It can be understood that the k value represents the smoothness of the curve; the larger the k value, the smoother the curve, but the higher the computational complexity; in order to balance the smoothness of the path and the computational complexity, a quartic third-order B-spline curve (k = 3) is selected, and the original data and interpolated data are compared. Figure 2 shown.

[0074] S3, inputting the smooth path curve into the improved integral compensation fuzzy adaptive pure pursuit controller, and tracking the curve path by obtaining the current vehicle speed and the average curvature index of the forward path preview point; Figure 3 As shown in the figure, the pure pursuit controller consists of three parts: pure pursuit model, forward-looking distance fuzzy controller and steering integral compensator, where ρ is the average curvature of the forward-looking path, e d is the lateral deviation, L d is the forward distance, δ is the expected value of the front wheel turning angle of the pure tracking model, δ i To compensate the front wheel turning angle for integral, take the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent line, find and track the preview point through the forward sight distance, obtain the expected front wheel turning angle δ, and make the agricultural machinery reach the preview point along a circular trajectory.

[0075] In step S3, the design steps of the pure tracking controller are as follows:

[0076] S31. Establishing a tractor kinematics model;

[0077] like Figure 4 The kinematic model of the two-wheeled vehicle in this embodiment and the pure pursuit geometry diagram are shown in FIG. In the navigation coordinate system XOY, A(x a ,y a ) is the coordinate of the center point of the front wheel axle of the established tractor two-wheel vehicle model, B(x b ,y b ) is the coordinate of the center point of the rear wheel axle of the tractor two-wheel vehicle model; δ is the front wheel turning angle of the agricultural machinery; v is the speed of the agricultural machinery; R is the turning radius.

[0078] S32. Design a pure tracking controller: take the center point of the rear wheel axle of the agricultural machine as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent line, find and track the preview point through the forward vision distance, obtain the expected front wheel turning angle δ, and make the agricultural machine reach the preview point along a circular arc trajectory line;

[0079] S33, calculation of navigation parameters;

[0080] S331, lateral deviation: Figure 5 As shown in the figure, in order to improve the accuracy of obtaining lateral deviation, adjacent path points are connected as line segments, and then the distance from the center point B of the current rear wheel axle of the agricultural machinery to the nearest path point X is calculated. i and the previous and next path points X i-1 , X i+1 The lateral deviation is equal to the smaller absolute value of the calculated result. i is the closest point, X i+1 When it is the second closest point, the lateral deviation e d The calculation formula is:

[0081]

[0082] Among them, x and y represent the horizontal and vertical coordinate values ​​respectively;

[0083] S332, average curvature of forward-looking path: To obtain the average curvature of the forward-looking path, the path point closest to the current position of the agricultural machine can be selected as the starting point, the forward-looking preview point as the end point, and the average curvature of the middle n path points can be calculated. The specific calculation method is to connect the adjacent points of the interpolated curve path into line segments, and connect the three adjacent points X i-1 , X i and X i+1 Approximately fit three points on the same circle and then find X i Point curvature ρ i .

[0084] S34. Design the foresight distance fuzzy controller: First, fuzzify the input and output variables, and use the tractor speed v and the average curvature ρ of the foresight path as the input of the fuzzy controller. d As output, the basic principle of the foresight distance fuzzy control rule is then formulated.

[0085] S35. Design a front wheel angle integral compensator based on lateral deviation: by continuously feeding back the lateral deviation of the agricultural machine, timely correct the steering angle so that the agricultural machine can keep driving on the desired trajectory. This method increases the weight of the lateral deviation in the control algorithm, so that the agricultural machine can maintain stable driving and precise control under different working conditions.

[0086] Integral compensator:

[0087] δ i =K i *∑e d

[0088] In the formula, δ i Indicates the front wheel angle integral compensation, K i Represents the integrating factor.

[0089] S36, the speed of the agricultural machinery and the average curvature of the forward-looking path are used as the input of the fuzzy control, and the forward-looking distance L d The output is the front wheel steering angle compensation through lateral deviation integration.

[0090] In a specific embodiment, Figure 6 As shown in the figure, the working process of the agricultural machinery navigation control system is as follows: first, the navigation system is initialized, and the sampling path points are sent from the screen. When the number of sent path points n meets the conditions (n>3), the path interpolation starts. Then the interpolated path points are transmitted to the controller, and the navigation system starts working. The integral compensator determines the current vehicle lateral deviation e d When the vehicle speed is less than 0.1m, the front wheel angle integral compensation is performed; based on the improved pure tracking control algorithm, the current vehicle speed and the average curvature index of the forward path are obtained to track the curved path.

[0091] It should be noted that, for the sake of convenience, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited to the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously.

[0092] Based on the same idea as the integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization in the above-mentioned embodiment, the present invention also provides an integral compensation fuzzy adaptive pure tracking control system based on B-spline path optimization, which can be used to execute the above-mentioned integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization. For ease of explanation, the structural schematic diagram of the embodiment of the integral compensation fuzzy adaptive pure tracking control system based on B-spline path optimization only shows the parts related to the embodiment of the present invention. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the device, and may include more or fewer components than shown in the diagram, or combine certain components, or arrange the components differently.

[0093] See also Figure 7 In another embodiment of the present application, an integral compensation fuzzy adaptive pure tracking control system 100 based on B-spline path optimization is provided, the system comprising a sampling module 101, a curve optimization module 102 and a tracking control module 103;

[0094] The sampling module 101 is used to obtain sampling path points;

[0095] The curve optimization module 102 is used to optimize the sampling path points using B-spline to obtain a smooth path curve;

[0096] The tracking control module 103 is used to input the smooth path curve into the improved integral compensation fuzzy adaptive pure tracking controller, and track the curve path by obtaining the current vehicle speed and the average curvature index of the forward-looking path to track the preview point; the pure tracking controller is composed of three parts: a pure tracking model, a forward-looking distance fuzzy controller and a steering integral compensator; the pure tracking model uses the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent, and searches and tracks the preview point through the forward-looking distance to obtain the expected front wheel turning angle δ, so that the agricultural machinery reaches the preview point along a circular arc trajectory.

[0097] It should be noted that the integral-compensated fuzzy adaptive pure tracking control system based on B-spline path optimization of the present invention corresponds one-to-one to the integral-compensated fuzzy adaptive pure tracking control method based on B-spline path optimization of the present invention. The technical features and beneficial effects described in the embodiment of the integral-compensated fuzzy adaptive pure tracking control method based on B-spline path optimization mentioned above are all applicable to the embodiment of the integral-compensated fuzzy adaptive pure tracking control based on B-spline path optimization. For specific contents, please refer to the description in the embodiment of the method of the present invention, which will not be repeated here. This is hereby declared.

[0098] In addition, in the implementation of the integral-compensated fuzzy adaptive pure tracking control system based on B-spline path optimization in the above-mentioned embodiment, the logical division of each program module is only an example. In actual applications, the above-mentioned functions can be assigned to different program modules as needed, for example, for the convenience of corresponding hardware configuration requirements or software implementation. That is, the internal structure of the integral-compensated fuzzy adaptive pure tracking control system based on B-spline path optimization is divided into different program modules to complete all or part of the functions described above.

[0099] See also Figure 8 In one embodiment, an agricultural machinery device that implements an integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization is provided. The agricultural machinery device 200 may include a first processor 201, a first memory 202 and a bus, and may also include a computer program stored in the first memory 202 and executable on the first processor 201, such as an integral compensation fuzzy adaptive pure tracking control program 203 based on B-spline path optimization.

[0100] The first memory 202 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the first memory 202 can be an internal storage unit of the electronic device 200, such as a mobile hard disk of the electronic device 200. In other embodiments, the first memory 202 can also be an external storage device of the electronic device 200, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 200. Further, the first memory 202 can also include both an internal storage unit of the electronic device 200 and an external storage device. The first memory 202 can not only be used to store application software and various types of data installed in the electronic device 200, such as the code of the integral compensation fuzzy adaptive pure tracking control program 203 based on B-spline path optimization, but also can be used to temporarily store data that has been output or is to be output.

[0101] In some embodiments, the first processor 201 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The first processor 201 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes various functions and processes data of the electronic device 200 by running or executing programs or modules stored in the first memory 202, and calling data stored in the first memory 202.

[0102] Figure 8 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 8 The structure shown does not constitute a limitation on the electronic device 200 , and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0103] The integral compensation fuzzy adaptive pure tracking control program 203 based on B-spline path optimization stored in the first memory 202 in the agricultural machinery 200 is a combination of multiple instructions. When running in the first processor 201, it can achieve:

[0104] Get sampling path points;

[0105] The sampling path points are optimized using B-spline to obtain a smooth path curve;

[0106] The smooth path curve is input into the improved integral compensation fuzzy adaptive pure tracking controller, and the curve path is tracked by obtaining the current vehicle speed and the average curvature of the forward-looking path to index the preview point; the pure tracking controller consists of three parts: a pure tracking model, a forward-looking distance fuzzy controller and a steering integral compensator; the pure tracking model takes the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent, and searches and tracks the preview point through the forward-looking distance to obtain the expected front wheel turning angle δ, so that the agricultural machinery reaches the preview point along a circular arc trajectory.

[0107] Furthermore, if the module / unit integrated in the electronic device 200 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

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

[0109] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0110] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization is characterized by: The steps include: Get sampling path points; The sampling path points are optimized using B-spline to obtain a smooth path curve; The smooth path curve is input into the improved integral compensation fuzzy adaptive pure pursuit controller, and the curve path is tracked by obtaining the current vehicle speed and the average curvature index of the forward path preview point; The pure tracking controller consists of three parts: a pure tracking model, a forward-looking distance fuzzy controller and a steering integral compensator; the pure tracking model takes the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent line, and searches and tracks the preview point through the forward-looking distance to obtain the expected front wheel turning angle δ, so that the agricultural machinery reaches the preview point along a circular arc trajectory.

2. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization according to claim 1 is characterized in that: The sampling path points are optimized using B-spline to obtain a smooth curve path, specifically: The B-spline curve is composed of P0, P1, ..., P n There are n+1 control points and a set of non-decreasing continuously changing vector nodes u i The k-order spline curve is defined, n>3, and the curve definition expression is: Among them, P i represents the control point, u represents the vector node, n represents the number of control points, k represents the order of the B-spline curve, i represents the i-th node vector or control point, B i,k (u) represents the i-th k-order B-spline curve basis function; The basis function B i,k (u) is composed of the DeBoer-Cox recursion formula, expressed as: Where U1 and U2 represent basis functions B i,k The k value represents the smoothness of the curve. The larger the k value, the smoother the curve, but the higher the computational complexity.

3. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization according to claim 1 is characterized in that: In the pure tracking model, the formula for the expected front wheel turning angle is: In the formula, α represents the front viewing angle of the agricultural machinery, L d Indicates the distance between the center point of the rear wheel axle of the agricultural machinery and the preview point.

4. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization according to claim 1 is characterized in that: The design of the pure tracking controller includes navigation parameter calculation: lateral deviation: connect adjacent path points into line segments, and then calculate the distance from the current rear wheel axle center point B to the nearest path point X i and the previous and next path points X i-1 , X i+1 The vertical distance of the line segment, the lateral deviation is equal to the smaller value of the absolute value of the calculated result. When X is known i is the closest point, X i+1 When it is the second closest point, the lateral deviation e d The calculation formula is: Among them, x and y represent the horizontal and vertical coordinate values ​​respectively; Average curvature of the forward path: Connect the adjacent points of the interpolated curve path into line segments, and i-1 , X i and X i+1 Approximately fit three points on the same circle and then find X i Point curvature ρ i .

5. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization according to claim 1 is characterized in that: The foresight distance fuzzy controller is specifically: First, the input and output variables are fuzzified, and the speed of the agricultural machinery v and the average curvature of the forward-looking path ρ are used as the input of the fuzzy controller. d As output, the basic principle of the foresight distance fuzzy control rule is then formulated.

6. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization according to claim 1 is characterized in that: The integral compensator continuously feeds back the lateral deviation of the agricultural machine and promptly corrects the steering angle to keep the agricultural machine on the desired track. The integral compensator increases the weight of the lateral deviation in the control algorithm, so that the agricultural machine maintains stable driving and precise control under different working conditions. The formula of the integral compensator is as follows: d i =K i *∑e d In the formula, δ i Indicates the front wheel angle integral compensation, K i Represents the integrating factor.

7. The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization according to claim 1 is characterized in that: The integral compensator determines the current vehicle lateral deviation e d When the angle is less than 0.1m, the front wheel steering angle integral compensation is performed.

8. Integral compensation fuzzy adaptive pure tracking control system based on B-spline path optimization, characterized in that: The integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization applied to any one of claims 1-7 comprises a sampling module, a curve optimization module and a tracking control module; The sampling module is used to obtain sampling path points; The curve optimization module is used to optimize the sampling path points using B-spline to obtain a smooth path curve; The tracking control module is used to input the smooth path curve into the improved integral compensation fuzzy adaptive pure tracking controller, and track the curve path by obtaining the current vehicle speed and the forward-looking path average curvature index preview point; The pure tracking controller consists of three parts: a pure tracking model, a forward-looking distance fuzzy controller and a steering integral compensator; the pure tracking model takes the center point of the rear wheel axle of the agricultural machinery as the tangent point and the longitudinal direction of the vehicle body at the current moment as the tangent line, and searches and tracks the preview point through the forward-looking distance to obtain the expected front wheel turning angle δ, so that the agricultural machinery reaches the preview point along a circular arc trajectory.

9. An agricultural machine, characterized in that: The agricultural machinery equipment includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores computer program instructions that can be executed by the at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can execute the integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization as described in any one of claims 1-7.

10. A computer-readable storage medium storing a program, characterized in that: When the program is executed by a processor, the integral compensation fuzzy adaptive pure tracking control method based on B-spline path optimization described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Intelligent navigation system and method for agricultural machinery

    CN119555090A