±¾¿ÆÉú±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©
Õª Òª
³¬Éù²¨ÒºÎ»²âÁ¿ÊÇÒ»ÖַǽӴ¥Ê½µÄ²âÁ¿·½Ê½,ËüÊÇÀûÓó¬Éù²¨ÔÚͬÖÖ½éÖÊÖд«²¥ËÙ¶ÈÏà¶Ôºã¶¨ÒÔ¼°Åöµ½ÕϰÎïÄÜ·´ÉäµÄÔÀíÑÐÖÆ¶ø³ÉµÄ¡£ÓëÆäËü·½·¨Ïà±È(Èçµç´ÅµÄ»ò¹âѧµÄ·½·¨),Ëü²»ÊܹâÏß¡¢±»²â¶ÔÏóÑÕÉ«µÄÓ°Ï죬¶ÔÓÚ±»²âÎï´¦ÓÚºÚ°µ¡¢Óлҳ¾¡¢ÑÌÎí¡¢µç´Å¸ÉÈÅ¡¢Óж¾µÈ¶ñÁӵĻ·¾³ÏÂÓÐÒ»¶¨µÄÊÊÓ¦ÄÜÁ¦¡£Òò´Ë£¬Ñо¿³¬Éù²¨Ôڸ߾«¶È²â¾àϵͳÖеÄÓ¦ÓþßÓÐÖØÒªµÄÏÖʵÒâÒå¡£
±¾Éè¼Æ»ùÓÚµ¥Æ¬»úµÄ³¬Éù²¨ÒºÎ»²âÁ¿ÏµÍ³Ö÷ÒªÓÉÓ²¼þÓëÈí¼þÁ½²¿·Ö×é³É£¬Ó²¼þÊÇ»ùÓÚAT89C51оƬΪºËÐĵij¬Éù²¨ÒºÎ»²âÁ¿£¬²ÉÓÃAT89C51µ¥Æ¬»ú½øÐпØÖƼ°Êý¾Ý´¦Àí£¬¸ø³öÁ˳¬Éù²¨·¢ÉäºÍ½ÓÊյ緣¬Í¨¹ýÃ¤ÇøµÄÏû³ýÒÔ¼°»·¾³Î¶ȵIJÉÑù£¬Ìá¸ßÁ˲â¾àµÄ¾«È·¶È¡£ÀûÓó¬Éù²¨´«ÊäÖоàÀëÓëʱ¼äµÄ¹ØÏµ£¬Éè¼Æ³öÁËÄܾ«È·²âÁ¿Á½µã¼ä¾àÀëµÄ³¬Éù²¨ÒºÎ»¼ì²âϵͳ¡£´Ëϵͳ¾ßÓÐÒ׿ØÖÆ¡¢¹¤×÷¿É¿¿¡¢²âÁ¿¾«¶È¸ßµÄÓŵ㣬¿Éʵʱ¼ì²âҺλ¡£ ²¢Óг¬Éù²¨´¦ÀíÄ£¿éCX20106A¡¢CD4069×é³ÉµÄ³¬Éù²¨·¢Éäµç·¡¢³¬Éù²¨½ÓÊյ緡¢µ¥Æ¬»ú¸´Î»µç·¡¢LEDÏÔʾµç·¡¢±¨¾¯µç·µÈ¡£Èí¼þ²¿·ÖÓÉÖ÷³ÌÐò¡¢Ô¤ÖÃ×Ó³ÌÐò¡¢·¢Éä×Ó³ÌÐò¡¢½ÓÊÕ×Ó³ÌÐò¡¢ÏÔʾ×Ó³ÌÐò×é³É¡£¸÷̽ͷµÄÐźžµ¥Æ¬»ú×ۺϷÖÎö´¦Àí¡£
×îºóͨ¹ýʵÎïµÄµ÷ÊÔ£¬¸÷Ïî²ÎÊý¼°¹¦ÄÜ·ûºÏÉè¼ÆÒªÇó£¬ÄÜ´ïµ½Ô¤ÆÚµÄÄ¿µÄ¡£ ¹Ø¼ü´Ê£º µ¥Æ¬»ú;³¬Éù²¨;ζȿØÖÆ;¸ß¾«¶È²â¾à
I
±¾¿ÆÉú±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©
Abstract
The ultrasonic liquid level measurement is a non-contact measurement method, realized by the principle of ultrasonic wave in the same medium with relatively constant propagation velocity and being reflected when it approaches an obstacle. Compared with other methods (such as electromagnetic or optical method), it has a certain of adaptability when objects to be measured are under such harsh environment as darkness, dust, smoke, electromagnetic interference, toxicity, unaffected by the light or the color of the object to be measured. Therefore, it bears important practical significance to conduct research on the application of ultrasonic wave in high precision ranging system.
In this project, SCM-based ultrasonic liquid level measuring system is mainly composed of two components, namely the hardware and the software. The hardware is ultrasonic liquid level measurement based on AT89C51 chip as the core; it adopts AT89C51 single chip microcomputer for control and data processing, provides the ultrasonic transmitting and receiving circuit, and improves ranging accuracy through elimination of blind spot and sampling of ambient temperature,. By taking advantage of the relationship between distance and time in ultrasonic transmission, an ultrasonic liquid level detecting system which can accurately measure the distance between two points is designed. This system has these advantages like easy control, reliable operation, high measurement precision, and real-time detection of liquid level. And it has ultrasonic transmitting and receiving circuit, reset circuits of SCM, LED display circuit, alarm circuit composed of ultrasonic processing module CX20106A and CD4069. The software part consists of main program, preset subroutine, transmitting and receiving subroutine, and display subroutine. The probe signal is processed by SCM through comprehensive analysis.
Finally through debugging of real objects, various parameters and functions can meet the project requirements to achieve the desired objective.
Key words: single chip microcomputer (SCM); ultrasonic wave; temperature control; high precision ranging
II
±¾¿ÆÉú±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©
±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©Ô´´ÐÔÉùÃ÷ºÍʹÓÃÊÚȨ˵Ã÷
Ô´´ÐÔÉùÃ÷
±¾ÈËÖ£ÖØ³Ðŵ£ºËù³Ê½»µÄ±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©£¬ÊÇÎÒ¸öÈËÔÚÖ¸µ¼½ÌʦµÄÖ¸µ¼Ï½øÐеÄÑо¿¹¤×÷¼°È¡µÃµÄ³É¹û¡£¾¡ÎÒËùÖª£¬³ýÎÄÖÐÌØ±ð¼ÓÒÔ±ê×¢ºÍÖÂлµÄµØ·½Í⣬²»°üº¬ÆäËûÈË»ò×éÖ¯ÒѾ·¢±í»ò¹«²¼¹ýµÄÑо¿³É¹û£¬Ò²²»°üº¬ÎÒΪ»ñµÃ ¼°ÆäËü½ÌÓý»ú¹¹µÄѧλ»òѧÀú¶øÊ¹ÓùýµÄ²ÄÁÏ¡£¶Ô±¾Ñо¿Ìṩ¹ý°ïÖúºÍ×ö³ö¹ý¹±Ï׵ĸöÈË»ò¼¯Ì壬¾ùÒÑÔÚÎÄÖÐ×÷ÁËÃ÷È·µÄ˵Ã÷²¢±íʾÁËлÒâ¡£
×÷ Õß Ç© Ãû£º ÈÕ ÆÚ£º Ö¸µ¼½ÌʦǩÃû£º ÈÕ ÆÚ£º
ʹÓÃÊÚȨ˵Ã÷
±¾ÈËÍêÈ«Á˽⠴óѧ¹ØÓÚÊÕ¼¯¡¢±£´æ¡¢Ê¹ÓñÏÒµÉè¼Æ£¨ÂÛÎÄ£©µÄ¹æ¶¨£¬¼´£º°´ÕÕѧУҪÇóÌá½»±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©µÄÓ¡Ë¢±¾ºÍµç×Ó°æ±¾£»Ñ§Ð£ÓÐȨ±£´æ±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©µÄÓ¡Ë¢±¾ºÍµç×Ӱ棬²¢ÌṩĿ¼¼ìË÷ÓëÔÄÀÀ·þÎñ£»Ñ§Ð£¿ÉÒÔ²ÉÓÃÓ°Ó¡¡¢ËõÓ¡¡¢Êý×Ö»¯»òÆäËü¸´ÖÆÊֶα£´æÂÛÎÄ£»ÔÚ²»ÒÔÓ®ÀûΪĿµÄǰÌáÏ£¬Ñ§Ð£¿ÉÒÔ¹«²¼ÂÛÎĵIJ¿·Ö»òÈ«²¿ÄÚÈÝ¡£
×÷ÕßÇ©Ãû£º ÈÕ ÆÚ£º
III
±¾¿ÆÉú±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©
ѧλÂÛÎÄÔ´´ÐÔÉùÃ÷
±¾ÈËÖ£ÖØÉùÃ÷£ºËù³Ê½»µÄÂÛÎÄÊDZ¾ÈËÔÚµ¼Ê¦µÄÖ¸µ¼Ï¶ÀÁ¢½øÐÐÑо¿ËùÈ¡µÃµÄÑо¿³É¹û¡£³ýÁËÎÄÖÐÌØ±ð¼ÓÒÔ±ê×¢ÒýÓõÄÄÚÈÝÍ⣬±¾ÂÛÎIJ»°üº¬ÈÎºÎÆäËû¸öÈË»ò¼¯ÌåÒѾ·¢±í»ò׫дµÄ³É¹û×÷Æ·¡£¶Ô±¾ÎĵÄÑо¿×ö³öÖØÒª¹±Ï׵ĸöÈ˺ͼ¯Ì壬¾ùÒÑÔÚÎÄÖÐÒÔÃ÷È··½Ê½±êÃ÷¡£±¾ÈËÍêÈ«Òâʶµ½±¾ÉùÃ÷µÄ·¨Âɺó¹ûÓɱ¾È˳е£¡£
×÷ÕßÇ©Ãû£º ÈÕÆÚ£º Äê Ô ÈÕ
ѧλÂÛÎİæÈ¨Ê¹ÓÃÊÚȨÊé
±¾Ñ§Î»ÂÛÎÄ×÷ÕßÍêÈ«Á˽âѧУÓйر£Áô¡¢Ê¹ÓÃѧλÂÛÎĵĹ涨£¬Í¬ÒâѧУ±£Áô²¢Ïò¹ú¼ÒÓйز¿ÃÅ»ò»ú¹¹Ëͽ»ÂÛÎĵĸ´Ó¡¼þºÍµç×Ӱ棬ÔÊÐíÂÛÎı»²éÔĺͽèÔÄ¡£±¾ÈËÊÚȨ ´óѧ¿ÉÒÔ½«±¾Ñ§Î»ÂÛÎĵÄÈ«²¿»ò²¿·ÖÄÚÈݱàÈëÓйØÊý¾Ý¿â½øÐмìË÷£¬¿ÉÒÔ²ÉÓÃÓ°Ó¡¡¢ËõÓ¡»òɨÃèµÈ¸´ÖÆÊֶα£´æºÍ»ã±à±¾Ñ§Î»ÂÛÎÄ¡£
ÉæÃÜÂÛÎİ´Ñ§Ð£¹æ¶¨´¦Àí¡£
×÷ÕßÇ©Ãû£º ÈÕÆÚ£º Äê Ô ÈÕ
µ¼Ê¦Ç©Ãû£º ÈÕÆÚ£º Äê Ô ÈÕ
IV