This thesis summarizes the principles of the Ultrasonic Flaw Detection (UFD) with Pulse Echo Method. The hardware structure and principle of the system for monitor and control in embedded UFD controller is discussed. The design ideal and process of the system's software in language C are given in detail. Especially, the algorithm of flaw measurement and locating, the interpolating algorithm of AVG curve and math model are researched. The practical programming skills, such as embedding assembly language, the implement of interrupt and graphic display, are also described in detail. At last, the methods for installing and automatic start-up of this software are given. The conceive for further development is also put forward. The principles and algorithms for flaw detection discussing in this thesis are practical and creative, the programming skills related are also useful for other software design. |