[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115167424A - Path tracking control method of intelligent agricultural machine - Google Patents

Path tracking control method of intelligent agricultural machine Download PDF

Info

Publication number
CN115167424A
CN115167424A CN202210814305.0A CN202210814305A CN115167424A CN 115167424 A CN115167424 A CN 115167424A CN 202210814305 A CN202210814305 A CN 202210814305A CN 115167424 A CN115167424 A CN 115167424A
Authority
CN
China
Prior art keywords
state
parameter
constraint
estimation
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210814305.0A
Other languages
Chinese (zh)
Other versions
CN115167424B (en
Inventor
袁永军
郑靖科
戴海峰
陈金干
李忠俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhiyun New Energy Technology Co ltd
Original Assignee
Shanghai Zhiyun New Energy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhiyun New Energy Technology Co ltd filed Critical Shanghai Zhiyun New Energy Technology Co ltd
Priority to CN202210814305.0A priority Critical patent/CN115167424B/en
Publication of CN115167424A publication Critical patent/CN115167424A/en
Application granted granted Critical
Publication of CN115167424B publication Critical patent/CN115167424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • G05D1/0278Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using satellite positioning signals, e.g. GPS

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a path tracking control method of an intelligent agricultural machine, which comprises the following steps: step one, designing a control system architecture; designing an intelligent agricultural machinery dynamics model; designing an upper-layer controller architecture; step four, realizing the estimation of the transverse dynamic parameters of the intelligent agricultural machinery with constraints based on the double unscented Kalman filtering; step five, self-adaptive model prediction control based on the dynamic model; compared with the existing path tracking control method, the method improves the path tracking precision of the intelligent agricultural machine by combining the constraint double unscented Kalman filtering and the adaptive model tracking control, thereby improving the operation efficiency, the operation quality and the economic benefit of the agricultural machine; the path tracking control system provided by the invention can be deployed in actual agricultural machinery, and the requirements of reliability, instantaneity and cost of an embedded system are met on the premise of realizing good tracking precision.

Description

Path tracking control method of intelligent agricultural machine
Technical Field
The invention relates to the technical field of intelligent agricultural machinery, in particular to a path tracking control method of an intelligent agricultural machinery.
Background
The path tracking error is defined as the shortest distance between the current position of the vehicle and the expected path, a controller for good path tracking should ensure the average deviation and the maximum deviation between the actual driving path and the expected path of the vehicle as small as possible, and the accurate path tracking of the automatic agricultural vehicle is one of effective ways for improving the agricultural production efficiency and quality. Such as manually or automatically spraying agricultural chemicals, cause gaps or overlaps in the actual working area due to inaccurate path tracking, excessive and insufficient quantities of agricultural chemicals in parts of crops, which in turn leads to a reduction in crop yield and quality. Due to the complex working environment of the agricultural vehicle and the existence of unknown noise and interference, the realization of accurate path tracking of the agricultural vehicle is challenging.
Existing path tracking methods can be divided into three major categories: geometric methods, motion control laws and optimal control, which all have respective problems in the aspects of precision, cost and the like; the existing path tracking control methods of intelligent agricultural machinery, such as a PID control method based on fuzzy logic on-line setting control parameters and a longitudinal and transverse dynamics control method based on fuzzy PID control and a Linear Quadratic Regulator (LQR), are only capable of realizing good tracking performance under a certain specific condition, and are not based on a path tracking control method of a dynamics model which can consider the dynamics characteristics of the agricultural machinery more fully and is beneficial to improving the path tracking precision; although a dynamic model is considered, the effectiveness of a control algorithm is only checked in a simulation environment, and the real-time performance, robustness and path tracking performance of a controller are not checked in an actual farmland, namely, some existing executable path tracking control methods are poor in precision, and other algorithms capable of realizing high-precision path tracking are limited by the performance and cost of an embedded system and can not be deployed on a real agricultural machine for the moment.
Disclosure of Invention
The invention aims to provide a path tracking control method of an intelligent agricultural machine, which aims to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a path tracking control method of an intelligent agricultural machine comprises the following steps: step one, designing a control system architecture; designing an intelligent agricultural machinery dynamics model; designing an upper-layer controller architecture; fourthly, realizing the estimation of the transverse dynamic parameters of the intelligent agricultural machinery with constraints based on the double unscented Kalman filtering; step five, self-adaptive model prediction control based on the dynamic model;
in the first step, the upper controller acquires current state information of the agricultural machine acquired by the sensor, carries out state estimation, calculates and generates target speed and rotation angle of the agricultural machine according to a farmland full-coverage path generated by the path planner, and finally executes corresponding actions by the lower controllers of the vehicle speed controller and the steering controller;
wherein in the second step, designing an intelligent agricultural machinery dynamics model comprises the following steps:
1) Modeling lateral and yaw motion: because the agricultural machinery is low in running speed and the non-linear dynamic characteristic is not obvious in performance, only the transverse motion and the yaw motion of the agricultural machinery can be considered, and the two motions are described by a linear two-degree-of-freedom model; the lateral and yaw motions can be described by differential equations as follows:
Figure BDA0003741609830000021
wherein m is the mass of the spraying machine, I z For the sprayer, u is the longitudinal velocity, β is the centroid yaw angle, γ is the yaw angular velocity, δ is the nozzle velocity f Angle of rotation of front wheel, delta r For rear wheel steering angle, C f For front wheel cornering stiffness, C r For rear wheel cornering stiffness, /) f Is the centroid to front axis distance, /) r Is the distance from the center of mass to the rear axle;
2) Modeling a steering system: the agricultural machinery adopts a steering mechanism with a hydraulic push rod and a connecting rod as main components, and under the reasonable design of a controller, the closed-loop response of a steering controller and a steering system can be approximate to the closed-loop response of a first-order system, so that the whole steering system including the controller can be modeled as follows:
Figure BDA0003741609830000031
where δ is the front or rear wheel steering angle, δ e Desired angle of rotation, τ, of front or rear wheels δ Is the time delay constant of the steering system;
in the third step, the upper controller structure consists of a DUKF estimator and an AMPC, the estimator fuses the vehicle state information provided by different sensors, the vehicle state and parameters from the sensors or the estimator and the reference path generated by the path planner are used as the input of the AMPC, and the estimator participates in the control quantity, namely the expected front wheel turning angle delta f,e In the calculation of (2), the expected front wheel steering angle is input into a lower controller to realize the action of a steering mechanism, and the whole process is carried out on line according to a certain period;
in the fourth step, two unscented kalman filters are adopted to estimate parameters and states respectively, corresponding to two independent state space expressions, after a group of better parameters is estimated, the parameter estimator can be temporarily shut down to reduce the calculation burden of an upper controller, and when the current estimated state is not credible, the parameter estimator can be restarted to realize accurate state estimation; meanwhile, because the estimated variables are more, the available sensor measurement quantity is relatively less, the precise estimation of the state and the parameters of the agricultural machinery is difficult to realize only by a DUKF estimator, and the estimation value without physical significance can be obtained, so that the pdf truncation method is adopted to realize the DUKF with the constraint, and the constraint is only applied to the parameters to be estimated in order to improve the calculation efficiency; the method comprises the following specific steps:
1) Obtaining a discrete state space expression of parameter estimation and state estimation: transforming the formula (1) into discrete state space expressions for parameter estimation and state estimation respectively by using a first-order forward Euler formula;
the parameter estimation state space expression is:
x p (k+1)=x p (k)+w p (k)
z p (k)=h p (x p (k))+v p (k); (3)
wherein x is p =[C f C r ] T ,z p =[βγ] T ,w p And v p Process noise and observation noise for parameter estimation, respectively;
state estimation state space expression:
x s (k+1)=f s (x s (k))+w s (k)
z s (k)=x s (k)+v s (k); (4)
wherein x is s =[βγ] T ,z s =[βγ] T ,w s And v s Process noise and observation noise for state estimation, respectively;
2) Constraints are applied to the parameters to be estimated: suppose that there is an unscented Kalman Filter estimate x of m parameters at time k p (k | k) with a mean value of
Figure BDA0003741609830000041
Covariance of P p (k | k), accordingly, there are m scalar state constraints:
Figure BDA0003741609830000043
wherein, LB ki ≤UB ki ,θ ki A column vector of m elements, the ith element of which is 1 and the rest elements of which are 0; under this condition, the Gaussian is truncated
Figure BDA0003741609830000042
And then find the mean of the truncated pdf
Figure BDA0003741609830000051
Sum covariance
Figure BDA0003741609830000052
I.e. mean and covariance of constrained parameter estimates, definition
Figure BDA0003741609830000053
To perform the first i post-constraint state estimation,
Figure BDA0003741609830000054
is composed of
Figure BDA0003741609830000055
The covariance of (a);
3) Estimating the state and parameters of the intelligent agricultural machine in real time by using an estimator;
in the sixth step, define A as the point where the vehicle is located, B as the point where the vehicle is closest to the reference track, and course error
Figure BDA0003741609830000059
The difference between the heading at point A and the heading at point B (tangential direction of the path), and the lateral error Δ y is the distance between point A and point B, and the heading error is given by the expected path
Figure BDA00037416098300000510
And the lateral error Δ y satisfy:
Figure BDA0003741609830000056
assuming that the heading error and the slip angle are always small, there are
Figure BDA0003741609830000057
V y ≈V x β, then the above equation can be simplified to:
Figure BDA0003741609830000058
wherein gamma is the transverse swing angular velocity V of the spraying machine x The running speed is beta, the centroid slip angle is beta, and rho is the curvature of the expected path;
combining the equations (1), (2) and (26), and obtaining a state equation of the discrete time system by using a first-order forward Euler formula:
x(k+1)=A k x(k)+B k u(k)+d(k)
y(k)=Cx(k); (27)
the intelligent agricultural machinery under the technical scheme adopts a coordinated steering mode, and the steering angle of the front wheel is equal to the steering angle of the rear wheel, and the steering angles are opposite, namely delta r =-δ f And thus the state variables of the system
Figure BDA0003741609830000061
The control amount being a desired front wheel steering angle delta f,e I.e. u = δ f,e Output quantity of
Figure BDA0003741609830000062
The matrix A is:
Figure BDA0003741609830000063
the matrix B is:
Figure BDA0003741609830000064
the spatial parameters d (k) are:
Figure BDA0003741609830000065
the matrix C is:
Figure BDA0003741609830000071
in order to avoid sudden change of the control quantity and influence the precision and stability of the path tracking of the sprayer, the expected front wheel turning angle increment is adopted as the control quantity of the system, and the state equation of the system can be rewritten as follows:
Figure BDA0003741609830000072
wherein,
Figure BDA0003741609830000073
the state at time k can be obtained from the above state and parameter estimation
Figure BDA0003741609830000074
And parameters
Figure BDA0003741609830000075
In conjunction with equation (28), the optimization problem of constrained MPC with spatial parameters can be described as:
Figure BDA0003741609830000076
satisfy kinetics (i =0,1, \8230;, N p )
Figure BDA0003741609830000077
Satisfying the time domain constraint:
u min (k+i)≤u(k+i)≤u max (k+i),i=0,1,…,N c -1
Figure BDA0003741609830000078
wherein,
Figure BDA0003741609830000081
in the above optimization problem, Ω y And Ω u Is a weighting matrix given by:
Figure BDA0003741609830000082
Figure BDA0003741609830000083
Figure BDA0003741609830000084
for controlling the increment sequence, as an independent variable of the constraint optimization problem, the definition is:
Figure BDA0003741609830000085
y (k +1 k) is N predicted at time k based on system (28) p A step control output defined as:
Figure BDA0003741609830000086
in order to avoid the situation of no solution in the solving process, a relaxation factor epsilon is introduced into the formula (29), wherein lambda is a given constant; coupled (28), (29) for obtaining the predicted N of the system p Step control output:
Figure BDA0003741609830000087
wherein,
Figure BDA0003741609830000091
Figure BDA0003741609830000092
Figure BDA0003741609830000093
Figure BDA0003741609830000094
because the constraint condition exists, the analytical solution of the optimization problem can not be obtained under the general condition, therefore, a numerical solving method needs to be adopted, namely the constraint optimization problem needs to be converted into quadratic programming problem description;
the standard form of the objective function of the quadratic programming problem is:
Figure BDA0003741609830000095
the transformation (29) is in standard form, ignoring and
Figure BDA0003741609830000096
independent items, get
Figure BDA0003741609830000097
Figure BDA0003741609830000101
Solve the above equation and will
Figure BDA0003741609830000102
The first element of (2) is used as a control quantity, and the process is repeated every period to realize complete path tracking.
Preferably, in the first step, the path planner, the upper controller, the lower controller, the RTK-GPS and the IMU of the platform all communicate with each other through the CAN.
Preferably, in the third step, the vehicle state information includes a centroid slip angle measurement β from the RTK-GPS m And vehicle speed V, yaw-rate measurement gamma from IMU m And front wheel angle delta from Hall angle sensor f The parameter to be estimated is the equivalent cornering stiffness C of the front axle and the rear axle f And C r The states to be estimated are the centroid slip angle β and the yaw rate γ.
Preferably, in the third step, the desired vehicle speed is set by the operator and is realized by the lower controller operating the actuator, and the proposed upper controller is independent of the speed, so that the controller can adaptively realize accurate path tracking at different vehicle speeds.
Preferably, in the step four 3), the operation steps of the DUKF estimator are as follows:
3.1 Setting an initial value
Figure BDA0003741609830000103
Figure BDA0003741609830000104
3.2 ) parameter prediction
Construct 2n +1 sample points:
Figure BDA0003741609830000111
calculating parameter prediction sample points:
Figure BDA0003741609830000112
calculating the mean and variance of the parameter prediction sample points:
Figure BDA0003741609830000113
Figure BDA0003741609830000114
3.3 State prediction
Construct 2n +1 sample points:
Figure BDA0003741609830000115
and (5) carrying the parameter prediction value in the step (2) into a formula (25) to calculate a state prediction sample point:
Figure BDA0003741609830000116
calculating the mean and variance of the state prediction sample points:
Figure BDA0003741609830000117
Figure BDA0003741609830000118
3.4 ) state correction
When a new measured value z is obtained s (k) Then, the state mean and variance are updated:
Figure BDA0003741609830000121
Figure BDA0003741609830000122
Figure BDA0003741609830000123
wherein,
Figure BDA0003741609830000124
Figure BDA0003741609830000125
Figure BDA0003741609830000126
3.5 Correction of parameters
When a new measured value z is obtained p (k) I.e. by
Figure BDA0003741609830000127
Then, updating the parameter mean and variance:
Figure BDA0003741609830000128
Figure BDA0003741609830000129
Figure BDA00037416098300001210
wherein,
Figure BDA00037416098300001211
Figure BDA00037416098300001212
Figure BDA00037416098300001213
3.6 Pdf truncation;
3.7 The real-time estimation of the state and the parameters of the intelligent agricultural machine can be realized by repeating the steps 3.2 to 3.6. Preferably, the pdf truncation in step 3.6) specifically includes the following steps:
3.6.1 Initialization)
i=0;
Figure BDA0003741609830000131
Figure BDA0003741609830000132
Wherein,
Figure BDA0003741609830000133
is defined as the parameter estimation after the first i constraints are performed, the corresponding covariance is
Figure BDA0003741609830000134
3.6.2 Let i =1, pair
Figure BDA0003741609830000135
Performing Jordan standard decomposition to obtain an orthogonal matrix T ki And diagonal matrix W ki Namely:
Figure BDA0003741609830000136
3.6.3 Computing the m by m orthogonal matrix psi using Gram-Schmidt orthogonalization ki Which satisfies:
Figure BDA0003741609830000137
definition psi ki Is formed by a row vector psi ki,j (j =1, \8230;, m) i.e.:
ψ ki =[ψ ki,1 …ψ ki,m ] T ; (9)
then psi ki Is calculated by the following formula:
Figure BDA0003741609830000138
for j =2, \8230;, m, the following operations are performed:
Figure BDA0003741609830000141
wherein e is j Is a unit vector, i.e. e j A column vector of all 0's of m elements except the jth element being 1;
if calculated by the above equation ki,j 0, then the following formula is substituted:
Figure BDA0003741609830000142
re-regularization psi ki,j
Figure BDA0003741609830000143
3.6.4 Define v) definition ki Comprises the following steps:
Figure BDA0003741609830000144
as can be seen from formulas (3) to (5), v ki The mean of (a) is 0, and the covariance matrix is constant (unit);
lower bound LB of transform (1) ki And upper bound UB ki Obtaining:
Figure BDA0003741609830000145
Figure BDA0003741609830000146
get normalized scalar constraints:
a ki ≤[1 0…0]v ki ≤b ki ; (17)
it follows that v is before the constraints are executed ki Is N (0, 1), but the constraint requires v ki Must be located at a ki And b ki In the middle of;
3.6.5 Define a random variable v) k,i+1 V is the pdf truncated ki Namely:
pdf(v k,i+1 )=truncated pdf(v ki ); (18)
the mean and variance of the transformation parameter estimates after the first constraint is performed are:
Figure BDA0003741609830000151
Figure BDA0003741609830000152
wherein,
Figure BDA0003741609830000153
Figure BDA0003741609830000154
Figure BDA0003741609830000155
the mean and variance of the parameter estimates after performing the first constraint are:
Figure BDA0003741609830000156
Figure BDA0003741609830000157
increasing i by 1 and repeating the process of steps 6.2-6.5 to obtain a parameter estimate after the next constraint is executed; it is to be noted that it is preferable that,
Figure BDA0003741609830000161
is an unconstrained parameter estimation at time k,
Figure BDA0003741609830000162
is the state of the parameter at time k after the first constraint is performed,
Figure BDA0003741609830000163
the parameter state at time k after the first two constraints are executed, and so on, and after the process is performed m times (once for each constraint), the final constraint state estimation and the covariance of time k are obtained:
Figure BDA0003741609830000164
Figure BDA0003741609830000165
compared with the prior art, the invention has the beneficial effects that: compared with the existing path tracking control method, the method improves the path tracking precision of the intelligent agricultural machine by combining the constraint double unscented Kalman filtering and the adaptive model tracking control, thereby improving the operation efficiency, the operation quality and the economic benefit of the agricultural machine; the path tracking control system provided by the invention can be deployed in actual agricultural machinery, and the requirements of reliability, instantaneity and cost of an embedded system are considered on the premise of realizing good tracking precision.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a control system architecture diagram;
FIG. 3 is a diagram of a two-degree-of-freedom dynamics model of an agricultural machine;
FIG. 4 is a diagram of an upper level controller architecture;
FIG. 5 is a lateral error versus heading error graph;
FIG. 6 is a graph showing an actual value of a front wheel steering angle;
FIG. 7 is a comparison plot of yaw rate;
FIG. 8 is a graph comparing centroid slip angles;
fig. 9 is a front-rear wheel cornering stiffness estimation graph;
FIG. 10 is a diagram of the agricultural machinery path converted to the UTM coordinate system;
FIG. 11 is a lateral error curve diagram during the driving of the agricultural machinery.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1-5, an embodiment of the present invention is shown: a path tracking control method of an intelligent agricultural machine comprises the following steps: step one, designing a control system architecture; designing an intelligent agricultural machinery dynamics model; designing an upper controller architecture; step four, realizing the estimation of the transverse dynamic parameters of the intelligent agricultural machinery with constraints based on the double unscented Kalman filtering; step five, self-adaptive model prediction control based on the dynamic model;
in the first step, the upper controller acquires current state information of the agricultural machine acquired by the sensor, performs state estimation, calculates and generates a target speed and a rotation angle of the agricultural machine according to a farmland full-coverage path generated by the path planner, the lower controllers of the vehicle speed controller and the steering controller finally execute corresponding actions, the configuration of the control system sensor adopts a real-time kinematic GPS (RTK-GPS) + an inertial navigation system (IMU), two RTK-GPS receivers are respectively arranged at the head and the tail of the vehicle, the inertial navigation unit (IMU) is arranged near the mass center of the platform, and the path planner, the upper controller, the lower controller, the RTK-GPS and the IMU of the platform are communicated through CAN;
in the second step, designing an intelligent agricultural machinery dynamics model comprises the following steps:
1) Modeling lateral and yaw motion: because the agricultural machinery has low running speed and unobvious nonlinear dynamic characteristic performance, only the transverse motion and the yaw motion of the agricultural machinery can be considered, and the two motions are described by a linear two-degree-of-freedom model; the lateral and yaw motions can be described by differential equations as follows:
Figure BDA0003741609830000181
wherein m is the mass of the spraying machine, I z For the sprayer yaw inertia moment, u is the longitudinal speed, beta is the centroid slip angle, gamma is the yaw angular velocity, delta f Is the angle of rotation of the front wheel, delta r For rear wheel steering angle, C f For front wheel cornering stiffness, C r For rear wheel cornering stiffness, /) f Is the centroid to front axis distance, /) r Is the distance from the center of mass to the rear axle;
2) Modeling a steering system: the agricultural machinery adopts a steering mechanism with a hydraulic push rod and a connecting rod as main components, and under the reasonable design of a controller, the closed-loop response of a steering controller and a steering system can be approximate to the closed-loop response of a first-order system, so that the whole steering system including the controller can be modeled as follows:
Figure BDA0003741609830000182
where δ is the front or rear wheel steering angle, δ e Desired angle of rotation, τ, of front or rear wheels δ Is the time delay constant of the steering system;
in the third step, the upper controller structure consists of a DUKF estimator and an AMPC, the estimator fuses vehicle state information provided by different sensors, and the vehicle state information comprises a centroid slip angle measured value beta from an RTK-GPS m And vehicle speed V, yaw-rate measurement gamma from IMU m And front wheel angle delta from Hall angle sensor f The parameter to be estimated is the equivalent cornering stiffness C of the front axle and the rear axle f And C r The state to be estimated is the centroid slip angle β and the yaw rate γ, and the vehicle state and parameters from the sensor or estimator and the reference path generated by the path planner are taken as inputs to the AMPC, participating in the control quantity, i.e., the desired front wheel steering angle δ f,e In the calculation, the expected front wheel steering angle is input into a lower layer controller to realize the action of a steering mechanism, the whole process is carried out on line according to a certain period, the expected vehicle speed is set by an operator and is realized by operating an executing mechanism by the lower layer controller, and the provided upper layer controller is irrelevant to the speed, so that the controller can adaptively realize accurate path tracking under different vehicle speeds;
in the fourth step, two unscented kalman filters are adopted to estimate parameters and states respectively, corresponding to two independent state space expressions, after a group of better parameters are estimated, the parameter estimator can be temporarily shut down to reduce the calculation burden of an upper controller, and when the current estimated state is not credible, the parameter estimator can be restarted to realize accurate state estimation; meanwhile, because the estimated variables are more, the available sensor measurement quantity is relatively less, the precise estimation of the state and the parameters of the agricultural machinery is difficult to realize only by a DUKF estimator, and the estimation value without physical significance can be obtained, so that the pdf truncation method is adopted to realize the DUKF with the constraint, and the constraint is only applied to the parameters to be estimated in order to improve the calculation efficiency; the method specifically comprises the following steps:
1) Obtaining a discrete state space expression of parameter estimation and state estimation: transforming the formula (1) into discrete state space expressions for parameter estimation and state estimation respectively by using a first-order forward Euler formula;
the parameter estimation state space expression is:
x p (k+1)=x p (k)+w p (k)
z p (k)=h p (x p (k))+v p (k); (3)
wherein x is p =[C f C r ] T ,z p =[βγ] T ,w p And v p Process noise and observation noise for parameter estimation, respectively;
state estimation state space expression:
x s (k+1)=f s (x s (k))+w s (k)
z s (k)=x s (k)+v s (k); (4)
wherein x is s =[βγ] T ,z s =[βγ] T ,w s And v s Process noise and observation noise for state estimation, respectively;
2) Constraints are imposed on the parameters to be estimated: suppose that there is an unscented Kalman Filter estimate x of m parameters at time k p (k | k) with a mean value of
Figure BDA0003741609830000201
Covariance of P p (k | k), accordingly, there are m scalar state constraints:
Figure BDA0003741609830000202
wherein, LB ki ≤UB ki ,θ ki A column vector of m elements in which the ith element is 1 and the remaining elements are 0; under this condition, the Gaussian is truncated
Figure BDA0003741609830000203
And then find the mean of the truncated pdf
Figure BDA0003741609830000204
Sum covariance
Figure BDA0003741609830000205
I.e. mean and covariance of constrained parameter estimates, definition
Figure BDA0003741609830000206
To perform the first i post-constraint state estimation,
Figure BDA0003741609830000207
is composed of
Figure BDA0003741609830000208
The covariance of (a);
3) The real-time estimation of the state and the parameters of the intelligent agricultural machine by adopting the estimator specifically comprises the following steps:
3.1 Setting an initial value
Figure BDA0003741609830000209
Figure BDA00037416098300002010
3.2 ) parameter prediction
Construct 2n +1 sample points:
Figure BDA0003741609830000211
calculating parameter prediction sample points:
Figure BDA0003741609830000212
calculating the mean and variance of the parameter prediction sample points:
Figure BDA0003741609830000213
Figure BDA0003741609830000214
3.3 State prediction
Construct 2n +1 sample points:
Figure BDA0003741609830000215
and (3) carrying the parameter predicted value in the step (2) into a formula (25) to calculate a state prediction sample point:
Figure BDA0003741609830000216
calculating the mean and variance of the state prediction sample points:
Figure BDA0003741609830000217
Figure BDA0003741609830000218
3.4 ) state correction
When a new measured value z is obtained s (k) Then, the state mean and variance are updated:
Figure BDA0003741609830000221
Figure BDA0003741609830000222
Figure BDA0003741609830000223
wherein,
Figure BDA0003741609830000224
Figure BDA0003741609830000225
Figure BDA0003741609830000226
3.5 Correction of parameters
When a new measured value z is obtained p (k) I.e. by
Figure BDA0003741609830000227
Then, updating the parameter mean and variance:
Figure BDA0003741609830000228
Figure BDA0003741609830000229
Figure BDA00037416098300002210
wherein,
Figure BDA00037416098300002211
Figure BDA00037416098300002212
Figure BDA00037416098300002213
3.6 Pdf truncation, specifically comprising the steps of:
3.6.1 Initialization)
i=0;
Figure BDA0003741609830000231
Figure BDA0003741609830000232
Wherein,
Figure BDA0003741609830000233
is defined as the parameter estimation after the first i constraints are performed, the corresponding covariance is
Figure BDA0003741609830000234
3.6.2 Let i =1, pair
Figure BDA0003741609830000235
Performing Jordan standard decomposition to obtain an orthogonal matrix T ki And diagonal matrix W ki Namely:
Figure BDA0003741609830000236
3.6.3 Computing the m by m orthogonal matrix ψ using Gram-Schmidt orthogonalization ki Which satisfies:
Figure BDA0003741609830000237
definition ofψ ki Is formed by a row vector psi ki,j (j =1, \8230;, m) i.e.:
ψ ki =[ψ ki,1 …ψ ki,m ] T ; (9)
then psi ki Is calculated by the following formula:
Figure BDA0003741609830000238
for j =2, \8230;, m, the following operations are performed:
Figure BDA0003741609830000241
wherein e is j Is a unit vector, i.e. e j A column vector of all 0's of m elements except the jth element being 1;
if calculated by the above equation ki,j 0, then substituted with the following formula:
Figure BDA0003741609830000242
re-regularization psi ki,j
Figure BDA0003741609830000243
3.6.4 Define v) definition ki Comprises the following steps:
Figure BDA0003741609830000244
as is clear from the formulae (3) to (5), v ki The mean of (a) is 0, and the covariance matrix is constant (unit);
lower bound LB of transformation (1) ki And upper bound UB ki And obtaining:
Figure BDA0003741609830000245
Figure BDA0003741609830000246
get normalized scalar constraints:
a ki ≤[1 0…0]v ki ≤b ki ; (17)
it follows that v is before the constraints are executed ki Is N (0, 1), but the constraint requires v ki Must be located at a ki And b ki In the middle of;
3.6.5 Define a random variable v) k,i+1 V is the pdf truncated ki Namely:
pdf(v k,i+1 )=truncated pdf(v ki ); (18)
the mean and variance of the transformation parameter estimates after the first constraint is performed are:
Figure BDA0003741609830000251
Figure BDA0003741609830000252
wherein,
Figure BDA0003741609830000253
Figure BDA0003741609830000254
Figure BDA0003741609830000255
the mean and variance of the parameter estimates after performing the first constraint are:
Figure BDA0003741609830000256
Figure BDA0003741609830000257
increasing i by 1 and repeating the process of the steps 6.2-6.5 to obtain parameter estimation after the next constraint is executed; it is to be noted that it is preferable that,
Figure BDA0003741609830000261
is an unconstrained parameter estimation at time k,
Figure BDA0003741609830000262
is the state of the parameter at time k after the first constraint is performed,
Figure BDA0003741609830000263
is the parameter state at time k after the first two constraints are executed, and so on, after this process is performed m times (once for each constraint), the final constraint state estimate and the covariance of time k are obtained:
Figure BDA0003741609830000264
Figure BDA0003741609830000265
3.7 Repeating the steps 3.2-3.6, and then realizing real-time estimation of the state and the parameters of the intelligent agricultural machine;
wherein in the sixth step, define A as the point where the vehicle is located, B as the point where the vehicle is closest to the reference track, and course error
Figure BDA0003741609830000266
The heading at the point A and the heading at the point B(tangential direction of path), the lateral error Δ y is the distance between points A and B, and the heading error is given for a desired path
Figure BDA00037416098300002612
And the lateral error Δ y satisfies:
Figure BDA0003741609830000267
Figure BDA0003741609830000268
assuming that the heading error and the slip angle are always small, there are
Figure BDA0003741609830000269
V y ≈V x β, then the above equation can be simplified to:
Figure BDA00037416098300002610
Figure BDA00037416098300002611
wherein gamma is the transverse swing angular velocity V of the spraying machine x The running speed is beta, the centroid slip angle is beta, and rho is the curvature of the expected path;
combining the formulas (1), (2) and (26), obtaining a state equation of the discrete time system by using a first-order forward Euler formula:
x(k+1)=A k x(k)+B k u(k)+d(k)
y(k)=Cx(k); (27)
the intelligent agricultural machinery under the technical scheme adopts a coordinated steering mode, and the steering angle of the front wheel is equal to the steering angle of the rear wheel in size and opposite to the steering angle of the rear wheel, namely delta r =-δ f Thus state variables of the system
Figure BDA0003741609830000273
The control amount being a desired front wheel steering angle delta f,e I.e. u = δ f,e Output amount of
Figure BDA0003741609830000274
The matrix A is:
Figure BDA0003741609830000271
the matrix B is:
Figure BDA0003741609830000272
the spatial parameters d (k) are:
Figure BDA0003741609830000281
the matrix C is:
Figure BDA0003741609830000282
in order to avoid sudden change of the control quantity and influence the precision and stability of the path tracking of the sprayer, the expected front wheel turning angle increment is adopted as the control quantity of the system, and the state equation of the system can be rewritten as follows:
Figure BDA0003741609830000283
Figure BDA0003741609830000284
wherein,
Figure BDA0003741609830000285
the state at time k can be obtained from the above state and parameter estimation
Figure BDA0003741609830000286
And parameters
Figure BDA0003741609830000287
In conjunction with equation (28), the optimization problem of constrained MPC with spatial parameters can be described as:
Figure BDA0003741609830000288
satisfy kinetics (i =0,1, \8230;, N p )
Figure BDA0003741609830000289
Figure BDA00037416098300002810
Figure BDA00037416098300002811
y(k|k)=y(k);
Satisfying the time domain constraint:
u min (k+i)≤u(k+i)≤u max (k+i),i=0,1,…,N c -1
Figure BDA0003741609830000297
wherein,
Figure BDA0003741609830000291
in the above optimization problem,Ω y And Ω u Is a weighting matrix given by:
Figure BDA0003741609830000292
Figure BDA0003741609830000293
Figure BDA0003741609830000294
for controlling the increment sequence, as an independent variable of the constraint optimization problem, the definition is:
Figure BDA0003741609830000295
y (k +1 k) is N predicted at time k based on system (28) p A step control output defined as:
Figure BDA0003741609830000296
in order to avoid the situation of no solution in the solving process, a relaxation factor epsilon is introduced into the formula (29), wherein lambda is a given constant; coupled (28), (29) for obtaining the predicted N of the system p Step control output:
Figure BDA0003741609830000301
wherein,
Figure BDA0003741609830000302
Figure BDA0003741609830000303
Figure BDA0003741609830000304
Figure BDA0003741609830000305
because the constraint condition exists, the analytical solution of the optimization problem can not be obtained under the general condition, therefore, a numerical solving method needs to be adopted, namely the constraint optimization problem needs to be converted into quadratic programming problem description;
the standard form of the objective function of the quadratic programming problem is:
Figure BDA0003741609830000306
the transformation (29) is of standard form, ignoring and
Figure BDA0003741609830000311
independent items, get
Figure BDA0003741609830000312
Solve the above equation and will
Figure BDA0003741609830000313
The above process is repeated every period, and complete path tracking is realized.
The method provided in the embodiment is applied to an actual agricultural machine for testing, and an S-shaped path is adopted as a reference path for tracking the path of the agricultural machine; the test results are shown in fig. 6-11, wherein fig. 7-9 reflect the state with constraints and the working condition of the parameter estimator, and since the true value of the cornering stiffness is not known initially, the cornering stiffness of the front and rear wheels starts from a specified initial value, the estimated cornering stiffness of the front and rear wheels gradually converges to the true value along with the running of the agricultural machinery, and meanwhile, the estimated centroid cornering angle also gradually converges to the true value; the result shows that the designed state and parameter estimator with the constraint can estimate the real dynamic state and parameters of the agricultural machinery in real time, and provides reliable guarantee for model prediction control based on a dynamic model; fig. 10 and fig. 11 reflect the actual driving path of the agricultural machine and the deviation from the expected path, and it can be seen that the maximum lateral deviation does not exceed 0.03m in the whole driving process of the agricultural machine, which indicates that the controller can realize the high-precision path tracking of the intelligent agricultural machine, and further can improve the quality and efficiency of the operation.
Based on the above, the invention provides an intelligent agricultural machinery path tracking control method, and a controller suitable for intelligent agricultural machinery path tracking is designed by combining Double Unscented Kalman Filtering (DUKF) with PDF truncation and self-adaptive MPC with spatial parameters, so that the accuracy of intelligent agricultural machinery path tracking can be effectively improved.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (6)

