【正文】
, electronics, electrical, puter , machinery and other multidisciplinary technology and creative game. In this petition, the Competition Organizing Committee race car model, Freescale 16 the microcontroller MC9S12XS128 as the core control unit, independent idea of ??the control program and system design, including the sensor signal acquisition and processing, control algorithms and execution of power motor drive, steering gear control, etc., and ultimately a set of selfidentification route, and in realtime output body state of intelligent vehicle control hardware systems. In this paper, a brief description of the Cars of the overall design concept, hardware and software design and car models in the assembly debugging process.the system design requirements and demonstration program System design requirements This game requires all teams to the petition provided by the Secretariat unified the microcontroller MC9S12XS128 development board (can also be used MC9SXS128 homemade control board), the development of software, Code Warrior, and online debugging tool, Cars platform on the basis of the unified design can selfidentification line smart car automatically recognizes the road in a specially designed runway.The car in accordance with tracing the black line, the final results of the final district game is decided by the time results and reporting scores, the score calculation is given by the following formula:. . . . .Freescale Cup National Undergraduate Smart car contestChapter 1 IntroductionNational College Students 39。smart car petition is the Ministry of Education in order to strengthen students39。 R is the technical report score (score range 010). System design System consists of road recognition module, speed sensor module, control module, servo drive module, motor driver module. Block diagram in Figure are as follows:The design of the total block diagram in Figure Between each module is only a good blend to make a model car stable and fast to finish. hunt wayGood hunt is to ensure that the basis of the model car steady and rapid run this petition, we spend the most time and effort. As the teams to participate in the photoelectric group, limiting the camera lens imaging principle, the biggest advantage of the camera is the forward distance far and wide, has a decisive role in the control of model car when the forwardlooking distance increases, in practice we also found that: simply increase the forwardlooking distance is of no use, we feel that to improve the forwardlooking distance must also improve the range of forwardlooking camera is not farsighted but What to see such forwardlooking before effective. This team has a large number of photoelectric sensors on the market road to test, which summed up the advantages and disadvantages of each sensor. The final selection of the large lens, the laser tube, according to the experimentally measured obtaining the forwardlooking up to 80cm. The motor drive module Most of the team f