»ùÓÚ·É˼¿¨¶ûµ¥Æ¬»úµÄÖÇÄܳµ¿ØÖÆÏµÍ³Éè¼Æ ÏÂÔØ±¾ÎÄ

ÄÚÈÝ·¢²¼¸üÐÂʱ¼ä : 2025/12/20 16:30:33ÐÇÆÚÒ» ÏÂÃæÊÇÎÄÕµÄÈ«²¿ÄÚÈÝÇëÈÏÕæÔĶÁ¡£

±ÏÒµÉè¼Æ(ÂÛ ÎÄ)

»ùÓÚ·É˼¿¨¶ûµ¥Æ¬»úµÄÖÇÄܳµ¿ØÖÆÏµÍ³Éè¼Æ

ϵ ±ð ר Òµ °à ¼¶ ÐÕ Ãû Ö¸µ¼½Ìʦ

×Ô¶¯»¯¹¤³Ìϵ

×Ô¶¯»¯ 5060418

Íõð©Ã÷

ÕÔÒ»¶¡

2010Äê 6ÔÂ 16ÈÕ

¶«±±´óÑ§ÇØ»Êµº·ÖУ±ÏÒµÉè¼Æ£¨ÂÛÎÄ£© µÚIÒ³

»ùÓÚ·É˼¿¨¶ûµ¥Æ¬»úµÄÖÇÄܳµ¿ØÖÆÏµÍ³Éè¼Æ

Õª Òª

±¾ÎÄÒÔµÚËĽìÈ«¹ú´óѧÉúÖÇÄܳµ¾ºÈüΪ±³¾°£¬½éÉÜÁËÖÇÄÜÈü³µ¿ØÖÆÏµÍ³µÄÈíÓ²¼þ½á¹¹ºÍ¿ª·¢Á÷³Ì¡£¸Ã±ÈÈü²ÉÓÃ×éί»á¹æ¶¨µÄ±ê×¼³µÄ££¬ÒÔFreescale°ëµ¼Ì幫˾Éú²úµÄ16λµ¥Æ¬»úMC9S12DG128ΪºËÐÄ¿ØÖÆÆ÷£¬ÔÚCodeWarrior 4.7¿ª·¢»·¾³ÖнøÐÐÈí¼þ¿ª·¢£¬ÒªÇóÈü³µÔÚδ֪µÀ·ÉÏÍê³É¿ìËÙѰÏß¡£

±¾ÖÇÄܳµ²ÉÓÃË«ÅŹâµç´«¸ÐÆ÷¶ÔÈüµÀ½øÐмì²â£¬¹¤×÷µçѹÄÜÓë×îСϵͳ¹¤×÷µçѹÏàͬ£¬¿É¹²ÓÃÒ»¸öµçÔ´Ä£¿é¡£Í¨¹ý¹âµç´«¸ÐÆ÷ÌáÈ¡»ñµÃºÚÏßλÖã¬ÓÃPID·½Ê½¶Ô¶æ»ú½øÐз´À¡¿ØÖÆ¡£Í¬Ê±Í¨¹ýËÙ¶È´«¸ÐÆ÷»ñÈ¡µ±Ç°ËÙ¶È£¬ÊµÏÖËٶȱջ·¿ØÖÆ£¬¸ù¾ÝÈüµÀÀàÐÍÔ¤ÅÐÐÅÏ¢ºÍµ±Ç°ËÙ¶ÈÐÅÏ¢¶ÔËٶȽøÐкÏÀí¿ØÖÆ¡£Õû¸öÓ²¼þϵͳ°üÀ¨³µÄ£»úе½á¹¹µ÷Õû¡¢ÎÈѹµçÔ´Éè¼Æ¡¢ºËÐÄ¿ØÖƵç·°åÉè¼Æ¡¢ºóÂÖµç»úÇý¶¯Ä£¿éÉè¼ÆºÍÉÏλ»úͨÐÅÉè¼ÆµÈµÈ¡£¾­¹ý²é¿´¸÷ÖÖÏà¹Ø×ÊÁÏ£¬¶ÔÓ²¼þ½øÐÐÁË´óÁ¿µÄÓÅ»¯£¬ÈçÕë¶Ô¶Ô¸÷ÖÖÎÈѹоƬµÄ²âÊÔ£¬È·¶¨×îÓŵçÔ´µç·£»²âÊÔ¸÷ÖÖ²âËÙ·½Ê½£¬×îÖÕÑ¡Óùâµç¹Ü×÷Ϊ²âËÙÄ£¿é£»²¢ÔÚÖÇÄܳµµ÷ÊÔ¹ý³ÌÖв»¶Ï¸Ä½ø»úе½á¹¹£¬Ê¹Ð¡³µÔËÐиü¼ÓÎȶ¨¡¢Ñ¸ËÙ¡£Èí¼þϵͳ°üÀ¨³ÌÐò³õʼ»¯¡¢Êý¾Ý²É¼¯ºÍ³µÌå¿ØÖÆµÄËã·¨¡£ÎªÁËÌá¸ßÖÇÄÜÈü³µµÄÐÐÊ»ËٶȺͿɿ¿ÐÔ£¬¾­¹ý¶à´Î»úе½á¹¹µ÷Õû¼°µç·°åÉè¼Æ£¬²¢¾­¹ý²»¶ÏÊÔÑ飬×îÖÕÈ·¶¨ÁËÏÖÓеÄϵͳ»úе½á¹¹ºÍ¸÷Ïî¿ØÖÆµÄPID²ÎÊý¡£

¹Ø¼ü´Ê£ºMC9S12DG128 £¬ÖÇÄܳµ£¬Ë«ÅŹâµç´«¸ÐÆ÷£¬PID

¶«±±´óÑ§ÇØ»Êµº·ÖУ±ÏÒµÉè¼Æ£¨ÂÛÎÄ£© µÚIIÒ³

Intelligent vehicle control system design based on freescale MCU

Author :Wang Haoming

Tutor :ZhaoYiding

Abstract

Based on the 4th China university of intelligent car race for background, introduces the hardware and software of the control system of intelligent car structure and development process. The game using the standards prescribed by the organizing committee to Freescale semiconductor company models, the production 16-bit single chip MC9S12DG128 for core controller, in CodeWarrior 4.7 development environment in software development and requirement on the road on unknown quick line.

This intelligent vehicle using double row of photoelectric sensor, voltage can work with minimal systems can share the same voltage, a power supply module. Through the intelligent vehicle, with black extracted on the way to the PID feedback control. And through the velocity sensor for current velocity, realize speed closed-loop control circuit, according to the type of information and the speed of anticipation to speed control information. The hardware system including mechanical models ,structure adjustment, manostat design, the core control circuit design, rear motor driver module design and computer communication design etc. After check all relevant information on the hardware, the large amounts of optimization, such as all kinds of pressure in the test chip and the optimum power supply circuit, Testing various ways, finally chooses phototube module as a type of cell, And in the intelligent vehicle commissioning process improvement, the mechanical structure is more stable operation, quick. Software system including the initial procedure, the data acquisition and control algorithm. In order to improve the speed of intelligent cars and reliability, and after many mechanical structure adjustment and circuit design, and finally determined through continuous test, the existing system of the mechanical structure and PID control parameters.

Key words: MC9S12DG128, intelligent vehicle, double row photoelectric sensor, PID