CN110689643A - Intelligent networking automobile vehicle running state analysis method based on immune algorithm - Google Patents

Intelligent networking automobile vehicle running state analysis method based on immune algorithm Download PDF

Info

Publication number
CN110689643A
CN110689643A CN201910906549.XA CN201910906549A CN110689643A CN 110689643 A CN110689643 A CN 110689643A CN 201910906549 A CN201910906549 A CN 201910906549A CN 110689643 A CN110689643 A CN 110689643A
Authority
CN
China
Prior art keywords
vehicle
state
automobile
driving
antigen
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
CN201910906549.XA
Other languages
Chinese (zh)
Other versions
CN110689643B (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.)
Changan University
Original Assignee
Changan University
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 Changan University filed Critical Changan University
Priority to CN201910906549.XA priority Critical patent/CN110689643B/en
Publication of CN110689643A publication Critical patent/CN110689643A/en
Application granted granted Critical
Publication of CN110689643B publication Critical patent/CN110689643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/002Biomolecular computers, i.e. using biomolecules, proteins, cells
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0816Indicating performance data, e.g. occurrence of a malfunction

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Artificial Intelligence (AREA)
  • Organic Chemistry (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Chemical & Material Sciences (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an intelligent networking automobile driving state analysis method based on immune algorithm, which comprises the steps of taking an automobile driving state evaluation knowledge base as an autologous base, generating a detector corresponding to each automobile state, taking the autologous base as a known antigen, activating corresponding B cells, generating antibodies corresponding to the antigens by the B cells, activating related antibodies when unknown antigens are generated, and deducing the current state of an automobile according to the probability of activating the antibodies; inputting the distance between the non-self body library and the detector, calculating the distance smaller than a threshold value, determining the probability of each typical state, and evaluating the driving state of the vehicle. The method comprises the steps of acquiring data in the driving process of the intelligent automobile in real time on the basis of an environment sensing system of vision, radar and positioning of the intelligent automobile, establishing a model by using an immune algorithm at a cloud server end, evaluating the driving state of the driving automobile, giving early warning in time when an unsafe state is found, and improving the active prevention and control capacity of road traffic safety.

Description

Intelligent networking automobile vehicle running state analysis method based on immune algorithm
Technical Field
The invention belongs to the technical field of intelligent networked automobile road traffic active safety, and particularly relates to an intelligent networked automobile vehicle running state analysis method based on an immune algorithm.
Background
The automatic driving develops to the present, the monitoring of the driving state of the automatic driving automobile, the safety of the automatic driving automobile is always concerned, the intelligent network connection automobile realizes the environment perception of the driving automobile by the technologies of vehicle-mounted camera, laser radar, millimeter wave radar, satellite positioning and the like, the intelligent algorithm is implemented, some state information parameters of the current automobile in the driving process can be obtained by the vehicle-mounted bus system and other sensors with various functions on the automobile, and the intelligent network connection automobile V2X technology enables the automobile, the people, the automobile, the road, the automobile and the remote monitoring platform to be communicated in real time, so all information on the intelligent automobile can be conveniently transmitted to the related monitoring platform by the technologies, and the driving state of the monitoring automobile can be timely transmitted to the related automobile, People and roads, etc.
Disclosure of Invention
The invention aims to solve the technical problem that the prior art is not enough, and provides an intelligent networking automobile vehicle running state analysis method based on an immune algorithm.
The invention adopts the following technical scheme:
an intelligent networking automobile vehicle running state analysis method based on an immune algorithm comprises the following steps:
s1, taking the automobile driving state evaluation knowledge base as an autologous base, generating a detector corresponding to each automobile state, taking the autologous base as a known antigen, activating corresponding B cells, generating antibodies corresponding to the antigens by the B cells, activating related antibodies when the unknown antigen is generated, and deducing the current state of the automobile according to the probability of activating the antibodies;
and S2, inputting the non-self body library and the detector distance, calculating the distance smaller than a threshold value, determining the probability of each typical state, and evaluating the driving state of the vehicle.
Specifically, step S1 specifically includes:
s101, antigen recognition and self-bank production;
s102, generating B cells, and performing affinity calculation;
s103, updating the memory bank, inhibiting and promoting the antibody, if the affinity is greater than the set threshold, returning to the step S102 to recalculate the affinity, and if the affinity is less than the threshold, generating a detector.
Further, in step S101, the self-set is composed of data of typical vehicle driving states, and as known antigens, a one-dimensional vector set is established from a group of data of vehicle driving states, where the i-th vehicle driving state, j is the number of vehicle state parameters:
code[i]={ci1,ci2,ci3……cij}
let c 1: vehicle speed, c 2: acceleration, c 3: battery temperature, c 4: vehicle-to-front vehicle distance, c 5: number of lane departures, which is the number of lane departures a vehicle travels per minute
code[i]={ci1,ci2,ci3,ci4,ci5}
N groups of vehicle running state data form an n-dimensional self-body library vector set, i is 1-n, and j is 1-5;
Figure BDA0002213443140000031
the non-self-body input is any state of the vehicle in the driving process and is used as an unknown antigen:
uncode[i]={ui1,ui2……uij}
as with autologous pools:
uncode[i]={ui1,ui2,ui3,ui4,ui5}
and n groups of vehicle running state data form an n-dimensional non-self-body library vector set: i is 1 to n, and j is 1 to 5
Figure BDA0002213443140000032
Further, in step S102, according to the established typical vehicle driving state parameter as an antigen, a certain state parameter is a vector code [ i ] ═ ci1, ci2, … cij ], and a new B cell, Bi (x1, x2 … xj), is generated centering on the antigen; for B cells, a number of N antibodies were generated, assuming that each individual size was k, the number of antibodies was:
N=j*k
the initial antibody is produced from two sources, if the problem is reserved in the memory bank, the memory bank is taken, the non-foot part is randomly generated, if the memory bank is empty, the whole memory bank is randomly generated, when the antigen invades the body, B cells are activated to recognize the specific antigen, and then the B cells are massively propagated:
B[i]={bi1,bi2,…bij}
the new B cells generated by learning are:
newB[i]={nbi1,nbi2…nbij}
affinity cloning factors were calculated using Euclidean distance:
Figure BDA0002213443140000041
further, in step S103, the generated detector corresponding to each vehicle state is:
Figure BDA0002213443140000042
where i represents the i-th typical vehicle running state, and k is the size of the population.
Specifically, in step S2, after the monitor is generated, with any state of the vehicle running process as a non-self input, the Euclidean distances D between the unknown antigen and the n monitors are calculated, a threshold value M for one distance is set, the cumulative sum M of the distances dij < M in each distance di is calculated, the probability Pi that the antibody belongs to the monitor is obtained, the type of the known antigen to which the unknown antigen belongs is determined from the maximum value of the probability, and the running state of the vehicle is evaluated.
Further, the probability Pi of the monitor is:
Pi=M/di1+di2+…+dij。
further, defining the assessment to include safe, safer, unsafe and dangerous, the Euclidean distance D of unknown antigen from n monitors is:
D={d1,d2…di}
wherein, i is 1 to n, n is 4, di is the distance between the unknown antigen parameter and the ith monitor.
Compared with the prior art, the invention has at least the following beneficial effects:
the invention discloses an intelligent networking automobile driving state analysis method based on an immune algorithm. The immune genetic algorithm adopted by the invention is a multidisciplinary intercross and infiltration optimization algorithm which combines the respective advantages of the immune theory and the basic genetic algorithm, and is applied to the analysis of the driving safety state of the intelligent networked automobile. Finally, the model is verified through experiments, data are analyzed, and the result shows the feasibility of the model for evaluating the driving safety state of the intelligent networked automobile.
Further, an autologous library is established according to the typical vehicle driving state, known antigens are generated, B cells are generated on the basis of the known antigens in the autologous library, an antibody population is generated in a random generation mode, the affinity of the antibody is calculated according to the distance between the antibody and the known antigens, the population is evolved through a genetic algorithm by taking the affinity as the fitness, the population comprises crossing, mutation and selection, an iterative process is controlled through the affinity, and finally a monitor aiming at the typical driving state antigen of each vehicle is generated. The current vehicle running state can be judged by using the generated monitor and the real-time running state parameters of the vehicle as unknown antigens.
Further, taking data of typical vehicle running states as known antigens, establishing a one-dimensional vector set by a group of data of the vehicle running states, wherein the ith vehicle running state, j is the number of vehicle state parameters: code [ i ] = { ci1, ci2, ci3 … … cij }; let c 1: vehicle speed, c 2: acceleration, c 3: battery temperature, c 4: vehicle-to-front vehicle distance, c 5: lane departure times, which are the number of times the vehicle has traveled off the lane per minute: code [ i ] = { ci1, ci2, ci3, ci4, ci5 }; forming an n-dimensional self-body library vector set by n groups of vehicle running state data, wherein i is 1-n, and j is 1-5;
Figure BDA0002213443140000061
the autologous library is a typical knowledge base for evaluating the driving state of the automobile, and is used as a known antigen of a system to activate B cell learning and produce antibodies corresponding to the antigen.
Further, according to the established typical vehicle driving state parameter as an antigen, a certain state parameter is set as a vector code [ i ] ═ ci1, ci2 and … cij ], and a new B cell, Bi (x1 and x2 … xj), is generated by taking the antigen as a center; for B cells, a number of N antibodies were generated, assuming that each individual size was k, the number of antibodies was: n ═ j × k; when an antigen invades the body, B cells are activated to recognize a specific antigen, and then the B cells multiply in large quantities: b [ i ] - { bi1, bi2, … bij }; the new B cells generated by learning are: newB [ i ] ═ { nbi1, nbi2 … nbij }; affinity cloning factors were calculated using Euclidean distance:
Figure BDA0002213443140000062
b cells are generated in order to produce antibodies corresponding to antigens, and then the affinity of the antibodies, which represents the principle of matching of the antibodies to the antigens, i.e., the recognition intensity, is calculated as the distance between the antibodies and the known antigens. And (5) leaving the antibody with high affinity for storage to ensure that the population evolves towards a direction with good fitness.
Further, affinity calculated by the distance between the antibody and a known antigen is used as fitness, population is evolved through a genetic algorithm, the population comprises crossing, mutation and selection, an iterative process is controlled through a set threshold value, and finally a monitor aiming at each vehicle typical driving state antigen is generated. The monitor can be used for judging any running state in the running process of the vehicle.
Further, according to the generated monitor, with any state of the vehicle running process as a non-self input, Euclidean distances D between the unknown antigen and n monitors are calculated, a threshold value M of one distance is set, the sum M of the distances of dij < M in each distance di is calculated, the probability Pi of the antibody belonging to the monitor is obtained, the type of the known antigen to which the unknown antigen belongs is judged according to the maximum value of the probability, and the running state of the vehicle is evaluated.
In summary, the autonomously developed intelligent networked automobile vehicle information acquisition system is used as a platform, state parameters of the intelligent automobile in the current running process are acquired in real time and are transmitted to the cloud server, the cloud server establishes a model through an intelligent immune algorithm, the current running state of the intelligent automobile is judged, when an unsafe state is found, early warning is given in time, finally the model is verified through experiments, data is analyzed, and the result shows the feasibility of the model for evaluating the running state of the intelligent networked automobile. The invention is suitable for various traffic conditions and various vehicle types, improves the active safety performance of the automobile in the driving process, and reduces the accident rate. The driver can know the relevant state parameters of the vehicle in real time through the vehicle-mounted terminal, so that the vehicle can be evaluated and maintained conveniently; the manager can also master the vehicle running state through the control center, strengthen the vehicle management and make efficient scheduling.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
FIG. 1 is a diagram of an immune evaluation model of a vehicle driving state;
FIG. 2 is a graph of B cell and antibody learning processes;
FIG. 3 is a flow chart of an autologous library generation detector;
FIG. 4 is a flow chart of non-self-body garage input and vehicle driving state evaluation;
FIG. 5 is an input graph of unknown antigens that are not autologous;
FIG. 6 is a graph of population total fitness mean variation;
FIG. 7 is a diagram of the evaluation results.
Detailed Description
Referring to fig. 1 and 2, the biological immune system is a large and complex system, which involves many cellular molecules, and a vehicle driving state immune evaluation model is designed according to the characteristics of the safety of a driving vehicle, and the driving vehicle state is monitored by collecting data on the vehicle and transmitting the data to a cloud server.
The self-body library is a typical automobile driving state evaluation knowledge base and is used as a known antigen of a system, the established typical safety evaluation data is used as the known antigen of the self-body library, corresponding B cells are activated, therefore, antibodies corresponding to the antigens are generated by the B cells, when the unknown antigens are generated, the related antibodies are activated, and the current state of the vehicle is deduced according to the probability of activating the antibodies.
The state space of the intelligent networked automobile vehicle driving state diagnosis immune model is composed of a plurality of main information parameters reflecting vehicle driving, the interaction between an antibody and an antigen can be described, the system state can be represented by a characteristic vector, and corresponding state spaces are respectively established for various states appearing in the solving process.
Referring to fig. 3 and 4, the method for analyzing the driving state of the intelligent networked automobile based on the immune algorithm of the present invention includes the following steps:
s1, generating a detector through the self-body library;
s101, antigen recognition and self-bank production;
initializing autologous library
Inputting the state parameters of a typical vehicle as self-input, initializing a memory bank:
code=[i][j]
where i is a typical vehicle state and j is a vehicle parameter corresponding to the state.
Because of more states and parameters, several examples are selected, and the evaluation of the vehicle state is divided into 'safe, safer, unsafe and dangerous', the corresponding parameters are selected to 'vehicle speed, acceleration, temperature, distance to the front vehicle and lane departure times', and any state parameter unicode [ i ] of the vehicle running process is used as non-self-input to evaluate the running state.
Self-body set and non-self-body input
The self-set is composed of data of typical vehicle running states, and as known antigens, the data of a group of vehicle running states establish a one-dimensional vector set, wherein the following is the ith vehicle running state, and j is the number of vehicle state parameters.
code[i]={ci1,ci2,ci3……cij}
Because the collected vehicle state parameters are many, due to space limitation, the principle of the algorithm is explained by taking several parameters as examples
c 1: vehicle speed, c 2: acceleration, c 3: battery temperature, c 4: vehicle-to-front vehicle distance, c 5: the number of lane departure, which is the number of times the vehicle has traveled off the lane per minute.
According to the example case:
code[i]={ci1,ci2,ci3,ci4,ci5}
n groups of vehicle running state data form an n-dimensional self-body library vector set, i is 1-n, and j is 1-5;
Figure BDA0002213443140000091
the non-self-body input is any state of the vehicle in the driving process and is used as an unknown antigen:
uncode[i]={ui1,ui2……uij}
as with the autologous library, the principles of the algorithm are illustrated by a few of its parameters, then:
uncode[i]={ui1,ui2,ui3,ui4,ui5}
and n groups of vehicle running state data form an n-dimensional non-self-body library vector set: i is 1 to n, and j is 1 to 5
Figure BDA0002213443140000092
S102, generating B cells, and performing affinity calculation;
definition of B cells and Generation of Primary antibodies
According to the previously established typical vehicle driving state parameters as antigens, one of the state parameters is vector code [ i ] ═ ci1, ci2, … cij ], and a new B cell, Bi, (x1, x2 … xj) is generated centering on the antigen.
For B cells, a number of N antibodies were generated, assuming that each individual size was k, the number of antibodies was:
N=j*k
in the present invention, the number of the exemplified parameters is 5, and the number of the antibodies is 100 if the number of the individual is 20.
The initial antibody is generated from two sources, if the problem is reserved in the memory bank, the memory bank is taken, the random generation is not performed on the part of the antibody, and if the memory bank is empty, the random generation is performed on the whole antibody.
When an antigen invades the body, B cells are activated to recognize a specific antigen, and the B cells proliferate in large numbers.
B[i]={bi1,bi2,…bij}
The new B cells generated by learning are:
newB[i]={nbi1,nbi2…nbij}
calculation of affinity cloning factors Using Euclidean distance
The affinity represents the matching principle of the antibody and the antigen, namely the recognition intensity, and is calculated according to the distance between the antibody and the center of the B cell, and the general formula for calculating the affinity is as follows:
Figure BDA0002213443140000101
in the formula, tkFor the binding strength of antigen and antibody, the binding strength t is calculated by general immune algorithmkThe math tool of (1) mainly comprises:
haiming distance:
Figure BDA0002213443140000102
euclidean distance:
Figure BDA0002213443140000111
the Manhattan distance:
Figure BDA0002213443140000112
s103, updating the memory bank, inhibiting and promoting the antibody, if the affinity is greater than the set threshold, returning to the step S102 to recalculate the affinity, and if the affinity is less than the threshold, generating a detector.
And selecting the antibody with high affinity for storage, and updating the memory bank, so that the antibody with high affinity is obviously promoted, the probability of transmission to the next generation is higher, and the antibody with low affinity is inhibited.
Antibodies
Each B cell is programmed (genetically encoded) to produce a characteristic antibody that is produced by the B cell recognizing an antigen and proliferating and differentiating into plasma cells, and one B cell produces only one specific antibody.
In the learning process, the whole population is removed from low fitness, the remaining population is high in fitness, and the classifier of the ith vehicle state generated after each iteration is
Figure BDA0002213443140000113
Wherein k is the size of the population, j is the number of the vehicle state parameters, and the number of binary coding bits of each gene is set as c-lemgth.
Genetic manipulation
Because the antibody with high affinity is promoted and the antibody with low affinity is inhibited, the population evolution is easy to be single and local optimization is caused, so a new strategy needs to be introduced into an algorithm to ensure the diversity of the population.
Generation of detectors
The population after cross variation is sorted according to the fitness, the individuals with low fitness are removed, the individuals with high fitness are left, the memory base is updated, and iteration is repeated until the individuals with the maximum fitness in the population.
After the iteration is completed, the generated detector corresponding to each vehicle state is as follows:
Figure BDA0002213443140000121
where i represents the i-th typical vehicle running state, and k is the size of the population.
S2, inputting the non-self library to evaluate the running state of the vehicle
S201, inputting a non-self distance and a detector distance;
s202, calculating a distance smaller than a threshold value;
and S203, determining the probability of each typical state and finishing the evaluation of the vehicle running state.
Evaluation of any state of the vehicle running process:
when the monitor is generated, the monitor can be used to judge any vehicle running state.
And (3) taking any state of the vehicle driving process as non-self input, calculating the Euclidean distance D between the unknown antigen and n monitors:
D={d1,d2…di}i=1~n
in the present invention, there are 4 evaluations of "safe, safer, unsafe, dangerous", where n is 4 and di is the distance between the unknown antigen parameter and the ith monitor.
Since the number of individuals is k, and j is 1 to k, then:
d1={d11,d12,…d1j}
d2={d21,d22,…d2j}
di={di1,di2,….dij}
the invention generates 20 individuals.
Setting a distance threshold M, calculating the cumulative sum M of the distances dij < M in each distance di, thus giving the probability that the antibody belongs to the monitor:
Pi=M/di1+di2+…+dij
and judging the class of the known antigen to which the unknown antigen belongs according to the maximum value of the probability, thereby evaluating the driving state of the vehicle.
The invention develops an environment sensing system of an intelligent automobile based on vision, radar and positioning, related data in the driving process of the intelligent automobile is obtained in real time through the system, a vehicle-mounted bus and other sensors and is transmitted to a cloud server, a model is established at the cloud server end by an immune algorithm, the driving state of the driving automobile is evaluated, and when an unsafe state is found, early warning is given in time.
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 embodiments of the present invention, but not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
The invention relates to an intelligent network connection automobile driving state analysis method based on an immune algorithm, wherein experiments are respectively carried out in an intelligent network connection automobile experiment field in the Weishui school district of Changan university and the high speed of the Xian winding city, and experimental equipment and the field are shown in figures 5 and 6.
Experimental facilities include image acquisition and processing system, laser radar range finding and environmental perception system, GPS positioning system, and data source still includes CAN line on the car and other sensors on the car in addition, and all data are all direct or send the high in the clouds server through on-vehicle terminal and handle and save.
The known autologous pools were set as follows:
TABLE 1 autologous library (known antigens)
The 4 groups of data respectively represent that the driving state of the vehicle is safe, safer, unsafe and dangerous.
The data obtained from the experiment were used as input of the unknown antigen, and 50 groups were listed from the experimental data, as shown in fig. 7.
The number k of individual populations is set to be 20, the number c-lemgth of binary coding bits of genes is set to be 4, the initial antibody population is generated randomly, and the average value of the total fitness of the populations is changed as shown in figure 6 after selection, intersection and variation for 100 iterations.
The distance between the population and the self-body library is taken as the fitness, and the fitness is continuously reduced along with the increase of the iteration times, so that the solution is converged.
The probability of each group of data to the known antigen in the self-body library is calculated by the generated monitor for 50 groups of data (the driving state in fig. 7), the state corresponding to the maximum probability is the group of data judgment results, and the obtained judgment results are as shown in fig. 7.
From the figure 10 sets of typical data are listed to illustrate the results of the evaluation, and the unknown antigens are input as shown in table 2:
TABLE 2 input of unknown antigens
Figure BDA0002213443140000151
The results of the evaluation of the 10 sets of data monitors of table 2 are shown in table 3,
TABLE 3 monitor outputs
Figure BDA0002213443140000161
The data in the table is the probability that the unknown antigen belongs to the known antigen, and it can be seen from the table that the data 1 is in a safe driving state due to a low vehicle speed and a large distance, the data 6 is in a safer state due to a small distance, and the data 4 has the same probability of two adjacent states, so that the situation is concluded that the situation is positioned between the safe state and the safer state (so that the states are 1.5 and 2.5 in fig. 3), the data 5 is in an unsafe state due to a large acceleration and a large number of deviations, and the data 9 is in a dangerous state due to a high vehicle speed and a large number of deviations.
The situation that the non-adjacent data has the same highest probability also occurs in the output data, the situation is judged to be in a state of low safety, and the data is recorded as data to be further verified.
The invention designs a vehicle running state monitoring system based on an immune algorithm aiming at the characteristics of intelligent networked automobile running states, performs experiments through self-developed equipment to obtain data, takes typical data as a self-body library, takes any running state data as a non-self-body library to evaluate the vehicle running states, verifies that the evaluation of the immune algorithm on the vehicle running states is basically correct, and has great correlation with the integrity of the self-body library, the selection of an initial population, the iteration times and a threshold value.
The above-mentioned contents are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modification made on the basis of the technical solution according to the technical idea proposed by the present invention falls within the protection scope of the claims of the present invention.