1. A path tracking control method of an intelligent agricultural machine comprises the following steps: step one, designing a control system architecture; designing an intelligent agricultural machinery dynamic model; designing an upper-layer controller architecture; step four, realizing the estimation of the transverse dynamic parameters of the intelligent agricultural machinery with constraints based on the double unscented Kalman filtering; step five, self-adaptive model prediction control based on the dynamic model; the method is characterized in that:
in the first step, the upper controller acquires current state information of the agricultural machine acquired by the sensor, carries out state estimation, calculates and generates target speed and rotation angle of the agricultural machine according to a farmland full-coverage path generated by the path planner, and finally executes corresponding actions by the lower controllers of the vehicle speed controller and the steering controller;
in the second step, designing an intelligent agricultural machinery dynamics model comprises the following steps:
1) Modeling lateral and yaw motion: because the agricultural machinery is low in running speed and the non-linear dynamic characteristic is not obvious in performance, only the transverse motion and the yaw motion of the agricultural machinery can be considered, and the two motions are described by a linear two-degree-of-freedom model; the lateral and yaw motions can be described by differential equations as follows:
Figure FDA0003741609820000011
wherein m is the mass of the spraying machine, I z For the sprayer, u is the longitudinal velocity, β is the centroid yaw angle, γ is the yaw angular velocity, δ is the nozzle velocity f Is the angle of rotation of the front wheel, delta r For rear wheel steering angle, C f For front wheel cornering stiffness, C r For rear wheel cornering stiffness, /) f Is the centroid to front axis distance, /) r Is the distance from the center of mass to the rear axle;
2) Modeling a steering system: the agricultural machinery adopts a steering mechanism with a hydraulic push rod and a connecting rod as main components, and under the reasonable design of a controller, the closed-loop response of a steering controller and a steering system can be approximate to the closed-loop response of a first-order system, so that the whole steering system including the controller can be modeled as follows:
Figure FDA0003741609820000021
where δ is the front or rear wheel steering angle, δ e Desired angle of rotation, τ, of front or rear wheels δ Is the time delay constant of the steering system;
in the third step, the upper controller structure consists of a DUKF estimator and an AMPC, the estimator fuses the vehicle state information provided by different sensors, the vehicle state and parameters from the sensors or the estimator and the reference path generated by the path planner are used as the input of the AMPC, and the estimator participates in the control quantity, namely the expected front wheel turning angle delta f,e In the calculation, the expected front wheel steering angle is input to a lower controller to realize the action of a steering mechanism, and the whole process is carried out on line according to a certain period;
in the fourth step, two unscented kalman filters are adopted to estimate parameters and states respectively, corresponding to two independent state space expressions, after a group of better parameters are estimated, the parameter estimator can be temporarily shut down to reduce the calculation burden of an upper controller, and when the current estimated state is not credible, the parameter estimator can be restarted to realize accurate state estimation; meanwhile, because the estimated variables are more, the available sensor measurement quantity is relatively less, the precise estimation of the state and the parameters of the agricultural machinery is difficult to realize only by a DUKF estimator, and the estimation value without physical significance can be obtained, so that the pdf truncation method is adopted to realize the DUKF with the constraint, and the constraint is only applied to the parameters to be estimated in order to improve the calculation efficiency; the method specifically comprises the following steps:
1) Obtaining a discrete state space expression of parameter estimation and state estimation: respectively transforming the formula (1) into discrete state space expressions for parameter estimation and state estimation by utilizing a first-order forward Euler formula;
the parameter estimation state space expression is:
x p (k+1)=x p (k)+w p (k)
z p (k)=h p (x p (k))+v p (k); (3)
wherein x is p =[C f C r ] T ,z p =[β γ] T ,w p And v p Process noise and observation noise for parameter estimation, respectively;
state estimation state space expression:
x s (k+1)=f s (x s (k))+w s (k)
z s (k)=x s (k)+v s (k); (4)
wherein x is s =[β γ] T ,z s =[β γ] T ,w s And v s Process noise and observation noise for state estimation, respectively;
2) Constraints are applied to the parameters to be estimated: suppose that there is an unscented Kalman Filter estimate x of m parameters at time k p (k | k) with a mean value of
Figure FDA0003741609820000031
Covariance of P p (k | k), accordingly, there are m scalar state constraints:
Figure FDA0003741609820000032
wherein, LB ki ≤UB ki ,θ ki A column vector of m elements in which the ith element is 1 and the remaining elements are 0; under this condition, the truncated Gaussian pdf
Figure FDA0003741609820000033
And then find the mean of the truncated pdf
Figure FDA0003741609820000034
Sum covariance
Figure FDA0003741609820000035
I.e. parameters with constraintsMean and covariance of the estimate, definition
Figure FDA0003741609820000036
To perform the first i post-constraint state estimation,
Figure FDA0003741609820000037
is composed of
Figure FDA0003741609820000038
The covariance of (a);
3) Estimating states and parameters of the intelligent agricultural machinery in real time by using an estimator;
wherein in the sixth step, define A as the point where the vehicle is located, B as the point where the vehicle is closest to the reference track, and course error
Figure FDA0003741609820000041
The difference between the heading at point A and the heading at point B (tangential direction of the path), and the lateral error Δ y is the distance between point A and point B, and the heading error is determined for a given desired path
Figure FDA0003741609820000042
And the lateral error Δ y satisfies:
Figure FDA0003741609820000043
Figure FDA0003741609820000044
assuming that the heading error and the slip angle are always small, there are
Figure FDA0003741609820000045
V y ≈V x β, then the above equation can be simplified to:
Figure FDA0003741609820000046
Figure FDA0003741609820000047
wherein gamma is the transverse swing angular velocity V of the spraying machine x The running speed is beta, the centroid slip angle is beta, and rho is the curvature of the expected path;
combining the equations (1), (2) and (26), and obtaining a state equation of the discrete time system by using a first-order forward Euler formula:
x(k+1)=A k x(k)+B k u(k)+d(k)
y(k)=Cx(k); (27)
the intelligent agricultural machinery under the technical scheme adopts a coordinated steering mode, and the steering angle of the front wheel is equal to the steering angle of the rear wheel in size and opposite to the steering angle of the rear wheel, namely delta r =-δ f And thus the state variables of the system
Figure FDA0003741609820000048
The control amount being a desired front wheel steering angle delta f,e I.e. u = δ f,e Output quantity of
Figure FDA0003741609820000051
The matrix A is:
Figure FDA0003741609820000052
the matrix B is:
Figure FDA0003741609820000053
the spatial parameters d (k) are:
Figure FDA0003741609820000054
the matrix C is:
Figure FDA0003741609820000055
in order to avoid sudden change of the control quantity and influence the precision and stability of the path tracking of the sprayer, the expected front wheel turning angle increment is adopted as the control quantity of the system, and the state equation of the system can be rewritten as follows:
Figure FDA0003741609820000061
Figure FDA0003741609820000062
wherein,
Figure FDA0003741609820000063
the state at time k can be obtained from the above state and parameter estimation
Figure FDA0003741609820000064
And parameters
Figure FDA0003741609820000065
In conjunction with equation (28), the optimization problem of constrained MPC with spatial parameters can be described as:
Figure FDA0003741609820000066
satisfy kinetics (i =0,1, \8230;, N p )
Figure FDA0003741609820000067
Figure FDA0003741609820000068
Figure FDA0003741609820000069
y(k|k)=y(k);
Satisfying the time domain constraint:
u min (k+i)≤u(k+i)≤u max (k+i),i=0,1,…,N c -1
Figure FDA00037416098200000610
wherein,
Figure FDA00037416098200000611
in the above optimization problem, Ω y And Ω u Is a weighting matrix given by:
Figure FDA0003741609820000071
Figure FDA0003741609820000072
Figure FDA0003741609820000073
for controlling the increment sequence, as an independent variable of the constraint optimization problem, the definition is:
Figure FDA0003741609820000074
y (k +1 k) is N predicted at time k based on system (28) p A step control output defined as:
Figure FDA0003741609820000075
in order to avoid the situation of no solution in the solving process, a relaxation factor epsilon is introduced into the formula (29), wherein lambda is a given constant; coupled (28), (29) to obtain the predicted N of the system p Step control output:
Figure FDA0003741609820000076
wherein,
Figure FDA0003741609820000077
Figure FDA0003741609820000081
Figure FDA0003741609820000082
Figure FDA0003741609820000083
because the constraint condition exists, the analytical solution of the optimization problem can not be obtained under the general condition, therefore, a numerical solving method needs to be adopted, namely the constraint optimization problem needs to be converted into quadratic programming problem description;
the standard form of the objective function of the quadratic programming problem is:
Figure FDA0003741609820000084
the transformation (29) is in standard form, ignoring and
Figure FDA0003741609820000085
independent items, get
Figure FDA0003741609820000086
Solve the above equation and will
Figure FDA0003741609820000087
The first element of (2) is used as a control quantity, and the process is repeated every period to realize complete path tracking.
2. The path tracking control method of the intelligent agricultural machine according to claim 1, characterized in that: in the first step, the path planner, the upper controller, the lower controller, the RTK-GPS and the IMU of the platform are communicated through CAN.
3. The path tracking control method of the intelligent agricultural machine according to claim 1, characterized in that: in the third step, the vehicle state information comprises a centroid slip angle measurement beta from an RTK-GPS m And vehicle speed V, yaw-rate measurement gamma from IMU m And front wheel angle delta from Hall angle sensor f The parameter to be estimated is the equivalent cornering stiffness C of the front axle and the rear axle f And C r The states to be estimated are the centroid slip angle β and the yaw rate γ.
4. The path tracking control method of the intelligent agricultural machine according to claim 1, characterized in that: in the third step, the expected vehicle speed is set by the operator and is realized by operating the actuating mechanism by the lower-layer controller, and the proposed upper-layer controller is independent of the speed, so that the controller can adaptively realize accurate path tracking under different vehicle speeds.
5. The path tracking control method of the intelligent agricultural machine according to claim 1, characterized in that: in the step four 3), the operation steps of the DUKF estimator are as follows:
3.1 Setting an initial value
Figure FDA0003741609820000091
Figure FDA0003741609820000092
3.2 Parameter prediction
Construct 2n +1 sample points:
Figure FDA0003741609820000101
calculating parameter prediction sample points:
Figure FDA0003741609820000102
calculating the mean and variance of the parameter prediction sample points:
Figure FDA0003741609820000103
Figure FDA0003741609820000104
3.3 State prediction
Construct 2n +1 sample points:
Figure FDA0003741609820000105
and (5) carrying the parameter prediction value in the step (2) into a formula (25) to calculate a state prediction sample point:
Figure FDA0003741609820000106
calculating the mean and variance of the state prediction sample points:
Figure FDA0003741609820000107
Figure FDA0003741609820000108
3.4 ) state correction
When a new measured value z is obtained s (k) Then, the state mean and variance are updated:
Figure FDA0003741609820000111
Figure FDA0003741609820000112
Figure FDA0003741609820000113
wherein,
Figure FDA0003741609820000114
Figure FDA0003741609820000115
Figure FDA0003741609820000116
3.5 ) correction of parameters
When a new measured value z is obtained p (k) I.e. by
Figure FDA0003741609820000117
Then, updating the parameter mean and variance:
Figure FDA0003741609820000118
Figure FDA0003741609820000119
Figure FDA00037416098200001110
wherein,
Figure FDA00037416098200001111
Figure FDA00037416098200001112
Figure FDA00037416098200001113
3.6 Pdf truncation;
3.7 The real-time estimation of the state and the parameters of the intelligent agricultural machine can be realized by repeating the steps 3.2 to 3.6.
6. The path tracking control method of the intelligent agricultural machine according to claim 5, characterized in that: the pdf truncation step 3.6) specifically comprises the following steps:
3.6.1 Initialization)
i=0;
Figure FDA0003741609820000121
Figure FDA0003741609820000122
Wherein,
Figure FDA0003741609820000123
is defined as performing the first i post-constraint parameter estimates, with the corresponding covariance as
Figure FDA0003741609820000124
3.6.2 Let i =1, pair
Figure FDA0003741609820000125
Performing Jordan standard decomposition to obtain an orthogonal matrix T ki And diagonal matrix W ki Namely:
Figure FDA0003741609820000126
3.6.3 Computing the m by m orthogonal matrix ψ using Gram-Schmidt orthogonalization ki Which satisfies:
Figure FDA0003741609820000127
definition psi ki Is formed by a row vector psi ki,j (j =1, \8230;, m) i.e.:
ψ ki =[ψ ki,1 …ψ ki,m ] T ; (9)
then psi ki Is calculated by the following formula:
Figure FDA0003741609820000128
for j =2, \8230;, m, the following operations are performed:
Figure FDA0003741609820000131
wherein e is j Is a unit vector, i.e. e j Is a column vector of m elements, all 0's except the jth element being 1;
if calculated by the above equation ki,j 0, then substituted with the following formula:
Figure FDA0003741609820000132
re-regularization psi ki,j
Figure FDA0003741609820000133
3.6.4 Define v) definition ki Comprises the following steps:
Figure FDA0003741609820000134
as can be seen from formulas (3) to (5), v ki Has a mean of 0, covariance matrix of identity (unit)
Lower bound LB of transform (1) ki And upper bound UB ki Obtaining:
Figure FDA0003741609820000135
Figure FDA0003741609820000136
get normalized scalar constraints:
a ki ≤[1 0…0]v ki ≤b ki ; (17)
it follows that v is before the constraints are executed ki Is N (0, 1), but the constraint requires v ki Must be located at a ki And b ki In the middle of;
3.6.5 Define a random variable v) k,i+1 V is the pdf truncated ki Namely:
pdf(v k,i+1 )=truncated pdf(v ki ); (18)
the mean and variance of the transformation parameter estimates after the first constraint is performed are:
Figure FDA0003741609820000141
Figure FDA0003741609820000142
wherein,
Figure FDA0003741609820000143
Figure FDA0003741609820000144
Figure FDA0003741609820000145
the mean and variance of the parameter estimates after performing the first constraint are:
Figure FDA0003741609820000146
Figure FDA0003741609820000147
increasing i by 1 and repeating the process of steps 6.2-6.5 to obtain a parameter estimate after the next constraint is executed; it is noted that,
Figure FDA0003741609820000151
is an unconstrained parameter estimation at time k,
Figure FDA0003741609820000152
is the state of the parameter at time k after the first constraint is executed,
Figure FDA0003741609820000153
is the parameter state at time k after the first two constraints are executed, and so on, after this process is performed m times (once for each constraint), the final constraint state estimate and the covariance of time k are obtained:
Figure FDA0003741609820000154
Figure FDA0003741609820000155
CN202210814305.0A 2022-07-12 2022-07-12 Path tracking control method of intelligent agricultural machine Active CN115167424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210814305.0A CN115167424B (en) 2022-07-12 2022-07-12 Path tracking control method of intelligent agricultural machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210814305.0A CN115167424B (en) 2022-07-12 2022-07-12 Path tracking control method of intelligent agricultural machine

