We investigate behaviors of vehicles passing a controlled area with variable speed limits (VSL) before a tollgate. The traffic flow mathematical model is formulated based on optimal velocity model. The typical sketch of tollgate area is plotted and variable speed limit signs are set in the area to control the traffic flow speed for fear of accident and congestion. Simulations are carried out to examine the influence on traffic flow passing the controlled area with different number of the speed limit signs under open boundary condition. The simulations results show that more speed limit signs may reduce the risk of rear-end collision and the occurrence of the congestion in the tollgate area.