Disclosure of Invention
The invention provides a design method and a system of an event trigger controller of an automobile adaptive cruise control system, which aim to overcome the problems.
The method comprises the following steps:
step 1, establishing an automobile adaptive cruise system, and inputting information into a virtual controller, wherein the information is vehicle speed information obtained by a sensor in the automobile adaptive cruise system and a vehicle-mounted network;
step 2, establishing a virtual controller module, wherein the virtual controller module is used for calculating a virtual controller of the automobile adaptive cruise control system through a nonlinear model of the automobile adaptive cruise control system;
step 3, establishing an adaptive law module, processing the information output by the adaptive law module, and transmitting the processed information to an event trigger mechanism module;
step 4, the event trigger mechanism module designs a trigger mechanism corresponding to the system to obtain a trigger condition of the event trigger input signal module, and the event trigger mechanism module calculates to obtain an input signal by using output information in the virtual controller module;
triggering a triggering condition, activating an event triggering input signal module, updating an input signal at a triggering moment by the input signal, transmitting the input signal at the triggering moment to an automobile self-adaptive cruise system, and receiving the updated signal by the system;
the trigger condition is not triggered, and the control signal is always kept by the zero-order retainer;
and 5, transmitting the updated input signal back to the automobile self-adaptive cruise control system by the event trigger input signal module, and receiving the updated input signal by the automobile self-adaptive cruise control system.
Further, the model of the automobile adaptive cruise control system instep 1 is as follows:
wherein s is the current actual distance between the two vehicles, s
0Desired distance for the controlled vehicle to follow the leading vehicle, v
xIs the longitudinal speed, v, of the vehicle
sIs the front vehicle speed, and k is the vehicle driving force F
wfAnd slip ratio
Of a proportionality coefficient, i.e.
r
radIs the effective radius of the tire, omega
fAs angular velocity of the wheel, c
afIs an air resistance coefficient, f isCoefficient of rolling resistance, m is the mass of the vehicle, g is the acceleration of gravity, J is the moment of inertia of the tire, T
vehFor the drive torque applied to the front wheels, Δ
i(i ═ 1,2,3,4) are weather factors, roughness of the road surface, aging of the sensors and other interference factors that can affect the sensors of the automobile itself.
Further,step 2 comprises:
step 21, designing a dynamic virtual error surface:
zi=xi-ξi
πi=ξi-αi-1,i=2,3,4 (3)
wherein eta is
min> 0 and η
max0 is a design parameter, upsilon (t) is a conversion signal, and x
1Is an error integral term q, x
2Is the actual distance s, x between the controlled vehicle and the front vehicle
3Is the front vehicle speed v
s,x
4Is the angular velocity omega of the tire
f;π
iFor first-order filtering the output error, the first-order filtering is in the form of
ξ
i(0)=α
i-1(0) I-1, 2,3,4 wherein τ
iIs a given constant; xi
iIs an intermediate state variable, α
i-1For the virtual controller, the estimation error is
(i=1,2,3,4),
Is T
iAn estimated value of (d);
step 22, designing a virtual controller as follows:
wherein, c
1,c
2,c
3In order to design the parameters for the real purpose,
are respectively T
1、T
2、T
3Estimate of (b), z
1,z
2,z
3Is a virtual error surface for the system,
to specify the performance function parameters, v
xAs is the longitudinal speed of the vehicle,
and
are respectively xi
2,ξ
3The derivative of (c), ζ is the tracking error,
desired distance s for controlled vehicle
0;
k is a proportionality coefficient, and m is a vehicle mass;
c
afis the air resistance coefficient; -fg-n, f is the rolling resistance coefficient, g is the gravitational acceleration; and a, b, n and k are all designed virtual controller adjusting parameters.
The system of the invention comprises:
the system comprises a virtual controller module, an adaptive law module, an event trigger mechanism module, an event trigger input signal module and an automobile adaptive cruise system;
the input of the virtual controller module is connected with the output end of the automobile self-adaptive cruise control system,
the output end of the virtual controller module is respectively connected with the input ends of the adaptive law module and the event trigger mechanism module,
the input end of the event trigger input signal module is connected with the output end of the event trigger mechanism module,
the output end of the self-adaptive law module is connected with the input end of the virtual controller module,
the output end of the event trigger input signal module is connected with the input end of the automobile self-adaptive cruise control system;
the virtual controller module is used for obtaining a virtual controller of the system through a nonlinear model of the automobile self-adaptive cruise control system;
the self-adaptive law module is used for calculating the dynamic change of the self-adaptive parameters and sending the dynamic change to the virtual controller module;
the event trigger mechanism module is used for judging whether the current input signal meets the trigger condition.
Further, the adaptive law module is:
wherein, betaiI is 1,2,3,4 and phiiI is a positive design constant, z is 1,2,3,41,z2,z3,z4Is a virtual error surface.
Further, the event triggering mechanism module is as follows:
wherein, t
kk,kk∈Z
+,
Lambda is a transmission control law and satisfies that lambda is more than 0 and less than 1; j is the moment of inertia of the tire; e (t) ═ ω (t) -u (t) is the measurement error, u (t) is the input signal, ω (t) is the updated signal, and σ is the positive design parameter;
further, the event trigger input signal module is:
u (t) is an input signal when the trigger input signal module is triggered
During which the input signal is held at a constant ω (t)
kk)。
If the trigger requirement is not met, the event trigger input module does not work, the input signal is kept by the zero-order retainer until the signal meeting the trigger requirement is received, and triggering is carried out;
if the trigger requirement is met, the event trigger input module is activated to trigger the input signal u (t) at the momentkk+1) To the adaptive cruise system.
Most of the existing methods for the automobile adaptive cruise control system can realize the following of the controlled vehicle and the front vehicle, but the method not only can realize general following, but also can realize that the controlled vehicle and the front vehicle are always kept within a safe driving distance range through a specified performance theory, thereby completely avoiding the possibility of collision, reducing the waste of resources after adopting event triggering and greatly reducing the transmission times of data in network transmission.
The event trigger controller is applied to the self-adaptive cruise system, so that the consumption of communication resources is effectively reduced, and the collision of vehicles is completely avoided to the maximum extent by a specified performance theory.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The design method of the event trigger controller of the automobile adaptive cruise control system comprises the following steps:
step 1, establishing an automobile adaptive cruise system, and inputting information into a virtual controller, wherein the information is vehicle speed information obtained by a sensor in the automobile adaptive cruise system and a vehicle-mounted network;
step 2, establishing a virtual controller module, wherein the virtual controller module is used for calculating a virtual controller of the automobile adaptive cruise control system through a nonlinear model of the automobile adaptive cruise control system;
step 3, establishing an adaptive law module, processing the information output by the adaptive law module, and transmitting the processed information to an event trigger mechanism module;
step 4, the event trigger mechanism module designs a trigger mechanism corresponding to the system to obtain a trigger condition of the event trigger input signal module;
triggering a triggering condition, activating an event triggering input signal module, updating an input signal at a triggering moment by the input signal, calculating the input signal by using output information in a virtual controller module by an event triggering mechanism module, transmitting the input signal at the triggering moment to an automobile self-adaptive cruise system, and receiving the updated signal by the system;
the trigger condition is not triggered, and the control signal is always kept by the zero-order retainer;
and 5, transmitting the updated input signal back to the automobile self-adaptive cruise control system by the event trigger input signal module, and receiving the updated input signal by the automobile self-adaptive cruise control system.
2. The structure of the system of the invention comprises: the system comprises a virtual controller module, an adaptive law module, an event trigger mechanism module, an event trigger input signal module and an automobile cruise system, wherein the input of the virtual controller module is connected with the output end of the automobile adaptive cruise control system, the output end of the virtual controller module is respectively connected with the input ends of the adaptive law module and the event trigger mechanism module, the input end of the event trigger input signal module is connected with the output end of the event trigger mechanism module, the output end of the adaptive law module is connected with the input end of the virtual controller module, and the output end of the event trigger input signal module is connected with the input end of the automobile adaptive cruise control system.
The system needs to establish the following modules:
A. establishing automobile self-adaptive cruise control system model
The model of the automobile self-adaptive cruise control system is described by the following differential equation:
wherein s is the current actual distance between the two vehicles, s
0Desired distance for the controlled vehicle to follow the leading vehicle, v
xIs the longitudinal speed, v, of the vehicle
sIs the front vehicle speed, and k is the vehicle driving force F
wfAnd slip ratio
The scaling factor of (a) is,
namely, it is
r
radIs the effective radius, omega, of the tire
fIs the angular velocity of the wheel, c
afIs the air resistance coefficient, f is the rolling resistance coefficient, m is the vehicle mass, g is the gravitational acceleration, J is the tire moment of inertia, T
vehIs the drive torque, Δ, applied to the front wheels
i(i ═ 1,2,3,4) as a weather factor, roughness of the road surface, aging of the sensors and other factors that may be generated in the sensors of the vehicle itselfInterference factors influencing the interference.
B. Virtual controller module
The virtual controller module has the main function of obtaining the virtual controller of the system through the nonlinear model of the automobile adaptive cruise control system.
The treatment method comprises the following steps:
firstly, designing a dynamic virtual error surface in the following form:
zi=xi-ξi
πi=ξi-αi-1,i=2,3,4 (3)
wherein eta is
min> 0 and
ηmax0 is a design parameter, upsilon (t) is a switching signal, x
1Representing the error integral term q, x
2Representing the actual distance s, x between the controlled vehicle and the front vehicle
3Representing front vehicle speed v
s,x
4Representing angular velocity omega of tyre
f;π
iIs a first order filtering output error in the form of a first order filter
ξ
i(0)=α
i-1(0) I-1, 2,3,4 wherein τ
iIs a given constant; xi
iIs an intermediate state variable, α
i-1Is a virtual controller. In order to overcome the influence caused by parameter uncertainty, a parameter estimator needs to be designed to estimate the range of unknown parameters, and the estimation error has
(i ═ 1,2,3,4), wherein
Is T
iIs estimated.
The virtual controller is then of the form:
wherein, c
1,c
2,c
3In order to design the parameters for the real purpose,
are each T
1,T
2,T
3Estimate of (b), z
1,z
2,z
3Is a virtual error surface of the system,
to specify the performance function parameters, v
xAs is the longitudinal speed of the vehicle,
and
are respectively xi
2,ξ
3The derivative of (c), ζ is the tracking error,
desired distance s for controlled vehicle
0The time derivative is a derivative of the time,
where k is the proportionality coefficient, m is the vehicle mass,
wherein c is
afIs the coefficient of air resistance, -fg-n, where f is the coefficient of rolling resistance and g is the acceleration of gravity. The values of a, b, n,
are all designed virtual controller tuning parameters.
C. Adaptive law module
The function of the self-adaptive law module is to calculate the dynamic change of the self-adaptive parameters, calculate and send the dynamic change of the self-adaptive parameters to the virtual controller module.
Introducing an adaptive law to adaptive parameters in an automobile adaptive cruise control system:
wherein, betaiI is 1,2,3,4 and phiiI is a positive design constant, z is 1,2,3,41,z2,z3,z4Is a virtual error surface.
D. Event trigger mechanism module
The function of the event trigger mechanism module is to judge whether the current input signal meets the trigger condition.
The event trigger mechanism is as follows:
wherein J is the moment of inertia of the tire; lambda is a transmission control law and satisfies that lambda is more than 0 and less than 1; e (t) ═ ω (t) -u (t) is the measurement error, u (t) is the input signal, ω (t) is the updated signal, and σ is the positive design parameter;
E. event trigger input signal module
The automobile self-adaptive cruise control event trigger controller comprises the following components:
u (t) is the input signal, when (10) is triggered, at
During the period (non-trigger time), the input signal is held constant, i.e. ω (t)
kk)。
If the trigger requirement is not met, the event trigger input module does not work, the input signal is kept by the zero-order retainer until the signal meeting the trigger requirement is received, and triggering is carried out;
if the triggering requirement is met, the event triggering input module is activated to trigger the input signal omega (t) at the momentkk+1) To the adaptive cruise system.
And (3) explaining the working principle of the whole process:
the invention relates to a design method of an event trigger controller of an automobile adaptive cruise control system, which has a structure shown in figure 1. While the vehicle is running, the front vehicle speed v
sLongitudinal speed v of the controlled vehicle
xAnd the angular velocity omega of the wheel during travel
fInputting the information into the virtual controller module to obtain the virtual controller alpha
i(i ═ 1,2,3), adaptive parameters in the adaptive law module
The variable is transmitted to the input end of the virtual controller module for variable calculation, and the auxiliary virtual controller obtained by the virtual controller module
The updated input signal is transmitted back to the automobile self-adaptive cruise control system by the event triggering input signal module. The design aim of the invention is to enable the automobile adaptive cruise control system to effectively reduce unnecessary network transmission resources after adding the event trigger control method, and further prevent vehicle collision after combining with a specified performance theory.
The simulation results are shown in fig. 2 to 8. FIG. 2 is a graph showing the effect of tracking the distance between the controlled vehicle and the leading vehicle, FIG. 3 is a graph showing the angular velocity of the wheels of the controlled vehicle, FIG. 4 is a graph showing the effect of the control signal updated after event triggering, and FIG. 5 is a graph showing the effect of the adaptive parameters
FIG. 6 is a graph of adaptive parameters
FIG. 7 is a graph of adaptive parameters
FIG. 8 is a graph of adaptive parameters
And the graph shows that the controlled vehicle and the front vehicle can well follow and tend to be stable through the simulation result graph.
The whole beneficial effects are as follows:
(1) the event trigger controller is added in the invention, so that the vehicle collision is avoided, and the network resource transmission quantity can be saved.
(2) In the invention, the influence of external interference on the vehicle is considered, so that the method is more universal and persuasive.
(3) Most cruise systems have anti-collision capacity, but cannot completely ensure that vehicles cannot collide with each other, and the controlled vehicle and the front vehicle can keep a certain distance by combining with a specified performance theory.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.