The invention discloses a method for estimating city expressway traffic states based on mobile detection of smartphones, wherein a city expressway 
cell transmission model is built firstly, a observing network is built by adopting a smartphone to rapidly detect parameters, then a 
state space model based on a lighthill-whitham-richards (LWR) 
traffic flow model is designed, a traffic state and a boundary flux are synchronously estimated by utilizing three-step type recursive filters 
algorithm, then are coalesced with upstream and downstream subsection boundary flux by adopting a weighted average 
algorithm, and traffic parameter 
estimation is upgraded, thereby achieving real-time distributed 
estimation of city expressway network traffic state. The method for estimating the city expressway traffic states based on the mobile detection of the smartphones can collect average speed information of vehicles on any time and space positions of a loop, enables traffic 
estimation not to be restrained by the position of a 
detector, can achieve synchronization estimation of traffic density and boundary flux by designing a state-
space model and a three-step 
recursive filter, and achieves the problem of 
large range expressway network traffic estimation by being coalesced with subsection boundary flux, reduces 
model order, and improves efficiency of 
algorithm.