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

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

´óÆøÖÊÁ¿Ô¶³Ì¼à²âϵͳÉè¼Æ_×Ô¶¯»¯×¨ÒµÂÛÎÄ·¶ÎÄ

·¢²¼Ê±¼ä£º2015-01-23 À´Ô´£ºÈË´ó¾­¼ÃÂÛ̳
×Ô¶¯»¯×¨ÒµÂÛÎÄ·¶ÎÄ Ä¿ ¼ µÚ1Õ ¸ÅÊö1 1.1¿ÕÆøÖÊÁ¿¼à²âµÄ¹úÄÚÍâ·¢Õ¹ÏÖ×´ºÍÑо¿ÒâÒå1 1.2¿ÕÆøÖÊÁ¿²ÎÊýµÄÔ¶³Ì¼à²âϵͳËù²ÉÓõļ¼Êõ·Ïß2 µÚ2Õ ϵͳӲ¼þµç·Éè¼Æ3 2.1 ϵͳ×ÜÌå½á¹¹¿òͼ3 2.2Æ÷¼þÑ¡ÐͽéÉÜ4 2.3 CPUÄ£¿éÉè¼Æ6 2.4 ʱÖÓµç·Éè¼Æ7 2.5 Êý¾Ý²É¼¯Ä£¿éÉè¼Æ8 2.5.1 AD7705¸ÅÊö8 2.5.2 AD7705½Ó¿Úµç·Éè¼Æ9 2.6 ÈË»ú½çÃæÉè¼Æ11 2.6.1 ¸ÅÊö11 2.6.2 ½Ó¿ÚÐźÅ˵Ã÷11 2.6.3 Òº¾§ÏÔʾģ¿é½Ó¿Úµç·Éè¼Æ12 2.7 MODEMͨÐŽӿÚÉè¼Æ13 2.7.1 ͨÐŽӿÚÄ£¿é13 2.7.2 ¶à»úͨÐÅ14 2.8 ³ÌÐòÏÂÔØÄ£¿é½Ó¿ÚÉè¼Æ16 2.8.1 AT89S8252µ¥Æ¬»ú²¢Ðбà³Ì16 2.8.2 AT89S8252µ¥Æ¬»ú´®Ðбà³Ì16 2.9 ¸´Î»µç·Éè¼Æ18 2.10 µçÔ´Éè¼Æ18 µÚ3Õ ϵͳÈí¼þÉè¼Æ20 3.1 ϵͳµÄÈí¼þ¿ò¼Ü20 3.2 Èí¼þÖ÷Ä£¿éÉè¼Æ20 3.3 ÏÔʾģ¿éÉè¼Æ24 3.4 Êý¾Ý²É¼¯Ä£¿é³ÌÐòÉè¼Æ27 3.4.1 AD7705µÄ³õʼ»¯³ÌÐòÉè¼Æ27 3.4.2 ¶ÁÈ¡AD7705½á¹ûµÄ³ÌÐòÉè¼Æ30 3.5 MODEMͨÐÅÄ£¿é³ÌÐòÉè¼Æ34 3.5.1 MODEMÓëATÖ¸Áî34 3.5.2 MODEMµÄ³õʼ»¯³ÌÐòÉè¼Æ35 3.5.3»ùÓÚ MODEMµÄÔ¶³ÌÊý¾Ý´«ËͳÌÐòÉè¼Æ35 3.6 »ùÓÚÈíÓ²¼þ¿´ÃŹ·µÄÈÝ´íÐÔÉè¼Æ49 3.6.1 ¿´ÃŹ·¶¨Ê±Æ÷µÄ¹¦ÄÜ49 3.6.2 ¿´ÃŹ·µÄ¿ØÖƼĴæÆ÷WMCON49 3.6.3 ¿´ÃŹ·µÄÆô¶¯Óëι¹·µÄʵÏÖ50 µÚ4Õ ½áÂۺͽ¨Òé52 ²Î¿¼ÎÄÏ×53 Ö л54 ¸½ ¼55 ¸½Â¼A£ºHD44780µÄÖ¸Áî±í55 Õª Òª ±¾ÎIJûÊöÁË¿ÕÆøÖÊÁ¿²ÎÊýµÄÔ¶³Ì¼à²âϵͳµÄÏÂλ»úÉè¼Æ·½·¨¼°ÆäÈíÓ²¼þµÄʵÏÖ¹ý³Ì¡£¸ÃϵͳÀûÓóÉÊìµÄµ¥Æ¬»ú¼¼Êõ£¬ÒÔ΢¿ØÖÆÆ÷AT89S8252×÷ΪÖ÷Òª¿ØÖÆÆ÷¼þ£¬²¢Í¨¹ýÀ©Õ¹Ïà¹ØµÄÍâΧµç·ÒÔ¼°²ÉÓÃÄ£¿é»¯µÄÈí¼þÉè¼ÆÍê³ÉÁËÄÜÔÚÔ¶³ÌÎÞÈËÖ°ÊصÄÇé¿öϹ¤×÷µÄ¿ÕÆøÖÊÁ¿²ÎÊý¼à²âϵͳ¡£ ¸ÃϵͳӲ¼þÖ÷Òª°üÀ¨CPUÄ£¿é¡¢Êý¾Ý²É¼¯Ä£¿é¡¢Òº¾§ÏÔʾģ¿é¡¢MODEMͨÐÅÄ£¿éºÍ³ÌÐòÏÂÔصȼ¸¸öÄ£¿é¡£ CPUÄ£¿éÖ÷ÒªÓÉ΢¿ØÖÆÆ÷AT89S8252¹¹³ÉÖ÷¿ØÆ÷¼þ£¬Íê³É¶ÔÕû¸öϵͳµÄ¿ØÖÆ×÷ÓᣠÊý¾Ý²É¼¯Ä£¿éÖ÷Òª¹¦ÄÜÊǽ«ËÄ·ģÄâÊäÈëÐźÅת»»³ÉÊý×ÖÐźţ¬ÓÉÓÚʹÓÃÁ˹¦ÄÜÇ¿´óµÄAD7705ת»»Ð¾Æ¬£¬Ê¹µÃ¸ÃÄ£¿é»¹¾ßÓÐÂ˲¨¹¦ÄÜ£¬Â˳ý¹¤ÆµÔëÉùµÄ¸ÉÈÅ¡£ Òº¾§ÏÔʾģ¿éÖ÷ÒªÊǽ«A/Dת»»ºóµÄÊý¾ÝÏÔʾ³öÀ´£¬ÒÔ±ã¹Û²ì¡£ MODEMͨÐÅÄ£¿éµÄÖ÷Òª¹¦ÄÜÊǽ«²É¼¯µ½µÄÊý¾Ýͨ¹ýRS-232C´®ÐÐͨÐÅ´«Ë͸øÉÏλ»ú¡£ ³ÌÐòÏÂÔØÄ£¿é²ÉÓÃÁËÁé»î¡¢·½±ãµÄSIP±à³Ìģʽ£¬Äܽ«µ÷ÊԺõijÌÐò·½±ã¡¢¿ì½ÝµÄÏÂÔص½µ¥Æ¬»úµÄFLASH³ÌÐò´æ´¢Æ÷ÖУ¬Ò²ÎªÏµÍ³µÄÔÚÏßÉý¼¶ÌṩÁË·½±ã¡£ ¸ÃϵͳµÄÈí¼þÖ÷ÒªÓÉÖ÷Ä£¿é¡¢Êý¾Ý²É¼¯Ä£¿é¡¢ÏÔʾģ¿é¼°Í¨ÐÅÄ£¿éµÈ¼¸¸ö²¿·Ö×é³É£¬Ö÷Ä£¿éΪºËÐÄ£¬¹ÜÀíÆäËû3¸ö×ÓÄ£¿é¡£ÁíÍâÔÚÖ÷Ä£¿éºÍͨÐÅÄ£¿éÖУ¬ÔÚÊʵ±µÄλÖòåÈëÈí¼þ¿´ÃŹ·Ä£¿éÀ´¼àÊÓϵͳµÄÔËÐÐ״̬£¬ÒÔ·ÀͨÐÅËÀËøµÈÒâÍâÇé¿öµ¼ÖÂÏÂλ»ú̱»¾£¬ÊµÏÖÏÂλ»úÔÚÈí¹ÊÕÏÌõ¼þϵÄ×Ô»Ö¸´¡£ Éè¼ÆÍê³ÉµÄϵͳ¿ÉÒÔ¶Ô¿ÕÆøÖеÄËÄ·ģÄâÁ¿½øÐÐ×Ô¶¯¼à²â¡£ ¹Ø¼ü´Ê£ºÖÊÁ¿²ÎÊý£¬ÏÂλ»ú£¬Êý¾Ý²É¼¯£¬ÎÞÈËÖ°ÊØ£¬Ô¶³Ì¼à²â ABSTRACT This paper elaborates the design method of the lower computer of air quality parameter monitoring system and its software and hardware relization.This system, which works under the remote nobody-watch condition,uses well-rounded MCU technology and takes micro-controller AT89S8252 chip as the primary controller with the expansion of related peripeheral circuits and adopting the software design of modulization. The system mainly includes the CPU module,data acquisition module, LCD module, MODEM communication module and program downloading module, etc. The CPU module mainly uses the micro-controller AT89S8252 to consist of the host control device in order to perform the whole system control action. The main function of the data acquisition module is to convert four channels analog inputs into digital singnals.The use of the powerful AD7705 transformation chip enables this module to have the filter function which can filter the industrial frequency noise. The main function of the LCD module is to display the result data of A/D converter,which can be easily observed. The main function of the MODEM communication module is to transmit the acquired data to the upper computer by the serial communication of RS-232C. The flexible and convenient ISP programming pattern is adopted in the program downloading module,which can conveniently and quickly download the debugged program to MCU¡¯ s FLASH program memory, and is also convenient for the system to update on-line. The software of the system is mainly composed of main module,data acquisition module,display module and communication module,etc.The core module of the system is the main module which manages the other three sub-modules.In order to avoid the communication deadlock and other contingencies which lead to break down the lower computer and achicving auto-recovery in th software failure,moreover,a software watch dog module is inserted to monitor the running conditions of the system in the main module and the communication module in suitable sites. The completed system can automatically monitor four analog parameters in air. KEY WORDS£ºQuality parameter, Lower computer, Data acquisition, Noboby-watch, Remote monitoring
¾­¹ÜÖ®¼Ò¡°Ñ§µÀ»á¡±Ð¡³ÌÐò
  • ɨÂë¼ÓÈë¡°¿¼ÑÐѧϰ±Ê¼ÇȺ¡±
ÍƼöÔĶÁ
¾­¼ÃѧÏà¹ØÎÄÕÂ
±êÇ©ÔÆ
¾­¹ÜÖ®¼Ò¾«²ÊÎÄÕÂÍƼö