CN108415338A - A student dormitory security monitoring system and method - Google Patents

A student dormitory security monitoring system and method Download PDF

Info

Publication number
CN108415338A
CN108415338A CN201810364159.XA CN201810364159A CN108415338A CN 108415338 A CN108415338 A CN 108415338A CN 201810364159 A CN201810364159 A CN 201810364159A CN 108415338 A CN108415338 A CN 108415338A
Authority
CN
China
Prior art keywords
circuit
dormitory
resistance
capacitance
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810364159.XA
Other languages
Chinese (zh)
Inventor
孙立辉
王鹏
周晓晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin Institute of Chemical Technology
Original Assignee
Jilin Institute of Chemical Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin Institute of Chemical Technology filed Critical Jilin Institute of Chemical Technology
Priority to CN201810364159.XA priority Critical patent/CN108415338A/en
Publication of CN108415338A publication Critical patent/CN108415338A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Alarm Systems (AREA)

Abstract

本发明公开了一种学生宿舍安全监控系统及方法。所述监控系统包括:单片机、功率/电能测量电路、温度测量电路、烟雾检测电路、时钟电路、电压测量电路、显示电路、报警电路、GSM模块、继电器输出电路、存储电路以及上位机;所述功率/电能测量电路、所述温度测量电路、所述烟雾检测电路、所述时钟电路、所述电压测量电路、所述显示电路、所述报警电路、所述GSM模块、所述继电器输出电路、所述存储电路以及所述上位机分别与所述单片机连接;所述学生宿舍安全监控系统安装在每个宿舍内,用于监测每个宿舍内的宿舍安全。采用本发明所提供的监控系统及方法能够提高所得监控结果的精确度。

The invention discloses a student dormitory safety monitoring system and method. The monitoring system includes: a single-chip microcomputer, a power/electric energy measurement circuit, a temperature measurement circuit, a smoke detection circuit, a clock circuit, a voltage measurement circuit, a display circuit, an alarm circuit, a GSM module, a relay output circuit, a storage circuit and an upper computer; Power/energy measurement circuit, the temperature measurement circuit, the smoke detection circuit, the clock circuit, the voltage measurement circuit, the display circuit, the alarm circuit, the GSM module, the relay output circuit, The storage circuit and the host computer are respectively connected to the single-chip microcomputer; the student dormitory safety monitoring system is installed in each dormitory for monitoring the dormitory safety in each dormitory. The monitoring system and method provided by the invention can improve the accuracy of the obtained monitoring results.

Description

一种学生宿舍安全监控系统及方法A student dormitory security monitoring system and method

技术领域technical field

本发明涉及学生宿舍安全监控领域,特别是涉及一种学生宿舍安全监控系统及方法。The invention relates to the field of student dormitory safety monitoring, in particular to a student dormitory safety monitoring system and method.

背景技术Background technique

近年来随着高校的扩招,更多的学生可以走进大学校园,而学生在宿舍的活动时间是最长的。通常高校宿舍用电都是按照能够满足学生基本生活需要配置的。部分学生为了方便自己,在房间内使用大功率的用电设备,如电炉子、热得快、电熨斗等违章电器,由于违章电器的使用引起火灾的事故时有发生,给国家的财产造成了严重的损失,同时也对大学生的生命构成了一定的威胁。虽然各个高校都制定了各种规章制度,但由于学生的变化大、来源复杂、层次不一,效果不明显,百分之一的同学违规使用大功率电器,就可能危害百分之九十九学生,给学校用电安全管理带来巨大隐患。现阶段高校还没有一个针对每个宿舍功能齐全的安全监控系统。In recent years, with the expansion of enrollment in colleges and universities, more students can enter the university campus, and the activity time of students in the dormitory is the longest. Usually, the power consumption of college dormitories is configured according to the basic living needs of students. For their own convenience, some students use high-power electrical equipment in the room, such as electric stoves, hot heaters, electric irons and other illegal electrical appliances. Due to the use of illegal electrical appliances, fire accidents occur from time to time, causing damage to national property. The serious loss also poses a certain threat to the lives of college students. Although all colleges and universities have formulated various rules and regulations, the effect is not obvious due to the large changes, complex sources, and different levels of students. If one percent of students use high-power electrical appliances in violation of regulations, it may harm ninety-nine percent of students. Students bring huge hidden dangers to the school's electricity safety management. At this stage, colleges and universities do not have a fully functional security monitoring system for each dormitory.

现在高校宿舍通常用电表计量用电量,而电表安装在宿舍楼的指定位置,学生无法获取用电量信息;且宿舍楼只能采用超过固定功率断电方法限制学生用电,无法辨别学生是否使用违章电器;火灾监控装置通常安装在楼道内,无法实时监控每个宿舍的安全。Now dormitories in colleges and universities usually use electric meters to measure electricity consumption, but the electric meters are installed in designated locations in the dormitory building, and students cannot obtain electricity consumption information; and the dormitory building can only limit students' electricity consumption by cutting off power beyond a fixed power, and cannot identify students Whether to use illegal electrical appliances; fire monitoring devices are usually installed in the corridors, which cannot monitor the safety of each dormitory in real time.

因此,现有技术的缺陷和不足:Therefore, defective and deficiency of prior art:

1.现有高校宿舍电表都集中安装在某一特定位置,学生不能实时了解宿舍的用电状况;同时,宿舍的火灾报警系统大多安装在楼道内,不能对每个宿舍的安全隐患进行监控。1. Existing college dormitory electricity meters are all installed in a specific location, and students cannot know the electricity consumption status of the dormitory in real time; at the same time, most of the fire alarm systems in the dormitory are installed in the corridors, which cannot monitor the safety hazards of each dormitory.

2.目前国内高校对大功率电器限制主要采用两种方式:一种是普通电流控制,通过限制最大电流总值,线路保护,这种就是普通的保险丝功能,宿舍管理人员无法实时获得每个宿舍的安全信息,且无法得知哪个宿舍使用违章电器,全宿舍楼停电,对学生的生活起居带来十分不便;另一种是采用智能限电单片机,通过检测电流通过某一寝室的相位变化情况,最终判断纯电阻电路部分的功率,进而加以控制,这种方式只对纯电阻电路部分进行了限制,而对于波形改变的电器却没有限制作用,可能会存在漏监控的想象,无法从多方面对宿舍安全进行监控,从而导致监控结果的准确性低。2. At present, domestic colleges and universities mainly adopt two methods to limit high-power electrical appliances: one is ordinary current control, by limiting the maximum total current value, line protection, this is the ordinary fuse function, and the dormitory management personnel cannot obtain real-time and it is impossible to know which dormitory uses illegal electrical appliances, and the power outage in the whole dormitory building brings great inconvenience to the daily life of students; , and finally judge the power of the pure resistance circuit part, and then control it. This method only limits the part of the pure resistance circuit, but has no restriction on the electrical appliances with waveform changes. The safety of the dormitory is monitored, resulting in low accuracy of the monitoring results.

发明内容Contents of the invention

本发明的目的是提供一种学生宿舍安全监控系统及方法,以解决现有技术无法对每个宿舍的安全隐患实时监控,无法从多方面对宿舍安全进行监控,从而导致监控结果的准确性低的问题。The purpose of the present invention is to provide a student dormitory safety monitoring system and method to solve the problem that the existing technology cannot monitor the safety hazards of each dormitory in real time, and cannot monitor the dormitory safety from various aspects, resulting in low accuracy of monitoring results The problem.

为实现上述目的,本发明提供了如下方案:To achieve the above object, the present invention provides the following scheme:

一种学生宿舍安全监控系统,包括:单片机、功率/电能测量电路、温度测量电路、烟雾检测电路、时钟电路、电压测量电路、显示电路、报警电路、GSM模块、继电器输出电路、存储电路以及上位机;A student dormitory safety monitoring system, including: single-chip microcomputer, power/energy measurement circuit, temperature measurement circuit, smoke detection circuit, clock circuit, voltage measurement circuit, display circuit, alarm circuit, GSM module, relay output circuit, storage circuit and upper machine;

