automatic tool is required to have more realistic, effective and efficient tool than the cunent one. The simulation result shows that proposed algorithm can achieve higher intersection throughput and lower vehicle's averagewaiting time. In addition, we implement the algorithm onour Aimsun and MATLAB test bed to test and evaluatethe performance of our algorithm.