According to the requirements, the following scheme is determined: on the basis of the existing toy electric vehicle, a photoelectric detector is added to realize the real-time measurement of the speed, position and operation status of the electric vehicle, and the measurement data is transmitted to the single-chip microcomputer for processing, and then the single-chip microcomputer realizes the intelligent control of the electric vehicle according to the detected data. 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.