所述功率/电能测量电路、所述温度测量电路、所述烟雾检测电路、所述时钟电路、所述电压测量电路、所述显示电路、所述报警电路、所述GSM模块、所述继电器输出电路、所述存储电路以及所述上位机分别与所述单片机连接;所述学生宿舍安全监控系统安装在每个宿舍内,用于监测每个宿舍内的宿舍安全。The power/energy measurement circuit, the temperature measurement circuit, the smoke detection circuit, the clock circuit, the voltage measurement circuit, the display circuit, the alarm circuit, the GSM module, the relay output The circuit, the storage circuit and the host computer are respectively connected to the single-chip microcomputer; the student dormitory safety monitoring system is installed in each dormitory for monitoring the dormitory safety in each dormitory.

可选的,所述功率/电能测量电路具体包括:电阻、电容、计量芯片、稳压管、压敏电阻、第一三端稳压集成电路、光电耦合器以及晶体振荡器;Optionally, the power/electric energy measurement circuit specifically includes: a resistor, a capacitor, a metering chip, a voltage regulator tube, a piezoresistor, a first three-terminal voltage regulator integrated circuit, a photocoupler, and a crystal oscillator;

所述电阻包括i个电阻,0<i≤26;所述电容包括j个电容,0<j≤16;The resistor includes i resistors, 0<i≤26; the capacitor includes j capacitors, 0<j≤16;

第一电阻至第十二电阻串联,得到电阻串联串;所述电阻串联串分别与第十二电容至第十四电容以及第十三电阻至第十四电阻并联,得到并联串;所述并联串与所述计量芯片相连接;第二十一电阻分别与第十一电容以及所述计量芯片连接;第二十二电阻分别与第十二电容以及所述计量芯片连接;锰铜电阻并联在所述第二十一电阻和所述第二十二电阻之间;The first resistor to the twelfth resistor are connected in series to obtain a resistor series string; the resistor series string is respectively connected in parallel with the twelfth capacitor to the fourteenth capacitor and the thirteenth resistor to the fourteenth resistor to obtain a parallel string; the parallel connection The string is connected with the metering chip; the twenty-first resistor is connected with the eleventh capacitor and the metering chip respectively; the twenty-second resistor is connected with the twelfth capacitor and the metering chip respectively; the manganese copper resistor is connected in parallel between the twenty-first resistor and the twenty-second resistor;

所述稳压管与所述压敏电阻并联;第一电容、第二十三电阻以及所述稳压管串联在一起;所述稳压管、第二电容至第五电容、所述第一三端稳压集成电路、第十五电容以及第十六电容并联在一起;所述稳压管和所述第二电容之间设有第一二极管;第四电容和第五电容之间设有第二十四电阻;The voltage regulator tube is connected in parallel with the piezoresistor; the first capacitor, the twenty-third resistor, and the voltage regulator tube are connected in series; the voltage regulator tube, the second capacitor to the fifth capacitor, the first The three-terminal voltage stabilizing integrated circuit, the fifteenth capacitor and the sixteenth capacitor are connected together in parallel; a first diode is arranged between the voltage stabilizing tube and the second capacitor; between the fourth capacitor and the fifth capacitor A twenty-fourth resistor is provided;

所述计量芯片与光电耦合器相连接;所述光电耦合器与第二十六电阻相连接;所述光电耦合器还与发光二极管相连接;所述发光二极管与第二十五电阻相连接;所述计量芯片分别与所述晶体振荡器以及第九电容相连接;所述第九电容和第十电容串联。The metering chip is connected to the photocoupler; the photocoupler is connected to the twenty-sixth resistor; the photocoupler is also connected to the light-emitting diode; the light-emitting diode is connected to the twenty-fifth resistor; The metering chip is respectively connected to the crystal oscillator and the ninth capacitor; the ninth capacitor and the tenth capacitor are connected in series.

可选的,所述温度测量电路具体包括:温度传感器以及第三十四电阻;Optionally, the temperature measurement circuit specifically includes: a temperature sensor and a thirty-fourth resistor;

所述温度传感器与所述第三十四电阻并联。The temperature sensor is connected in parallel with the thirty-fourth resistor.

可选的,所述继电器输出电路具体包括:两个继电器输出模块;Optionally, the relay output circuit specifically includes: two relay output modules;

所述继电器输出模块包括二极管、三极管以及电阻;The relay output module includes a diode, a triode and a resistor;

所述三极管的发射极与所述二极管相连接;所述三极管的集电极接地;所述三极管的基极与所述电阻相连接。The emitter of the triode is connected with the diode; the collector of the triode is grounded; the base of the triode is connected with the resistor.

可选的,所述电压测量电路具体包括:双线圈、整流桥、转换器、第二三端稳压集成电路以及第十七电容至第二十电容;Optionally, the voltage measurement circuit specifically includes: a dual coil, a rectifier bridge, a converter, a second three-terminal voltage stabilizing integrated circuit, and the seventeenth to twentieth capacitors;

所述双线圈与所述整流桥相连接;所述第二三端稳压集成电路与并联的第十七电容以及第十八电容相连接;所述第二三端稳压集成电路还与并联的第十九电容以及第二十电容相连接。The dual coil is connected to the rectifier bridge; the second three-terminal voltage stabilizing integrated circuit is connected to the seventeenth capacitor and the eighteenth capacitor connected in parallel; the second three-terminal voltage stabilizing integrated circuit is also connected to the The nineteenth capacitor and the twentieth capacitor connected in parallel are connected.

可选的,所述报警电路具体包括:三极管、蜂鸣器以及电阻;Optionally, the alarm circuit specifically includes: a triode, a buzzer and a resistor;

所述三极管的发射极与电源相连接;所述三极管的集电极与所述蜂鸣器相连接;所述三极管的基极与所述电阻相连接。The emitter of the triode is connected with the power supply; the collector of the triode is connected with the buzzer; the base of the triode is connected with the resistor.

可选的,所述存储电路具体包括:存储器件、第三十一电阻以及第三十二电阻;Optionally, the storage circuit specifically includes: a storage device, a thirty-first resistor, and a thirty-second resistor;

所述第三十一电阻与所述第三十二电阻分别与所述存储器件的不同接口相连接。The thirty-first resistor and the thirty-second resistor are respectively connected to different interfaces of the storage device.

一种学生宿舍安全监控方法,所述监控系统包括:单片机、功率/电能测量电路、温度测量电路、烟雾检测电路、时钟电路、电压测量电路、显示电路、报警电路、GSM模块、继电器输出电路、存储电路以及上位机;所述功率/电能测量电路、所述温度测量电路、所述烟雾检测电路、所述时钟电路、所述电压测量电路、所述显示电路、所述报警电路、所述GSM模块、所述继电器输出电路、所述存储电路以及所述上位机分别与所述单片机连接;所述学生宿舍安全监控系统安装在每个宿舍内,用于监测每个宿舍内的宿舍安全;A safety monitoring method for a student dormitory, the monitoring system comprising: a single-chip microcomputer, a power/electric energy measurement circuit, a temperature measurement circuit, a smoke detection circuit, a clock circuit, a voltage measurement circuit, a display circuit, an alarm circuit, a GSM module, a relay output circuit, storage circuit and host computer; the power/energy measurement circuit, the temperature measurement circuit, the smoke detection circuit, the clock circuit, the voltage measurement circuit, the display circuit, the alarm circuit, the GSM The module, the relay output circuit, the storage circuit and the host computer are respectively connected to the single-chip microcomputer; the student dormitory safety monitoring system is installed in each dormitory to monitor the dormitory safety in each dormitory;