Claims (8)

1. An intelligent networking automobile vehicle running state analysis method based on an immune algorithm is characterized by comprising the following steps:
s1, taking the automobile driving state evaluation knowledge base as an autologous base, generating a detector corresponding to each vehicle state, taking the autologous base as a known antigen, activating corresponding B cells, generating antibodies corresponding to the antigens by the B cells, activating related antibodies when the unknown antigens are generated, and deducing the current state of the vehicle according to the probability of activating the antibodies;
and S2, inputting the distance between the non-self body library and the detector, calculating the distance smaller than a threshold value, determining the probability of each typical state, and evaluating the driving state of the vehicle.
2. The method for analyzing the driving state of the vehicle on the basis of the intelligent networked automobile based on the immune algorithm as claimed in claim 1, wherein the step S1 is specifically as follows:
s101, antigen recognition and self-bank production;
s102, generating B cells, and performing affinity calculation;
s103, updating the memory bank, inhibiting and promoting the antibody, if the affinity is greater than the set threshold, returning to the step S102 to recalculate the affinity, and if the affinity is less than the threshold, generating a detector.
3. The method for analyzing vehicle driving states of an intelligent networked vehicle based on an immune algorithm as claimed in claim 2, wherein in step S101, the self-set is composed of data of typical vehicle driving states, as known antigens, a one-dimensional vector set is established from a group of data of vehicle driving states, the ith vehicle driving state, j is the number of vehicle state parameters:
code[i]={ci1,ci2,ci3……cij}
let c 1: vehicle speed, c 2: acceleration, c 3: battery temperature, c 4: vehicle-to-front vehicle distance, c 5: number of lane departures, which is the number of lane departures a vehicle travels per minute
code[i]={ci1,ci2,ci3,ci4,ci5}
N groups of vehicle running state data form an n-dimensional self-body library vector set, i is 1-n, and j is 1-5;
the non-self-body input is any state of the vehicle in the driving process and is used as an unknown antigen:
uncode[i]={ui1,ui2……uij}
as with autologous pools:
uncode[i]={ui1,ui2,ui3,ui4,ui5}
and n groups of vehicle running state data form an n-dimensional non-self-body library vector set: i is 1 to n, and j is 1 to 5
4. The method for analyzing vehicle driving status of an intelligent networked automobile based on immune algorithm as claimed in claim 2, wherein in step S102, according to the established typical vehicle driving status parameters as antigens, a certain status parameter is given as vector code [ i ] ═ ci1, ci2, … cij ], and a new B cell, Bi (x1, x2 … xj), is generated centering on the antigens; for B cells, a number of N antibodies were generated, assuming that each individual size was k, the number of antibodies was:
N=j*k
the initial antibody is produced from two sources, if the problem is retained in the memory bank, the memory bank is taken, less than part of the antibody is randomly generated, if the memory bank is empty, the antibody is all randomly generated, when the antigen invades the body, B cells are activated to recognize the specific antigen, and the B cells are proliferated:
B[i]={bi1,bi2,…bij}
the new B cells generated by learning are:
newB[i]={nbi1,nbi2…nbij}
affinity cloning factors were calculated using Euclidean distance:
Figure FDA0002213443130000031
5. the method for analyzing the driving status of the vehicle on the basis of the intelligent networked automobile based on the immune algorithm as claimed in claim 2, wherein in step S103, the generated detector corresponding to each vehicle status is:
where i represents the i-th typical vehicle running state, and k is the size of the population.
6. The method as claimed in claim 1, wherein in step S2, after the monitor is generated, with any state of the vehicle driving process as a non-self input, the Euclidean distance D between the unknown antigen and n monitors is calculated, a threshold value M of the distance is set, the sum M of the distances dij < M in each distance di is calculated, the probability Pi that the antibody belongs to the monitor is obtained, the class of the known antigen to which the unknown antigen belongs is determined according to the maximum value of the probability, and the driving state of the vehicle is evaluated.
7. The method for analyzing the driving state of an intelligent networked automobile based on an immune algorithm as claimed in claim 6, wherein the probability Pi of the monitor is:
Pi=M/di1+di2+…+dij。
8. the intelligent networked automobile vehicle driving state analysis method based on immune algorithm as claimed in claim 6, wherein the defined evaluation includes safe, safer, unsafe and dangerous, and Euclidean distance D of unknown antigen from n monitors is:
D={d1,d2…di}
wherein, i is 1 to n, n is 4, di is the distance between the unknown antigen parameter and the ith monitor.
CN201910906549.XA 2019-09-24 2019-09-24 Intelligent networking automobile vehicle driving state analysis method based on immune algorithm Active CN110689643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910906549.XA CN110689643B (en) 2019-09-24 2019-09-24 Intelligent networking automobile vehicle driving state analysis method based on immune algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910906549.XA CN110689643B (en) 2019-09-24 2019-09-24 Intelligent networking automobile vehicle driving state analysis method based on immune algorithm

