The AEB system performs emergency braking when it receives essential signals from the driver to avoid collisions. An improved intelligent assistant takes control of the driver and enables the vehicle to park in autonomous driving without an accident. This work calculates the vehicle's current position and determines the number of vehicles moving in the critical condition of the vehicle. An existing GPS is used to determine the vehicle's current location but cannot determine the exact number of vehicles. To calculate the exact number of vehicles, we use in-vehicle magnetic sensors that detect nearby ferrous obstacles up to a height of 28 meters, most of which are made of ferrous material. The AEB system activates the dynamic brake assistance system DBS, which quickly reduces the vehicle's speed by using a hydraulic braking system suspended. The vehicle torque is calculated in plane