| With the rapid development of the Internet of Things technology,the level of intelligence of electrical facilities is getting increasingly higher.As a result,the surveillance and analysis technology of the status of electrical appliances is of great importance.In recent years,ensuring the safety of campus dormitory electricity has become a major aspect in improving the management level of college student dormitory.This paper designs and implements an efficient safety power analysis monitoring management system to resolve campus dormitory electricity security issues.By using power line carrier communication technology combined with a dedicated energy measurement chip,the system front-end signal acquisition and processing platform is formed.An upper computer display monitoring interface is designed to provide an intelligent information management platform for the school’s electricity management department.The main contributions and research results of this article are as follows:(1)Research on related theories and applications,elaborate on the basic principles and processes of random forests applied to data preprocessing,and outline the basic principles of the k-nearest neighbor(KNN)time-domain recognition algorithm.The final algorithm of choice is identified by analyzing and comparing the advantages and disadvantages of each algorithm.(2)The overall hardware framework of the lower computer is explained from the three aspects of power information: collection,alarm execution,and data processing and transmission.First,the principle of collecting front-end power information,the basic detection process of the alarm execution mechanism and the preprocessing of the collected data are studied.Then,this chapter elaborated each module of the hardware system in detail,and studied the data receiving,processing,saving and transmitting process of the system.Finally,the lower computer transmits the data to the host computer to complete the design of the power carrier module.(3)Study the subprogram flow of each module of the hardware system and write each subprogram code according to the flowchart to complete the design of the software system.QT software programming is used to draw the interface,real-time display of the relevant electrical information transmitted by power line carrier communication,and on this basis,remote functions such as power on,power off,and timing are realized,and finally the design of the host computer is realized.(4)Finally,test and error analysis of the electrical monitoring system is performed.The actual effect of each function of the system is tested separately;the actual performance of the power monitoring system and the efficiency of the KNN algorithm are verified by actual measurements,and the error analysis is combined with the experimental data to verify the effectiveness and practicability of the system. |