3.3.2. Single intersection
As NeverStop can get the congestion from RFID device, the algorithm is used to manage the traffic of local intersection.
When the traffic is smooth, each phase of traffic lights should be as short as possible, as yet no shorter than the minimum threshold in which the cars flow can go through the intersection exactly. When there is heavy traffic, the corresponding direction should take a longer time, yet not longer than a maximum threshold in which the drivers can wait. The control algorithm in single intersection is illustrated in Fig. 4.