# US 2025/0376157 A1 · Method for evaluating driving risk level in tunnel based on vehicle bus data and system therefor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0376157 A1
- Document ID: US20250376157A1
- Status: Published application
- Kind: A1
- Application number: 19/223,082
- Filed: 2025-05-30
- Published: 2025-12-11
- Earliest claimed: 2024-06-05
- Assignees: Zhejiang University Zhongyuan Institute; Zhejiang University
- Applicants: ZheJiang University ZhongYuan Institute; Zhejiang University
- Inventors: Congcong BAI; Sheng JIN; Chengcheng YANG; Saijun ZHONG; Mengtao ZHOU; Yang JIANG
- Web page: https://patentgrep.com/patent/US20250376157A1

## CPC

- B60W 30/095: Predicting travel path or likelihood of collision
- B60W 40/09: Driving style or behaviour
- B60W 50/0097: {Predicting future conditions}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G07C 5/0808: {Diagnosing performance data (testing of vehicles G01M17/00; testing of electrical installation on vehicles G01R31/005)}
- B60W 2540/10: Accelerator pedal position
- B60W 2540/12: Brake pedal position
- B60W 2540/18: Steering angle
- G07C 5/0841: {Registering performance data (recording measured values G01D; information storage G11B)}
- B60W: CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G07C: TIME 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

## Abstract

A method for evaluating a driving risk level in a tunnel based on vehicle bus data and a system therefor are provided. The method uses the Controller Area Network (CAN) bus data collected in a vehicle driving process, designs and extracts a driving risk characteristic feature index reflecting the driving behavior of a driver through a sliding time window method, writes a feature codebook to symbolize an extracted sequence feature, and then randomly samples all of the samples, and based on the sampled symbolic data, using a Latent Dirichlet Allocation (LDA) theme model to evaluate the driving risk level. The training method of the model is to acquire the optimal number of risk levels by evaluating the perplexity and the coherence scores, and to analyze the driving risk of the driving data in all of the samples.

## Claims

### Claim 1

A method for evaluating a driving risk level in a tunnel based on vehicle bus data, comprising:
step S1, acquiring bus data in a vehicle driving process in the tunnel, and extracting driving risk characteristic feature indexes by using a sliding window method according to the bus data to obtain a plurality of driving risk units;
step S2, writing a feature index codebook according to the driving risk characteristic feature indexes, and obtaining a word sequence of each driving risk unit according to the feature index codebook; and
step S3, using a Latent Dirichlet Allocation (LDA) model to analyze a risk type of each driving risk unit according to the word sequence to evaluate the driving risk level, wherein the driving risk level comprises normal driving, lateral risks, vertical risks;
wherein in step S1, the bus data in the vehicle driving process comprises five driving behavior features of a steering wheel angle, a steering wheel angle change rate, an accelerator pedal position, a brake pedal position and a brake pedal change rate; each driving behavior feature has four driving risk characteristic feature indexes of an average value of the driving behavior feature within a time window, a standard deviation of the driving behavior feature within the time window, a maximum value of the driving behavior feature within the time window, and a minimum value of the driving behavior feature within the time window; and
the step of writing the feature index codebook according to the driving risk characteristic feature indexes comprises: dividing values of the driving risk characteristic feature indexes into several ranges, so that each range corresponds to a word, which means encoding each driving risk characteristic feature index according to data distribution and domain knowledge to obtain the feature index codebook, wherein 20 driving risk characteristic feature indexes of each driving risk unit correspond to 20 words, respectively, and each driving risk unit is represented by a word sequence:
d
m
=
[
w
m
⁢
1
,
w
m
⁢
2
,
…
,
w
mn
]
wherein dm denotes a word sequence of an m-th risk unit, and wmn denotes an n-th word in the m-th risk unit.

### Claim 2 (depends on 1)

The method for evaluating the driving risk level in the tunnel based on the vehicle bus data according to claim 1, wherein the step of extracting the driving risk characteristic feature indexes by using the sliding window method according to the bus data comprises: with T1 as a sliding time window, and T2 as a step size, extracting driving risk characteristic feature indexes of the five driving behavior features under each time window by using the sliding window method, and setting each time window as a driving risk unit to obtain the plurality of driving risk units, wherein each driving risk unit of the plurality of driving risk units comprises the 20 driving risk characteristic feature indexes.

### Claim 3 (depends on 1)

The method for evaluating the driving risk level in the tunnel based on the vehicle bus data according to claim 1, wherein a method of training the LDA model comprises:
sampling all word sequences randomly to obtain a training set;
constructing the LDA model and setting a number of model iterations;
setting a series of risk theme numbers k, and dividing word sequences of driving risk units into k risk themes;
for each risk theme number k, training the LDA model iteratively by using the training set to obtain a perplexity and a coherence score of a model corresponding to each risk theme number; and
determining an optimal risk theme number km of according to the perplexity and the coherence score.

### Claim 4 (depends on 3)

