Driving style recognition method and device, vehicle, medium and program
By identifying the driver's driving style and combining driving data and lane line position data, the problem of inaccurate driving style identification in the existing technology is solved, achieving more accurate driving style identification and improving the driving experience.
Patent Information
- Application Number
- CN202410906425.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-27
AI Technical Summary
There are limitations in driving style recognition in the existing technology, resulting in inaccurate recognition results.
By obtaining the driver's driving data and the relative position data of the vehicle and the lane line, the driving condition segments are divided, the driving characteristics are identified based on the image information, the initial weight and weighted value are determined according to the working condition type, and the final driving score is calculated to identify the driving style. .
It improves the accuracy of driving style recognition and can generate driving suggestions or adjust vehicle parameters based on the recognition results to improve the driver's driving experience.
Smart Images

Figure CN118701075A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a driving style recognition method, device, vehicle, medium and program. Background Art
[0002] In the related art (1), application number CN202111165229.7 proposes a method, medium and device for identifying a driver's driving style based on real vehicle data, which mainly extracts characteristic parameters of different driving conditions through driving data, and then uses SVM to distinguish the driving style. However, the recognition of driving style in the prior art has limitations, resulting in inaccurate recognition results.
[0003] In the related art (2), application number CN201910885575.9 proposes a method, device and vehicle for determining driving style, which uses the number of brake pedal steps, average accelerator pedal opening, average vehicle speed, average acceleration, emergency braking frequency ratio, etc. to obtain a driving style identification characterization coefficient to determine the driving style. However, the recognition of driving style in the prior art has limitations, resulting in inaccurate recognition results. Summary of the invention
[0004] One of the objects of the present invention is to provide a driving style recognition method to solve the problem that the recognition of driving style in the related art has limitations, resulting in inaccurate recognition results; the second object is to provide a driving style recognition device; the third object is to provide a vehicle; the fourth object is to provide a computer-readable storage medium; and the fifth object is to provide a computer program product.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] A driving style recognition method comprises the following steps: obtaining driving data of a driver and relative position data of a vehicle and a lane line; dividing the driving data and the relative position data into at least one operating condition segment according to the driving condition, wherein the operating condition segment comprises the driving data and the relative position data; identifying the driving characteristics of the driver in at least one operating condition segment; and identifying the driving style of the driver according to the driving characteristics of at least one operating condition segment and the type of the driving condition.
[0007] According to the above-mentioned technical means, the embodiments of the present application can determine multiple driving conditions based on the driver's driving data in full combination with the image information collected during driving, determine the driver's driving characteristics under corresponding conditions based on the multiple driving conditions, and identify the driver's driving style based on the driving characteristics and the type of driving conditions. The driving style recognition is more comprehensive, thereby improving the accuracy of driving style recognition.
[0008] Furthermore, the driving characteristics include at least one of cutting in, abrupt lane changes, illegal lane changes, lane changes without turning on lights, driving across lanes, driving in a lane on one side, sudden acceleration, sharp turns, and emergency braking.
[0009] Furthermore, the driving data includes vehicle speed, lateral acceleration, longitudinal acceleration, steering wheel angle, steering wheel angle rate, accelerator pedal travel, brake pedal travel, turn signal lighting status, slope and altitude.
[0010] Furthermore, the driver's driving style is identified based on the driving characteristics of at least one operating condition segment and the type of driving condition, including: determining an initial weight based on the type of driving condition; weighting the weight of each driving characteristic under the corresponding condition to obtain a weighted value under the current condition; calculating a final driving score based on the initial weight and the weighted value, and determining the driver's driving style based on the final driving score.
[0011] According to the above technical means, the embodiment of the present application can determine the initial weight according to the type of driving condition, and obtain the weighted value under the current condition based on the weight of each driving feature under the corresponding condition, calculate the final driving score based on the initial weight and the weighted value, and determine the driver's driving style based on the final driving score, thereby improving the accuracy of driving style recognition.
[0012] Furthermore, after identifying the driver's driving style according to the driving characteristics of at least one operating condition segment and the type of driving condition, it also includes: generating driving suggestions according to the driving style; and / or adjusting the driving parameters of the vehicle according to the driving style.
[0013] According to the above-mentioned technical means, the embodiments of the present application can generate driving suggestions according to the driving style, and / or adjust the driving parameters of the vehicle according to the driving style, thereby improving the driver's driving experience.
[0014] Furthermore, before obtaining the driving data of the driver and the relative position data of the vehicle and the lane line, it also includes: obtaining an image around the vehicle; preprocessing the image to obtain an edge image; inputting the edge image into a trained lane detection model, and the lane detection model outputs the relative position data of the vehicle and the lane line in the image.
[0015] According to the above technical means, the embodiment of the present application can obtain the relative position data of the vehicle and the lane line according to the surrounding image of the vehicle input into the lane detection model, thereby improving the accuracy of image recognition and thus improving the accuracy of driving style recognition.
[0016] A driving style recognition device includes: an acquisition module for acquiring driving data of a driver and relative position data of a vehicle and a lane line; a division module for dividing the driving data and the relative position data into at least one operating condition segment according to the driving condition, wherein the operating condition segment includes the driving data and the relative position data; a first recognition module for recognizing the driving characteristics of the driver in at least one operating condition segment; and a second recognition module for recognizing the driving style of the driver according to the driving characteristics of at least one operating condition segment and the type of the driving condition.
[0017] A vehicle, characterized in that it comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the driving style recognition method as described in the above embodiment.
[0018] A computer-readable storage medium stores a computer program or instruction, wherein the program is executed by a processor to implement the driving style recognition method as described in the above embodiment.
[0019] A computer program product includes: a computer program or an instruction, wherein when the computer program or the instruction is executed, the driving style recognition method of the above embodiment is implemented.
[0020] Beneficial effects of the present invention:
[0021] (1) The embodiments of the present application can determine multiple driving conditions based on the driver's driving data in combination with the image information collected during driving, determine the driver's driving characteristics under the corresponding conditions based on the multiple driving conditions, and identify the driver's driving style based on the driving characteristics and the type of driving conditions. The driving style identification is more comprehensive, thereby improving the accuracy of driving style identification.
[0022] (2) In the embodiment of the present application, the initial weight can be determined according to the type of driving condition, and the weighted value under the current condition is obtained based on the weight of each driving feature under the corresponding condition. The final driving score is calculated based on the initial weight and the weighted value, and the driver's driving style is determined based on the final driving score, thereby improving the accuracy of driving style recognition.
[0023] (3) The embodiments of the present application can generate driving suggestions based on the driving style, and / or adjust the driving parameters of the vehicle based on the driving style, thereby improving the driver's driving experience.
[0024] (4) The embodiments of the present application can obtain the relative position data between the vehicle and the lane line based on the surrounding image of the vehicle input into the lane detection model, thereby improving the accuracy of image recognition and thus improving the accuracy of driving style recognition.
[0025] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A flowchart of a driving style identification method provided in an embodiment of the present application;
[0027] Figure 2 The overall identification flow chart provided for the embodiment of the present application;
[0028] Figure 3 A block diagram of a driving style recognition device provided in an embodiment of the present application;
[0029] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0031] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0032] With the continuous development of communication technology, the types of data collected by vehicles are becoming increasingly rich. In addition to traditional message signals, images, audio and even video information during driving can be collected by the vehicle and transmitted to the cloud in a timely manner, laying the foundation for the creation of user-exclusive functions and improving vehicle driving safety.
[0033] By performing lane detection on uploaded images, the present application can better identify the user's lane change pattern and road driving preference (such as preferring to drive close to a certain side, riding on dotted lines for a long time, etc.), and realize driving style recognition based on lane detection and driving feature extraction, thereby achieving a more comprehensive assessment of the user's driving style.
[0034] Specifically, Figure 1 A flowchart of a driving style recognition method provided in an embodiment of the present application.
[0035] like Figure 1 As shown, the driving style recognition method includes the following steps:
[0036] In step S101, the driving data of the driver and the relative position data of the vehicle and the lane line are obtained.
[0037] Among them, driving data includes vehicle speed, lateral acceleration, longitudinal acceleration, steering wheel angle, steering wheel angle rate, accelerator pedal travel, brake pedal travel, turn signal lighting status, slope and altitude.
[0038] It can be understood that the embodiments of the present application can obtain the driver's driving data and the relative position data of the vehicle and the lane line, so as to subsequently divide the driver's driving data into at least one working condition segment in combination with the image information data collected during driving.
[0039] It should be noted that the vehicle side of the present application extracts the images taken by the designated camera or other equipment at a certain time frequency and uploads them to the cloud.
[0040] In an embodiment of the present application, before obtaining the driver's driving data and the relative position data of the vehicle and the lane line, it also includes: obtaining an image around the vehicle; preprocessing the image to obtain an edge image; inputting the edge image into a trained lane detection model, and the lane detection model outputs the relative position data of the vehicle and the lane line in the image.
[0041] Among them, preprocessing can include filtering, grayscale conversion, area masking, image denoising and edge detection processing.
[0042] It can be understood that the embodiment of the present application can obtain the relative position data of the vehicle and the lane line based on the surrounding image of the vehicle input into the lane detection model, thereby improving the accuracy of image recognition and thus improving the accuracy of driving style recognition.
[0043] Specifically, in this application, after the cloud receives the uploaded image, it performs a preliminary evaluation of the image quality based on features such as contrast, brightness, and signal-to-noise ratio, and filters out images with too low contrast, brightness exceeding a certain range, and signal-to-noise ratio being too low. Among them, too low contrast means that the initial contrast value is less than 10, brightness exceeding a certain range means that the brightness exceeds 1.5 or the brightness exceeds but is less than 0.5, and too low signal-to-noise ratio means that the image has an initial signal-to-noise ratio value less than 5dB.
[0044] The filtered images will then be stored in a temporary layer and pre-processed regularly, i.e. once every 24 hours. The main processing steps are as follows:
[0045] 1) Grayscale conversion: Convert the image into a grayscale image to reduce the amount of subsequent calculations and simplify the image analysis steps;
[0046] 2) Area masking: Since the images are all taken at a fixed angle, the area where the lane features to be extracted are located is relatively fixed. By performing area masking on the images, the subsequent detection range can be narrowed;
[0047] 3) Image denoising: Use methods including but not limited to Gaussian blur to process image noise and reduce the interference of noise on edge detection;
[0048] 4) Edge detection: using methods including but not limited to the Canny operator (edge detection algorithm) to obtain edge images;
[0049] After the processing is completed, the image of the temporary layer will be destroyed and will no longer occupy storage space;
[0050] Finally, the cloud inputs the edge image into the trained lane detection model to obtain the lane line classification in the image. Based on the relative position of the vehicle and the lane line and the characteristics of the lane line itself, the following classifications are currently used:
[0051] 1) The vehicle is centered in the lane
[0052] 2) The vehicle is too close to the left side of the lane
[0053] 3) The vehicle is too close to the right side of the lane
[0054] 4) Vehicle crossing the dotted line
[0055] 5) Vehicles crossing solid lines
[0056] 6) The vehicle deviates from the lane line
[0057] After the classification is completed, the vehicle ID, lane detection classification result, image generation time and other information are stored in the first result table.
[0058] In step S102, the driving data and the relative position data are divided into at least one operating condition segment according to the driving condition, wherein the operating condition segment includes the driving data and the relative position data.
[0059] It can be understood that the embodiment of the present application can divide the driving data and the relative position data into at least one operating condition segment according to the driving condition, so as to facilitate the subsequent identification of the driving characteristics of the driver in the at least one operating condition segment.
[0060] It should be noted that before dividing the driving data and relative position data into at least one operating condition segment according to the driving condition, the present application sets an identification rule for the operating condition type according to the driving speed and terrain, wherein the operating condition type table is shown in Table 1 below.
[0061] Table 1 Working condition type table
[0062] Working condition type Speed range Transverse acceleration ratio slope Congestion 0~30 / / ordinary 30~80 <5% / high speed >100 / / Mountain 20~60 >10% >25°
[0063] The divided working conditions will be stored in the second result table, which needs to include: vehicle ID, working condition type, working condition start time, working condition end time, maximum longitudinal acceleration, maximum lateral acceleration and other information.
[0064] In step S103 , the driving characteristics of the driver in at least one driving condition segment are identified.
[0065] Among them, the driving characteristics include at least one of cutting in, changing lanes drastically, changing lanes illegally, changing lanes without turning on lights, driving across lanes, driving in a lane on one side, sudden acceleration, sharp turns and emergency braking.
[0066] It can be understood that the embodiment of the present application identifies the driving characteristics of the driver in at least one operating condition segment, so as to facilitate the subsequent identification of the driver's driving style based on the driving characteristics of at least one operating condition segment and the type of driving condition.
[0067] Specifically, the cloud divides the obtained vehicle driving data into different operating condition segments according to the idle segment, where the idle segment refers to the vehicle speed being equal to 0 km / h and lasting for more than 30 seconds.
[0068] The cloud performs driving style recognition when the user's driving mileage from the last driving style recognition is greater than 1000 km. The specific process is as follows:
[0069] 1) According to the data in the second result table of the working condition results, when the maximum longitudinal acceleration of the working condition exceeds a_v 1 , for example: the maximum longitudinal acceleration exceeds 3.0m / s 2 , record the first rapid acceleration, exceeding a_v 2 , for example: the maximum longitudinal acceleration exceeds 4.0m / s 2 , record the second rapid acceleration; when the maximum lateral acceleration exceeds a_h 1 , for example: the maximum lateral acceleration exceeds 1.2m / s 2 , record 1 first sharp turn, exceeding a_h 2 A second sharp turn is recorded when the maximum lateral acceleration exceeds 1.5 m / s 2 ; Longitudinal acceleration is less than a_v 3 Record 1 emergency braking, for example: longitudinal acceleration is less than -4.5m / s 2 ;
[0070] It should be noted that the maximum longitudinal acceleration, maximum lateral acceleration, maximum vehicle speed, maximum braking force, etc. of the present application under different working conditions can be set according to the actual needs of the user without specific limitation.
[0071] 2) According to the stored lane detection time, match the data reflecting the driving and working condition characteristics at that time, including but not limited to vehicle speed, lateral acceleration, longitudinal acceleration, steering wheel angle, steering wheel angle rate, accelerator pedal travel, brake pedal travel, turn signal lighting status, login user number, slope, altitude, etc.;
[0072] 3) Combine lane detection classification to determine the driver's driving preference, one of the judgment modes is:
[0073] 1. Identify the vehicle crossing the line:
[0074] a) A vehicle is identified crossing a solid line and one illegal lane change is recorded;
[0075] b) Determine whether the vehicle is changing lanes / driving normally or jamming in based on the vehicle speed. When the vehicle speed is less than a certain value, it will record one time that the vehicle is changing lanes or jamming in, for example, the vehicle speed is less than 15 km / h;
[0076] c) The lateral acceleration is used to determine whether the vehicle is changing lanes or driving normally. The lateral acceleration is less than a_h 3 , record 1 vehicle crossing the line;
[0077] d) Combined with the vehicle's turn signal status when turning, if the turn signal is not on, one lane change without turning on the signal is recorded;
[0078] e) Lateral acceleration exceeds a_h 4 , for example: lateral acceleration exceeds 2.4m / s 2 , record the first violent lane change of the vehicle; lateral acceleration exceeds a_h 5 , for example: lateral acceleration exceeds 2.6m / s 2 , recording 1 vehicle's second violent lane change;
[0079] 2. The vehicle is detected to be too close to the lane:
[0080] Obtain the result of the vehicle being judged as being too close to the lane in the first result table, calculate the length of time the vehicle continues in this state, and if it exceeds 5 minutes, record one time of driving along a lane on one side.
[0081] In step S104 , the driving style of the driver is identified according to the driving characteristics of at least one driving condition segment and the type of the driving condition.
[0082] It can be understood that the embodiments of the present application can identify the driver's driving style according to the driving characteristics and the type of driving conditions, and the driving style identification is more comprehensive, thereby improving the accuracy of driving style identification.
[0083] In an embodiment of the present application, the driver's driving style is identified based on the driving characteristics of at least one operating condition segment and the type of driving condition, including: determining an initial weight based on the type of driving condition; weighting the weight of each driving characteristic under the corresponding condition to obtain a weighted value under the current condition; calculating a final driving score based on the initial weight and the weighted value, and determining the driver's driving style based on the final driving score.
[0084] It can be understood that the embodiment of the present application determines the initial weight according to the type of driving condition, and obtains the weighted value under the current condition based on the weight of each driving feature under the corresponding condition, calculates the final driving score based on the initial weight and the weighted value, and determines the driver's driving style based on the final driving score, thereby improving the accuracy of driving style recognition.
[0085] It should be noted that this application combines the operating conditions and recorded driving characteristics to give a weighted score to the user's driving style, and sets the initial weighting value based on the degree of danger of the driving characteristics in the operating conditions. The more likely it is to cause road safety problems, such as drastic lane changes on highways, the higher the weight of aggressive driving, followed by mountain conditions, then congested conditions, and the lowest weight for ordinary conditions.
[0086] Specifically, the total number of driving characteristics is N, each item has a full score of 5 points, and the initial weight is: high speed - Mountain- Congestion ordinary- According to the actual classification, the weight of each working condition corresponding to each driving characteristic can be further adjusted. Among them, the scoring table based on the working condition type and driving characteristics is shown in Table 2 below:
[0087] Table 2 Scoring table based on working condition type and driving characteristics
[0088]
[0089] The extracted driving data is used to score each user, and the user's final score is:
[0090] User scor =∑ξ i x i
[0091] where ξ i is the weight of the current driving feature under the road condition, x i The maximum score for this item is 10 points.
[0092] According to the score range, driving styles are divided into: 1: A total score of less than 3 points is cautious driving; 2: A total score of 3 to 4.5 points is gentle driving; 3: A total score of 4.5 to 6 points is normal driving; 4: A total score of 6 to 7.5 points is aggressive driving; 5: A total score greater than 7.5 points is dangerous driving.
[0093] In an embodiment of the present application, after identifying the driver's driving style based on the driving characteristics of at least one operating condition segment and the type of driving condition, it also includes: generating driving suggestions based on the driving style; and / or adjusting the driving parameters of the vehicle based on the driving style.
[0094] It is understandable that the embodiments of the present application generate driving suggestions based on the driving style, and / or adjust the driving parameters of the vehicle based on the driving style, thereby improving the driver's driving experience.
[0095] It should be noted that the present application can generate driving suggestions when the driving style is aggressive driving or dangerous driving to prevent the driver from being too aggressive and causing accidents; or adjust the relevant driving parameters of the vehicle based on the driving style, for example: when the overall driving style is aggressive driving, adaptively adjust the vehicle speed, or adjust the vehicle power. It can be set according to actual needs without specific limitation.
[0096] According to the driving style recognition method proposed in the embodiment of the present application, multiple driving conditions are determined based on the driver's driving data in full combination with image information collected during driving, the driver's driving characteristics under corresponding conditions are determined based on the multiple driving conditions, and the driver's driving style is identified based on the driving characteristics and the type of driving conditions. The driving style recognition is more comprehensive, thereby improving the accuracy of driving style recognition.
[0097] The following will be combined Figure 2 The driving style recognition method of this application is described in detail, and the specific steps are as follows:
[0098] Step 1: The vehicle extracts the images taken by the designated camera or other equipment at a certain time frequency and uploads them to the cloud.
[0099] After receiving the uploaded image, the cloud performs a preliminary assessment of the image quality based on features such as contrast, brightness, and signal-to-noise ratio, and filters out images with too low contrast, brightness exceeding a certain range, and too low signal-to-noise ratio. Among them, too low contrast means that the initial contrast value is less than 10, brightness exceeding a certain range means that the brightness exceeds 1.5 or the brightness exceeds or is less than 0.5, and too low signal-to-noise ratio means that the initial signal-to-noise ratio value is less than 5dB.
[0100] The filtered images will then be stored in a temporary layer and pre-processed regularly, i.e. once every 24 hours. The main processing steps are as follows:
[0101] 1) Grayscale conversion: Convert the image into a grayscale image to reduce the amount of subsequent calculations and simplify the image analysis steps;
[0102] 2) Area masking: Since the images are all taken at a fixed angle, the area where the lane features to be extracted are located is relatively fixed. By performing area masking on the images, the subsequent detection range can be narrowed;
[0103] 3) Image denoising: Use methods including but not limited to Gaussian blur to process image noise and reduce the interference of noise on edge detection;
[0104] 4) Edge detection: using methods including but not limited to the Canny operator (edge detection algorithm) to obtain edge images;
[0105] After the processing is completed, the image of the temporary layer will be destroyed and will no longer occupy storage space;
[0106] Finally, the cloud inputs the edge image into the trained lane detection model to obtain the lane line classification in the image. Based on the relative position of the vehicle and the lane line and the characteristics of the lane line itself, the following classifications are currently used:
[0107] 1) The vehicle is centered in the lane
[0108] 2) The vehicle is too close to the left side of the lane
[0109] 3) The vehicle is too close to the right side of the lane
[0110] 4) Vehicle crossing the dotted line
[0111] 5) Vehicles crossing solid lines
[0112] 6) The vehicle deviates from the lane line
[0113] After the classification is completed, the vehicle ID, lane detection classification result, image generation time and other information are stored in the first result table.
[0114] Step 2: The cloud divides the obtained vehicle-side driving data into different operating condition segments according to the idle segment, where the idle segment refers to a vehicle speed of 0 km / h and lasts for more than 30 seconds.
[0115] Before dividing the driving data and the relative position data into at least one operating condition segment according to the driving condition, an identification rule of the operating condition type is set according to the driving speed and the terrain, wherein the operating condition type table is shown in Table 1 below.
[0116] Table 1 Working condition type table
[0117] Working condition type Speed range Transverse acceleration ratio slope Congestion 0~30 / / ordinary 30~80 <5% / high speed >100 / / Mountain 20~60 >10% >25°
[0118] The divided working conditions will be stored in the second result table, which needs to include: vehicle ID, working condition type, working condition start time, working condition end time, maximum longitudinal acceleration, maximum lateral acceleration and other information.
[0119] Step 3: When the user's driving mileage from the last driving style recognition is greater than 1000 km, the cloud performs driving style recognition. The specific process is as follows:
[0120] 1) According to the data in the second result table of the working condition results, when the maximum longitudinal acceleration of the working condition exceeds a_v 1 , for example: the maximum longitudinal acceleration exceeds 3.0m / s 2 , record the first rapid acceleration, exceeding a_v 2 , for example: the maximum longitudinal acceleration exceeds 4.0m / s 2 , record the second rapid acceleration; when the maximum lateral acceleration exceeds a_h 1 , for example: the maximum lateral acceleration exceeds 1.2m / s 2 , record 1 first sharp turn, exceeding a_h 2 A second sharp turn is recorded when the maximum lateral acceleration exceeds 1.5 m / s 2 ; Longitudinal acceleration is less than a_v 3 Record 1 emergency braking, for example: longitudinal acceleration is less than -4.5m / s 2 ;
[0121] It should be noted that the maximum longitudinal acceleration, maximum lateral acceleration, maximum vehicle speed, maximum braking force, etc. of the present application under different working conditions can be set according to the actual needs of the user without specific limitation.
[0122] 2) According to the stored lane detection time, match the data reflecting the driving and working condition characteristics at that time, including but not limited to vehicle speed, lateral acceleration, longitudinal acceleration, steering wheel angle, steering wheel angle rate, accelerator pedal travel, brake pedal travel, turn signal lighting status, login user number, slope, altitude, etc.;
[0123] 3) Combine lane detection classification to determine the driver's driving preference, one of the judgment modes is:
[0124] 1. Identify the vehicle crossing the line:
[0125] a) A vehicle is identified crossing a solid line and one illegal lane change is recorded;
[0126] b) Determine whether the vehicle is changing lanes / driving normally or jamming in based on the vehicle speed. When the vehicle speed is less than a certain value, it will record one time that the vehicle is changing lanes or jamming in, for example, the vehicle speed is less than 15 km / h;
[0127] c) The lateral acceleration is used to determine whether the vehicle is changing lanes or driving normally. The lateral acceleration is less than a_h 3 , record 1 vehicle crossing the line;
[0128] d) Combined with the vehicle's turn signal status when turning, if the turn signal is not on, one lane change without turning on the signal is recorded;
[0129] e) Lateral acceleration exceeds a_h 4 , for example: lateral acceleration exceeds 2.4m / s 2 , record the first violent lane change of the vehicle; lateral acceleration exceeds a_h 5 , for example: lateral acceleration exceeds 2.6m / s 2 , recording 1 vehicle's second violent lane change;
[0130] 2. The vehicle is detected to be too close to the lane:
[0131] Obtain the result of the vehicle being judged as being too close to the lane in the first result table, calculate the length of time the vehicle continues in this state, and if it exceeds 5 minutes, record one time of driving along a lane on one side.
[0132] Step 4: Combine the working conditions and recorded driving characteristics to give the user's driving style a weighted score, and set the initial weighting value based on the degree of danger of the driving characteristics in the working conditions. The more likely it is to cause road safety problems, such as drastic lane changes on highways, the higher the weight of aggressive driving, followed by mountain conditions, then congested conditions, and the lowest weight for ordinary conditions.
[0133] Specifically, the total number of driving characteristics is N, each item has a full score of 5 points, and the initial weight is: high speed - Mountain- Congestion ordinary- According to the actual classification, the weight of each working condition corresponding to each driving characteristic can be further adjusted. Among them, the scoring table based on the working condition type and driving characteristics is shown in Table 2 below:
[0134] Table 2 Scoring table based on working condition type and driving characteristics
[0135]
[0136]
[0137] The extracted driving data is used to score each user, and the user's final score is:
[0138] User score =Σξ i x i
[0139] where ξi is the weight of the current driving feature under the road condition, x i The maximum score for this item is 10 points.
[0140] According to the score range, driving styles are divided into: 1: A total score of less than 3 points is cautious driving; 2: A total score of 3 to 4.5 points is gentle driving; 3: A total score of 4.5 to 6 points is normal driving; 4: A total score of 6 to 7.5 points is aggressive driving; 5: A total score greater than 7.5 points is dangerous driving.
[0141] In summary, the present application realizes driving style recognition based on lane detection and driving feature extraction, and the driving style recognition is more comprehensive, thereby improving the accuracy of driving style recognition.
[0142] Next, the driving style recognition device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.
[0143] Figure 3 Schematic diagram of a driving style recognition device according to an embodiment of the present application.
[0144] like Figure 3 As shown, the driving style recognition device includes: an acquisition module 100 , a division module 200 , a first recognition module 300 and a second recognition module 400 .
[0145] Among them, the acquisition module 100 is used to acquire the driver's driving data and the relative position data of the vehicle and the lane line; the division module 200 is used to divide the driving data and the relative position data into at least one operating condition segment according to the driving condition, wherein the operating condition segment includes the driving data and the relative position data; the first recognition module 300 is used to identify the driving characteristics of the driver in at least one operating condition segment; the second recognition module 400 is used to identify the driver's driving style based on the driving characteristics of at least one operating condition segment and the type of driving condition.
[0146] In the embodiment of the present application, the driving characteristics include at least one of cutting in, drastic lane changes, illegal lane changes, lane changes without turning on lights, driving across lanes, driving in a lane on one side, sudden acceleration, sharp turns and emergency braking.
[0147] In the embodiment of the present application, the driving data includes vehicle speed, lateral acceleration, longitudinal acceleration, steering wheel angle, steering wheel angle rate, accelerator pedal travel, brake pedal travel, turn signal lighting status, slope and altitude.
[0148] In an embodiment of the present application, the second recognition module 400 is further used to: determine an initial weight based on the type of driving condition; weight each driving feature under the corresponding condition to obtain a weighted value under the current condition; calculate a final driving score based on the initial weight and the weighted value, and determine the driver's driving style based on the final driving score.
[0149] In an embodiment of the present application, it also includes: a generation module for generating driving suggestions based on the driving style; and / or adjusting the driving parameters of the vehicle based on the driving style.
[0150] In an embodiment of the present application, it also includes: a processing module for acquiring images around the vehicle; preprocessing the image to obtain an edge image; inputting the edge image into a trained lane detection model, and the lane detection model outputs the relative position data of the vehicle and the lane line in the image.
[0151] It should be noted that the above explanations of the driving style recognition method embodiment are also applicable to the driving style recognition device of this embodiment, and will not be repeated here.
[0152] According to the driving style recognition device proposed in the embodiment of the present application, multiple driving conditions are determined based on the driver's driving data in full combination with image information collected during driving, the driver's driving characteristics under corresponding conditions are determined based on the multiple driving conditions, and the driver's driving style is identified based on the driving characteristics and the type of driving conditions. The driving style recognition is more comprehensive, thereby improving the accuracy of driving style recognition.
[0153] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0154] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0155] When the processor 402 executes the program, the driving style recognition method provided in the above embodiment is implemented.
[0156] Furthermore, the vehicle also includes:
[0157] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0158] The memory 401 is used to store computer programs that can be run on the processor 402 .
[0159] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0160] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0161] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0162] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0163] An embodiment of the present application also provides a computer-readable storage medium storing a computer program or instruction, which implements the above driving style recognition method when executed by a processor.
[0164] An embodiment of the present application further provides a computer program product, including: a computer program or instructions, which, when executed, implements the driving style recognition method as described in the above embodiment.
[0165] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0166] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0167] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0168] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0169] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0170] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A driving style recognition method, characterized in that: The following steps are involved: Obtaining the driver's driving data and the relative position data between the vehicle and the lane line; Dividing the driving data and the relative position data into at least one operating condition segment according to the driving condition, wherein the operating condition segment includes the driving data and the relative position data; identifying a driving characteristic of a driver in the at least one operating condition segment; The driving style of the driver is identified according to the driving characteristics of the at least one driving condition segment and the type of the driving condition.
2. The driving style recognition method according to claim 1, characterized in that: The driving characteristics include at least one of cutting in, drastic lane change, illegal lane change, lane change without turning on lights, driving across lanes, driving in a lane on one side, sudden acceleration, sharp turn and emergency braking.
3. The driving style recognition method according to claim 1, characterized in that: The driving data includes vehicle speed, lateral acceleration, longitudinal acceleration, steering wheel angle, steering wheel angle rate, accelerator pedal travel, brake pedal travel, turn signal lighting status, slope and altitude.
4. The driving style recognition method according to claim 1, characterized in that: The identifying the driving style of the driver according to the driving characteristics of the at least one operating condition segment and the type of the driving condition comprises: determining an initial weight based on the type of the driving condition; The weight of each driving feature under the corresponding working condition is weighted to obtain the weighted value under the current working condition; A final driving score is calculated according to the initial weight and the weighted value, and the driving style of the driver is determined based on the final driving score.
5. The driving style recognition method according to claim 4, characterized in that: After identifying the driving style of the driver according to the driving characteristics of the at least one driving condition segment and the type of the driving condition, the method further includes: Generating driving advice according to the driving style; and / or adjusting driving parameters of the vehicle according to the driving style.
6. The driving style recognition method according to claim 1, characterized in that: Before obtaining the driver's driving data and the relative position data of the vehicle and the lane line, it also includes: Acquire images around the vehicle; Preprocessing the image to obtain an edge image; The edge image is input into a trained lane detection model, and the lane detection model outputs relative position data between the vehicle and the lane line in the image.
7. A driving style recognition device, characterized in that: include: An acquisition module, used to acquire the driving data of the driver and the relative position data of the vehicle and the lane line; A division module, used for dividing the driving data and the relative position data into at least one operating condition segment according to the driving condition, wherein the operating condition segment includes the driving data and the relative position data; A first recognition module, configured to recognize a driving characteristic of a driver in the at least one operating condition segment; The second identification module is used to identify the driving style of the driver according to the driving characteristics of the at least one driving condition segment and the type of the driving condition.
8. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the driving style recognition method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program or instruction, characterized in that: The program is executed by a processor to implement the driving style recognition method as described in any one of claims 1 to 6.
10. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed, it implements the driving style recognition method described in any one of claims 1-6.
Citation Information
Cited By
Driving style identification method and system based on entropy weight method
CN120688736A
A driving style recognition method and system based on an entropy weight method
CN120688736B
