Font Size: a A A

Design And Implementation Of Household Harmful Gas Detection System

Posted on:2021-01-18Degree:MasterType:Thesis
Country:ChinaCandidate:J B HuFull Text:PDF
GTID:2381330626955800Subject:Engineering
Abstract/Summary:PDF Full Text Request
In recent years,in the context of improving living standards and the advancing modern industrialized society,various harmful gases and flammable & explosive gases existing in the home environment threaten people's lives and safety severely.Research on intelligent detection system of household harmful gas with functions of automatic environmental detection and network alerting is of great significance for ensuring safety of the living environment.This thesis,based on the research topic of design and implementation of detection system of household harmful gas,conducts in-depth research and exploration on key technical contents such as the design and implementation of the embedded software architecture of detection system of harmful gas,the definition of API programming interfaces and system validation test.The main content of this thesis is as follows:(1)Design of the overall structure of detection system of household harmful gas.Firstly,functional requirements,non-functional requirements and constraint requirements of the detection system of household harmful gas are analyzed.Secondly,each functional module of the software platform is designed.Thirdly,the software architecture of the detection system is proposed.(2)Formation of the embedded software program of detection system of household harmful gas.The software program includes code of each part of the hardware abstraction layer(HAL),Middleware and Application.The system based on STM32 hardware platform develops drivers with STM32 HAL interface,with FatFS file system,emWin graphics library and FreeRTOS Middleware ported.Multi-threaded tasks and the business logic of detection system of harmful gas are completed according to the requirements of the system.(3)Design and completion of test cases of detection system of harmful gas,as well as system verification.For the purpose of making the embedded system more stable and ensuring reliable operation for a long time,software test methods and processes of the system are explored and analyzed,a test case of embedded software module white-box is designed in consideration to test methods applied in the industry to test the correctness and stability of the system.Moreover,the test case is also applicable to similar embedded software systems in other industries.Concentrated on the design and implementation of detection system of household harmful gas,relevant technologies such as embedded system,sensor data collection and wireless network data communication are utilized to offer a practical solution for application of intelligent housing related to detection of harmful gas.
Keywords/Search Tags:smart home, sensor, embedded software architecture, software debugging and testing
PDF Full Text Request
Related items