The method for evaluating the driving risk level in the tunnel based on the vehicle bus data according to claim 3, wherein the risk level of each risk theme is determined by visually analyzing the driving risk characteristic feature indexes in each theme for km risk themes.

### Claim 5

A system for evaluating a driving risk level in a tunnel based on vehicle bus data, comprising:
a data acquisition and analysis module, wherein the data acquisition and analysis module is configured to acquire bus data in a vehicle driving process in the tunnel, and extract driving risk characteristic feature indexes by using a sliding window method according to the bus data; wherein the bus data in the vehicle driving process comprises five driving behavior features of a steering wheel angle, a steering wheel angle change rate, an accelerator pedal position, a brake pedal position and a brake pedal change rate; each driving behavior feature has four driving risk characteristic feature indexes of an average value of the driving behavior feature within a time window, a standard deviation of the driving behavior feature within the time window, a maximum value of the driving behavior feature within the time window, and a minimum value of the driving behavior feature within the time window;
a feature index encoding module, wherein the feature index encoding module is configured to write a feature index codebook according to the driving risk characteristic feature indexes, and obtain a word sequence under each time window according to the feature index codebook, which comprises: dividing values of the driving risk characteristic feature indexes into several ranges, so that each range corresponds to a word, which means encoding each driving risk characteristic feature index according to data distribution and domain knowledge to obtain the feature index codebook, wherein 20 driving risk characteristic feature indexes of each driving risk unit correspond to 20 words, respectively, and each driving risk unit is represented by a word sequence:
d
m
=
[
w
m
⁢
1
,
w
m
⁢
2
,
…
,
w
mn
]
wherein dm denotes a word sequence of an m-th risk unit, and wmn denotes an n-th word in the m-th risk unit; and
a risk analysis and evaluation module, wherein the risk analysis and evaluation module is configured to use a Latent Dirichlet Allocation (LDA) model to analyze a risk type of each driving risk unit according to the word sequence to evaluate the driving risk level.

### Claim 6 (depends on 1)

A computer device, comprising:
one or more processors;
a memory, wherein one or more programs are stored in the memory;
wherein the one or more programs, when executed by the one or more processors, allow the one or more processors to implement the method for evaluating the driving risk level in the tunnel based on the vehicle bus data according to claim 1.

### Claim 7 (depends on 6)

The computer device according to claim 6, wherein the step of extracting the driving risk characteristic feature indexes by using the sliding window method according to the bus data comprises: with T1 as a sliding time window, and T2 as a step size, extracting driving risk characteristic feature indexes of the five driving behavior features under each time window by using the sliding window method, and setting each time window as a driving risk unit to obtain the plurality of driving risk units, wherein each driving risk unit of the plurality of driving risk units comprises the 20 driving risk characteristic feature indexes.

### Claim 8 (depends on 6)

The computer device according to claim 6, wherein a method of training the LDA model comprises:
sampling all word sequences randomly to obtain a training set;
constructing the LDA model and setting a number of model iterations;
setting a series of risk theme numbers k, and dividing word sequences of driving risk units into k risk themes;
for each risk theme number k, training the LDA model iteratively by using the training set to obtain a perplexity and a coherence score of a model corresponding to each risk theme number; and
determining an optimal risk theme number km of according to the perplexity and the coherence score.

### Claim 9 (depends on 8)

The computer device according to claim 8, wherein the risk level of each risk theme is determined by visually analyzing the driving risk characteristic feature indexes in each theme for km risk themes.

### Claim 10 (depends on 1)

A computer-readable storage medium storing computer instructions, wherein the computer instructions, when executed by one or more processors, allow the one or more processors to implement steps of the method for evaluating the driving risk level in the tunnel based on the vehicle bus data according to claim 1.

### Claim 11 (depends on 10)

The computer-readable storage medium according to claim 10, wherein the step of extracting the driving risk characteristic feature indexes by using the sliding window method according to the bus data comprises: with T1 as a sliding time window, and T2 as a step size, extracting driving risk characteristic feature indexes of the five driving behavior features under each time window by using the sliding window method, and setting each time window as a driving risk unit to obtain the plurality of driving risk units, wherein each driving risk unit of the plurality of driving risk units comprises the 20 driving risk characteristic feature indexes.

### Claim 12 (depends on 10)

The computer-readable storage medium according to claim 10, wherein a method of training the LDA model comprises:
sampling all word sequences randomly to obtain a training set;
constructing the LDA model and setting a number of model iterations;
setting a series of risk theme numbers k, and dividing word sequences of driving risk units into k risk themes;
for each risk theme number k, training the LDA model iteratively by using the training set to obtain a perplexity and a coherence score of a model corresponding to each risk theme number; and
determining an optimal risk theme number km of according to the perplexity and the coherence score.

### Claim 13 (depends on 12)

The computer-readable storage medium according to claim 12, wherein the risk level of each risk theme is determined by visually analyzing the driving risk characteristic feature indexes in each theme for km risk themes.
