Font Size: a A A

Software Design Of Embedded Fire Alarm Controller Based On P2P Networks

Posted on:2017-12-27Degree:MasterType:Thesis
Country:ChinaCandidate:G WangFull Text:PDF
GTID:2348330542950383Subject:Engineering
Abstract/Summary:PDF Full Text Request
This thesis aims to stu dy the cen tralized peer-to-peer network architecture,embedded system architecture,principles and features of CAN bus and em bedded database application;analyze the demand of the fire alarm control unit software;design the overall structure and module function of the software and realize the software with Visual Studio 2008 by adopting the centralized peer-to-peer networkarchitecture and and CAN bus communication technology.Firstly,the paper analyzes the function requirements of the fire alarm control unit,including configuration and inquiry,alarm,linkage and network synchronization;and discusses work proc ess,network structure and communication technology of the fire a lrm control system,analyzes all perfomance indexes of fire alarm system as well.Modular design thought is taken for the design to detail the f unxtions of configuration and inquiry,alarm,linkage and network sync hronization,mainly including 25 m odules: program frame,system window,fire alarm,fire alarm control,peer-to-peer network construction and network adaptation,describi ng the functions of the major m odules and analyzing the work processes.Commnication protocol for internal and external CAN buses is established by combining CAN bus arbitration mechanismand accoring to the priority of the fire alarm information.It abstracts the data structure from the practical features of the fire alarm information through entity-relationship diagram with SQLite3 database.Obejct-oriented approach is adopted for the r ealization to discuss the m odular structure of the system components,declare the im portant classes and functions in the functional modules as well as the dunctiona l description as well as de sign the func tion hanlding process and interface o f subfunctions in detail as per the attribute classification like message receiving and sending,data processi ng,business logic,equipm ent management and user interaction.The database management of the fire alarm information is realized by the packaging design of SQLite3 database.And f inally it expa lins the inh eritance relationship between the appl ication class and MFC(Micros oft Foundation Classes)with the inheritance relationship diagram.The test environm ent and to-be-tested hardware are gived in the test.The hardwareplatform,test scheme and test case are designe d to take function and perform ance tests of the fire alarm control unit sof tware,including unit level,integration level,confirguration item level and system level tests.And the so ftware interface is shown.Accordin g to the practical test results,the indexes of signle load capacity,networking equipment capacity,alarming time,linkage output tim e,fault time and reco rd capacity conform to the requirements of national standards.The system runs stably and reliably.
Keywords/Search Tags:Fire Alarm Controller, P2P networks, SQLite database, CAN bus, Industrial PC
PDF Full Text Request
Related items