CN117130263B - Intelligent control method and system for whole vehicle based on big data of Internet of vehicles - Google Patents
Intelligent control method and system for whole vehicle based on big data of Internet of vehicles Download PDFInfo
- Publication number
- CN117130263B CN117130263B CN202311397591.6A CN202311397591A CN117130263B CN 117130263 B CN117130263 B CN 117130263B CN 202311397591 A CN202311397591 A CN 202311397591A CN 117130263 B CN117130263 B CN 117130263B
- Authority
- CN
- China
- Prior art keywords
- data
- whole vehicle
- individual
- intelligent control
- path planning
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 230000000739 chaotic effect Effects 0.000 claims abstract description 37
- 230000008569 process Effects 0.000 claims abstract description 29
- 230000002159 abnormal effect Effects 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000005315 distribution function Methods 0.000 claims abstract description 13
- 230000004927 fusion Effects 0.000 claims abstract description 13
- 238000004364 calculation method Methods 0.000 claims abstract description 10
- 238000005457 optimization Methods 0.000 claims abstract description 7
- 230000007613 environmental effect Effects 0.000 claims abstract description 5
- 230000006870 function Effects 0.000 claims description 63
- 238000004458 analytical method Methods 0.000 claims description 24
- 230000006855 networking Effects 0.000 claims description 11
- 230000003044 adaptive effect Effects 0.000 claims description 6
- 238000011156 evaluation Methods 0.000 claims description 6
- 238000005259 measurement Methods 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 4
- 230000007423 decrease Effects 0.000 claims description 3
- 230000005484 gravity Effects 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 230000009471 action Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/0205—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
- G05B13/024—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a whole vehicle intelligent control method and system based on big data of the internet of vehicles, wherein the method comprises the following steps: data acquisition, data processing, calculation of an objective function, path planning and intelligent control of the whole vehicle. The invention belongs to the technical field of intelligent control of whole vehicles, in particular to an intelligent control method and system of a whole vehicle based on big data of the Internet of vehicles, wherein the scheme replaces a missing value by a mean value replacement method, redefines local density through KNN, identifies and deletes an abnormal value, and performs data fusion based on EKF to obtain the state and environmental information of the whole vehicle; and (3) adopting an improved chaotic variable optimization position initialization process, and using a self-adaptive inertia weight adjusting function, a Laplacian distribution function and an experience exchange strategy optimization position updating process to find an optimal path planning scheme.
Description
Technical Field
The invention belongs to the technical field of intelligent control of whole vehicles, and particularly relates to an intelligent control method and system of a whole vehicle based on big data of the Internet of vehicles.
Background
The intelligent control of the whole vehicle is realized by mutual cooperation of various systems and technologies so as to realize safer, efficient and convenient driving experience. However, the real-time data of the multiple sensors acquired by the prior art has missing values and abnormal values, so that the inaccuracy and unreliability of the data are increased, and the inaccurate state and environmental information of the whole vehicle are obtained; the method has the problems that the initial position of the traditional path planning algorithm is unevenly distributed, the ergodic performance is weak, the diversity of position updating is reduced in the later stage of the path planning algorithm, the algorithm is trapped into local optimum and early convergence, wrong driving decisions are generated, and the risk of accidents is increased.
Disclosure of Invention
Aiming at the problems that the acquired multi-sensor real-time data has missing values and abnormal values, the inaccuracy and unreliability of the data are increased, and inaccurate whole vehicle state and environment information are obtained, the scheme adopts a vehicle networking platform to process the data, replaces the missing values by using a mean value replacement method, redefines the local density of a DPC algorithm through KNN, eliminates the influence of a cut-off distance on clustering performance, defines and optimizes rules for determining the abnormal values from the angle of abnormal value detection, accurately and effectively eliminates the abnormal values, and carries out data fusion based on EKF, so as to obtain more accurate whole vehicle state and environment information; aiming at the problems that the initial position of the traditional path planning algorithm is unevenly distributed, the ergodic performance is weak, the diversity of position updating is reduced in the later period of the path planning algorithm, the algorithm falls into local optimum and early convergence, so that wrong driving decisions are generated and the risk of accidents is increased.
The technical scheme adopted by the invention is as follows: the invention provides a whole vehicle intelligent control method based on big data of the internet of vehicles, which comprises the following steps:
step S1: data acquisition, namely acquiring multi-sensor real-time data and uploading the data to a vehicle networking platform;
step S2: data processing, namely replacing the missing value by using a mean value replacement method, redefining local density through KNN, identifying and deleting the abnormal value, and carrying out data fusion based on EKF to obtain the state and environment information of the whole vehicle;
step S3: calculating an objective function, wherein the objective function is calculated based on the state of the whole vehicle and the environmental information;
step S4: path planning, optimizing a position initialization process by adopting an improved chaotic variable, optimizing a first position updating process by using a self-adaptive inertia weight adjusting function, optimizing a second position updating process by using a Laplacian distribution function and an experience exchange strategy, and finding an optimal path planning scheme;
step S5: and the intelligent control of the whole vehicle is carried out, and the intelligent control of the automatic driving of the whole vehicle is carried out according to an optimal path planning scheme.
Further, in step S1, the data acquisition is to acquire real-time data of multiple sensors based on a laser radar, an inertial measurement unit and a wheel odometer installed on the whole vehicle to form an analysis data set, and upload the analysis data set to a vehicle networking platform for storage.
Further, in step S2, the data processing specifically includes the steps of:
step S21: data preprocessing, namely replacing and analyzing missing values in a data set by using a mean value replacement method;
step S22: the Euclidean distance was calculated using the following formula:
;
wherein w is ef Is the Euclidean distance between data e and data f, (x) e ,y e ) And (x) f ,y f ) Coordinates of data e and data f, respectively, e and f being data indexes in the analysis dataset;
step S23: the local density is calculated using the formula:
;
wherein ρ is e Is the local density of data e, knn () is a numberSet of k nearest neighbor values according, (x) e ,y e ) And (x) f ,y f ) The coordinates of data e and data f respectively,is the sum of Euclidean distances between data e and its k nearest neighbors, i.e. the overrun of data e,/->Is the sum of the overrun of k nearest neighbor values of the data e;
step S24: the relative distance is calculated using the following formula:
;
in xi e Is the relative distance between data e and data f, x is the multiplication operator;
step S25: calculating a threshold value of the local density, and presetting a local density empirical parameter r ρ The formula used is as follows:
;
wherein ρ is q Is the threshold of local density, N data Is to analyze the data amount in the dataset;
step S26: calculating the threshold value of the relative distance, and presetting the empirical parameter r of the relative distance ξ The formula used is as follows:
;
in xi q Is a threshold value of the relative distance;
step S27: deleting outliers, ρ e <ρ q And xi e >ξ q Identifying as outliers and deleting them from the analysis dataset;
step S28: and (3) data fusion, namely fusing the data in the analysis data set after deleting the abnormal value based on the EKF, so as to obtain more accurate whole vehicle state and environment information.
Further, in step S3, the calculating the objective function specifically includes the steps of:
step S31: initializing a path, namely dividing the path to be planned into M-1 line segments, and P 1 (x 1 ,y 1 ) And P M (x M ,y M ) As a known starting point and target point, respectively, P 2 ,…,P M-1 M-2 coordinate points of the whole vehicle in path planning are represented by the following formula:
u=[x i ,y i ],∀i∈{2,3,…,(M-1)},u∈R 2×(M-2) ;
where u is the coordinate point (x i ,y i ) I is the index of the whole vehicle coordinate point;
step S32: an objective function for path length minimization is calculated using the following formula:
;
wherein J is 1 (u) is an objective function that minimizes the path length;
step S33: the objective function with the maximum path smoothness is calculated, and the following formula is used:
;
;
wherein J is 2 (u) is an objective function that maximizes path smoothness, θ is the vehicle turning angle, and atan () is a four-quadrant arctangent function;
step S34: the distance between the whole vehicle and the obstacle is calculated, and the formula is as follows:
;
wherein d j Is the distance between the whole vehicle and the jth obstacle, N obs Is the number of detected obstacles, j is the index of the obstacle,is the coordinate point of the obstacle, obs j Is the center of gravity of the j-th obstacle;
step S35: calculating the minimum safety distance, presetting a critical value for avoiding collision of the whole vehicle, namely a weighting factor zeta, wherein zeta is 0.5< 1, and the formula is as follows:
;
in the method, in the process of the invention,is the minimum safe distance between the whole vehicle and the jth obstacle,/for the vehicle>Is the minimum radius of the circle in which the j-th obstacle is located,/->Is the width of the whole vehicle;
step S36: the penalty term is calculated using the formula:
;
in the method, in the process of the invention,is a penalty term;
step S37: calculating an objective function of a path planning algorithm, and presetting J 1 Weighting factor omega of (u) 1 、J 2 Weighting factor omega of (u) 2 And penalty coefficient σ, the formula used is as follows:
;
where J (u) is the objective function of the path planning algorithm.
Further, in step S4, the path planning specifically includes the following steps:
step S41: individual construction, each individual represents a path planning scheme, using the following formula:
X=[x c ,y c ],∀c∈{2,3,…,(M-1)},X∈R 2×(M-2) ;
D v =2×(M-2);
wherein X is an individual, (X) c ,y c ) Is an individual item, c is an index of the individual item, D v Is the overall dimension of an individual;
step S42: parameter initialization, presetting the number Np of individuals, chaotic variable control parameter beta and chaotic variable initial condition h 0 The learning factor eta, the maximum iteration number T, the evaluation threshold value psi and the upper boundary X of the individual position max And lower boundary X of individual position min ;
Step S43: initializing individual positions, generating Np chaotic variables based on the initial conditions of the chaotic variables, randomly generating a random number lambda between [0,1] for each chaotic variable, improving the chaotic variables, and initializing the individual positions based on the improved chaotic variables, wherein the formula is as follows:
h n+1 =β×h n ×(1-h n ),n=0,1,…,(Np-1);
;
;
where h is the original chaotic variable, n is the index of the chaotic variable,is an improved chaotic variable, rand (0, 1) is the generated one [0,1]]Random number between->Is the initialized location of the individual, a is the index of the individual dimension, z is the index of the individual;
step S44: calculating fitness values and global optimal positions, calculating fitness values of each individual based on an objective function, arranging the fitness values of all the individuals in order from small to large, selecting the minimum fitness value as an optimal fitness value, taking the individual corresponding to the optimal fitness value as an optimal individual, and taking the position of the optimal individual as a global optimal position X best ;
Step S45: the average was calculated using the following formula:
;
wherein E is t,a Is the average position of all individuals in the a-th dimension of the t-th iteration, X (t, z, a) is the position of the z-th individual in the a-th dimension of the t-th iteration, and t is the index of the iteration times;
step S46: the difference value is calculated using the following formula:
γ=round(1+rand(0,1));
;
wherein γ is an optimal factor, F t,a Is the difference value between the globally optimal location and the average location in the a-th dimension for the t-th iteration, round () is a rounding function;
step S47: the first time position update is performed based on the adaptive inertia weight adjusting function, and the following formula is used:
;
;
;
;
wherein g (t) is the individual fitness value reduction rate in the t-th iteration, n reduce (t) is the number of individual fitness value decreases in the t-th iteration, μ (t) is the adaptive inertial weight adjustment function,is the intermediate position of the z-th individual in the a-th dimension after the first position update, X1 t+1,z,a Is the final position X1 of the z-th individual in the a-th dimension after the first position update best ;
Step S48: and (3) performing second-time position updating based on the Laplace distribution function and the experience exchange strategy, wherein the formula is as follows:
;
;
where Laplace () is a Laplacian distribution function, ε is a position parameter, s is a scale parameter, X2 t+1,U,a The position of the U-th individual after the second position update in the a-th dimension is obtained, and U and V are any two different individuals;
step S49: updating the global optimal position, calculating the fitness value of the individual by adopting the same method in the step S44, and updating the optimal fitness value, the optimal individual and the global optimal position;
step S410: determining an optimal path planning scheme, when the optimal fitness value is lower than an evaluation threshold value psi, taking the current global optimal position as the optimal path planning scheme, and sending the optimal path planning scheme to an automatic driving controller of the whole vehicle; otherwise, if the maximum iteration number T is reached, go to step S43; otherwise, go to step S45.
Further, in step S5, the intelligent control of the whole vehicle is that the automatic driving controller performs intelligent control of the whole vehicle according to an optimal path planning scheme sent by the internet of vehicles platform.
The invention provides a whole vehicle intelligent control system based on big data of the Internet of vehicles, which comprises a data acquisition module, a data processing module, a calculation objective function module, a path planning module and a whole vehicle intelligent control module;
the data acquisition module acquires multi-sensor real-time data based on a laser radar, an inertia measurement unit and a wheel odometer which are arranged on the whole vehicle to form an analysis data set, uploads the analysis data set to a vehicle networking platform for storage, and sends the analysis data set to the data processing module;
the data processing module replaces the missing value by using a mean value replacement method, redefines the local density through KNN, identifies and deletes the abnormal value, performs data fusion based on EKF to obtain the whole vehicle state and environment information, and sends the whole vehicle state and environment information to the calculation objective function module;
the calculation objective function module calculates an objective function based on the whole vehicle state and the environment information and sends the objective function to the path planning module;
the path planning module adopts an improved chaotic variable optimization position initialization process, optimizes a first position updating process by using a self-adaptive inertia weight adjusting function, optimizes a second position updating process by using a Laplace distribution function and an experience exchange strategy, finds an optimal path planning scheme, and sends the optimal path planning scheme to the whole vehicle intelligent control module;
and the intelligent control module of the whole vehicle performs intelligent control on automatic driving of the whole vehicle according to an optimal path planning scheme.
By adopting the scheme, the beneficial effects obtained by the invention are as follows:
(1) Aiming at the problems that the acquired multi-sensor real-time data have missing values and abnormal values, the inaccuracy and unreliability of the data are increased, and inaccurate whole vehicle state and environment information are obtained, the scheme adopts a vehicle networking platform to process the data, the missing values are replaced by using a mean value replacement method, the local density of a DPC algorithm is redefined through KNN, the influence of a cut-off distance on clustering performance is eliminated, the rule for determining the abnormal values is defined and optimized from the angle of abnormal value detection, the abnormal values are accurately and effectively eliminated, and data fusion is carried out based on EKF, so that more accurate whole vehicle state and environment information are obtained.
(2) Aiming at the problems that the initial position of the traditional path planning algorithm is unevenly distributed, the ergodic performance is weak, the diversity of position updating is reduced in the later period of the path planning algorithm, the algorithm falls into local optimum and early convergence, so that wrong driving decisions are generated and the risk of accidents is increased.
Drawings
FIG. 1 is a flow diagram of a vehicle intelligent control method based on Internet of vehicles big data;
FIG. 2 is a schematic diagram of a vehicle intelligent control system based on Internet of vehicles big data;
FIG. 3 is a flow chart of step S2;
FIG. 4 is a flow chart of step S3;
fig. 5 is a flow chart of step S4.
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention; all other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," "outer," and the like indicate orientation or positional relationships based on those shown in the drawings, merely to facilitate description of the invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the invention.
Referring to fig. 1, the invention provides a vehicle intelligent control method based on internet of vehicles big data, which comprises the following steps:
step S1: data acquisition, namely acquiring multi-sensor real-time data and uploading the data to a vehicle networking platform;
step S2: data processing, namely replacing the missing value by using a mean value replacement method, redefining local density through KNN, identifying and deleting the abnormal value, and carrying out data fusion based on EKF to obtain the state and environment information of the whole vehicle;
step S3: calculating an objective function, wherein the objective function is calculated based on the state of the whole vehicle and the environmental information;
step S4: path planning, optimizing a position initialization process by adopting an improved chaotic variable, optimizing a first position updating process by using a self-adaptive inertia weight adjusting function, optimizing a second position updating process by using a Laplacian distribution function and an experience exchange strategy, and finding an optimal path planning scheme;
step S5: and the intelligent control of the whole vehicle is carried out, and the intelligent control of the automatic driving of the whole vehicle is carried out according to an optimal path planning scheme.
In step S1, the data acquisition is based on the laser radar, the inertial measurement unit and the wheel odometer mounted on the whole vehicle to acquire the real-time data of multiple sensors to form an analysis data set, and the analysis data set is uploaded to the internet of vehicles platform and stored.
In the third embodiment, referring to fig. 1 and 3, the data processing specifically includes the following steps in step S2, where the steps are based on the above embodiments:
step S21: data preprocessing, namely replacing and analyzing missing values in a data set by using a mean value replacement method;
step S22: the Euclidean distance was calculated using the following formula:
;
wherein w is ef Is the Euclidean distance between data e and data f, (x) e ,y e ) And (x) f ,y f ) Coordinates of data e and data f, respectively, e and f being data indexes in the analysis dataset;
step S23: the local density is calculated using the formula:
;
wherein ρ is e Is the local density of data e, knn () is the set of k nearest neighbors of data, (x) e ,y e ) And (x) f ,y f ) The coordinates of data e and data f respectively,is the sum of Euclidean distances between data e and its k nearest neighbors, i.e. the overrun of data e,/->Is the sum of the overrun of k nearest neighbor values of the data e;
step S24: the relative distance is calculated using the following formula:
;
in xi e Is the relative distance between data e and data f, x is the multiplication operator;
step S25: calculating a threshold value of the local density, and presetting a local density empirical parameter r ρ The formula used is as follows:
;
wherein ρ is q Is the threshold of local density, N data Is to analyze the data amount in the dataset;
step S26: calculating the threshold value of the relative distance, and presetting the empirical parameter r of the relative distance ξ The formula used is as follows:
;
in xi q Is a threshold value of the relative distance;
step S27: deleting outliers, ρ e <ρ q And xi e >ξ q Identifying as outliers and deleting them from the analysis dataset;
step S28: and (3) data fusion, namely fusing the data in the analysis data set after deleting the abnormal value based on the EKF, so as to obtain more accurate whole vehicle state and environment information.
By executing the operation, aiming at the problems that the acquired multi-sensor real-time data has missing values and abnormal values, the inaccuracy and unreliability of the data are increased, and inaccurate whole vehicle state and environment information are obtained, the scheme adopts the vehicle networking platform to process the data, the missing values are replaced by using a mean value replacement method, the local density of a DPC algorithm is redefined through KNN, the influence of the cut-off distance on clustering performance is eliminated, the rule for determining the abnormal values is defined and optimized from the angle of abnormal value detection, the abnormal values are accurately and effectively eliminated, and data fusion is carried out based on EKF, so that more accurate whole vehicle state and environment information are obtained.
In the fourth embodiment, referring to fig. 1 and 4, the calculation of the objective function in step S3 specifically includes the following steps:
step S31: initializing a path, namely dividing the path to be planned into M-1 line segments, and P 1 (x 1 ,y 1 ) And P M (x M ,y M ) As a known starting point and target point, respectively, P 2 ,…,P M-1 M-2 coordinate points of the whole vehicle in path planning are represented by the following formula:
u=[x i ,y i ],∀i∈{2,3,…,(M-1)},u∈R 2×(M-2) ;
where u is the coordinate point (x i ,y i ) I is the index of the whole vehicle coordinate point;
step S32: an objective function for path length minimization is calculated using the following formula:
;
wherein J is 1 (u) is an objective function that minimizes the path length;
step S33: the objective function with the maximum path smoothness is calculated, and the following formula is used:
;
;
wherein J is 2 (u) is an objective function that maximizes path smoothness, θ is the vehicle roll angleDegree, atan () four-quadrant arctangent function;
step S34: the distance between the whole vehicle and the obstacle is calculated, and the formula is as follows:
;
wherein d j Is the distance between the whole vehicle and the jth obstacle, N obs Is the number of detected obstacles, j is the index of the obstacle,is the coordinate point of the obstacle, obs j Is the center of gravity of the j-th obstacle;
step S35: calculating the minimum safety distance, presetting a critical value for avoiding collision of the whole vehicle, namely a weighting factor zeta, wherein zeta is 0.5< 1, and the formula is as follows:
;
in the method, in the process of the invention,is the minimum safe distance between the whole vehicle and the jth obstacle,/for the vehicle>Is the minimum radius of the circle in which the j-th obstacle is located,/->Is the width of the whole vehicle;
step S36: the penalty term is calculated using the formula:
;
in the method, in the process of the invention,is a penalty term;
step S37: computing pathsPlanning an objective function of an algorithm, and presetting J 1 Weighting factor omega of (u) 1 、J 2 Weighting factor omega of (u) 2 And penalty coefficient σ, the formula used is as follows:
;
where J (u) is the objective function of the path planning algorithm.
Fifth embodiment referring to fig. 1 and 5, the path planning in step S4 specifically includes the following steps:
step S41: individual construction, each individual represents a path planning scheme, using the following formula:
X=[x c ,y c ],∀c∈{2,3,…,(M-1)},X∈R 2×(M-2) ;
D v =2×(M-2);
wherein X is an individual, (X) c ,y c ) Is an individual item, c is an index of the individual item, D v Is the overall dimension of an individual;
step S42: parameter initialization, presetting the number Np of individuals, chaotic variable control parameter beta and chaotic variable initial condition h 0 The learning factor eta, the maximum iteration number T, the evaluation threshold value psi and the upper boundary X of the individual position max And lower boundary X of individual position min ;
Step S43: initializing individual positions, generating Np chaotic variables based on the initial conditions of the chaotic variables, randomly generating a random number lambda between [0,1] for each chaotic variable, improving the chaotic variables, and initializing the individual positions based on the improved chaotic variables, wherein the formula is as follows:
h n+1 =β×h n ×(1-h n ),n=0,1,…,(Np-1);
;
;
where h is the original chaotic variable, n is the index of the chaotic variable,is an improved chaotic variable, rand (0, 1) is the generated one [0,1]]Random number between->Is the initialized location of the individual, a is the index of the individual dimension, z is the index of the individual;
step S44: calculating fitness values and global optimal positions, calculating fitness values of each individual based on an objective function, arranging the fitness values of all the individuals in order from small to large, selecting the minimum fitness value as an optimal fitness value, taking the individual corresponding to the optimal fitness value as an optimal individual, and taking the position of the optimal individual as a global optimal position X best ;
Step S45: the average was calculated using the following formula:
;
wherein E is t,a Is the average position of all individuals in the a-th dimension of the t-th iteration, X (t, z, a) is the position of the z-th individual in the a-th dimension of the t-th iteration, and t is the index of the iteration times;
step S46: the difference value is calculated using the following formula:
γ=round(1+rand(0,1));
;
wherein γ is an optimal factor, F t,a Is the difference value between the globally optimal location and the average location in the a-th dimension for the t-th iteration, round () is a rounding function;
step S47: the first time position update is performed based on the adaptive inertia weight adjusting function, and the following formula is used:
;
;
;
;
wherein g (t) is the individual fitness value reduction rate in the t-th iteration, n reduce (t) is the number of individual fitness value decreases in the t-th iteration, μ (t) is the adaptive inertial weight adjustment function,is the intermediate position of the z-th individual in the a-th dimension after the first position update, X1 t+1,z,a Is the final position X1 of the z-th individual in the a-th dimension after the first position update best ;
Step S48: and (3) performing second-time position updating based on the Laplace distribution function and the experience exchange strategy, wherein the formula is as follows:
;
;
where Laplace () is a Laplacian distribution function, ε is a position parameter, s is a scale parameter, X2 t+1,U,a Is the U-th individual after the second position update in the a-th dimensionThe positions U and V are any two different individuals;
step S49: updating the global optimal position, calculating the fitness value of the individual by adopting the same method in the step S44, and updating the optimal fitness value, the optimal individual and the global optimal position;
step S410: determining an optimal path planning scheme, when the optimal fitness value is lower than an evaluation threshold value psi, taking the current global optimal position as the optimal path planning scheme, and sending the optimal path planning scheme to an automatic driving controller of the whole vehicle; otherwise, if the maximum iteration number T is reached, go to step S43; otherwise, go to step S45.
By executing the operations, aiming at the problems that the traditional path planning algorithm has uneven position distribution, weak ergodic performance and reduced diversity of position updating in the later period of the path planning algorithm, the algorithm falls into local optimum and early convergence, so that wrong driving decisions are generated and the risk of accidents is increased.
In the sixth embodiment, referring to fig. 1, the embodiment is based on the foregoing embodiment, and in step S5, the vehicle intelligent control is that the automatic driving controller performs the vehicle automatic driving intelligent control according to the optimal path planning scheme sent by the internet of vehicles platform.
An embodiment seven, referring to fig. 2, based on the embodiment, the invention provides a vehicle intelligent control system based on internet of vehicles big data, which comprises a data acquisition module, a data processing module, a calculation objective function module, a path planning module and a vehicle intelligent control module;
the data acquisition module acquires multi-sensor real-time data based on a laser radar, an inertia measurement unit and a wheel odometer which are arranged on the whole vehicle to form an analysis data set, uploads the analysis data set to a vehicle networking platform for storage, and sends the analysis data set to the data processing module;
the data processing module replaces the missing value by using a mean value replacement method, redefines the local density through KNN, identifies and deletes the abnormal value, performs data fusion based on EKF to obtain the whole vehicle state and environment information, and sends the whole vehicle state and environment information to the calculation objective function module;
the calculation objective function module calculates an objective function based on the whole vehicle state and the environment information and sends the objective function to the path planning module;
the path planning module adopts an improved chaotic variable optimization position initialization process, optimizes a first position updating process by using a self-adaptive inertia weight adjusting function, optimizes a second position updating process by using a Laplace distribution function and an experience exchange strategy, finds an optimal path planning scheme, and sends the optimal path planning scheme to the whole vehicle intelligent control module;
and the intelligent control module of the whole vehicle performs intelligent control on automatic driving of the whole vehicle according to an optimal path planning scheme.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
The invention and its embodiments have been described above with no limitation, and the actual construction is not limited to the embodiments of the invention as shown in the drawings. In summary, if one of ordinary skill in the art is informed by this disclosure, a structural manner and an embodiment similar to the technical solution should not be creatively devised without departing from the gist of the present invention.
Claims (7)
1. A whole vehicle intelligent control method based on big data of the Internet of vehicles is characterized in that: the method comprises the following steps:
step S1: data acquisition, namely acquiring multi-sensor real-time data and uploading the data to a vehicle networking platform;
step S2: data processing, namely replacing the missing value by using a mean value replacement method, redefining local density through KNN, identifying and deleting the abnormal value, and carrying out data fusion based on EKF to obtain the state and environment information of the whole vehicle;
step S3: calculating an objective function, wherein the objective function is calculated based on the state of the whole vehicle and the environmental information;
step S4: path planning, adopting an improved chaotic variable optimization position initialization process, and carrying out position updating optimization by using a self-adaptive inertia weight adjusting function, a Laplace distribution function and an experience exchange strategy to find an optimal path planning scheme;
step S5: intelligent control of the whole vehicle, and intelligent control of automatic driving of the whole vehicle is carried out according to an optimal path planning scheme;
in step S4, the path planning specifically includes the following steps:
step S41: individual construction, each individual represents a path planning scheme, using the following formula:
X=[x c ,y c ],∀c∈{2,3,…,(M-1)},X∈R 2×(M-2) ;
D v =2×(M-2);
wherein X is an individual, (X) c ,y c ) Is an individual item, c is an index of the individual item, D v Is the overall dimension of an individual;
step S42: parameter initialization, presetting the number Np of individuals, chaotic variable control parameter beta and chaotic variable initial condition h 0 The learning factor eta, the maximum iteration number T, the evaluation threshold value psi and the upper boundary X of the individual position max And lower boundary X of individual position min ;
Step S43: initializing individual positions, generating Np chaotic variables based on the initial conditions of the chaotic variables, randomly generating a random number lambda between [0,1] for each chaotic variable, improving the chaotic variables, and initializing the individual positions based on the improved chaotic variables, wherein the formula is as follows:
h n+1 =β×h n ×(1-h n ),n=0,1,…,(Np-1);
;
;
where h is the original chaotic variable, n is the index of the chaotic variable,is an improved chaotic variable, rand (0, 1) is the generated one [0,1]]Random number between->Is the initialized location of the individual, a is the index of the individual dimension, z is the index of the individual;
step S44: calculating fitness values and global optimal positions, calculating fitness values of each individual based on an objective function, arranging the fitness values of all the individuals in a descending order, selecting the minimum fitness value as an optimal fitness value, selecting the individual corresponding to the optimal fitness value as an optimal individual, and performing position adjustment of the optimal individualIs the global optimum position X best ;
Step S45: the average was calculated using the following formula:
;
wherein E is t,a Is the average position of all individuals in the a-th dimension of the t-th iteration, X (t, z, a) is the position of the z-th individual in the a-th dimension of the t-th iteration, and t is the index of the iteration times;
step S46: the difference value is calculated using the following formula:
γ=round(1+rand(0,1));
;
wherein γ is an optimal factor, F t,a Is the difference value between the globally optimal location and the average location in the a-th dimension for the t-th iteration, round () is a rounding function;
step S47: the first time position update is performed based on the adaptive inertia weight adjusting function, and the following formula is used:
;
;
;
;
wherein g (t) is the individual fitness value reduction rate in the t-th iteration, n reduce (t) is the number of individual fitness value decreases in the t-th iteration, μ (t) is the adaptive inertial weight adjustment function,is the intermediate position of the z-th individual in the a-th dimension after the first position update, X1 t+1,z,a Is the final position X1 of the z-th individual in the a-th dimension after the first position update best ;
Step S48: and (3) performing second-time position updating based on the Laplace distribution function and the experience exchange strategy, wherein the formula is as follows:
;
;
where Laplace () is a Laplacian distribution function, ε is a position parameter, s is a scale parameter, X2 t+1,U,a The position of the U-th individual after the second position update in the a-th dimension is obtained, and U and V are any two different individuals;
step S49: updating the global optimal position, calculating the fitness value of the individual by adopting the same method in the step S44, and updating the optimal fitness value, the optimal individual and the global optimal position;
step S410: determining an optimal path planning scheme, when the optimal fitness value is lower than an evaluation threshold value psi, taking the current global optimal position as the optimal path planning scheme, and sending the optimal path planning scheme to an automatic driving controller of the whole vehicle; otherwise, if the maximum iteration number T is reached, go to step S43; otherwise, go to step S45.
2. The intelligent control method for the whole vehicle based on the big data of the internet of vehicles according to claim 1, wherein the intelligent control method is characterized by comprising the following steps: in step S2, the data processing specifically includes the following steps:
step S21: data preprocessing, namely replacing and analyzing missing values in a data set by using a mean value replacement method;
step S22: the Euclidean distance was calculated using the following formula:
;
wherein w is ef Is the Euclidean distance between data e and data f, (x) e ,y e ) And (x) f ,y f ) Coordinates of data e and data f, respectively, e and f being data indexes in the analysis dataset;
step S23: the local density is calculated using the formula:
;
wherein ρ is e Is the local density of data e, knn () is the set of k nearest neighbors of data, (x) e ,y e ) And (x) f ,y f ) The coordinates of data e and data f respectively,is the sum of Euclidean distances between data e and its k nearest neighbors, i.e. the overrun of data e,/->Is the sum of the overrun of k nearest neighbor values of the data e;
step S24: the relative distance is calculated using the following formula:
;
in xi e Is the relative distance between data e and data f, x is the multiplication operator;
step S25: calculating a threshold value of local density in advanceSetting a local density empirical parameter r ρ The formula used is as follows:
;
wherein ρ is q Is the threshold of local density, N data Is to analyze the data amount in the dataset;
step S26: calculating the threshold value of the relative distance, and presetting the empirical parameter r of the relative distance ξ The formula used is as follows:
;
in xi q Is a threshold value of the relative distance;
step S27: deleting outliers, ρ e <ρ q And xi e >ξ q Identifying as outliers and deleting them from the analysis dataset;
step S28: and (3) data fusion, namely fusing the data in the analysis data set after deleting the abnormal value based on the EKF, so as to obtain more accurate whole vehicle state and environment information.
3. The intelligent control method for the whole vehicle based on the big data of the internet of vehicles according to claim 1, wherein the intelligent control method is characterized by comprising the following steps: in step S3, the calculating the objective function specifically includes the following steps:
step S31: initializing a path, namely dividing the path to be planned into M-1 line segments, and P 1 (x 1 ,y 1 ) And P M (x M ,y M ) As a known starting point and target point, respectively, P 2 ,…,P M-1 M-2 coordinate points of the whole vehicle in path planning are represented by the following formula:
u=[x i ,y i ],∀i∈{2,3,…,(M-1)},u∈R 2×(M-2) ;
where u is the coordinate point (x i ,y i ) I is the index of the whole vehicle coordinate point;
step S32: an objective function for path length minimization is calculated using the following formula:
;
wherein J is 1 (u) is an objective function that minimizes the path length;
step S33: the objective function with the maximum path smoothness is calculated, and the following formula is used:
;
;
wherein J is 2 (u) is an objective function that maximizes path smoothness, θ is the vehicle turning angle, and atan () is a four-quadrant arctangent function;
step S34: the distance between the whole vehicle and the obstacle is calculated, and the formula is as follows:
;
wherein d j Is the distance between the whole vehicle and the jth obstacle, N obs Is the number of detected obstacles, j is the index of the obstacle,is the coordinate point of the obstacle, obs j Is the center of gravity of the j-th obstacle;
step S35: calculating the minimum safety distance, presetting a critical value for avoiding collision of the whole vehicle, namely a weighting factor zeta, wherein zeta is 0.5< 1, and the formula is as follows:
;
in the method, in the process of the invention,is the minimum safe distance between the whole vehicle and the jth obstacle,/for the vehicle>Is the minimum radius of the circle in which the j-th obstacle is located,/->Is the width of the whole vehicle;
step S36: the penalty term is calculated using the formula:
;
in the method, in the process of the invention,is a penalty term;
step S37: calculating an objective function of a path planning algorithm, and presetting J 1 Weighting factor omega of (u) 1 、J 2 Weighting factor omega of (u) 2 And penalty coefficient σ, the formula used is as follows:
;
where J (u) is the objective function of the path planning algorithm.
4. The intelligent control method for the whole vehicle based on the big data of the internet of vehicles according to claim 1, wherein the intelligent control method is characterized by comprising the following steps: in step S1, the data acquisition is to acquire real-time data of multiple sensors based on a laser radar, an inertial measurement unit and a wheel odometer installed on the whole vehicle to form an analysis data set, and upload the analysis data set to a vehicle networking platform for storage.
5. The intelligent control method for the whole vehicle based on the big data of the internet of vehicles according to claim 1, wherein the intelligent control method is characterized by comprising the following steps: in step S5, the intelligent control of the whole vehicle is that the automatic driving controller performs intelligent control of the whole vehicle according to an optimal path planning scheme sent by the internet of vehicles platform.
6. An intelligent control system of a whole vehicle based on big data of the internet of vehicles, which is used for realizing the intelligent control method of the whole vehicle based on the big data of the internet of vehicles as set forth in any one of claims 1 to 5, and is characterized in that: the intelligent vehicle control system comprises a data acquisition module, a data processing module, a target function calculating module, a path planning module and a vehicle intelligent control module.
7. The intelligent control system of the whole vehicle based on the big data of the internet of vehicles according to claim 6, wherein: the data acquisition module acquires multi-sensor real-time data based on a laser radar, an inertia measurement unit and a wheel odometer which are arranged on the whole vehicle to form an analysis data set, uploads the analysis data set to a vehicle networking platform for storage, and sends the analysis data set to the data processing module;
the data processing module replaces the missing value by using a mean value replacement method, redefines the local density through KNN, identifies and deletes the abnormal value, performs data fusion based on EKF to obtain the whole vehicle state and environment information, and sends the whole vehicle state and environment information to the calculation objective function module;
the calculation objective function module calculates an objective function based on the whole vehicle state and the environment information and sends the objective function to the path planning module;
the path planning module adopts an improved chaotic variable optimization position initialization process, optimizes a first position updating process by using a self-adaptive inertia weight adjusting function, optimizes a second position updating process by using a Laplace distribution function and an experience exchange strategy, finds an optimal path planning scheme, and sends the optimal path planning scheme to the whole vehicle intelligent control module;
and the intelligent control module of the whole vehicle performs intelligent control on automatic driving of the whole vehicle according to an optimal path planning scheme.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311397591.6A CN117130263B (en) | 2023-10-26 | 2023-10-26 | Intelligent control method and system for whole vehicle based on big data of Internet of vehicles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311397591.6A CN117130263B (en) | 2023-10-26 | 2023-10-26 | Intelligent control method and system for whole vehicle based on big data of Internet of vehicles |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117130263A CN117130263A (en) | 2023-11-28 |
CN117130263B true CN117130263B (en) | 2024-01-16 |
Family
ID=88851142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311397591.6A Active CN117130263B (en) | 2023-10-26 | 2023-10-26 | Intelligent control method and system for whole vehicle based on big data of Internet of vehicles |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117130263B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117933748A (en) * | 2024-01-25 | 2024-04-26 | 广州筑鼎建筑与规划设计院有限公司 | Urban land use planning method and system based on machine learning |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109269502A (en) * | 2018-09-19 | 2019-01-25 | 沈阳航空航天大学 | A kind of no-manned plane three-dimensional Route planner based on more stragetic innovation particle swarm algorithms |
CN109308803A (en) * | 2018-07-31 | 2019-02-05 | 北京航空航天大学 | Path forms time reliability analysis based on Stochastic Volatility Model |
CN111724599A (en) * | 2020-06-30 | 2020-09-29 | 暨南大学 | Method, device, equipment and medium for acquiring safe driving behavior evaluation data |
CN112070179A (en) * | 2020-09-22 | 2020-12-11 | 中国人民解放军国防科技大学 | Adaptive space-time trajectory clustering method based on density peak value |
CN113495564A (en) * | 2021-07-30 | 2021-10-12 | 中国人民解放军陆军装甲兵学院 | Ground unmanned platform path planning method based on evolutionary drosophila algorithm |
CN115129064A (en) * | 2022-07-26 | 2022-09-30 | 南京信息工程大学 | Path planning method based on fusion of improved firefly algorithm and dynamic window method |
CN116187161A (en) * | 2022-12-16 | 2023-05-30 | 江苏大学 | Intelligent energy management method and system for hybrid electric bus in intelligent networking environment |
CN116678394A (en) * | 2023-05-10 | 2023-09-01 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Real-time dynamic intelligent path planning method and system based on multi-sensor information fusion |
CN116679719A (en) * | 2023-06-30 | 2023-09-01 | 福州大学 | Unmanned vehicle self-adaptive path planning method based on dynamic window method and near-end strategy |
CN116700329A (en) * | 2023-05-29 | 2023-09-05 | 电子科技大学 | Unmanned aerial vehicle track planning method based on improved firefly algorithm |
CN116907509A (en) * | 2023-07-18 | 2023-10-20 | 中山大学 | AUV underwater auxiliary navigation method, system, equipment and medium based on image matching |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115100622B (en) * | 2021-12-29 | 2023-09-22 | 中国矿业大学 | Method for detecting driving area of unmanned transportation equipment in deep limited space and automatically avoiding obstacle |
-
2023
- 2023-10-26 CN CN202311397591.6A patent/CN117130263B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109308803A (en) * | 2018-07-31 | 2019-02-05 | 北京航空航天大学 | Path forms time reliability analysis based on Stochastic Volatility Model |
CN109269502A (en) * | 2018-09-19 | 2019-01-25 | 沈阳航空航天大学 | A kind of no-manned plane three-dimensional Route planner based on more stragetic innovation particle swarm algorithms |
CN111724599A (en) * | 2020-06-30 | 2020-09-29 | 暨南大学 | Method, device, equipment and medium for acquiring safe driving behavior evaluation data |
CN112070179A (en) * | 2020-09-22 | 2020-12-11 | 中国人民解放军国防科技大学 | Adaptive space-time trajectory clustering method based on density peak value |
CN113495564A (en) * | 2021-07-30 | 2021-10-12 | 中国人民解放军陆军装甲兵学院 | Ground unmanned platform path planning method based on evolutionary drosophila algorithm |
CN115129064A (en) * | 2022-07-26 | 2022-09-30 | 南京信息工程大学 | Path planning method based on fusion of improved firefly algorithm and dynamic window method |
CN116187161A (en) * | 2022-12-16 | 2023-05-30 | 江苏大学 | Intelligent energy management method and system for hybrid electric bus in intelligent networking environment |
CN116678394A (en) * | 2023-05-10 | 2023-09-01 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Real-time dynamic intelligent path planning method and system based on multi-sensor information fusion |
CN116700329A (en) * | 2023-05-29 | 2023-09-05 | 电子科技大学 | Unmanned aerial vehicle track planning method based on improved firefly algorithm |
CN116679719A (en) * | 2023-06-30 | 2023-09-01 | 福州大学 | Unmanned vehicle self-adaptive path planning method based on dynamic window method and near-end strategy |
CN116907509A (en) * | 2023-07-18 | 2023-10-20 | 中山大学 | AUV underwater auxiliary navigation method, system, equipment and medium based on image matching |
Non-Patent Citations (3)
Title |
---|
AUV Path Planning Based on Improved Genetic Algorithm;Wei Tao 等;2020 5th International Conference on Automation, Control and Robotics Engineering (CACRE);全文 * |
基于改进SVM的无人驾驶行为决策算法;王欣;中国优秀硕士学位论文全文数据库工程科技Ⅱ辑(第1期);C035-448 * |
混合网络数据库最优访问路径自适应检测方法;陶伟;宁夏师范学院学报;第44卷(第1期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117130263A (en) | 2023-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117130263B (en) | Intelligent control method and system for whole vehicle based on big data of Internet of vehicles | |
CN113485380B (en) | AGV path planning method and system based on reinforcement learning | |
CN112835333B (en) | Multi-AGV obstacle avoidance and path planning method and system based on deep reinforcement learning | |
CN110610271A (en) | Multi-vehicle track prediction method based on long and short memory network | |
CN109947136B (en) | Collaborative active sensing method for unmanned aerial vehicle group rapid target search | |
CN109489667A (en) | A kind of improvement ant colony paths planning method based on weight matrix | |
CN105527960A (en) | Mobile robot formation control method based on leader-follow | |
CN113985879B (en) | Intelligent mobile inspection method based on historical data dynamic optimization | |
CN109523011B (en) | Multi-sensor self-adaptive management method for multi-unmanned aerial vehicle cooperative detection | |
CN114063570B (en) | Robot spraying control method and device, electronic equipment and storage medium | |
CN116576857A (en) | Multi-obstacle prediction navigation obstacle avoidance method based on single-line laser radar | |
CN112415997B (en) | Path planning method and system for multi-robot cooperation | |
US11960291B2 (en) | Computer-implemented method and device for controlling a mobile robot based on semantic environment maps | |
CN110850880A (en) | Automatic driving system and method based on visual sensing | |
CN114167898A (en) | Global path planning method and system for data collection of unmanned aerial vehicle | |
CN116795108B (en) | Intelligent unmanned vehicle distribution method based on multi-source sensing signals | |
CN109657928A (en) | A kind of the closed loop cooperative scheduling frame and dispatching method of onboard sensor system | |
CN114115248A (en) | Multi-robot cooperative transportation method and system in storage environment | |
CN110992424A (en) | Positioning method and system based on binocular vision | |
CN114667852B (en) | Hedge trimming robot intelligent cooperative control method based on deep reinforcement learning | |
JP2019191498A (en) | Map creation device | |
CN116817957A (en) | Unmanned vehicle driving path planning method and system based on machine vision | |
Alsaleh et al. | Do road users play Nash Equilibrium? A comparison between Nash and Logistic stochastic Equilibriums for multiagent modeling of road user interactions in shared spaces | |
CN117970928A (en) | Route planning method based on cooperation of multiple mobile robots of ROS system | |
CN110864670B (en) | Method and system for acquiring position of target obstacle |
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 |