The proposed safety of the intened functionality (SOTIF) has challenged the safety of traditional automatic emergency braking (AEB) system. To deal with it, this paper uses systems-theoretic process analysis (STPA) to obtain the SOTIF requirements of the AEB. On the basis of the traditional AEB, a safety speed planning strategy for the perceptual blind scenes is added. Then, based on the kinematics model of the encounter between the vehicle and the pedestrian in the perceptual blind scenes, the formula of blind scenes safe speed is constructed. Then a speed sliding mode controller with a nonlinear disturbance observer is designed to track and control the speed. Finally, the simulation test is carried out on the joint platform of CarSim and Simulink to compare the safety of the proposed system with the automatic emergency braking system without the intended functional safety requirements, which is further verified via the hardware-in-the-loop experiment. The results show that the AEB considering the SOTIF can effectively reduce the risk of pedestrian collision and ensure the efficiency of vehicles passing through blind spots safely.