This article focuses on the research of control algorithm and control logic for the pneumatic EBS (Electronic Braking System) of commercial vehicle. An overall technical program was proposed which develops conventional braking and emergency braking for commercial vehicle EBS. According to the overall scheme, the methods of vehicle state estimation and driver's braking intention were determined, modeling and simulation for key components of commercial vehicle EBS were then carried out. This lead to the development of deceleration control, braking force distribution, brake assist and ABS control. Simulation models for key components of EBS and control strategy were validated through hardware-in-the-loop simulation tests. Simulation results show that the control strategy improves vehicle braking stability and vehicle active safety.