所述监控方法包括:The monitoring methods include:

获取每个宿舍的当前温度值;Get the current temperature value of each dormitory;

判断所述当前温度值是否超出温度阈值,得到第一判断结果;judging whether the current temperature value exceeds a temperature threshold, and obtaining a first judging result;

若所述第一判断结果表示为所述当前温度值超出温度阈值,发出警报;If the first judgment result indicates that the current temperature value exceeds a temperature threshold, an alarm is issued;

若所述第一判断结果表示为所述当前温度值未超出温度阈值,获取每个宿舍的烟雾浓度值;If the first judgment result indicates that the current temperature value does not exceed the temperature threshold, obtain the smoke concentration value of each dormitory;

判断所述烟雾浓度值是否超出烟雾浓度阈值,得到第二判断结果;judging whether the smoke concentration value exceeds a smoke concentration threshold, and obtaining a second judgment result;

若所述第二判断结果表示为所述烟雾浓度值超出烟雾浓度阈值,发出警报;If the second judgment result indicates that the smoke density value exceeds the smoke density threshold, an alarm is issued;

若所述第二判断结果表示为所述烟雾浓度值未超出烟雾浓度阈值,获取每个宿舍的用电电能;If the second judgment result indicates that the smoke concentration value does not exceed the smoke concentration threshold, obtain the power consumption of each dormitory;

根据所述用电电能计算每个宿舍的用电功率;Calculate the power consumption of each dormitory according to the power consumption;

判断所述用电功率是否超出功率安全值,得到第三判断结果;judging whether the electric power exceeds a power safety value, and obtaining a third judging result;

若所述第三判断结果表示为所述用电功率超出功率安全值,对超出功率安全值的相应宿舍断电并将宿舍信息发送至客户端;所述客户端包括上位机以及宿舍管理中心工作人员的手机。If the third judgment result indicates that the electric power exceeds the power safety value, power off the corresponding dormitory exceeding the power safety value and send the dormitory information to the client; the client includes the upper computer and the staff of the dormitory management center mobile phone.

根据本发明提供的具体实施例,本发明公开了以下技术效果:本发明公开了一种学生宿舍安全监控系统,将安全监控系统安装于每个宿舍内,可以实时对用电状况实时测量并显示,同时系统兼有火灾检测及报警功能,系统还实时显示室内的温度、烟雾浓度以及时间信息,该安全监控系统具有多个监控模块,因此,可以全方面的监控每个宿舍安全,提高监控结果的准确性;同时,本发明还公开了一种学生宿舍安全监控方法,对使用违章电器进行监控,当超过规定的功率上限时断电处理,同时使用违章电器的宿舍信息上报给管理人员,使管理人员可以第一时间去现场进行处理。According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: The present invention discloses a safety monitoring system for student dormitories. The safety monitoring system is installed in each dormitory, which can measure and display the electricity consumption status in real time At the same time, the system has both fire detection and alarm functions. The system also displays the indoor temperature, smoke concentration and time information in real time. The safety monitoring system has multiple monitoring modules, so it can monitor the safety of each dormitory in all aspects and improve the monitoring results. accuracy; at the same time, the invention also discloses a safety monitoring method for student dormitories, which monitors the use of illegal electrical appliances, cuts off the power when the power limit exceeds the specified upper limit, and reports the dormitory information of illegal electrical appliances to the management personnel at the same time. Management personnel can go to the scene for processing in the first time.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1为本发明实施例所提供的学生宿舍安全监控系统结构图Fig. 1 is the structural diagram of the student dormitory security monitoring system provided by the embodiment of the present invention

图2为本发明实施例所提供的功率/电能测量电路的电路图;Fig. 2 is the circuit diagram of the power/energy measuring circuit provided by the embodiment of the present invention;

图3为本发明实施例所提供的温度测量电路的电路图;Fig. 3 is the circuit diagram of the temperature measuring circuit provided by the embodiment of the present invention;

图4为本发明实施例所提供的继电器输出电路的电路图;Fig. 4 is the circuit diagram of the relay output circuit provided by the embodiment of the present invention;

图5为本发明实施例所提供的电压测量电路的电路图;5 is a circuit diagram of a voltage measurement circuit provided by an embodiment of the present invention;

图6为本发明实施例所提供的报警电路的电路图;6 is a circuit diagram of an alarm circuit provided by an embodiment of the present invention;

图7为本发明实施例所提供的存储电路的电路图;FIG. 7 is a circuit diagram of a storage circuit provided by an embodiment of the present invention;

图8为本发明实施例所提供的学生宿舍安全监控方法流程图;Fig. 8 is a flow chart of a student dormitory safety monitoring method provided by an embodiment of the present invention;

图9为本发明实施例所提供的结合所述学生宿舍安全监控系统的整体软件方法流程图;9 is a flow chart of the overall software method combined with the student dormitory security monitoring system provided by the embodiment of the present invention;

图10为本发明实施例所提供的学生宿舍安全系统内部结构示意图。Fig. 10 is a schematic diagram of the internal structure of the student dormitory security system provided by the embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的目的是提供一种学生宿舍安全监控系统及方法,对每个宿舍的安全隐患实时监控,从多方面对宿舍安全进行监控,提高监控结果的准确性。The purpose of the present invention is to provide a student dormitory safety monitoring system and method, which can monitor the potential safety hazards of each dormitory in real time, monitor the dormitory safety from various aspects, and improve the accuracy of monitoring results.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

图1为本发明实施例所提供的学生宿舍安全监控系统结构图,如图1所示,一种学生宿舍安全监控系统,包括:单片机1、功率/电能测量电路2、温度测量电路3、烟雾检测电路4、时钟电路5、电压测量电路6、显示电路7、报警电路8、全球移动通信系统(Global SystemforMobile Communication,GSM)模块9、继电器输出电路10、存储电路11以及上位机12;所述功率/电能测量电路2、所述温度测量电路3、所述烟雾检测电路4、所述时钟电路5、所述电压测量电路6、所述显示电路7、所述报警电路8、所述GSM模块9、所述继电器输出电路10、所述存储电路11以及所述上位机12分别与所述单片机1连接;所述学生宿舍安全监控系统安装在每个宿舍内,用于监测每个宿舍内的宿舍安全。Fig. 1 is the structural diagram of the student dormitory safety monitoring system provided by the embodiment of the present invention. As shown in Fig. Detection circuit 4, clock circuit 5, voltage measurement circuit 6, display circuit 7, alarm circuit 8, Global System for Mobile Communication (Global System for Mobile Communication, GSM) module 9, relay output circuit 10, storage circuit 11 and host computer 12; Power/energy measurement circuit 2, the temperature measurement circuit 3, the smoke detection circuit 4, the clock circuit 5, the voltage measurement circuit 6, the display circuit 7, the alarm circuit 8, the GSM module 9. The relay output circuit 10, the storage circuit 11 and the host computer 12 are respectively connected to the single-chip microcomputer 1; the student dormitory safety monitoring system is installed in each dormitory for monitoring the Dorms are safe.

本发明采用型号为AT89C52的单片机作为控制器,采用ADI公司型号为ADE7755的电能计量专用芯片对宿舍用电计量和测量功率;电压测量电路6通过电压互感器将电压信号变为电流信号,再将电流信号变为电压信号;再将电压信号发送到型号为ADC0832的转换器进行数据转换,并测量电压峰值,最后通过单片机1内部运算计算出有效电压。The present invention adopts the single-chip microcomputer that model is AT89C52 as controller, adopts ADI company model to be the electric energy metering special chip of ADE7755 to dormitory electricity metering and measurement power; voltage measuring circuit 6 changes voltage signal into current signal by voltage transformer, and then The current signal is converted into a voltage signal; then the voltage signal is sent to a converter of the model ADC0832 for data conversion, and the peak value of the voltage is measured, and finally the effective voltage is calculated through the internal operation of the single-chip microcomputer 1.

