A control approach for the pedestrian-oriented automobile automatic emergency braking system (AEB-P) that takes driving comfort into account is suggested in an effort to further optimize the AEB-P system's control algorithm. Firstly, for the AEB-P assessment standard of C-NCAP, a braking safety distance model that takes the driver's comfort into account during braking is created. The next step was to construct a hierarchical controller using PID and MPC principles. Lastly, CarSim and Matlab/Simulink are used to build and validate the test scenarios and control methods. The simulation results demonstrate that both ride comfort and driving safety can be guaranteed by the suggested control technique.