当前位置:主页 > 医学论文 > 肿瘤论文 >

基于Qt插件技术的肺癌气体检测嵌入式控制软件系统设计与实现

发布时间:2018-05-12 03:22

  本文选题:肺癌检测 + Qt插件技术 ; 参考:《重庆大学》2016年硕士论文


【摘要】:随着肺癌发病率和死亡率的提高,人们越来越重视肺癌的检测。对肺癌的研究发现,肺癌患者呼出的气体中含有可用于检测肺癌的物质——肺癌标志物。本课题组提出了一种利用卟啉传感器阵列检测肺癌的新型检测方法。随着研究的不断深入,需要经常调整肺癌检测仪器的软件功能。如果使用常规的软件开发方式,存在开发周期长,不易扩展等不足。本文旨在基于Qt插件技术设计和实现一套具有高扩展性和复用性的用于肺癌气体检测的嵌入式控制软件系统。为了完成这个目标,本文的研究工作从以下几个方面展开:(1)做出软件的需求分析,并基于Qt插件技术完成系统的设计。通过系统设计,将本软件总体上分两部分。一部分运行在PIC16F877A型单片机构成的下位机,一部分运行在Tiny6410嵌入式平台构成的上位机。在每个部分又将程序进行了模块划分。将下位机分为简单IO口模块,微型气泵模块,温湿度采集模块,串口通信模块和“看门狗”模块。将上位机分为简单类插件和复杂类插件。(2)下位机程序中,分别实现了简单IO口模块,微型气泵模块,温湿度采集模块,串口通信模块和 看门狗‖模块的功能。(3)在上位机程序中,分别实现了简单类插件、复杂类插件、GUI界面、主体程序的功能。主体程序中使用任务池的类,实现了在配置文件中指定器件动作的功能。并使用该方法,完成了富集循环任务,检测循环任务和摄像头的采集等任务。在GUI界面的设计中遵循统一的风格,设计出实用、美观的登录界面、执行界面和结果显示界面。(4)将宿主机中的软件交叉编译后移植到嵌入式设备中,并测试它的功能正确性、容错性、可扩展性和可复用性。为了测试功能正确性,在室温为25摄氏度,湿度为67%的环境下进行大量的实验,结果软件均能正常的运行。为检测系统的容错性,分别做了登录验证容错性测试、温度超阈值容错性测试、串口通信容错性测试,结果软件在各种错误条件下均能提示出错。为检测软件的复用性和可扩展性,以扩展一个直通电磁阀为例,复用直通电磁阀插件完成了程序的扩展。经过以上的工作,本文基于Qt插件技术实现了肺癌气体检测控制软件系统。该软件系统实现了预期的功能,具有良好的扩展性、可复用性和容错性。
[Abstract]:With the increasing incidence and mortality of lung cancer, more and more attention has been paid to the detection of lung cancer. Lung cancer studies have found that lung cancer markers are found in the gases exhaled by lung cancer patients. A new detection method for lung cancer using porphyrin sensor array was proposed. With the development of research, the software functions of lung cancer detection instruments need to be adjusted frequently. If the conventional software development mode, there are long development cycle, not easy to expand, and so on. The purpose of this paper is to design and implement an embedded control software system for lung cancer gas detection based on QT plug-in technology. In order to achieve this goal, the research work of this paper starts from the following several aspects: 1) makes the software requirement analysis, and completes the system design based on QT plug-in technology. Through the system design, the software is divided into two parts. One part runs in the lower computer composed of PIC16F877A single chip computer, and another part runs in the upper computer composed of Tiny6410 embedded platform. In each part, the program is divided into modules. The lower computer is divided into simple IO port module, micro air pump module, temperature and humidity acquisition module, serial communication module and "watchdog" module. The upper computer is divided into simple class plug-in and complex class plug-in. 2) in the lower computer program, the simple IO port module, the micro air pump module, the temperature and humidity collection module are implemented, respectively. The function of serial communication module and watchdog module. In the upper computer program, the functions of simple class plug-in, complex class plug-in and GUI interface and main program are realized respectively. The main program uses the class of task pool to realize the function of specifying device action in configuration file. By using this method, the tasks of enrichment cycle, detection of cycle and acquisition of camera are accomplished. Following the unified style in the design of GUI interface, designing a practical and beautiful login interface, executing interface and result display interface. 4) transplanting the software in host computer to embedded device after cross-compiling, and testing its function correctness. Fault tolerance, extensibility and reusability. In order to test the correctness of the function, a large number of experiments were carried out at room temperature of 25 鈩,

本文编号:1876904

资料下载
论文发表

本文链接:https://www.wllwen.com/yixuelunwen/zlx/1876904.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户4befc***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com