本发明通过型号为DS18B20的温度传感器对宿舍内的温度进行测量;利用型号为QM-2的烟雾传感器对宿舍内烟雾进行检测。The invention measures the temperature in the dormitory through the temperature sensor of model DS18B20; uses the smoke sensor of model QM-2 to detect the smoke in the dormitory.

将测量出的电能、功率、电压、温度、时钟通过型号为LCD1602的液晶显示屏进行显示。The measured electric energy, power, voltage, temperature, and clock are displayed on the liquid crystal display of model LCD1602.

当宿舍发生火灾警情或使用大功率违章电器时,发出报警并把信息传到上位机12和通过GSM模块9将信息以手机短信的形式发送到宿舍管理中心。When the dormitory broke out in a fire alarm situation or used a high-power illegal electrical appliance, an alarm was sent and the information was transmitted to the upper computer 12 and the information was sent to the dormitory management center in the form of a mobile phone message by the GSM module 9.

在实际应用中,如图2所示,所述功率/电能测量电路具体包括:电阻、电容、计量芯片、稳压管、压敏电阻、第一三端稳压集成电路、光电耦合器以及晶体振荡器;所述电阻包括i个电阻,0<i≤26;所述电容包括j个电容,0<j≤16;第一电阻至第十二电阻串联,得到电阻串联串;所述电阻串联串与第十二电容至第十四电容以及第十三电阻至第十四电阻并联,得到并联串;所述并联串与所述计量芯片相连接;第二十一电阻分别与第十一电容以及所述计量芯片连接;第二十二电阻分别与第十二电容以及所述计量芯片连接;所述锰铜电阻并联在所述第二十一电阻和所述第二十二电阻之间;所述稳压管与所述压敏电阻并联;第一电容、第二十三电阻以及所述稳压管串联在一起;所述稳压管、第二电容至第五电容、所述第一三端稳压集成电路、第十五电容以及第十六电容并联在一起;所述稳压管和所述第二电容之间设有第一二极管;第四电容和第五电容之间设有第二十四电阻;所述计量芯片与光电耦合器相连接;所述光电耦合器与第二十六电阻相连接;所述光电耦合器还与发光二极管相连接;所述发光二极管与第二十五电阻相连接;所述计量芯片分别与所述晶体振荡器以及第九电容相连接;所述第九电容和第十电容串联。In practical applications, as shown in Figure 2, the power/electric energy measurement circuit specifically includes: a resistor, a capacitor, a metering chip, a voltage regulator, a piezoresistor, a first three-terminal voltage regulator integrated circuit, a photocoupler, and a crystal Oscillator; the resistor includes i resistors, 0<i≤26; the capacitor includes j capacitors, 0<j≤16; the first resistor to the twelfth resistor are connected in series to obtain a resistor series string; the resistors are connected in series The string is connected in parallel with the twelfth capacitor to the fourteenth capacitor and the thirteenth resistor to the fourteenth resistor to obtain a parallel string; the parallel string is connected to the metering chip; the twenty-first resistor is respectively connected to the eleventh capacitor and the metering chip is connected; the twenty-second resistor is respectively connected to the twelfth capacitor and the metering chip; the manganin resistor is connected in parallel between the twenty-first resistor and the twenty-second resistor; The voltage regulator tube is connected in parallel with the piezoresistor; the first capacitor, the twenty-third resistor, and the voltage regulator tube are connected in series; the voltage regulator tube, the second capacitor to the fifth capacitor, the first The three-terminal voltage stabilizing integrated circuit, the fifteenth capacitor and the sixteenth capacitor are connected together in parallel; a first diode is arranged between the voltage stabilizing tube and the second capacitor; between the fourth capacitor and the fifth capacitor The twenty-fourth resistor is provided; the metering chip is connected with the photocoupler; the photocoupler is connected with the twenty-sixth resistor; the photocoupler is also connected with the light-emitting diode; the light-emitting diode is connected with the The twenty-fifth resistor is connected; the metering chip is respectively connected with the crystal oscillator and the ninth capacitor; the ninth capacitor is connected in series with the tenth capacitor.

在实际应用中,如图3所示,所述温度测量电路具体包括:温度传感器以及第三十四电阻;所述温度传感器与所述第三十四电阻并联。In practical applications, as shown in FIG. 3 , the temperature measurement circuit specifically includes: a temperature sensor and a thirty-fourth resistor; the temperature sensor is connected in parallel with the thirty-fourth resistor.

在实际应用中,如图4所示,所述继电器输出电路10具体包括:两个继电器输出模块;所述继电器输出模块包括二极管、三极管以及电阻;所述三极管的发射极与所述二极管相连接;所述三极管的集电极接地;所述三极管的基极与所述电阻相连接。In practical applications, as shown in Figure 4, the relay output circuit 10 specifically includes: two relay output modules; the relay output module includes a diode, a triode and a resistor; the emitter of the triode is connected to the diode ; The collector of the triode is grounded; the base of the triode is connected to the resistor.

在实际应用中,如图5所示,所述电压测量电路6具体包括:双线圈、整流桥、转换器、第二三端稳压集成电路以及第十七电容至第二十电容;所述双线圈与所述整流桥相连接;所述第二三端稳压集成电路与并联的第十七电容以及第十八电容相连接;所述第二三端稳压集成电路还与并联的第十九电容以及第二十电容相连接。In practical applications, as shown in FIG. 5, the voltage measurement circuit 6 specifically includes: a double coil, a rectifier bridge, a converter, a second three-terminal voltage stabilizing integrated circuit, and the seventeenth to twentieth capacitors; The double coil is connected with the rectifier bridge; the second three-terminal voltage stabilizing integrated circuit is connected with the seventeenth capacitor and the eighteenth capacitor connected in parallel; the second three-terminal voltage stabilizing integrated circuit is also connected with the parallel connected The nineteenth capacitor and the twentieth capacitor are connected.

在实际应用中,如图6所示,所述报警电路8具体包括:三极管、蜂鸣器以及电阻;所述三极管的发射极与电源相连接;所述三极管的集电极与所述蜂鸣器相连接;所述三极管的基极与所述电阻相连接。In practical applications, as shown in Figure 6, the alarm circuit 8 specifically includes: a triode, a buzzer and a resistor; the emitter of the triode is connected to a power supply; the collector of the triode is connected to the buzzer connected; the base of the triode is connected with the resistor.

在实际应用中,如图7所示,所述存储电路11具体包括:存储器件、第三十一电阻以及第三十二电阻;所述第三十一电阻与所述第三十二电阻分别与所述存储器件的不同接口相连接。In practical applications, as shown in FIG. 7 , the storage circuit 11 specifically includes: a storage device, a thirty-first resistor, and a thirty-second resistor; the thirty-first resistor and the thirty-second resistor are respectively It is connected with different interfaces of the storage device.

本发明采用型号为AT89C52的单片机作为控制器;采用ADE7755电能专用测量芯片对电能和功率进行测量,测量得到的电能在断电前存储在型号为24C02的存储器件中,通电以后单片机读取上次存储的电能。The present invention adopts the AT89C52 single-chip microcomputer as the controller; adopts the ADE7755 electric energy special measurement chip to measure the electric energy and power, and the measured electric energy is stored in the storage device of the model 24C02 before the power is turned off, and the single-chip microcomputer reads the last time after the power is turned on. stored electrical energy.

