±ÏÒµÂÛÎÄ
»ùÓÚµ¥Æ¬»úµÄÎÞÏß¶à·Êý¾Ý(ζÈ)²É¼¯ÏµÍ³µÄÉè¼ÆÓëʵÏÖ
ÕªÒª
ÓÉÓÚÊý¾Ý²É¼¯ÏµÍ³µÄÓ¦ÓÃÔ½À´Ô½¹ã¡¢ÆäËùÉæ¼°µ½µÄ¶ÔÐźŵIJâÁ¿·½Ê½ºÍÉæ¼°µ½µÄÐźÅÔ´µÄÀàÐÍÒ²½«Ô½À´Ô½¶à¡¢ÒòΪ¶Ô²âÁ¿µÄÒªÇóÒ²¾ÍÔ½À´Ô½¸ß£¬ÏÖÔÚ¹úÄÚÒÑÓв»ÉÙÓÃÓÚÊý¾ÝµÄ²âÁ¿Óë²É¼¯µÄϵͳ£¬¿ÉºÜ¶àϵͳ´æÔÚ׏¦Äܵ¥Ò»¡¢²É¼¯ËÙÂʱȽϵ͡¢²Ù×÷·Ç³£¸´ÔÓ£¬²¢ÇÒ¶Ô²âÊԵĻ·¾³ÒªÇó½ÏºÜ¸ßµÈÎÊÌâ¡£ÈËÃǼ±ÇÐÐèÒªÒ»ÖÖÓ¦Ó÷¶Î§¹ã¡¢¼Û¸ñµÍÁ®µÄÊý¾Ý²É¼¯ÏµÍ³¡£
ÔÚ·ÖÎöÁ˸÷ÖÖÀàÐ͵¥Æ¬»úµÄÌØµã¼°ÆäÓëPC»úµÄ¸÷ÀàͨÐż¼ÊõµÄ»ù´¡ºó£¬±¾ÈËÉè¼ÆÁËÓɵ¥Æ¬»ú¿ØÖƵÄζȲɼ¯ÏµÍ³£¬²¢ÇÒͨ¹ý´®¿ÚͨÐŵķ½Ê½ÊµÏÖÁ˵¥Æ¬»úÓëPC»ú¼äµÄͨÐÅ£¬ÊµÏÖÁËÊý¾Ý´«ËͲ¢½«Êý¾ÝÔÚPC»úÉϽøÐÐÏÔʾ»ò´æ´¢£¬Íê³ÉÁË´Ë´ÎÉè¼Æ¡£
»ùÓÚµ¥Æ¬»úµÄ¶àͨµÀµÄζÈÊý¾Ý²É¼¯ÏµÍ³ÊÇÓɽ«À´×Ôζȴ«¸ÐÆ÷µÄÐźŽøÐзŴó¡¢Â˲¨¡¢²ÉÑù±£³ÖµÈ·Ö²½´¦ÀíÖ®ºó£¬ÊäÈëµ½A£¯Dת»»Æ÷ת»»ÎªÊý×ÖÐźźóÓɵ¥Æ¬»ú½øÐвɼ¯µÄ£¬È»ºóÔÙÀûÓõ¥Æ¬»úÓëPC»úÖ®¼äµÄͨÐŽ«Êý¾Ý´«ËÍÖÁPC»ú½øÐÐÊý¾ÝµÄ´æ´¢´¦Àí¼°ÏÔʾµÈ£¬ÊµÏÖÁËÊý¾ÝµÄ²É¼¯Óë´¦ÀíµÈ£¬´ËÉè¼Æ¿É¹ã·ºÓ¦ÓÃÓÚ¹¤¿Ø¡¢ÒÇÆ÷ÒÇ±í¡¢»úµçÖÇÄÜ»¯¼°ÖÇÄܼҾӵÈÖî¶àµÄÓ¦ÓÃÁìÓò¡£
ÁªÏµ¿Û¿Û£º2825772782
¹Ø¼ü´Ê£ºµ¥Æ¬»ú£»Î¶ÈÊý¾Ý²É¼¯£»¶àͨµÀ
Abstract
Since the wide range of data acquisition system, which involves the
measurement signal and the type of signal source more and more, Surveyors are increasingly high requirements of the domestic now have a lot of data acquisition and measurement system But there are many single function systems, collecting less access, low collection rate, complicated operations, and the demands of the test environment and other issues£®It requires abroad scope of application, high reliability and low-cost data acquisition system£®
Based on the analysis of the characteristics of different types of SCM and SCM and PC communication technology, SCM control of the collection system designed and adopted MCU serial communication between PC and communications, Data transmission and display of data stored on the PC£®Single completed the multi-channel data acquisition system design and implementation.
Based on SCM¡äs multi-channel data acquisition system is adopted will come from the sensor signal amplification, linear filtering, After processing maintain synchronous sampling, which converted to digital signal input A/D conversion by SCM Acquisition, Then, SCM and PC to PC communications data to the data storage, post-processing and display. a powerful data processing, visual shows, friendly interface and high performance-price ratio, a wide range of features. can be widely used in industrial control equipment, instruments, and electrical engineering integration, intelligent home and many other fields£®
Key words Multi-channel Data Acquisition Microcontroller
ÁªÏµ¿Û¿Û£º2825772782
Ŀ¼
ÕªÒª ............................................................................................................................................. 1 Abstract ....................................................................................................................................... 3
µÚÒ»Õ Ð÷ÂÛ ............................................................................................................................... 5
1.1 ÒýÑÔ .............................................................. 5 1.2 ·½°¸ÂÛÖ¤ .......................................................... 6
1.2.1 ´«¸ÐÆ÷ ...................................................... 6
µÚ¶þÕ Ӳ¼þµç·µÄÉè¼Æ ........................................................................................................... 9
2.1 µçÔ´µç· ......................................................... 9 2.2 ζȲɼ¯µç· .................................................... 10
2.2.1 DS18B20¼ò½é ............................................... 10 2.2.2 µç·Éè¼Æ ................................................... 12 2.2.3 ÎÞÏß´«Êäµç·ģ¿é ........................................... 13 2.3 ÎÞÏß·¢ËÍÓë½ÓÊÕµç· ............................................... 14
2.3.1 ÎÞÏß·¢Ë͵ç· ............................................... 14 2.3.2 ÎÞÏß½ÓÊÕÄ£¿é ............................................... 15 2.4 ÏÔʾµç· ........................................................ 15
2.4.1 ×Ö·ûÐÍÒº¾§ÏÔʾģ¿é ......................................... 15 2.4.2 ×Ö·ûÐÍÒº¾§ÏÔʾģ¿éÒý½Å ..................................... 16 2.4.3 ×Ö·ûÐÍÒº¾§ÏÔʾģ¿éÄÚ²¿½á¹¹ ................................. 17 2.5 µ¥Æ¬»úAT89S52 ................................................... 17
2.5.1 AT89S52¼ò½é ............................................... 17 2.5.2 AT89S52Òý½Å˵Ã÷ ........................................... 18
µÚÈýÕ Èí¼þÉè¼Æ ..................................................................................................................... 21
3.1 ϵͳ¸ÅÊö ........................................................ 21 3.2 ³ÌÐòÉè¼ÆÁ÷³Ìͼ .................................................. 21 3.3 ζȴ«¸ÐÆ÷¶àµãÊý¾Ý²É¼¯ .......................................... 22 µÚËÄÕ µ÷ÊÔ¼°½á¹û ................................................................................................................. 24
4.1 ²âÊÔ»·¾³¼°¹¤¾ß .................................................. 24 4.2 ²âÊÔ·½·¨ ........................................................ 24 4.3 ²âÊÔ½á¹û·ÖÎö .................................................... 24
½áÂÛ ........................................................................................................................................... 25 ²Î¿¼ÎÄÏ× ................................................................................................................................... 26 ¸½Â¼ ........................................................................................................................................... 27
¸½Â¼1£º µç·ÔÀí×Üͼ ................................................. 27 ¸½Â¼2£º ·¢É䲿·ÖÖ÷³ÌÐò ............................................... 28 ¸½Â¼3£º ½ÓÊÕ²¿·ÖÖ÷³ÌÐò ............................................... 40
µÚÒ»Õ Ð÷ÂÛ
1.1 ÒýÑÔ
ÔÚ21ÊÀ¼ÍµÄ½ñÌ죬¿ÆÑ§¼¼ÊõµÄ·¢Õ¹¿ÉνÈÕÐÂÔÂÒ죬¿ÆÑ§¼¼ÊõµÄ½ø²½²»¶Ï´ø¶¯×ŲâÁ¿¼¼ÊõµÄ·ÉËÙ·¢Õ¹£¬ÏÖ´ú¿ØÖÆÉ豸ÔçÒѲ»Í¬ÓÚ´Óǰ£¬ËüÃÇÔÚÐÔÄÜÒÔ¼°½á¹¹É϶¼·¢ÉúÁË·Ì츲µØµÄ±ä»¯¡£ÎÒÃÇÒѾ½øÈëÁËÒ»¸ö¸ßËÙ·¢Õ¹µÄÐÅÏ¢»¯Ê±´ú£¬¶ø²âÁ¿¼¼ÊõÔòÊǵ±½ñÉç»á¿Æ¼¼·¢Õ¹µÄÒ»ÏîÖ÷Á÷£¬ÆäÓ¦ÓÃÒѾ¹ã·ºµØÉîÈëµ½ÁËÓ¦Óù¤³ÌÖеĸ÷¸öÁìÓò¡£
ζÈÊǹ¤Òµ¼°Å©ÒµÉú²úÖг£¼ûµÄ¼°×î»ù±¾µÄÒ»Ïî²ÎÊý£¬ÔÚÉú²úµÄ¹ý³ÌÖг£³£ÐèÒª¶ÔζȽøÐÐʵʱµÄ¼ì²â¼°¼à¿Ø£¬²ÉÓÃ΢ÐͼÆËã»ú½øÐÐζȵļì²â¡¢Êý¾ÝµÄÏÔʾ¼°ÐÅÏ¢´æ´¢ºÍʵʱ¿ØÖÆ£¬¶ÔÓÚÌá¸ßÉú²úЧÂʺÍÌáÉý²úÆ·ÖÊÁ¿¼°½ÚÔ¼ÄÜÔ´µÈ·½Ãæ¶¼¾ßÓÐÊ®·ÖÖØÒªµÄ×÷ÓᣰéËæ¹¤ÒµºÍũҵ¿Æ¼¼µÄ·ÉËÙ·¢Õ¹£¬¶ÔζȲâÁ¿ËùÐèÇóµÄ·½ÃæÒ²Ô½À´Ô½¶à£¬Î¶ȲâÁ¿Ò²½«·¢»ÓÔ½À´Ô½ÖØÒªµÄ×÷Óᣲ»¹ýÔÚÒ»Ð©ÌØ¶¨µÄ»·¾³Î¶ȼà²â»·¾³ÖУ¬ÓÉÓÚËùÐè¼à²â·¶Î§¹ý´ó,²âµãµÄ¾àÀë̫Զ,ʹµÃ²¼Ïß±äµÃ²»ÔÙÈÝÒס£Õâʱ¾ÍÒªÀûÓÃÎÞÏß´«ÊäµÄ·½Ê½¶Ô¸÷ÀàζÈÊý¾Ý½øÐÐÏàÓ¦²É¼¯¡£
¶à·ÎÞÏßζȲɼ¯ÏµÍ³Ó¦ÓöøÉú£¬Æä¿É±»¹ã·ºµØÓ¦ÓÃÔÚÐèҪζȲâÁ¿µÄ¹¤Òµ¡¢Å©Òµ¡¢»·±£¡¢·þÎñÒµÉõÖÁ°²È«¼à¿ØµÈµÈ¹¤³ÌÖС£ÀýÈ磺¶Ô³ÇÊзµÆ¹ÊÕϵļì²â¼°¶Ô¹©µçÏß··ÀµÁµÄ¼àÊÓ£¬»¹ÓгÇÊоÓÃñÐ¡Çø¹©ÈÈÇé¿ö¼ì²â¡¢´óÐͲֿâζÈÊý¾Ý¼ì²â¡¢¹¤ÒµÉú²ú³µ¼ä²â¿Ø¡¢Å©ÒµÉú²úζÈʵʱ²â¿Ø¡¢»·±£¹¤³ÌÖм°¹ÊÕÏ¼à¿Ø¹¤³ÌµÈµÈ¡£¿¼Âǵ½ÔÚÐí¶àµÄ¹¤Òµ»·¾³ÖÐÐèÒª¶Ô¶àµãζȽøÐÐ¼à¿Ø£¬Ò»°ã¶¼ÐèÒª²âÁ¿
Ïà¹ØÍÆ¼ö£º