The driving style classification and recognition methods of suitable domestic people and system
Technical field
The invention belongs to driving behavior analysis fields, classify more particularly, to a kind of driving style of suitable domestic people
With recognition methods and system.
Background technique
Driving style is exactly the driving behavior of driver, is embodied in the driver behavior row in driving procedure to vehicle
For, and thus caused vehicle response.Driving style influences the fuel economy of automobile, the often oil consumption of the driving style of radical type
It is higher, to improve fuel economy, need according to different driving styles using different energy control strategies;Join in intelligent network
Field, according to driver's driving style, intelligence system is supplied to the auxiliary driving mode that driver meets its travelling characteristic, increases
The human nature service of automobile.
Driving style is judged according to the characteristic parameter in driver's driving procedure, the average vehicle of radical driving style
The numerical value of the characteristic parameters such as speed, the max speed, maximum throttle aperture is generally higher.Country's driving style differentiates past in research at present
Past is the driving style for judging driver according to certain several characteristic parameter and driving, and selects the methods of BP neural network as knowledge
The recognition methods of other driver's driving style, this method there are the problem of have: first, less driving style evaluation index is not
It comprehensively can completely show the characteristics of driver drives, be also easy to produce the situation of driving style judgement inaccuracy;Second, do not mention
It appropriate driving style classification method and is applied, can not rationally classify to driving style out;Third, BP neural network
Although the methods of can be used for driving style identification, its in area of pattern recognition there are accuracy of identification it is not high enough and it is easy go out
The problem of existing local optimum.
Summary of the invention
In view of this, the present invention is directed to propose a kind of driving style classification of suitable domestic people and recognition methods and being
System, to solve the problems, such as the prior art to classify, unreasonable, recognition accuracy is low, while it is difficult to be greatly reduced driving style identification
Degree.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of the driving style classification and identifying system of suitable domestic people, including driving style road environment simulate mould
Block, data acquisition module, database processing module and dimensionality reduction module, database sample classification module, driving style identification module;
The driving style road environment analog module connection database processing module and dimensionality reduction module, are used for simulated experiment
Road environment;
The data acquisition module connection database processing module and dimensionality reduction module, for acquiring vehicle condition signal, with
Driving style road environment analog module establishes domestic people driving style database jointly;
The database processing module and dimensionality reduction module are also connected with database sample classification module, for handling driving style
Test data, including calculating the value of driving style characteristic parameter and carrying out dimensionality reduction to driving style evaluation index;
The database sample classification module is also connected with driving style identification module, for being divided database sample
Class;
The driving style identification module is used to establish driving style identification model by pattern recognition neural network, finally
Generate driving style recognizer.
Further, the driving style road environment analog module sets experiment condition as urban district, suburb, three kinds of high speed
Model experiment operating condition, driving environment are as follows: fine, road is good, wind speed is normal, the normal driving ring without peak on and off duty
Border.
Further, the equipment that the data acquisition module uses includes 3-axis acceleration sensor, millimetre-wave radar, side
To disk turning angle admeasuring apparatus, fuel consumption meter, the vehicle condition signal of acquisition includes speed, accelerator pedal position, brake pedal position, system
Dynamic pressure, acceleration, driving spacing, steering wheel angle, acceleration.
Further, the driving style characteristic parameter includes lane-change number, following distance, brake pressure maximum value, system
Dynamic pressure change rate maximum value, running time, the max speed, average speed, speed standard deviation, peak acceleration, average acceleration
Degree, average retardation rate, acceleration shock degree average value, deceleration shock degree average value, shock extent standard deviation, accelerates maximum deceleration
Shock extent maximum value, deceleration shock degree maximum value, maximum accelerator travel, accelerator open degree average value, accelerator open degree standard deviation,
Accelerator open degree change rate maximum value, accelerator pedal change rate average value, accelerator releasing pedal rate of change average value, accelerator pedal are opened
Change rate standard deviation is spent, accelerates traction activity of force maximum value, traction activity of force maximum value of slowing down, accelerate tractive force power averaging
Value, deceleration tractive force power average value, tractive force power standard are poor.
Further, the value for calculating driving style characteristic parameter, which is specifically included, is reduced to k for evaluation index using PCA algorithm
Principal component, and characteristic parameter is standardized.
Further, dimensionality reduction is carried out to driving style evaluation index, specifically includes and calculates covariance square using PCA algorithm
Battle array, feature vector, characteristic value, principal component scores, principal component contributor rate and coefficient matrix PC;Finally according to principal component contributor rate
Principle greater than 85% selects the number of principal component, it is assumed that the sum of contribution rate of preceding k principal component is greater than 85%, then selects preceding k
A principal component is as new characteristic parameter.
Further, the driving style identification module classifies to database using FCM algorithm, with the k of generation
Principal component is as new characteristic parameter, using the value of k principal component of database as the input of FCM classifier by database sample
It is divided into 3 kinds of driving styles, driving style classification number is not limited to 3 classes.
Further, the driving style identification module establishes driving style identification mould using pattern recognition neural network
Type, selecting 70% sample in database, as learning sample, remaining 30% sample is used as detection sample;With k principal component
Input of the value as pattern recognition neural network, using the classification results of database as the output of pattern recognition neural network;
The model hidden layer is set as 10 layers, hidden layer transmission function chooses sigmoid function, output layer transmission function is chosen
Softmax function, training function setup are trainscg function.
Another object of the present invention is to propose the driving style classification and recognition methods of a kind of suitable domestic people, specifically
Scheme is achieved in that
S1: driving style experimental situation is set by driving environment module, establishes domestic people driving style database;
S2: data collecting module collected vehicle condition signal is utilized;
S3: domestic driver group driving style data are generated using database processing module and dimensionality reduction module and calculate feature
Parameter completes the dimension-reduction treatment of driving style characteristic parameter using PCA algorithm;
S4: the classification of driving style sample is realized by FCM algorithm using database sample classification module;
S5: establishing driving style identification model by pattern recognition neural network using driving style identification module, generates
One driving style automatic identification procedure.
Compared with the existing technology, a kind of suitable domestic people of the present invention driving style classification and recognition methods and
System has the advantage that
According to 29 characteristic parameters, " description " driving style, realization style identification are not limited solely to a few the present invention comprehensively
A feature, but comprehensively, synthetically judge driver's driving habit;Feature vectors dimensional down, drop are completed using Principal Component Analysis
The correlation between sample parameter is also reduced while low calculating;The accurate and reasonable classification to database sample is realized, together
When according to the result establish identification model, reduce the difficulty of driving style identification, improve accuracy of identification, any driving population
The style of sample can judge according to the identification model;Fully consider the human factor and environmental factor for influencing driving style,
Establish the driving style database of domestic driver group
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the driving style classifying and identifying system structure chart in the embodiment of the present invention;
Fig. 2 is the driving style classification in the embodiment of the present invention, identifying system principle process schematic diagram;
Fig. 3 is principal component analysis block diagram;
Fig. 4 is FCM clustering method block diagram;
Fig. 5 is that pattern recognition neural network driving style identifies structure chart;
Fig. 6 is driving style recognizer interface.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
As shown in Fig.1 and Fig.2, present embodiments provide a kind of driving style classifying identification method for domestic people and
System, including driving style road environment analog module are provided with three kinds of urban district, suburb, high speed typical experiment conditions, choose
Fine, road is good, off-hour, wind speed are smaller, moderate temperature driving environment;Data acquisition module is by number
Equipment acquisition motoring condition signal is adopted, the signal of acquisition is from CAN bus, 3-axis acceleration sensor, millimeter wave thunder
Reach, steering wheel angle measuring instrument, select all ages and classes, gender, occupation driver, establish domestic people driving style data
Library;Database processing module calculates the value of characteristic parameter by means of matlab software, and initial characteristics standard parameter uses
The dimensionality reduction of PCA algorithm completion driving style evaluation index;Database sample classification module completes database sample by FCM algorithm
This Accurate classification;Identification module establishes driving style identification model by pattern recognition neural network, ultimately generates driving wind
Lattice recognizer improves driving style accuracy of identification.
In the present embodiment, driving environment analog module is provided;Three kinds of Module Specification urban district, suburb, high speed typical cases
Experiment condition, it is specified that driving style experimental situation are as follows: avoid height on and off duty sooner or later during fine, working day working
Peak, vehicle belong to that same type, road conditions are good, wind speed is smaller, moderate temperature.
In the present embodiment, driving data acquisition module is provided;The equipment used includes 3-axis acceleration sensor, millimeter
Wave radar (measurement spacing), steering wheel angle measuring instrument, the signal of acquisition characterization motoring condition: acceleration, spacing, direction
Disk corner, speed, gear, accelerator open degree, brake pedal aperture number, engine speed, torque select n all ages and classes, property
Not, professional driver establishes domestic driver's driving style database.
In the present embodiment, driving style characteristic parameter processing module is provided;Using gradient, max in matlab,
The several Key Functions of mean, min, std calculate the value of driving style characteristic parameter, generate the numerical matrix of a n*29.
Partial Feature parameter calculation procedure language is as follows:
/ 2 accelerationx1=input1*gradient (acceleration);
% acceleration slope i.e. shock extent input1 are sample frequency
X5=max (acceleration);% peak acceleration
X6=mean (acceleration);% average acceleration
X7=min (acceleration);% minimum acceleration
X11=std (acceleration);% acceleration standard deviation
Dimensionality reduction module is additionally provided in the present embodiment;By PCA algorithm realize driving style characteristic parameter dimensionality reduction, it is main at
Divide dimensionality reduction step such as Fig. 3.Specific embodiment is as follows:
Step 1: needing to be standardized initial characteristics parameter to eliminate the influence of dimension, standardized input is 29
Characteristic parameter, that is, the matrix (y of a new n*29 is obtained to matrix (y) standardization of a n*292), it is specific to calculate
Are as follows: new matrix y2The average value of the element column is subtracted again divided by the standard deviation of the column for each element in y.
Step 2: calculating covariance matrix, the characteristic value of covariance matrix, covariance matrix by PCA algorithm in matlab
Feature vector, the value of principal component (principal component scores), the contribution rate of principal component, coefficient matrix PC.Assuming that X1、X2、…、X29For
29 characteristic parameters, covariance calculate such as formula 4, calculate its characteristic value: λ1, λ2…λ29, calculate its feature vector: e1,e2…
e29, k-th of principal component calculating such as formula 5, principal component contributor rate calculate such as formula 6.
Covariance:
∑=Cov (X, X)=E [(X=E (X)) (X-E (X))T] (4)
K-th of principal component:
Yk=ek1X1+ek2X2…+ek29X29 (5)
Principal component contributor rate:
Step 3: selecting principal component number;Principal component number, the tribute of current k principal component are selected according to principal component contributor rate
When offering rate and being more than 85%, that is, think that this k principal component can sufficiently characterize 29 driving style characteristic parameters.N sample of database
The value of this k principal component is needed as FCM classifier, the input of pattern recognition neural network identification model.
Driving style database sample classification module is provided in the present embodiment;Using FCM classifier by n sample of database
Originally it is divided into plurality of classes, driving style is divided into radical type, plain edition, calm 3 class of type, FCM clustering method step under normal circumstances
Such as Fig. 4.
Step 1: the input classified using the value of k principal component as FCM randomly selects 3 vector conducts from database
Initial cluster center, if n sample is x1, x2...xn, randomly select initial cluster center are as follows: m1, m2, m3。
Step 2: initializing Subject Matrix U with random number of the value between 0,1, it is made to meet the constraint condition in formula 7.
In formula: uijThe subordinating degree function of jth class is corresponded to for i-th of sample
Step 3: new cluster centre is calculated according to formula 8.
In formula: b is smoothing factor
Step 4: calculating new subordinating degree function matrix, calculation formula such as 9, return step 8.
Step 5: calculating new cost matrix, calculating if its value meets threshold value terminates, and driving style is divided into 3 classes, root
The driving style of this 3 class sample is judged according to initial characteristics parameter.
Driving style identification module is provided in the present embodiment;Driving style identification is established according to pattern recognition neural network
Model may determine that the driving style of any driver, Fig. 5 are pattern recognition neural network identification model structure according to this model
Figure, the method for establishing model are as follows:
Step 1: using in database 70% sample is as learning sample, and the value of k principal component is as pattern-recognition nerve
The sample of the input of network, output of the sample classification result of FCM as pattern recognition neural network, calm type is denoted as [1 0
0], medium-sized sample is denoted as [0 1 0], the sample of radical type is denoted as [0 0 1].
Step 2: establishment model identifies that neural network driving style identification model, input layer number are k, output layer number
It is 1, empirically formula 10, hidden layer number are set as 10, hidden layer transmission function and choose sigmoid function, output layer transmitting
Function chooses softmax function, training function setup is trainscg function.
In formula: M is hidden layer number, and n is input layer number, and m is output layer number, some of a between [0 1 0]
Value.
Step 3: training neural network, Neural Network Self-learning randomly select weight w and bias b, then according to certain
Kind rule gradually improves input layer to hidden layer and hidden layer to weight between output layer and bias, until target output and in fact
Border output error meets threshold requirement.
Step 4: verifying the validity of the model, and the standard of the model is verified by remaining 30% sample in database
True property, accuracy of identification reach 95% or more and think that the model is effective.
In the present embodiment, driving style recognizer module is provided;The program has identification driver's driving style
Ability, the program computability characterize the characteristic parameter of driver's driving characteristics, while characteristic parameter being standardized and calculates k
The value of k principal component is input in driving style identification model by the value of principal component, identifies the driving style of the driver.
Such as the interface that Fig. 6 is the program, input button is clicked, (data are stored in driver's driving style data that selection needs to judge
In excel table), which will automatically calculate the value of characteristic parameter and identifies that the driving style of the driver, recognition result are defeated
Out in window as the result is shown, sample window shows the essential information of the driver, and graphical window shows driving in the form of images
The driving characteristics of member.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.