多功能电能可根据ADE7755芯片输出脉冲个数计量电能,根据两脉冲的时间间隔即可计算负载所消耗的功率;当宿舍电器功率超过安全值时,单片机控制继电器实现宿舍断电功能,能有效限制大功率用电器的使用。当宿舍使用违章电器时,进行断电处理,3分钟后接通电源,把相关信息通过GSM模块9以短信的方式发送到宿舍管理中心工作人员手机中,同时把信息发送给上位机12,使管理人员第一时间赶去处理。The multi-functional electric energy can be measured according to the number of pulses output by the ADE7755 chip, and the power consumed by the load can be calculated according to the time interval between two pulses; when the power of the electrical appliances in the dormitory exceeds the safe value, the single-chip microcomputer controls the relay to realize the power-off function of the dormitory, which can effectively limit The use of high-power electrical appliances. When the dormitory uses an illegal electrical appliance, the power is turned off, and the power is turned on after 3 minutes, and the relevant information is sent to the mobile phone of the dormitory management center staff in the form of a text message through the GSM module 9, and the information is sent to the upper computer 12 at the same time. The management staff rushed to deal with it as soon as possible.

多功能电能表收到宿管理中心通过上位机12发送的抄表信息后,通过GSM模块9将电能以手机短信的形式发送到宿舍电能管理中心,实现无线抄表功能。After receiving the meter reading information sent by the dormitory management center through the upper computer 12, the multi-functional electric energy meter sends the electric energy to the dormitory electric energy management center in the form of a mobile phone message through the GSM module 9 to realize the wireless meter reading function.

本发明通过DS18B20温度传感器对宿舍温度进行测量,方便同学了解宿舍内温度;采用QM-2烟雾传感器检测宿舍内烟雾,用于宿舍火灾检测,一旦有火灾发生时,周边环境温度相应的升高,空气中充满一定浓度的烟雾。当温度超过安全值或烟雾传感器检测到烟雾时有火灾发生,蜂鸣器发出声音报警,并将报警信息通过GSM模块9以短信的方式发送到宿舍管理中心工作人员手机中,同时把信息发送给上位机12。The invention measures the temperature of the dormitory through the DS18B20 temperature sensor, which is convenient for students to understand the temperature in the dormitory; the QM-2 smoke sensor is used to detect the smoke in the dormitory, which is used for fire detection in the dormitory. Once a fire occurs, the surrounding environment temperature rises accordingly, The air is filled with a certain concentration of smoke. When the temperature exceeds the safety value or the smoke sensor detects smoke, a fire occurs, and the buzzer sends a sound alarm, and the alarm information is sent to the mobile phone of the dormitory management center staff in the form of a short message through the GSM module 9, and the information is sent to Host computer 12.

本发明还通过交流电压互感器对电网电压进行采样、滤波,通过ADC0832实现电压的测量;采用LCD1602液晶显示屏显示电能、功率、温度、电压、时钟等。The invention also samples and filters the grid voltage through the AC voltage transformer, and realizes voltage measurement through the ADC0832; uses an LCD1602 liquid crystal display screen to display electric energy, power, temperature, voltage, clock and the like.

图8为本发明实施例所提供的学生宿舍安全监控方法流程图,如图8所示,一种学生宿舍安全监控方法,包括:Fig. 8 is a flowchart of a student dormitory safety monitoring method provided by an embodiment of the present invention. As shown in Fig. 8, a student dormitory safety monitoring method includes:

步骤801:获取每个宿舍的当前温度值;Step 801: Obtain the current temperature value of each dormitory;

步骤802:判断所述当前温度值是否超出温度阈值,若是,执行步骤803,若否,执行步骤804;Step 802: Judging whether the current temperature value exceeds the temperature threshold, if yes, execute step 803, if not, execute step 804;

步骤803:发出警报;Step 803: issue an alarm;

步骤804:获取每个宿舍的烟雾浓度值;Step 804: Obtain the smoke concentration value of each dormitory;

步骤805:判断所述烟雾浓度值是否超出烟雾浓度阈值,若是,执行步骤806,若否,执行步骤807;Step 805: Judging whether the smoke concentration value exceeds the smoke concentration threshold, if yes, go to step 806, if not, go to step 807;

步骤806:发出警报;Step 806: issue an alarm;

步骤807:获取每个宿舍的用电电能;Step 807: Obtain the power consumption of each dormitory;

步骤808:根据所述用电电能计算每个宿舍的用电功率;Step 808: Calculate the power consumption of each dormitory according to the power consumption;

步骤809:判断所述用电功率是否超出功率安全值,若是,执行步骤810,若否,返回步骤801;Step 809: Judging whether the electric power exceeds the power safety value, if yes, execute step 810, if not, return to step 801;

步骤810:对超出功率安全值的相应宿舍断电并将宿舍信息发送至客户端;所述客户端包括上位机以及宿舍管理中心工作人员的手机;当学生上课期间,有人进入宿舍,或有火灾发生时,发出声音报警,还可以将警情传到每个学生手机中。Step 810: Power off the corresponding dormitory that exceeds the power safety value and send the dormitory information to the client; the client includes the host computer and the mobile phone of the staff of the dormitory management center; when students are in class, someone enters the dormitory, or there is a fire When it happens, an audible alarm can be sent, and the alarm can also be transmitted to each student's mobile phone.

图9为本发明实施例所提供的结合所述学生宿舍安全监控系统的整体软件方法流程图,如图9所示,为了满足宿舍安全的需要,急需改变现有的用电管理方法,本发明采用限制功率方法限制宿舍大功率电器使用,兼具有电能计量、无线抄表、电压和温度测量等功能,同时增加了时钟显示,火灾报警等辅助功能;本发明具体实现如下功能:Figure 9 is a flow chart of the overall software method combined with the student dormitory safety monitoring system provided by the embodiment of the present invention. The method of limiting power is used to limit the use of high-power electrical appliances in the dormitory, and it has functions such as electric energy metering, wireless meter reading, voltage and temperature measurement, etc. At the same time, auxiliary functions such as clock display and fire alarm are added; the invention specifically realizes the following functions:

(1)实现电能和功率的测量,误差±1%;(1) Realize the measurement of electric energy and power, with an error of ±1%;

(2)实现通过GSM无线抄表;(2) Realize wireless meter reading through GSM;

(3)实现温度测量,误差±1℃;(3) Realize temperature measurement with an error of ±1°C;

(4)实现烟雾检测功能;(4) Realize the smoke detection function;

(5)实现火灾声音报警;(5) Realize fire sound alarm;

(6)实现通过GSM发送火灾报警信息;(6) Realize sending fire alarm information through GSM;

(7)实现电压的测量;(7) Realize the measurement of voltage;

(8)实现液晶显示屏显示电能、功率、温度、电压、时间日期等;(8) Realize the liquid crystal display to display electric energy, power, temperature, voltage, time and date, etc.;

(9)实现上位机监控。(9) Realize the monitoring of the upper computer.

本发明所提供的宿舍安全监控系统一共分为两层:PC上位机监控Web界面和下位机监控单元电路模块。系统结构设计方案如图10所示。The dormitory safety monitoring system provided by the present invention is divided into two layers: a PC upper computer monitoring web interface and a lower computer monitoring unit circuit module. The system structure design scheme is shown in Figure 10.

上位机系统界面采用成熟的SpringMVC3+Hibernate3进行开发,数据库采用了高性能、稳定的Oracle11g数据库。在权限控制中采用的是Spring Security设计。项目全程采用注解方式实现,避免了传统的配置文件的繁琐配置。项目更加便于管理和运行。设计的下位机通过Wi-Fi通讯技术将数据传输到中心服务器,上位机通过程序控制读取服务器端口的数据信息,完成远程PC机的实时监测,能够实时观测到每个宿舍相关信息。The upper computer system interface is developed using mature SpringMVC3+Hibernate3, and the database uses high-performance and stable Oracle11g database. The Spring Security design is used in the permission control. The entire project is realized by annotations, which avoids the cumbersome configuration of traditional configuration files. Projects are easier to manage and run. The designed lower computer transmits data to the central server through Wi-Fi communication technology, and the upper computer reads the data information of the server port through program control, completes the real-time monitoring of the remote PC, and can observe the relevant information of each dormitory in real time.

