The quality of the brake system is a significant safety factor in commercial vehicles on the roads. With the development of automobile technology, the single function ABS system didn't meet active safety requirements of the user. The Electronically Controlled Brake System (EBS) system will replace the ABS system to become the standard safety equipment of commercial vehicles in the near future. EBS can be said an enhanced ABS system, it contains load sensor, brake valve sensor and pressure sensor of chamber, etc, and it is more advantages than ABS.This paper describes a flexible integrated test bench for ABS/EBS Electronic Control Unit (ECU) based on Hardware-In-the-Loop (HIL) simulation technique. It consists of most commercial vehicle pneumatic braking system components (from brake pedal valve, brake caliper to brake chambers), and uses the dSPACE real-time simulation system to communicate to the hardware I/O interface. A precise fifteen degrees of freedom (DOF) commercial vehicle model has been developed in order to simulate the vehicle motion that is called by the user control interface developed by LabVIEW.The main purpose of this paper is exploiting the braking force control strategy of EBS system, and testing the EBS ECU error recognition function. A simplified EBS system test bench is developed in order to achieve these purposes by using HIL simulation technology.