Publications (2)

Publication Number Publication Date
CN115167424A true CN115167424A (en) 2022-10-11
CN115167424B CN115167424B (en) 2024-10-01

Family

ID=83494085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210814305.0A Active CN115167424B (en) 2022-07-12 2022-07-12 Path tracking control method of intelligent agricultural machine

Country Status (1)

Country Link
CN (1) CN115167424B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118131633A (en) * 2024-05-08 2024-06-04 安徽大学 LQR and Kalman filtering-based unmanned bicycle self-balancing control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857098A (en) * 2018-12-11 2019-06-07 东南大学 A kind of automatic Pilot agricultural machinery Trajectory Tracking System and method based on MPC
WO2020238011A1 (en) * 2019-05-28 2020-12-03 南京天辰礼达电子科技有限公司 Kinematics estimation and deviation calibration method for crawler-type tractor
CN113408062A (en) * 2021-07-09 2021-09-17 中国石油大学(华东) Automatic driving full-working-condition road surface self-adaptive MPC (MPC) trajectory tracking control and evaluation method
US20220001861A1 (en) * 2020-07-01 2022-01-06 The Regents Of The University Of Michigan Contingent Model Predictive Control Incorporating Online Estimation of Nominal and Uncertain Parameters
CN114572191A (en) * 2021-12-23 2022-06-03 桂林航天工业学院 Independently-driven electric automobile trajectory tracking and stability integrated control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857098A (en) * 2018-12-11 2019-06-07 东南大学 A kind of automatic Pilot agricultural machinery Trajectory Tracking System and method based on MPC
WO2020238011A1 (en) * 2019-05-28 2020-12-03 南京天辰礼达电子科技有限公司 Kinematics estimation and deviation calibration method for crawler-type tractor
US20220001861A1 (en) * 2020-07-01 2022-01-06 The Regents Of The University Of Michigan Contingent Model Predictive Control Incorporating Online Estimation of Nominal and Uncertain Parameters
CN113408062A (en) * 2021-07-09 2021-09-17 中国石油大学(华东) Automatic driving full-working-condition road surface self-adaptive MPC (MPC) trajectory tracking control and evaluation method
CN114572191A (en) * 2021-12-23 2022-06-03 桂林航天工业学院 Independently-driven electric automobile trajectory tracking and stability integrated control method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
LEANDRO VARGAS-MELENDEZ等: "Sensor Fusion Based on an Integrated Neural Network and Probability Density Function (PDF) Dual Kalman Filter for On-Line Estimation of Vehicle Parameters and States", SENSORS, vol. 17, no. 5, 29 April 2017 (2017-04-29), pages 1 - 17 *
SCHNELLE, F: "Adaptive nonlinear model predictive control design of a flexible-link manipulator with uncertain parameters", ACTA MECHANICA SINICA, vol. 33, no. 3, 18 July 2017 (2017-07-18), pages 529 - 542, XP036270555, DOI: 10.1007/s10409-017-0669-4 *
刘国鹏: "挂载式无人农机跟踪控制与仿真", 中国优秀硕士学位论文全文数据库 农业科技辑, no. 2020, 15 January 2020 (2020-01-15), pages 044 - 8 *
李睿等: "考虑轨迹预测补偿的履带车辆滑动参数估计方法", 清华大学学报, no. 2022, 21 April 2021 (2021-04-21), pages 133 - 140 *
郑靖科,戴海峰: "基于带约束DUKF和AMPC的喷雾机路径跟踪控制", 机电一体化, no. 6, 15 December 2022 (2022-12-15) *
陈宇珂: "基于自适应模型预测控制的车辆避障路径规划与跟踪控制", 中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑, no. 2021, 15 July 2021 (2021-07-15), pages 035 - 265 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118131633A (en) * 2024-05-08 2024-06-04 安徽大学 LQR and Kalman filtering-based unmanned bicycle self-balancing control method
CN118131633B (en) * 2024-05-08 2024-07-16 安徽大学 LQR and Kalman filtering-based unmanned bicycle self-balancing control method