下位机各个监控单元构成监控节点,每个单元独立运行,并通过Wi-Fi模式经数据传输到上层服务器,每个节点自由安放在宿舍内的每个位置,由上位机统一监控。Each monitoring unit of the lower computer constitutes a monitoring node, each unit operates independently, and transmits data to the upper server through Wi-Fi mode, each node is freely placed in each position in the dormitory, and is uniformly monitored by the upper computer.

下位机由主控制单元、火灾监测模块、用电监测模块、防盗监测模块、时钟电路模块、液晶显示模块、报警模块、控电模块、存储电路模块组成。The lower computer is composed of a main control unit, a fire monitoring module, a power consumption monitoring module, an anti-theft monitoring module, a clock circuit module, a liquid crystal display module, an alarm module, a power control module, and a storage circuit module.

(1)主控制单元主要功能是将各个监测模块传输过来的大量信息进行统一整理及处理,并将处理好的信号信息,通过搭载在主控芯片上的Wi-Fi通信模块传输到远程PC机上进行显示。由于宿舍环境较为复杂,存在强烈的干扰信号,因此需要选择功能强大、运行速率快、抗干扰性强、价格低廉、体积小的主控芯片,本系统选择STC89C52单片机。(1) The main function of the main control unit is to unify and process a large amount of information transmitted by each monitoring module, and transmit the processed signal information to the remote PC through the Wi-Fi communication module mounted on the main control chip to display. Due to the complex dormitory environment and strong interference signals, it is necessary to choose a main control chip with powerful functions, fast operation speed, strong anti-interference, low price, and small size. This system chooses STC89C52 single-chip microcomputer.

(2)火灾监测模块包括温度监测模块和烟雾监测模块,主要负责采集宿舍内的温度和烟雾浓度。温度传感器选择DS18B20,烟雾传感器选择QM-2。(2) The fire monitoring module includes a temperature monitoring module and a smoke monitoring module, which are mainly responsible for collecting the temperature and smoke concentration in the dormitory. Choose DS18B20 for the temperature sensor and QM-2 for the smoke sensor.

(3)用电监测模块由电能/功率监测电路、电压监测电路和电流监测电路组成。(3) The electricity consumption monitoring module is composed of an electric energy/power monitoring circuit, a voltage monitoring circuit and a current monitoring circuit.

电能采集和功率测量主要是对ADE7755采集的模拟信号转化成频率信号。ADE7755通过计算通道1和通道2两个输入电压V1、V2乘积,经LPF(低通滤波)消除高频杂波干扰后,送入数字脉冲转换器。Electric energy collection and power measurement are mainly to convert the analog signal collected by ADE7755 into a frequency signal. ADE7755 calculates the product of the two input voltages V1 and V2 of channel 1 and channel 2, and after eliminating high-frequency clutter interference by LPF (low-pass filter), it is sent to the digital pulse converter.

电压测量采用南京泽明电子公司的ZMPT101微型精密电压互感器降压测量。ZMPT101是一款毫安级精密电压互感器,输入额定电流为2mA,额定输出电流为2mA,变化为1000:1000,线性度为0.1%。使用时需要将输出电流信号转换成电压信号。来自电网的电压通过50K水泥电阻限流,输入到南京泽明电子公司的微型精密电压互感器输入端。The voltage measurement adopts the ZMPT101 miniature precision voltage transformer of Nanjing Zeming Electronics Co., Ltd. for step-down measurement. ZMPT101 is a milliampere precision voltage transformer with a rated input current of 2mA, a rated output current of 2mA, a variation of 1000:1000, and a linearity of 0.1%. When used, the output current signal needs to be converted into a voltage signal. The voltage from the power grid is limited by a 50K cement resistor and input to the input terminal of the miniature precision voltage transformer of Nanjing Zeming Electronics Company.

(4)控电模块通过控制继电器来实现,当宿舍用电功率过大时,通过单片机发出断电信号,继电器由闭合状态变成断开状态,切断宿舍电源。三分钟后恢复供电,能有效限制宿舍大功率电器的使用。当宿舍出现火灾时,单片机发出断电信号,当宿舍恢复正常后恢复供电。(4) The power control module is realized by controlling the relay. When the power consumption of the dormitory is too large, a power-off signal is sent through the single-chip microcomputer, and the relay changes from the closed state to the open state, cutting off the power supply of the dormitory. The power supply is restored after three minutes, which can effectively limit the use of high-power electrical appliances in the dormitory. When there is a fire in the dormitory, the single-chip microcomputer sends a power-off signal, and the power supply is restored when the dormitory returns to normal.

(5)采用DS1302时钟芯片实现时钟,DS1302是一种高性能、低功耗、带RAM的实时时钟电路,它可以对年、月、日、周、时、分、秒计时,具有闰年补偿功能,工作电压为2.5V~5.5V。(5) The DS1302 clock chip is used to realize the clock. DS1302 is a high-performance, low-power, real-time clock circuit with RAM. It can time the year, month, day, week, hour, minute, and second, and has a leap year compensation function , The operating voltage is 2.5V ~ 5.5V.

(6)采用LCD1602字符液晶显示器,能够同时显示16×02即32个字符。1602液晶驱动简单,性价比相对较高,接口电路简单,可以和单片机直接相连。(6) LCD1602 character liquid crystal display is adopted, which can display 16×02 or 32 characters at the same time. 1602 LCD is simple to drive, relatively high cost performance, simple interface circuit, and can be directly connected to a single-chip microcomputer.

采用本发明所提供的学生宿舍安全监控方法及系统能够达到以下效果:The student dormitory safety monitoring method and system provided by the present invention can achieve the following effects:

(1)功耗低(1) Low power consumption

安全监控单元的硬件电路中所采用的均为性能高、能耗低、成本低的元器件,能够有效的降低监控单元的能耗和成本。能够实现监控单元模块的长时间工作,实现节约能源,体现环境绿色的设计理念。The hardware circuits of the security monitoring unit are all components with high performance, low energy consumption and low cost, which can effectively reduce the energy consumption and cost of the monitoring unit. It can realize the long-time work of the monitoring unit module, realize energy saving, and embody the design concept of environmental green.

(2)监控精度高(2) High monitoring accuracy

本系统主要功能是监测宿舍内的电能、电压、温度、烟雾浓度等参数,并要实现高精度的检测,数据的精准程度直接关系到其他子系统的相关工作状态,同时也能为学生提供一个更加放心、安全的居住环境。由于系统采用的都是高精密传感器,能够实现参数高精度监测:电能测量误差<±1%;电压测量误差<±2%;温度测量精度小于±0.5℃;烟雾浓度测量精度达到0.1%。The main function of this system is to monitor parameters such as electric energy, voltage, temperature, and smoke concentration in the dormitory, and to achieve high-precision detection. The accuracy of the data is directly related to the related working status of other subsystems, and it can also provide students with a A more secure and safe living environment. Since the system uses high-precision sensors, it can realize high-precision monitoring of parameters: electric energy measurement error <±1%; voltage measurement error <±2%; temperature measurement accuracy is less than ±0.5°C; smoke concentration measurement accuracy reaches 0.1%.

(3)体积小(3) Small size

每个监控单元都作为一个监测节点,设计小巧、简单科学、美观实用,Wi-Fi传输模块与PCB板结合实现监测功能,可以极大的节省室内的空间。Each monitoring unit is used as a monitoring node, the design is compact, simple and scientific, beautiful and practical, and the Wi-Fi transmission module is combined with the PCB board to realize the monitoring function, which can greatly save the indoor space.

(4)成本低(4) Low cost

