Abstract:In order to solve the problem of parking in a narrow space, a car model similar to the actual vehicle movement law is taken as the research object, and an automatic parking system based on STC89C52 single chip microcomputer and LabVIEW is designed. According to the size of the car body and the law of vehicle movement, the minimum area that meets the parking conditions is calculated. Ultrasonic sensors and Hall encoder are used to measure the distance between the vehicle and the side obstacles as well as the driving distance of the vehicle, so as to search the parking space that meets the size of the parking area. The steering gear is used to control the front wheel steering of the vehicle and the rear wheel drive is provided by the DC reduction motor. The automatic parking is completed by the pre-set program instruction. The vehicle driving data is sent to the top computer through the wireless WIFI module, and the LabVIEW software is used to realize the real-time display of parking contour, reversing track and speed. The experimental results show that the system can search the qualified parking area and complete the automatic parking, with strong stability and reliability.