wordÎĵµ ÏÂÔØºó¿ÉÈÎÒâ¸´ÖÆ±à¼
±Ï Òµ Éè ¼Æ [ÂÛ ÎÄ]
Ìâ Ä¿£º»ùÓÚµ¥Æ¬»úµÄÖÇÄܵ綯С³µ¿ØÖÆÏµÍ³ ѧ Ôº£º µçÆøÓëÐÅÏ¢¹¤³ÌѧԺ ר Òµ£º ÐÕ Ãû£º ѧ ºÅ£º Ö¸µ¼ÀÏʦ£º Íê³Éʱ¼ä£º
wordÎĵµ ÏÂÔØºó¿ÉÈÎÒâ¸´ÖÆ±à¼
Õª Òª
»ùÓÚµ¥Æ¬»úµÄÖÇÄܵ綯С³µ×÷ΪʵÏÖÎÞÈ˼ÝʻСÆû³µµÄ·½°¸Ö®Ò»,ÒÔÆäÖÇÄÜ¡¢Áé»î¡¢±ãЯ¡¢ÖÇÄܵÈÓŵãÂú×ãÁËÍæ¾ßСÆû³µ·¢Õ¹µÄÐèÒª¡£±¾ÎÄÉè¼ÆµÄÖÇÄܵ綯С³µ¿ØÖÆÏµÍ³ÓÐ×Ô¶¯Ñ¼£µÄ¹¦ÄÜ£¬ÄÜÂú×ã°´Ô¤Éè¹ìµÀÐÐ×ß²¢Íê³É¸ø¶¨ÈÎÎñµÄÒªÇ󣬵¥Æ¬»úÊÇʵÏֵ綯ÖÇÄÜС³µ¿ØÖÆÏµÍ³µÄºËÐÄ£¬ÆäÈíÓ²¼þÉè¼ÆÊÇʵÏÖѼ£¹¦ÄܵĻù±¾ÒªÇóºÍ¹Ø¼ü»·½Ú¡£
±¾ÖÇÄܵ綯С³µÔÚѼ£·½Ãæ×öÁËÏà¶Ôϵͳ»¯µÄÉè¼Æ£¬±¾ÎÄÖ÷Òª¹¤×÷°üÀ¨Á½¸ö¸ö·½Ã棺
1.Ó²¼þÉè¼Æ:ÓúìÍâ¹âµç´«¸ÐÆ÷¼ì²âÂ·ÃæµÄºÚÉ«¹ì¼£Îȷ¶¨Ð¡³µµÄλÖúÍÔ˶¯×´Ì¬²¢ÔÙ½«¼ì²âÐźŷ´À¡¸øµ¥Æ¬»ú,µ¥Æ¬»ú¶Ô²É¼¯µ½µÄÐźÅÓèÒÔ·ÖÎöÅжϣ¬¼°Ê±¿ØÖÆÖ±Á÷µç»úµ÷ÕûС³µ×ªÏòÓëÐгµËÙ¶È¡£
2.Èí¼þÉè¼Æ£ºÍ¨¹ý¶ÔADת»»¡¢µç»úºÍѼ£µÈÄ£¿éµÄ±à³Ì£¬¿ØÖÆÓ²¼þµç·¹¤×÷£¬ÊµÏÖÈíÓ²¼þ½áºÏ£¬Íê³ÉÅжϿØÖƹ¦ÄÜ¡£
±¾Éè¼ÆÒÔSTC12C5A60S2µ¥Æ¬»úΪºËÐÄ£¬Í¨¹ýºÏÀíÈíÓ²¼þÉè¼Æ¡¢µ÷ÊÔ£¬»ñµÃÁ˽ϺõIJâÊÔЧ¹û£¬ÑùƷʵ¼Ê¹¤×÷Îȶ¨£¬Âú×ãʵ¼ÊÒªÇó¡£
¹Ø¼ü´Ê £º Ѽ£Ð¡³µ£¬µ¥Æ¬»ú£¬ºìÍâ´«¸ÐÆ÷
wordÎĵµ ÏÂÔØºó¿ÉÈÎÒâ¸´ÖÆ±à¼
Abstract
MCU based electric car of smart program as one scheme of driverless cars with its advantages like smart ,flexible and portable made intelligent toys meeting the needs of car development. This design of smart electric car with automatic tracking control system functions is to meet the preset orbit by walking and complete the given tasks. STC89C52 MCU is a core of electric smart car control system's ,its hardware and software design is to achieve the tracking function of the basic requirements and key links .
The smart electric tracking car has done some thing in a relatively systematic design, this paper includes two aspects:
1. Hardware design : Using infrared sensors to detect the black track pavement materials , determine the location and movement of the car and then the state detection signal feedback to the MCU, the MCU of the collected signals are analyzed to determine , in a timely manner to control a DC motor to adjust the car steering and driving speed .
2. Software design : By programming the AD converter , motor and tracking modules , can control the hardware circuit, to achieve a combination of hardware and software to complete the judgment control.
STC12C5A60S2 MCU is a core of the design , through reasonable hardware and software design , debugging , testing to get a better effect , sample real job stability, to meet the actual requirements.
Keywords: tracking car , MCU , infrared sensors
wordÎĵµ ÏÂÔØºó¿ÉÈÎÒâ¸´ÖÆ±à¼
Ŀ¼
Õª Òª.............................................................. I Abstract........................................................... II µÚÒ»Õ Ð÷ÂÛ......................................................... 1
1.1ÒýÑÔ ........................................................ 1 1.2ÖÇÄÜС³µµÄÑо¿ÏÖ×´ .......................................... 1
1.2.1¹úÍâ¸Å¿ö .............................................. 1 1.2.2¹úÄڸſö .............................................. 2
µÚ¶þÕ ·½°¸Éè¼ÆÓëÂÛÖ¤............................................... 6
2.1 ¿ØÖÆÏµÍ³.................................................... 6 2.2 µç»úÇý¶¯Ä£¿é................................................ 7 2.3 Ѽ£Ä£¿é.................................................... 7 2.4 »úеϵͳ.................................................... 8 µÚÈýÕ Ӳ¼þÉè¼Æ..................................................... 9
3.1×ÜÌåÉè¼Æ .................................................... 9 3.2 STC12C5A60S2µ¥Æ¬»ú¿ØÖƵç· ................................ 10
3.2.1 STC12C5A60S2µ¥Æ¬»úµÄ½éÉÜ ............................ 10 3.2.2 ʱÖÓµç·............................................. 14 3.2.3 ¸´Î»µç·............................................. 15 3.2.4 P0¿ÚÍâ½ÓÉÏÀµç×è .................................... 15 3.3 TCRT5000ºÚÉ«¹ì¼£Ê¶±ðµç· .................................. 16
3.3.1 TCRT5000µÄ½éÉÜ ...................................... 19 3.4 TB6612FNGµç»úÇý¶¯µç· ..................................... 19
3.4.1 TB6612FNGµÄ½éÉÜ ..................................... 20 3.5 Éý½µÑ¹Ä£¿é................................................. 22
3.5.1 LM2577µÄ½éÉÜ ........................................ 22
µÚËÄÕ Èí¼þÉè¼Æ.................................................... 24
4.1Ö÷³ÌÐòÁ÷³Ì ................................................. 24 4.2Ѽ£×Ó³ÌÐòÁ÷³Ìͼ ........................................... 27 µÚÎåÕ Éè¼Æ°²×°Óëµ÷ÊÔ.............................................. 31
5.1 PCBµÄÉè¼ÆÖÆ×÷Óë°²×° ....................................... 32 5.2 С³µµ÷ÊÔ................................................... 35 ½áÂÛ............................................................... 36 ²Î¿¼ÎÄÏ×........................................................... 37 ÖÂл............................................................... 38 ¸½Â¼1£ºÖ÷³ÌÐò ..................................................... 39 ¸½Â¼2£ºPCB×ßÏßͼ.................................................. 53 ¸½Â¼3£ºÐ¡³µÊµÎïͼ ................................................. 54 ×ÜÔÀíͼ........................................................... 55
Ïà¹ØÍÆ¼ö£º