由于目前市场上没有一款产品包括了火灾报警装置、电能监测装置、时钟装置,即可以实现火灾报警、电能监测和断电、时钟能功能。市面上这些功能由不同厂家生产,每个产品都由各自的智能芯片控制,如果全部购买这三个产品,造成了成本的升高。本系统采用一个智能芯片来实现这多方面的功能,成本会大大降低。Since none of the products currently on the market includes a fire alarm device, an electric energy monitoring device, and a clock device, the functions of fire alarm, electric energy monitoring, power failure, and clock energy can be realized. These functions on the market are produced by different manufacturers, and each product is controlled by its own smart chip. If all three products are purchased, the cost will increase. This system uses an intelligent chip to realize these various functions, and the cost will be greatly reduced.

(5)功能齐全(5) Fully functional

现阶段市面上还没有一款集火灾预警、电能监控和时钟显示功能于一体的产品。本系统可以实现的功能:实现电能和功率的测量;实现大功率断电;实现判断用电设备类别;实现电压测量;实现火灾预警;实现液晶显示屏显示电能、功率、温度、电压、烟雾浓度、时间日期等;实现上位机监控。At this stage, there is no product on the market that integrates fire warning, power monitoring and clock display functions. The functions that this system can realize: realize the measurement of electric energy and power; realize high-power power off; realize the judgment of the type of electrical equipment; realize voltage measurement; , time and date, etc.; realize the monitoring of the upper computer.

(6)可靠性高(6) High reliability

由于该系统的功能是实现宿舍相关参数的实时监测,并实时传输到远程PC机中进行显示,所以每个单元节点与上位机之间的通讯非常频繁。因此需要在信号传输过程中提高信号传输的可靠性。随着4G技术的发展,WLAN技术也在备受人们的关注,Wi-Fi技术也逐渐成为大家关注的焦点。选用Wi-F传输技术作为数据传输的无线通信技术,该技术传输距离远,覆盖面广;因无需布线,成本低廉;Wi-Fi发射功率小,安全性强。Since the function of the system is to realize the real-time monitoring of relevant parameters in the dormitory and transmit them to the remote PC for display in real time, the communication between each unit node and the host computer is very frequent. Therefore, it is necessary to improve the reliability of signal transmission during the signal transmission process. With the development of 4G technology, WLAN technology is also attracting people's attention, and Wi-Fi technology has gradually become the focus of everyone's attention. The Wi-F transmission technology is selected as the wireless communication technology for data transmission. This technology has a long transmission distance and wide coverage; because no wiring is required, the cost is low; the Wi-Fi transmission power is small and the security is strong.

(7)容错性好(7) Good fault tolerance

系统中的每个终端节点能保证独立工作,即使其中某个节点的硬件监测模块发生故障,也不会影响到其他单元和整体系统的运行。Each terminal node in the system can guarantee to work independently, even if the hardware monitoring module of one of the nodes fails, it will not affect the operation of other units and the overall system.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those of ordinary skill in the art, according to the present invention Thoughts, there will be changes in specific implementation methods and application ranges. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (8)

1. a kind of students' dormitory safety monitoring system, which is characterized in that including:Microcontroller, power/energy measuring circuit, temperature Measuring circuit, Smoke Detection circuit, clock circuit, tension measuring circuit, display circuit, warning circuit, gsm module, relay Output circuit, storage circuit and host computer;
It is the power/energy measuring circuit, the temperature measuring circuit, the Smoke Detection circuit, the clock circuit, described Tension measuring circuit, the warning circuit, the gsm module, the outputting circuit for relay, described is deposited the display circuit Storing up electricity road and the host computer are connect with the microcontroller respectively;The students' dormitory safety monitoring system is mounted on each place In house, for monitoring the safety of the dormitory in each dormitory.
2. dormitory safety monitoring system according to claim 1, which is characterized in that the power/energy measuring circuit tool Body includes:Resistance, capacitance, computation chip, voltage-stabiliser tube, varistor, the first circuit of three-terminal voltage-stabilizing integrated, photoelectrical coupler and Crystal oscillator;
The resistance includes i resistance, 0 i≤26 <;The capacitance includes j capacitance, 0 j≤16 <;
First resistor to twelfth resistor is connected, and resistance series string is obtained;The resistance series string respectively with the 12nd capacitance extremely 14th capacitance and thirteenth resistor obtain string in parallel to the 14th resistor coupled in parallel;The string in parallel and the computation chip It is connected;21st resistance is connect with the 11st capacitance and the computation chip respectively;22nd resistance is respectively with 12 capacitances and computation chip connection;Copper-manganese resistor coupled in parallel is in the 21st resistance and the 22nd resistance Between;
The voltage-stabiliser tube is in parallel with the varistor;First capacitance, the 23rd resistance and the voltage-stabiliser tube are connected on one It rises;The voltage-stabiliser tube, the second capacitance to the 5th capacitance, first circuit of three-terminal voltage-stabilizing integrated, the 15th capacitance and the tenth Six capacitances are connected in parallel;The first diode is equipped between the voltage-stabiliser tube and second capacitance;4th capacitance and the 5th electricity The 24th resistance is equipped between appearance;
The computation chip is connected with photoelectrical coupler;The photoelectrical coupler is connected with the 26th resistance;The light Electric coupler is also connected with light emitting diode;The light emitting diode is connected with the 25th resistance;The computation chip It is connected respectively with the crystal oscillator and the 9th capacitance;9th capacitance and the series connection of the tenth capacitance.
3. dormitory safety monitoring system according to claim 1, which is characterized in that the temperature measuring circuit specifically wraps It includes:Temperature sensor and the 34th resistance;
The temperature sensor and the 34th resistor coupled in parallel.
4. dormitory safety monitoring system according to claim 1, which is characterized in that the outputting circuit for relay specifically wraps It includes:Two relay output modules;
The relay output module includes diode, triode and resistance;
The emitter of the triode is connected with the diode;The grounded collector of the triode;The triode Base stage is connected with the resistance.
5. dormitory safety monitoring system according to claim 1, which is characterized in that the tension measuring circuit specifically wraps It includes:Twin coil, rectifier bridge, converter, the second circuit of three-terminal voltage-stabilizing integrated and the 17th capacitance to the 20th capacitance;
The twin coil is connected with the rectifier bridge;Second circuit of three-terminal voltage-stabilizing integrated and the 17th capacitance in parallel with And the 18th capacitance be connected;Second circuit of three-terminal voltage-stabilizing integrated also with the 19th capacitance in parallel and the 20th capacitance It is connected.
6. dormitory safety monitoring system according to claim 1, which is characterized in that the warning circuit specifically includes:Three Pole pipe, buzzer and resistance;
The emitter of the triode is connected with power supply;The collector of the triode is connected with the buzzer;It is described The base stage of triode is connected with the resistance.
7. dormitory safety monitoring system according to claim 1, which is characterized in that the storage circuit specifically includes:It deposits Memory device, the 31st resistance and the 32nd resistance;
31st resistance is connected with the distinct interface of the memory device respectively with the 32nd resistance.
8. a kind of students' dormitory method for safety monitoring, which is characterized in that the monitoring system includes:Microcontroller, power/energy are surveyed Measure circuit, temperature measuring circuit, Smoke Detection circuit, clock circuit, tension measuring circuit, display circuit, warning circuit, GSM Module, outputting circuit for relay, storage circuit and host computer;The power/energy measuring circuit, the temperature measure electricity Road, the Smoke Detection circuit, the clock circuit, the tension measuring circuit, the display circuit, the warning circuit, The gsm module, the outputting circuit for relay, the storage circuit and the host computer connect with the microcontroller respectively It connects;The students' dormitory safety monitoring system is mounted in each dormitory, for monitoring the safety of the dormitory in each dormitory;
The monitoring method includes:
Obtain the current temperature value of each dormitory;
Judge whether the current temperature value exceeds temperature threshold, obtains the first judging result;
If first judging result, which is expressed as the current temperature value, exceeds temperature threshold, alarm is sent out;
If first judging result is expressed as the current temperature value without departing from temperature threshold, the smog for obtaining each dormitory is dense Angle value;
Judge whether the smokescope value exceeds smoke density threshold value, obtains the second judging result;
If second judging result, which is expressed as the smokescope value, exceeds smoke density threshold value, alarm is sent out;
If second judging result is expressed as the smokescope value without departing from smoke density threshold value, the use of each dormitory is obtained Electric energy;
The electric power of each dormitory is calculated according to the electricity consumption electric energy;
Judge whether the electric power exceeds Power Safe value, obtains third judging result;
If the third judging result, which is expressed as the electric power, exceeds Power Safe value, to beyond the corresponding of Power Safe value Dormitory powers off and dormitory information is sent to client;The client includes host computer and dormitory management care workers Mobile phone.
CN201810364159.XA 2018-04-23 2018-04-23 A student dormitory security monitoring system and method Pending CN108415338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810364159.XA CN108415338A (en) 2018-04-23 2018-04-23 A student dormitory security monitoring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810364159.XA CN108415338A (en) 2018-04-23 2018-04-23 A student dormitory security monitoring system and method

