Research Article

A Safety Collision Avoidance Algorithm Based on Comprehensive Characteristics

Algorithm 1

The pseudocode of the algorithm.
Algorithm: calculate reaction time, braking time, early warning distance, and braking distance conversion
input: AGE, HEALTH, MENTAL STATE INDEX, VISUAL ACUITY, DRIVING AGE, RELATIVE SPEED, RELATIVE DISTANCE
output: Warning distance, braking distance
function Response Time Based on Driver Characteristics (AGE, HEALTH, MENTAL STATE INDEX, VISUAL ACUITY, DRIVING AGE)
 = The weighted average is integrated to determine the weight of each parameter
 = Modified reaction time
return
end function
function Braking Time Based on Environmental Characteristics (RELATIVE SPEED, RELATIVE DISTANCE)
 = Sum of braking time of each stage
return
end function
function The warning time is converted to the warning distance (, )
 = The product of fixed threshold of TTC warning time and relative speed
 = The product of the minimum braking time and the relative speed
return,
end function