Publications (2)

Publication Number Publication Date
CN110689643A true CN110689643A (en) 2020-01-14
CN110689643B CN110689643B (en) 2022-07-26

Family

ID=69109961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910906549.XA Active CN110689643B (en) 2019-09-24 2019-09-24 Intelligent networking automobile vehicle driving state analysis method based on immune algorithm

Country Status (1)

Country Link
CN (1) CN110689643B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581654A (en) * 2020-12-29 2021-03-30 华人运通(江苏)技术有限公司 System and method for evaluating use frequency of vehicle functions

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663167A (en) * 2012-03-20 2012-09-12 浙江大学 Optimization design method for electric automobile anti-lock braking system controller based on immune algorithm
CN102867409A (en) * 2012-09-17 2013-01-09 李伟 Road traffic cooperative control method for urban central area
CN203480000U (en) * 2013-10-15 2014-03-12 浙江大学城市学院 Detector for health status of power lithium battery for full electric vehicle
CN204405692U (en) * 2014-12-30 2015-06-17 上海研亚软件信息技术有限公司 Judge the device of vehicle movement status
CN105954607A (en) * 2015-11-12 2016-09-21 北京交通大学 Method and system for detecting faults of high-speed railway signal system
CN107784587A (en) * 2016-08-25 2018-03-09 大连楼兰科技股份有限公司 A kind of driving behavior evaluation system
CN108572324A (en) * 2018-04-13 2018-09-25 芜湖职业技术学院 Battery SOC estimation device based on immune algorithm Optimized BP Neural Network
CN108961473A (en) * 2018-08-07 2018-12-07 长安大学 A kind of vehicle-state assessment method for early warning based on intelligent network connection automobile control centre
US20190197414A1 (en) * 2017-12-22 2019-06-27 At&T Intellectual Property I, L.P. System and method for estimating potential injuries from a vehicular incident
EP3505051A1 (en) * 2017-12-29 2019-07-03 Sanmina Corporation Vehicular health monitoring system and method
DE102018203606A1 (en) * 2018-03-09 2019-09-12 Bayerische Motoren Werke Aktiengesellschaft High-voltage energy storage device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663167A (en) * 2012-03-20 2012-09-12 浙江大学 Optimization design method for electric automobile anti-lock braking system controller based on immune algorithm
CN102867409A (en) * 2012-09-17 2013-01-09 李伟 Road traffic cooperative control method for urban central area
CN203480000U (en) * 2013-10-15 2014-03-12 浙江大学城市学院 Detector for health status of power lithium battery for full electric vehicle
CN204405692U (en) * 2014-12-30 2015-06-17 上海研亚软件信息技术有限公司 Judge the device of vehicle movement status
CN105954607A (en) * 2015-11-12 2016-09-21 北京交通大学 Method and system for detecting faults of high-speed railway signal system
CN107784587A (en) * 2016-08-25 2018-03-09 大连楼兰科技股份有限公司 A kind of driving behavior evaluation system
US20190197414A1 (en) * 2017-12-22 2019-06-27 At&T Intellectual Property I, L.P. System and method for estimating potential injuries from a vehicular incident
EP3505051A1 (en) * 2017-12-29 2019-07-03 Sanmina Corporation Vehicular health monitoring system and method
DE102018203606A1 (en) * 2018-03-09 2019-09-12 Bayerische Motoren Werke Aktiengesellschaft High-voltage energy storage device
CN108572324A (en) * 2018-04-13 2018-09-25 芜湖职业技术学院 Battery SOC estimation device based on immune algorithm Optimized BP Neural Network
CN108961473A (en) * 2018-08-07 2018-12-07 长安大学 A kind of vehicle-state assessment method for early warning based on intelligent network connection automobile control centre

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
LIGUOWENG: "Immune network-based swarm intelligence and its application to unmanned aerial vehicle (UAV) swarm coordination", 《NEUROCOMPUTING》 *
LIGUOWENG: "Immune network-based swarm intelligence and its application to unmanned aerial vehicle (UAV) swarm coordination", 《NEUROCOMPUTING》, 11 February 2014 (2014-02-11), pages 134 - 141 *
刘洋: "基于免疫机制的智能车路径规划与运动控制研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *
刘洋: "基于免疫机制的智能车路径规划与运动控制研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, 15 September 2014 (2014-09-15), pages 035 - 65 *
孟庆华等: "疫苗算法及其在车辆故障检测中的应用", 《浙江大学学报(工学版)》, no. 02, 28 February 2006 (2006-02-28) *
滕凯凯,仝秋红,吕奎超: "基于BP神经网络的车道偏离预警系统的阈值与照度关系的研究", 《汽车实用技术》 *
滕凯凯,仝秋红,吕奎超: "基于BP神经网络的车道偏离预警系统的阈值与照度关系的研究", 《汽车实用技术》, 30 April 2016 (2016-04-30), pages 36 - 38 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581654A (en) * 2020-12-29 2021-03-30 华人运通(江苏)技术有限公司 System and method for evaluating use frequency of vehicle functions
CN112581654B (en) * 2020-12-29 2022-09-30 华人运通(江苏)技术有限公司 System and method for evaluating use frequency of vehicle functions

