The congestion of pedestrian traffic occurs easily at the bottleneck. Barriers could impede pedestrian channel, but it can ensure the smooth flow of pedestrians. Quasi-sliding mode control will be introduced in LWR model.The control variable can be derived for simulation at the impact of barriers. Based on the three-lane macroscopic traffic flow model, we carry out simulation to verify our control methods.The results indicate that the maximum pedestrian flow can be maintained due to the threshold value of the quasi-sliding mode control variables as the threshold value corresponds to one of the maximum flows in the fundamental diagram. Optimization of control variables can improve efficiency of one-way pedestrian at bottleneck.