An infrared counter tube is arranged on the right side of the car. By testing this scheme, the car can avoid obstacles and make full use of resources without wasting. On the basis of the existing electric vehicle frame, the infrared probe and tracking module are added to realize the real-time measurement of the running status and running route of the electric vehicle, and the measurement data is transmitted to the single-chip microcomputer for processing. Then the single-chip microcomputer realizes the intelligent control of the electric vehicle according to the detected data, i.e. automatic obstacle avoidance, automatic tracking and other functions. Where there is a track, the car can travel along the track, and when encountering obstacles, it will automatically turn to the obstacle avoidance module. This scheme can realize the real-time control of the motion state of the electric vehicle, which is flexible, reliable and high precision, and can meet the requirements of the system. Through comparison, I adopt scheme three.