Publications (1)

Publication Number Publication Date
CN108415338A true CN108415338A (en) 2018-08-17

Family

ID=63136356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810364159.XA Pending CN108415338A (en) 2018-04-23 2018-04-23 A student dormitory security monitoring system and method

Country Status (1)

Country Link
CN (1) CN108415338A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144002A (en) * 2018-08-28 2019-01-04 宋文波 A kind of " coal changes electricity " intelligent monitor system based on big data platform
CN109361193A (en) * 2018-09-10 2019-02-19 淮安信息职业技术学院 A kind of student dormitory multifunctional protection device
CN109816922A (en) * 2018-10-28 2019-05-28 芜湖真玛信息科技有限公司 A kind of dormitory fire alarm
CN110148240A (en) * 2019-05-21 2019-08-20 河海大学文天学院 A kind of SCM Based dormitory gesture anti-theft device and its working method
CN113985785A (en) * 2021-10-28 2022-01-28 中国计量大学现代科技学院 Distributed electrical equipment operating state monitoring method
CN115116210A (en) * 2022-06-28 2022-09-27 武汉翰林文融教育咨询有限公司 Wisdom campus construction student electricity consumption safety monitoring early warning system of internet of things

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025399A (en) * 2010-10-08 2011-04-20 郭建国 Asymmetrical carrier communication system of electric energy meter
CN102104399A (en) * 2011-01-16 2011-06-22 郭建国 System for ensuring power line carrier communications between energy meter gateways and white information appliances
CN204926448U (en) * 2015-09-21 2015-12-30 南京财经学校 Students' dormitory electrical safety monitoring alarm system
CN205749666U (en) * 2016-07-14 2016-11-30 浙江财经大学东方学院 College Students ' Apartments high-power violated electrical equipment management equipment
CN206224745U (en) * 2016-11-23 2017-06-06 浙江师范大学 Bedroom intelligent safety system
CN107240053A (en) * 2017-06-15 2017-10-10 合肥讯邦网络科技有限公司 A kind of intelligent Dormitory management system
CN206848715U (en) * 2017-05-05 2018-01-05 南昌航空大学 A kind of intelligent bedroom tele-control system based on ESP8266
CN107907163A (en) * 2017-11-29 2018-04-13 陕西玉航电子有限公司 SCM Based dormitory Multi-functional electricity-using monitoring system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025399A (en) * 2010-10-08 2011-04-20 郭建国 Asymmetrical carrier communication system of electric energy meter
CN102104399A (en) * 2011-01-16 2011-06-22 郭建国 System for ensuring power line carrier communications between energy meter gateways and white information appliances
CN204926448U (en) * 2015-09-21 2015-12-30 南京财经学校 Students' dormitory electrical safety monitoring alarm system
CN205749666U (en) * 2016-07-14 2016-11-30 浙江财经大学东方学院 College Students ' Apartments high-power violated electrical equipment management equipment
CN206224745U (en) * 2016-11-23 2017-06-06 浙江师范大学 Bedroom intelligent safety system
CN206848715U (en) * 2017-05-05 2018-01-05 南昌航空大学 A kind of intelligent bedroom tele-control system based on ESP8266
CN107240053A (en) * 2017-06-15 2017-10-10 合肥讯邦网络科技有限公司 A kind of intelligent Dormitory management system
CN107907163A (en) * 2017-11-29 2018-04-13 陕西玉航电子有限公司 SCM Based dormitory Multi-functional electricity-using monitoring system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
章杰侈: "基于物联网的高校宿舍安全智能监控系统", 《电子技术与软件工程》 *
蒋建春等: "《嵌入式系统原理及应用实例》", 31 December 2015 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144002A (en) * 2018-08-28 2019-01-04 宋文波 A kind of " coal changes electricity " intelligent monitor system based on big data platform
CN109361193A (en) * 2018-09-10 2019-02-19 淮安信息职业技术学院 A kind of student dormitory multifunctional protection device
CN109816922A (en) * 2018-10-28 2019-05-28 芜湖真玛信息科技有限公司 A kind of dormitory fire alarm
CN110148240A (en) * 2019-05-21 2019-08-20 河海大学文天学院 A kind of SCM Based dormitory gesture anti-theft device and its working method
CN113985785A (en) * 2021-10-28 2022-01-28 中国计量大学现代科技学院 Distributed electrical equipment operating state monitoring method
CN113985785B (en) * 2021-10-28 2024-04-23 中国计量大学现代科技学院 Distributed electrical equipment operation state monitoring method
CN115116210A (en) * 2022-06-28 2022-09-27 武汉翰林文融教育咨询有限公司 Wisdom campus construction student electricity consumption safety monitoring early warning system of internet of things
CN115116210B (en) * 2022-06-28 2023-09-12 蒯志清 Intelligent campus construction student electricity safety monitoring and early warning system based on Internet of things technology

Similar Documents

Publication Publication Date Title
CN108415338A (en) A student dormitory security monitoring system and method
CN205544597U (en) Multi -functional three -phase power monitoring device
CN201532590U (en) Temperature and humidity controller
CN102436732B (en) Electric energy quality type energy efficiency data acquisition terminal
CN204649816U (en) A kind of intelligent electric meter
CN102435838A (en) A basic power type energy efficiency data acquisition terminal
CN104422834A (en) Power grid safety supervision detection device based on intelligent electric meter
CN210166439U (en) Split type air conditioner controller electric energy meter
CN102394000B (en) Energy efficiency data concentration terminal
CN204758693U (en) A electrical measurement device for building intelligent electric system of using
CN205790754U (en) Smart jack and interactive terminal facility
CN203416050U (en) Transformer room low-voltage power supply remote real-time monitoring apparatus
CN203025851U (en) Multi-rate network electric power meter capable of displaying carbon emission amount
CN202256647U (en) Full-function multi-meter-position voltage monitor calibration device
CN203414526U (en) Intelligent electrical parameter monitoring meter
CN102445578A (en) Anti-stealing inspection monitoring and detection device
CN202305694U (en) Harmonic-wave electric quantity energy efficiency collection terminal
CN210517901U (en) Electric power efficiency monitor terminal of multipurpose
CN107677911A (en) A kind of electric energy quality detection device with electric fire disaster warning function
CN208254526U (en) Oil-field oil pumper multi-functional measurement instrument based on ZigBee
CN206339596U (en) Three-phase multifunctional electric instrument
CN205067595U (en) Three -phase network deployment detects ammeter
CN202563675U (en) Centralizing terminal for energy efficiency data
CN202421324U (en) Basic electric quantity type efficiency data acquisition terminal
CN114865796A (en) High tension switchgear monitoring system based on internet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817