The invention discloses a method for setting a crossing self-adapting changeable
driveway by a
computer program, aiming to solve the problem that a single left turning
driveway is supersaturated and two left turning driveways are insufficient. The method comprises the following steps: firstly installing a No. 1 triggering
detector, a No. 2 triggering
detector, a main
signal light and a pre-signallight; and utilizing other existing hardware equipment. The method also comprises the following steps: (1) judging the attribute of the changeable
driveway, i.e. judging the attribute of the changeable driveway by whether an
inequation that N is larger than or equal to N<*> is established or not, wherein N is the continuous periodicity of the time occupancy ratio of the No. 1 triggering
detector and the No. 2 triggering detector, which is larger than a critical value, and N<*> is the critical value triggering changeable driveway control; (2) controlling the
signal timing scheme optimization ofthe changeable driveway, i.e. (1) controlling the changeable driveway when
signal period time is unchangeable, and (2) controlling the changeable driveway when the signal period time is changeable; and (3) setting a pre-signal of the changeable driveway, i.e. (1) changing the attribute of the changeable driveway from straight running to left turning, and (2) changing the changeable driveway fromthe left turning to the straight running.