| CPC G06F 30/15 (2020.01) [G06F 30/10 (2020.01); G06F 30/20 (2020.01)] | 19 Claims |

|
1. A driving simulation method for improving an autonomous driving system configured for controlling an autonomous vehicle, performed by an electronic device, the method comprising:
receiving parameters through a first configuration interface;
determining, based on the parameters, a reference vehicle-to-vehicle distance, a reference vehicle speed, and a background vehicle quantity of a target lane, the target lane comprising a lane in which a test vehicle and background vehicles are located;
determining an initial location of each of the background vehicles in the target lane based on a location of the test vehicle, the reference vehicle-to-vehicle distance, and a random distance deviation;
determining an initial speed of each of the background vehicles in the target lane based on the reference vehicle speed and a random speed deviation; and
simulating traveling of each of the background vehicles in a simulated traffic environment based on the initial location and the initial speed of each of the background vehicles and the background vehicle quantity, further comprising:
fixing a speed of a leading background vehicle;
updating speeds of other background vehicles following the leading background vehicle according to predefined speed constraints in a following model, such that the background vehicles all stay within an effective test range of the test vehicle;
controlling the test vehicle in the simulated traffic environment to change a lane in accordance with a decision algorithm of the autonomous driving system:
in response to the test vehicle changing the lane, updating transverse speeds and locations of the background vehicles in the simulated traffic environment;
recording driving data of the test vehicle until a predefined simulation time is achieved; and
generating a test report based on the driving data of the test vehicle, wherein the test report represents performance of the autonomous driving system.
|