With the rapid increase in the number of people living in the elderly population, reducing and dealing with the problem of falls in the elderly has become the focus of research for decades. It is impossible to completely eliminate falls in daily life and activities. Detecting a fall in time can protect the elderly from injury as much as possible. This article uses the Turtlebot robot and the ROS robot operating system, combined with simultaneous positioning and map construction technology, Monte Carlo positioning, A* path planning, dynamic window method, and indoor map navigation. The YOLO network is trained using the stance and fall data sets, and the YOLOv4 target detection algorithm is combined with the robot perception algorithm to finally achieve fall detection on the turtlebot robot, and use the average precision, precision, recall and other indicators to measure.