Also Published As

Publication number Publication date
CN115167424B (en) 2024-10-01

Similar Documents

Publication Publication Date Title
Alcalá et al. Autonomous racing using linear parameter varying-model predictive control (LPV-MPC)
Fang et al. Trajectory tracking control of farm vehicles in presence of sliding
Kayacan et al. Towards agrobots: Identification of the yaw dynamics and trajectory tracking of an autonomous tractor
Kraus et al. Moving horizon estimation and nonlinear model predictive control for autonomous agricultural vehicles
CN107415939B (en) Steering stability control method for distributed driving electric automobile
Wang et al. Adaptive turning control for an agricultural robot tractor
CN114967475B (en) Unmanned vehicle trajectory tracking and stability robust control method and system
Yin et al. Trajectory tracking based on adaptive sliding mode control for agricultural tractor
Kim et al. Path tracking for a skid-steer vehicle using model predictive control with on-line sparse gaussian process
US10599151B1 (en) Transformer (modifier) design for controlling articulated vehicles smoothly
Ji et al. Path tracking of unmanned agricultural tractors based on a novel adaptive second-order sliding mode control
CN113126623A (en) Adaptive dynamic sliding mode automatic driving vehicle path tracking control method considering input saturation
Wang et al. Observer-based finite frequency H∞ state-feedback control for autonomous ground vehicles
CN117360544A (en) DRL-MPC-based automatic driving vehicle transverse control method
CN115167424B (en) Path tracking control method of intelligent agricultural machine
CN109249393B (en) Multi-parameter robot real-time behavior correction method based on empirical control
Wang et al. Lateral displacement control for agricultural tractor based on cascade control structure
JP2018084899A (en) Autonomous travel vehicle, controller, computer program, control method of autonomous travel vehicle
CN111736598B (en) Harvester path tracking control method and system based on adaptive neural network
Hill et al. Online gain setting method for path tracking using CMA-ES: Application to off-road mobile robot control
Gauthier-Clerc et al. Online velocity fluctuation of off-road wheeled mobile robots: A reinforcement learning approach
CN117472046A (en) Intelligent driving vehicle path tracking method, device, equipment and storage medium
Zhang et al. Adaptive neural network-based path tracking control for autonomous combine harvester with input saturation
CN116661310A (en) Variable gain ESO-based robust control method for differential wheeled robot
CN116819973A (en) Track tracking control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant