ÄãºÃ£¬»¶Ó­À´µ½¾­¹ÜÖ®¼Ò [µÇ¼] [×¢²á]

ÉèΪÊ×Ò³ | ¾­¹ÜÖ®¼ÒÊ×Ò³ | Êղر¾Õ¾

CAN×ÜÏß¼¼ÊõÔÚÔìÖ½¹¤ÒµÖеÄÓ¦ÓÃ_±¾¿Æ±ÏÒµÂÛÎÄ·¶ÎÄ

·¢²¼Ê±¼ä£º2015-03-20 À´Ô´£ºÈË´ó¾­¼ÃÂÛ̳
±¾¿Æ±ÏÒµÂÛÎÄ·¶ÎÄ Õª Òª ÏÖ³¡×ÜÏß¼¼Êõ×Ô70Äê´úµ®ÉúÖÁ½ñ£¬ÓÉÓÚËüÔÚ¼õÉÙϵͳÁ¬Ïߣ¬¼ò»¯ÏµÍ³°²×°¡¢Î¬»¤ºÍ¹ÜÀí£¬½µµÍϵͳÔËÐгɱ¾£¬ÔöǿϵͳÎȶ¨ÐԵȷ½ÃæµÄÓÅÔ½ÐÔ£¬ÒýÆðÈËÃǵĹ㷺עÒ⣬µÃµ½´ó·¶Î§µÄÓ¦Óã¬Òýµ¼ÁË×Ô¶¯¿ØÖÆÁìÓòµÄÒ»³¡¸ïÃü¡£ ÏÖ³¡×ÜÏß¿ØÖÆϵͳ£¨FCS£©¾ßÓзÖÉ¢»¯¡¢ÍøÂ绯¡¢ÖÇÄÜ»¯µÄÌص㣬ÔÚÔ½À´Ô½¶àµÄ¹¤Òµ¿ØÖÆÁìÓòÖеõ½Á˹㷺µÄÓ¦Óᣠ±¾Éè¼ÆÒÔÏÖ³¡×ÜÏßCANΪ»ù´¡£¬Ñо¿ËüÔÚÔìÖ½¹ý³ÌÖÐÖ½½¬Å¨¶È²â¿ØÖеÄÓ¦ÓÃÔ­ÀíºÍʵÏÖ·½·¨£¬Ä¿µÄÊǸĽø¹¤ÒµÏÖ³¡Öвâ¿ØµÄÐÔÄÜ¡£¸Ãϵͳ²ÉÓÃÊý×Ö»¯µÄÍøÂçͨÐÅÄ£ÐÍ£¬¿ÉÒÔÌá¸ßÊý¾ÝͨÐŵĿɿ¿ÐÔºÍʵʱÐÔ¡£CAN×ÜÏß²â¿ØϵͳÓÉÏÖ³¡¿ØÖÆÆ÷£¨ÏÂλ»ú£©£¬¼à¿Ø¼ÆËã»ú£¨ÉÏλ»ú£©ºÍCAN×ÜÏßÈý²¿·Ö¹¹³É£¬ÉÏλ»úµÄÖ÷Òª¹¦ÄÜÊǶÔÏÂλ»úµÄ²ÎÊý½øÐÐÉèÖÃ;ͨ¹ý×ÜÏßʵʱ»ñÈ¡ÏÂλ»úµÄ²ÎÊý£¬¸÷¸öÊý¾ÝµÄ¼Ç¼;¼à²âÊý¾ÝµÄʵʱÏÔʾ¡¢Òì³£¾¯±¨¼°±¨±íÊä³öµÈ¹¦ÄÜ¡£×ÜÏßÊÊÅäÆ÷½«×ÜÏßÓëÉÏλ»úÁªÏµÆðÀ´£¬Íê³ÉÊý¾Ý´«ÊäÃüÁî¡£ÏÂλ»úÍê³É¸÷×Ô¶ÔÏóµÄ²ÎÊý¼à²âºÍ¼à¿Ø£¬¼°ÏòÉÏλ»ú·¢ËͱØÒªµÄÊý¾Ý¡£ Éè¼ÆÊ×ÏȶÔCAN×ÜÏßµÄÐÔÄÜÌص㣬ЭÒéÄ£Ð͵ȽøÐÐÁË·ÖÎö£¬²¢Ó봫ͳµÄDCS¿ØÖÆϵͳ½øÐÐÁ˱Ƚϣ¬½éÉÜÁË»ùÓÚÏÖ³¡×ÜÏߵIJâ¿ØϵͳÔÚÔìÖ½Éú²ú¹ý³ÌÖÐÓ¦ÓõÄÖØÒªÒâÒ壬ȻºóÌÖÂÛÁËÏÖ³¡²â¿ØϵͳµÄ×ÜÌåÉè¼Æ·½°¸ºÍ¹¦ÄÜÌص㣬ÏêϸÂÛÊöÁËϵͳ¸÷Ö÷Òª×é³É²¿·ÖµÄÓ²¼þ½á¹¹ÒÔ¼°Ó²¼þÉè¼ÆÖÐÓйؿ¹¸ÉÈŵÄÎÊÌ⣬²ûÊöÁËϵͳÈí¼þ²¿·ÖµÄ³ÌÐò¿òͼ¡£ ±¾´ÎÉè¼Æ²ÉÓÃAT89C51µ¥Æ¬»úºÍSJA1000¿ØÖÆÆ÷£¬¾ßÌåÉè¼ÆÁËCAN×ÜÏßÖеĽڵãÓ²¼þºÍ»ù´¡Èí¼þ£¬Éæ¼°µ½Á˹ؼüÆ÷¼þµÄÁ¬½Ó¼°µç·ÖÐÐźŴ¦ÀíµÈÎÊÌ⣬ÆäÖÐÒÔÖ½½¬Å¨¶ÈµÄ¼ì²âµ÷½ÚΪÀý£¬¶ÔÔìÖ½Òµ¼°ÆäËû¹¤Òµ¶¼ÓÐÖØÒªÒâÒå¡£ ¹Ø¼ü´Ê£ºÖ½½¬Å¨¶È¿ØÖÆ CANÏÖ³¡×ÜÏß AT89C51 SJA1000 Abstract From the 70s¡¯to now, because of the advantages in reducing the bus line, simplifying the system setting, maintenance, and management, reducing the operating expense, and the improvement in stability, the field bus is widely concerned. The widely application of it leads a revolution in automation. Field Bus control system (FCS) has the advantages of decentralized, networked, intelligent features. More and more field of industrial control has been widely used it. This thesis is based on CAN Field Bus, studying the concentration principle and method of it in the paper pulp process measurement and control . Improving the performance of industrial measurement and control scene. The system is made of network communication model, can improve the reliability of data communication and real-time. CAN bus control system is made of three parts ,the site controller (the slave), monitoring computer (PC) and the CAN bus. The PC's main function is to lower machine parameters set, accessing and recording the data of the lower machine parameters by field bus, monitoring the real-time data, outporting the alarm and exception report output and so on. The bus adapter links the Bus and the PC completing the data¡¯s transferring. Lower computer completes the monitoring and control parameters of an object, and send up bit machine necessary data. Firstly the performance characteristics of the CAN Field Bus, protocol models are analyzed, It was compared to the traditional DCS control systems based on field bus introduced in the paper production process control system the importance of the application; then discussed the on-site monitoring and control system design and performance characteristics, detail describing the major components of the system hardware architecture and hardware design issues related to interference, and described pieces of part of the program diagram. The design uses the AT89C51 microcontroller and SJA1000 controller.Specific design of the CAN bus node hardware and basic software. The key components involved in the connection and issues such as signal processing circuit. Detection of which regulation as an example of pulp concentration. It is import to the paper industry and other industries. Key words: pulp concentration control CAN field bus AT89C51 SJA1000 Ŀ¼ ÖÐÎÄÕªÒªI Abstract¢ò Ŀ¼¢ô µÚ1Õ Ð÷ÂÛ1 1.1 ÔìÖ½¹¤Òµ·¢Õ¹ÏÖ×´1 1.2 ÏÖ³¡×ÜÏß¼ò½é1 1.2.1 ¼¸ÖÖµäÐÍÏÖ³¡×ÜÏß¼¼Êõ2 1.2.2 CAN×ÜÏßÌصã3 1.2.3 ¹úÄÚÏÖ³¡×ÜÏß¼¼ÊõÓ¦ÓÃÏÖ×´4 1.3 ±¾¿ÎÌâÉè¼ÆµÄ±³¾°¼°ÒâÒå5 1.3.1 ÔìÖ½¹¤Òµ×Ô¶¯»¯¿ØÖƼò½é5 1.3.2 ±¾¿ÎÌâµÄÖ÷ÒªÉè¼ÆÄÚÈݼ°ÒâÒå6 1.4 ±¾ÕÂС½á6 µÚ2Õ ϵͳӦÓÃCAN×ÜÏß¼¼ÊõµÄ×ÜÌå·½°¸8 2.1 ¿ØÖÆ·½°¸µÄÈ·¶¨8 2.1.1 ÏÖ³¡×ÜÏßµÄÍøÂçÍØÆ˽ṹ8 2.1.2 ±¾´ÎÉè¼ÆµÄCAN×ÜÏß¿ØÖÆϵͳµÄÍøÂç¹¹½¨Ô­Àíͼ8 2.2 ϵͳ×é³ÉÄ£¿é¼°¹¦ÄÜ9 2.3 ±¾ÏµÍ³²ÉÓÃCAN×ÜÏßµÄÔ­Òò11 2.4 ±¾ÕÂС½á12 µÚ3Õ »ùÓÚCAN×ÜÏß²â¿ØϵͳµÄÓ²¼þÉè¼Æ13 3.1 CANÖÇÄܲâ¿Ø½ÚµãµÄÓ²¼þÉè¼Æ13 3.1.1 Ö÷¿ØÖƵ¥Ôª14 3.1.2 Êý¾Ý²É¼¯15 3.1.3 Çý¶¯Ö´Ðлú¹¹19 3.1.4 Ó²¼þ¿¹¸ÉÈÅ´ëÊ©20 3.2 CAN×ÜÏßͨÐÅÊÊÅ俨Éè¼Æ22 3.2.1 CANÊÊÅ俨¹¦ÄÜ22 3.2.2 Ó²¼þ½á¹¹ºÍ¹¤×÷Ô­Àí22 3.3 ±¾ÕÂС½á25 µÚ4Õ CANÖÇÄܽڵãµÄÈí¼þÉè¼Æ27 4.1 CANÖÇÄܲâ¿Ø½ÚµãµÄÈí¼þÄ£ÐÍ27 4.2 CANÖÇÄܲâ¿Ø½ÚµãµÄÈí¼þʵÏÖ27 4.2.1 CAN»ù±¾Í¨ÐÅÈí¼þ27 4.2.2 CANÓ¦ÓòãЭÒé29 4.2.3 Êý¾Ý×Öµä30 4.2.4 ¾ßÌåÓ¦ÓÃ30 4.2.5 ÖÇÄܽڵãµÄ³õʼ»¯³ÌÐò30 4.2.6 ¼à¿Ø³ÌÐò31 4.2.7 ÖжϷþÎñ³ÌÐò32 4.3 ϵͳ×ÜÌåÁ÷³Ì33 4.4 ±¾ÕÂС½á33 µÚ5Õ ½áÂÛÓëÕ¹Íû35 5.1 ½áÂÛ35 5.2 ¹¤×÷Õ¹Íû35 Ö л36 ²Î¿¼ÎÄÏ×37 ¸½ ¼һ AT89C51¹¦Äܽṹͼ38 ¸½ ¼¶þ ÏÂλ»ú×Üͼ39 ¸½ ¼Èý CAN×ÜÏßÓëPC»úÁ¬½Óͼ40
¾­¹ÜÖ®¼Ò¡°Ñ§µÀ»á¡±Ð¡³ÌÐò
  • ɨÂë¼ÓÈë¡°¿¼ÑÐѧϰ±Ê¼ÇȺ¡±
ÍƼöÔĶÁ
¾­¼ÃѧÏà¹ØÎÄÕÂ
±êÇ©ÔÆ
¾­¹ÜÖ®¼Ò¾«²ÊÎÄÕÂÍƼö