| Frequent fog weather in recent days deepens people’s attention to lung cancer, which leads to an urgent need of an instrument for individual lung cancer screening and early diagnosis. The obvious chromogenic reaction between the porphyrins and certain molecules has been an effective method for detecting the markers in lung cancer breath gas.The software system is the precondition for the functional realizaion of all kinds of instruments. A set of embedded lung respiratory gas detection software system was designed based on ARM11 for lung cancer detection. Combined the related technologies of software engineering development, the software system was developed based on the embedded Linux platform through demand analysis. The software system would eventually control LED lights, air pump, solenoid valves and other hardware equipment via a serial of ports normally. It also could realize the video monitoring and function of image acquisition through the image acquisition device. Besides, the hardware and software integration of lung cancer detection system finally come true through coordinating the operation time of components of control system reasonably. Thus, a full set of control functions from the gas inlet to results detection of the lung cancer gas detection system was realized. The corresponding test was for the software system operated in the end of the paper.In this paper, the main contents are as follows:①Combined the air route design of MCU, this paper introduces the demand analysis and model establishment of embedded system software design with UML and illustration.②This paper analyses the environment and structure of the embedded system and develop the core interface driver programs which are video transmission driver program and serial driver program.③Based on QT-Creator development platform, design and improve the gas collection module, gas detection module, image processing module, gas purge module, and describe the control process and core technology of all modules detailed.④This paper construct the testing environment of Linux system then transplant the lung cancer testing system control software after cross-compiler on 6410 target board. Install corresponding test-case in system software based on the development requirements mentioned in chapter 2, then finish software-testing in addition to get testing results. |