Also Published As

Publication number Publication date
CN110689643B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
Liu et al. Driving conditions-driven energy management strategies for hybrid electric vehicles: A review
Zhu et al. Hazardous scenario enhanced generation for automated vehicle testing based on optimization searching method
Scheubner et al. A stochastic range estimation algorithm for electric vehicles using traffic phase classification
CN105118329A (en) Method of resolving traffic conflicts of two vehicles at no-signal intersection
Xie et al. A driving behavior awareness model based on a dynamic Bayesian network and distributed genetic algorithm
CN113593228B (en) Automatic driving cooperative control method for bottleneck area of expressway
Mouhagir et al. Integrating safety distances with trajectory planning by modifying the occupancy grid for autonomous vehicle navigation
Barik et al. Optimal velocity prediction for fuel economy improvement of connected vehicles
CN111081067B (en) Vehicle collision early warning system and method based on IGA-BP neural network under vehicle networking environment
Gaikwad Vehicle velocity prediction using artificial neural networks and effect of real-world signals on prediction window
CN110689643B (en) Intelligent networking automobile vehicle driving state analysis method based on immune algorithm
Li et al. Investigating long-term vehicle speed prediction based on GA-BP algorithms and the road-traffic environment
CN114299607A (en) Human-vehicle collision risk degree analysis method based on automatic driving of vehicle
Chen et al. A new hybrid model predictive controller design for adaptive cruise of autonomous electric vehicles
CN114644018A (en) Game theory-based man-vehicle interaction decision planning method for automatic driving vehicle
Thamizhazhagan et al. AI Based Traffic Flow Prediction Model for Connected and Autonomous Electric Vehicles.
Kou et al. Dual-objective intelligent vehicle lane changing trajectory planning based on polynomial optimization
Yang et al. Cooperative driving model for non-signalized intersections based on reduplicate dynamic game
Chen et al. Cooperative control of connected hybrid electric vehicles and traffic signals at isolated intersections
CN110929950B (en) Electric automobile load prediction method and system
Gu et al. A review of intelligent road preview methods for energy management of hybrid vehicles
Akca et al. eTS fuzzy driver model for simultaneous longitudinal and lateral vehicle control
Liu et al. Synthesis of representative driving cycle for heavy duty vehicle based on markov chain and big data considering weight variation
Zhou et al. Sa-sgan: A vehicle trajectory prediction model based on generative adversarial networks
Naitmalek et al. Embedded real-time speed forecasting for electric vehicles: a case study on RSK urban roads

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