The design capacity of tunnel lanes in trunk roads is usually limited,which can easily lead to congestion when the traffic volume exceeds the carrying capacity of the road.This paper proposes a lane control system based on edge computing to address the problem of tidal lane management in tunnels.First,the system builds complex edge nodes,including sensing modules,communication modules,decision-making and control modules,etc.,to achieve tidal lane control during congestion periods.Secondly,the edge nodes in the system are based on network cameras,industrial computers and lane controllers to build a closely cooperating system,giving full play to the advantages of edge computing.Finally,in response to changes in traffic flow,this paper introduces an adaptive lane control strategy,which dynamically adjusts the phase duration through a Proportional-Integral-Derivative(PID)controller to optimize traffic flow efficiency.