Autonomous vehicle is considered as the future of vehicle industry and transportation due to its nominal intelligence and safety. The demand for low energy consumption and environment protection has pushed electrified vehicle into an inexorable trend. Therefore, autonomous electrified vehicle has become research focus of research organizations. The development of by-wire control systems such as hub motor propulsion and brake-by-wire system are the foundation of intelligent vehicle. Due to direct concerning safety and being core of ACC (Adaptive Cruise Control) and AB (Active Brake), brake system and its control algorithm are the key of all by-wire systems. A novel type of brake-by-wire system is proposed in this article, which is composed of four direct-current-control valves, one relief valves, eleven ordinary switch valves and one pump. Brake pedal and main cylinder are retained and two additional stroke simulators are added to imitate conventional drive operation and ensure safety during fail safe mode. Functions of AB, RB (Regenerative Brake), ABS and ESP are integrated in this system. The co-simulation models of proposed brake-by-wire system are built in commercial software MATLAB/Simulink and AMESim. The control algorithm of brake demand tracking which is the base of AB and RB, is designed based on fuzzy PID and five lookup tables. Simulations are conducted under scenarios of emergent braking, one step braking and ECE driving cycle to verify the logic of control strategies. The HIL(Hardware-In-Loop) test bench of the proposed brake-by-wire is built based on trial-manufacture sample, control board and dSPACE platform. HIL experiments are conduction under identical scenarios with simulations to verify feasibility and effectiveness of strategies proposed. Test results show that vehicle brake distant is decreased significantly under AB. Besides, more than 70% of the total recoverable braking energy is regenerated under ECE driving cycle.