[go: up one dir, main page]

CN104732708B - A kind of power station warning system and method - Google Patents

A kind of power station warning system and method Download PDF

Info

Publication number
CN104732708B
CN104732708B CN201510110131.XA CN201510110131A CN104732708B CN 104732708 B CN104732708 B CN 104732708B CN 201510110131 A CN201510110131 A CN 201510110131A CN 104732708 B CN104732708 B CN 104732708B
Authority
CN
China
Prior art keywords
signal
module
power station
data
wireless network
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.)
Expired - Fee Related
Application number
CN201510110131.XA
Other languages
Chinese (zh)
Other versions
CN104732708A (en
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.)
Henan University of Urban Construction
Original Assignee
Henan University of Urban Construction
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 Henan University of Urban Construction filed Critical Henan University of Urban Construction
Priority to CN201510110131.XA priority Critical patent/CN104732708B/en
Publication of CN104732708A publication Critical patent/CN104732708A/en
Application granted granted Critical
Publication of CN104732708B publication Critical patent/CN104732708B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/08Alarms for ensuring the safety of persons responsive to the presence of persons in a body of water, e.g. a swimming pool; responsive to an abnormal condition of a body of water
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses a kind of power station warning system and method, the system includes primary processor, from processor, GPS module, GPRS module, human body infrared detection module, gravity sensor module, voice output module, emergency processing module, the system is on the one hand, power station irregularly, sporadically carry the visitor of downstream river course timely and effectively being notified when lock discharges water, them are made to be withdrawn in time before flood arriving, it is to avoid unnecessary tragedy occurs;On the other hand, system is by detection device to ensureing that the visual plant that power station is normally run is monitored in real time, and preventing the loss of visual plant influences power station normally to run.

Description

一种水电站报警系统及方法A hydropower station alarm system and method

技术领域technical field

本发明属于水电站技术领域,涉及一种水电站报警系统及方法,具体地说,涉及一种基于TQ6410的水电站报警系统及方法。The invention belongs to the technical field of hydropower stations, and relates to a hydropower station alarm system and method, in particular to a TQ6410-based hydropower station alarm system and method.

背景技术Background technique

在国内,随着科学与技术的发展,应用在各个领域不同类型和功能的报警系统在市场上随处可见,但是,目前还没有一个针对水电站蓄水量达到警戒容量时,或者在枯水季节,水电站工作人员对水电站进行常规检修时,随机地提(升)闸放水的情况下,对水电站下游河道的游人进行及时有效的通知,使他们在洪水来临前,能快速离开,避免悲剧的发生,并且对保证水电站正常运行的重要设备的安全进行实时监控的综合、完善、有效的报警系统。In China, with the development of science and technology, alarm systems with different types and functions used in various fields can be seen everywhere in the market. However, there is currently no one for when the water storage capacity of hydropower stations reaches the warning capacity, or in dry seasons. When the staff of the hydropower station carry out routine maintenance on the hydropower station, when they randomly lift (lift) the gate to release water, they will promptly and effectively notify the tourists in the downstream river of the hydropower station, so that they can leave quickly before the flood, avoiding the tragedy. And it is a comprehensive, perfect and effective alarm system for real-time monitoring of the safety of important equipment that ensures the normal operation of the hydropower station.

发明内容Contents of the invention

为了克服现有技术中存在的缺陷,本发明提供一种水电站报警系统及方法,该系统一方面,在水电站不定期、不定时地提闸放水时对下游河道的游人进行及时有效的通知,使他们在洪水来临前及时撤离,避免不必要的悲剧发生;另一方面,系统通过检测设备对保证水电站正常运行的重要设备进行实时监控,防止重要设备的丢失影响水电站正常运行。In order to overcome the defects in the prior art, the present invention provides an alarm system and method for a hydropower station. On the one hand, when the hydropower station lifts gates and releases water from time to time, timely and effective notification is made to the tourists in the downstream river, so that They evacuated in time before the flood to avoid unnecessary tragedies; on the other hand, the system monitors in real time the important equipment that ensures the normal operation of the hydropower station through detection equipment to prevent the loss of important equipment from affecting the normal operation of the hydropower station.

其技术方案如下:Its technical scheme is as follows:

一种水电站报警系统,包括主处理器、从处理器、GPS模块、GPRS模块、人体红外检测模块、重力传感器模块、语音输出模块、应急处理模块。该报警系统实现的功能有三个,一是:当水电站放水时,主处理器发出指令,在本地启动大功率播放器播放“洪水来了,危险”的事先设定好的语音提示。同时,主处理器发出指令调用GPS定位信息读取函数,读取放水水电站的经纬度信息并将读取的数据分离,转换为无线网络可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站,通知他们哪个水电站放水以便做相应的准备工作。二是:人体红外检测到闸口危险区域有人进入后,主处理器启动大功率播放器播放语音警告,让游人撤离危险区域。三是:作为辅助监控功能的重力传感器检测到设备丢失信号后,则判定为防盗报警信号,系统调用GPS定位信息读取函数并将读取的数据分离,转换为无线网络可发送的数据,然后通过无线网络将数据发送给水电站管理中心或公安机关报警,使他们知道事发地的准确信息,做相应的快速防盗处理A hydropower station alarm system includes a main processor, a slave processor, a GPS module, a GPRS module, a human body infrared detection module, a gravity sensor module, a voice output module, and an emergency treatment module. The alarm system has three functions. One is: when the hydropower station releases water, the main processor sends an instruction to start a high-power player locally to play the pre-set voice prompt of "flood is coming, danger". At the same time, the main processor sends an instruction to call the GPS positioning information reading function, reads the latitude and longitude information of the water discharge hydropower station and separates the read data, converts it into data that can be sent by the wireless network, and then sends the data to the next station in real time through the wireless network. First-level hydropower stations, inform them which hydropower station will release water so that they can make corresponding preparations. The second is: after the human body infrared detects that someone has entered the dangerous area of the gate, the main processor starts a high-power player to play a voice warning to let visitors evacuate from the dangerous area. The third is: after the gravity sensor as an auxiliary monitoring function detects that the device loses the signal, it is judged as an anti-theft alarm signal, and the system calls the GPS positioning information reading function to separate the read data and convert it into data that can be sent by the wireless network, and then Send the data to the management center of the hydropower station or the public security organ to call the police through the wireless network, so that they can know the accurate information of the incident and do corresponding fast anti-theft processing

所述主处理器MCU,根据报警系统的实际性能需要选用天嵌科技提供的QT6410,此处理器是基于CPU的子系统的ARM1176JZF-S,具有JAVA加速引擎和16KB/16KBI/D缓存和16KB/16KBI/DTCM。在各自地TBDV和TBDV的400/533/667MHz操作频率。一个8位ITU601/656相机接口,用于缩放的高达4M像素,固定的16M像素。多标准编解码器提供的MPEG-4/H.263/H.264编码和解码的高达30帧/s,VC1视频解码、达到30帧/s。The main processor MCU needs to select QT6410 provided by Tianxie Technology according to the actual performance of the alarm system. This processor is based on the ARM1176JZF-S of the CPU subsystem and has a JAVA acceleration engine and 16KB/16KBI/D cache and 16KB/ 16KBI/DTCM. 400/533/667MHz operating frequency on TBDV and TBDV respectively. An 8-bit ITU601/656 camera interface, up to 4M pixels for scaling, 16M pixels for fixed. Multi-standard codec provides MPEG-4/H.263/H.264 encoding and decoding up to 30 frames/s, VC1 video decoding up to 30 frames/s.

所述从处理器,选用AT89C52单片机,人体红外检测到闸口危险区域有人进入后,此信号先传入单片机处理,再经主处理器处理,主处理器启动大功率播放器播放语音警告,让游人撤离危险区域。重力传感器检测到设备丢失信号后,此信号先经单片机AT89C52处理,再经主处理器处理,判定为防盗报警信号,系统调用GPS定位信息读取函数并将读取的数据分离,转换为无线网络GPRS可发送的数据,然后通过无线网络将数据发送给水电站管理中心或公安机关报警,使他们知道事发地的准确信息,做相应的快速防盗处理。The slave processor uses AT89C52 single-chip microcomputer. After the human body infrared detects that someone has entered the dangerous area of the gate, the signal is first transmitted to the single-chip microcomputer for processing, and then processed by the main processor. The main processor starts a high-power player to play a voice warning to let visitors Evacuate the danger area. After the gravity sensor detects that the device loses the signal, the signal is first processed by the single-chip microcomputer AT89C52, and then processed by the main processor, and it is judged as an anti-theft alarm signal. The system calls the GPS positioning information reading function and separates the read data and converts it into a wireless network. GPRS can send the data, and then send the data to the hydropower station management center or the public security agency to call the police through the wireless network, so that they can know the accurate information of the incident and do corresponding fast anti-theft processing.

所述GPS模块,根据系统性能要求和设计方便,选用台湾HOLUX公司开发的GPS模块M-87。M-87是一款高灵敏性,快速位置修正,低耗电量,漂移小的性价比很高的产品。M-87与主芯片连接使用的是1.25-6A接口,使用的是s3c6410芯片的UART3口。本系统中,主处理器发出指令调用GPS定位信息读取函数,读取放水水电站的经纬度信息并将读取的数据分离,转换为无线网络GPRS可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站。The GPS module, according to system performance requirements and design convenience, selects the GPS module M-87 developed by Taiwan HOLUX Company. M-87 is a product with high sensitivity, fast position correction, low power consumption, and small drift with high cost performance. The connection between M-87 and the main chip is 1.25-6A interface, and the UART3 port of s3c6410 chip is used. In this system, the main processor issues an instruction to call the GPS positioning information reading function, reads the longitude and latitude information of the water discharge hydropower station and separates the read data, converts the data that can be sent by the wireless network GPRS, and then transmits the data in real time through the wireless network. Sent to the next level hydropower station.

所述GPRS模块,GPRS模块来实现设计中语音短信报警信号,在设计中GPRS模块通过串口与主处理器QT6410直接相连,为系统设计提供了可靠性,节约了成本。选择百汇公司设计的无线GPRS模块,其是一款专为广大自由职业设计人员提供的高效、便捷的无线通信模块。无论何时何地通过手提电脑等方式都可自由移动上网,拨打电话,和短信收发。GPRS模块与主芯片连接使用的是PH-6A接口,使用的是s3c6410芯片的UART1口。主处理器获取经纬度信息后,转换为GPRS模块可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站,通知他们哪个水电站放水以便做相应的准备工作。Described GPRS module, GPRS module realizes the voice short message alarm signal in the design, and in the design GPRS module is directly connected with main processor QT6410 by serial port, has provided reliability for system design, has saved cost. Choose the wireless GPRS module designed by Baihui Company, which is an efficient and convenient wireless communication module specially provided for freelance designers. No matter when and where, you can freely move the Internet, make calls, and send and receive text messages through laptop computers and other methods. The GPRS module is connected with the main chip using the PH-6A interface and the UART1 port of the s3c6410 chip. After the main processor obtains the latitude and longitude information, it converts it into data that can be sent by the GPRS module, and then sends the data to the next-level hydropower station in real time through the wireless network, and informs them which hydropower station will release water for corresponding preparations.

所述人体红外检测模块,在本系统设计中,为实现在不被允许的情况下,闲杂人等进入水电站危险区域时,系统能及时有效地检测到人的进入,所以采用了人体红外温度检测技术。选用深圳市电应普科技有限公司设计DYP-ME003人体感应模块,该模块是基于红外线技术设计的一款自动控制产品,其优点灵敏度高,可靠性强,超低电压工作模式,也可干电池供电。此检测模块检测输出时的输出电压为高电平,而单片机AT89C52检测外部输入信号时只能检测到输入低电平,所以在设计电路时使用与非门的集成芯片HD74LSOOP做一个电平转换。The human body infrared detection module, in the design of this system, in order to realize that when idlers enter the dangerous area of the hydropower station without permission, the system can detect the entry of people in a timely and effective manner, so the human body infrared temperature detection module is adopted. technology. The DYP-ME003 human body induction module designed by Shenzhen Dianyingpu Technology Co., Ltd. is an automatic control product based on infrared technology. It has the advantages of high sensitivity, high reliability, ultra-low voltage working mode, and can also be powered by dry batteries. . When the detection module detects the output, the output voltage is high level, while the microcontroller AT89C52 can only detect the input low level when detecting the external input signal, so the integrated chip HD74LSOOP of the NAND gate is used to do a level conversion when designing the circuit.

所述重力传感器模块,在本系统设计中,为防止水电站重要设备的丢失,采用重力传感器作为重要设备丢失触发检测器。由于重力传感器输出的是模拟信号,且输出十分微弱的毫伏级信号,所以在设计时采用模拟放大器OP27G做一级信号放大,然后输入到模数转换器ADC0832中做数模转换,这样单片机才能获取到重力传感器检测到的信号。在本系统设计中,采用电阻应变式压力传感器,其是由弹性体和电阻应变片、电缆线等组成,而内部线路采用惠更斯电桥,当弹性体承受压力而发生变形时,电阻应变片(转换元件)的阻值将发生变化(增大或减小),从而使电桥失去平衡,产生相应的差动电信号,供后续电路放大和处理。模拟放大器OP27G是一款精度高,低噪声,高速放大,可一级放大1000倍以上的性价比很高的高性能放大器,且输出级具有良好的负载驱动能力。模数转换器ADC0832是美国国家半导体公司生产的一款8位分辨率,双通道的模数转换器,其工作原理为逐次逼近的方式实现模式转换;由于它体积小,兼容性强,性价比高。The gravity sensor module, in this system design, in order to prevent the loss of important equipment of the hydropower station, uses the gravity sensor as the trigger detector for the loss of important equipment. Since the output of the gravity sensor is an analog signal, and the output is a very weak millivolt level signal, the analog amplifier OP27G is used to amplify the first-level signal during design, and then input to the analog-to-digital converter ADC0832 for digital-to-analog conversion, so that the microcontroller can The signal detected by the gravity sensor is obtained. In this system design, a resistance strain pressure sensor is used, which is composed of an elastic body, a resistance strain gauge, and a cable, and the internal circuit adopts a Huygens bridge. When the elastic body is deformed under pressure, the resistance strain The resistance value of the chip (conversion element) will change (increase or decrease), so that the bridge will be out of balance, and a corresponding differential electrical signal will be generated for subsequent circuit amplification and processing. The analog amplifier OP27G is a high-precision, low-noise, high-speed amplification, which can be amplified more than 1000 times in one stage and is a cost-effective high-performance amplifier, and the output stage has good load driving capability. The analog-to-digital converter ADC0832 is an 8-bit resolution, dual-channel analog-to-digital converter produced by National Semiconductor Corporation of the United States. Its working principle is to realize the mode conversion by successive approximation; because of its small size, strong compatibility and high cost performance .

所述语音输出模块,在本系统设计中,为实现在红外检测模块和重力传感器模块监测输出报警信号的情况下,系统能自动及时有效地语音提醒进入危险区域和盗窃分子的功能,本系统选择产品WT588D作为语音输出模块。WT588D语音芯片可设置两种功能控制方式,实现语音播放、语音停止、循环播放、调节音量大小、下一曲播放设置等功能。一种是按键控制方式,这种方式触发灵活,可任意设置一个按键实现脉冲循环触发设置、脉冲不可循环触发设置、无效按键设置、电平持续可循环、电平持续不可循环、电平非持续可循环等控制触发方式。第二种是一线串口软件控制或者三线串口软件控制方式,这种方式主控制器可以通过事先编辑好的程序发送指令实现播放、停止、调节音量大小等控制功能。而在本系统中,根据实际需要选择一线串口连接方式与单片机AT89C52连接。在语音信号的输出端,还需要连接一个扬声器与芯片相连,扬声器根据芯片商的推荐选择其参数阻抗为0.8Ω,功率为0.5W。Described speech output module, in this system design, in order to realize under the situation that the infrared detection module and the gravity sensor module monitor and output the alarm signal, the system can automatically and timely and effectively voice remind the function of entering the dangerous area and the thieves, this system selects The product WT588D is used as a voice output module. The WT588D voice chip can be set with two function control methods to realize functions such as voice playback, voice stop, loop playback, volume adjustment, and next song playback settings. One is the button control method, which is flexible in triggering. You can set a button arbitrarily to realize pulse cycle trigger setting, pulse non-cycle trigger setting, invalid button setting, level continuous cycle, level continuous non-cycle, level non-continuous The trigger mode can be controlled by looping. The second is one-line serial port software control or three-line serial port software control mode. In this way, the main controller can send instructions through pre-edited programs to realize control functions such as play, stop, and volume adjustment. And in this system, according to the actual needs, select the one-line serial port connection mode to connect with the single-chip microcomputer AT89C52. At the output end of the voice signal, a speaker needs to be connected to the chip. According to the recommendation of the chip manufacturer, the parameter impedance of the speaker is 0.8Ω, and the power is 0.5W.

所述应急处理模块,包括应急电源和备用无线网络。应急电源用于市电停电时,采用已经充好的充电电源或干电池。备用无线网络,在GPS/GPRS网络无覆盖的复杂山地地区设计无线收发系统,采用无线中继的方式或者无线广播传输方式,传输报警信号,以确保系统运行的可靠性。另外,当使用环境较佳时,中继式无线传输方式和广播式无线传输方式可同时使用。The emergency treatment module includes an emergency power supply and a backup wireless network. When the emergency power supply is used for mains power failure, the charged power supply or dry battery is used. Backup wireless network, design wireless transceiver system in complex mountainous areas without GPS/GPRS network coverage, use wireless relay or wireless broadcast transmission to transmit alarm signals to ensure the reliability of system operation. In addition, when the use environment is better, the relay wireless transmission method and the broadcast wireless transmission method can be used at the same time.

优选地,本系统以主处理器QT6410为控制核心,结合GPS定位和GPRS无线传输模块,从处理器单片机处理人体红外检测模块和重力传感器模块传输的信号,达到了水电站自动报警的目的。Preferably, this system takes the main processor QT6410 as the control core, combines GPS positioning and GPRS wireless transmission module, and processes the signals transmitted by the human body infrared detection module and the gravity sensor module from the processor single-chip microcomputer, and achieves the purpose of automatic alarm of the hydropower station.

一种水电站报警方法,包括以下步骤:A hydropower station alarm method, comprising the following steps:

第一步:系统初始化完成后,系统不断检测,等待是否有信号输入;Step 1: After the system initialization is completed, the system continues to detect, waiting for signal input;

第二步:系统接收到信号后,首先判断信号是否有效,如果信号有效再判断信号类型,根据信号类型做不同的处理;Step 2: After the system receives the signal, it first judges whether the signal is valid, if the signal is valid, then judges the signal type, and performs different processing according to the signal type;

第三步:检测到放水信号时,主处理器启动大功率播放器播放“洪水来了,危险”的事先设定好的语音提示,主处理器发出指令调用GPS定位信息,无线网络将数据实时地发送到下一级水电站,通知他们哪个水电站放水以便做相应的准备工作;人体红外检测到闸口危险区域有人进入后,主处理器启动大功率播放器播放语音警告,让游人撤离危险区域;重力传感器检测到设备丢失信号后,则判定为防盗报警信号,做相应的快速防盗处理。Step 3: When the water discharge signal is detected, the main processor starts a high-power player to play the pre-set voice prompt of "Flood is coming, danger", the main processor sends an instruction to call GPS positioning information, and the wireless network transmits the data in real time It will be sent to the next-level hydropower station in a timely manner to inform them which hydropower station will release water so as to make corresponding preparations; after the human body infrared detects that someone has entered the dangerous area of the gate, the main processor will start a high-power player to play a voice warning to let tourists evacuate from the dangerous area; After the sensor detects that the device loses the signal, it is judged as an anti-theft alarm signal, and corresponding fast anti-theft processing is performed.

第四步:系统应当考虑在特殊情况下,电池供电以便处理断电情况系统应当解决无线信号不能覆盖的复杂山地地区的无线传输问题。Step 4: The system should consider that in special cases, the battery power supply can be used to deal with power outages. The system should solve the problem of wireless transmission in complex mountainous areas where wireless signals cannot be covered.

当系统初始化完成后,系统不断检测,等待是否有信号输入,当系统接收到信号后,首先判断信号是否有效,如果信号有效再判断信号类型,根据信号类型的不同实现三种功能处理。一是将装于闸门侧面的行程开关触发电路和控制闸门提升电机按钮触发电路所形成任一触发信号,判定为水电站提闸放水信号,主处理器发出指令在本地启动大功率播放器播放“洪水来了,危险”的事先设定好的语音提示,提醒水电站附近玩耍游人尽快撤离,与此同时,主处理器发出指令调用GPS定位信息读取函数,读取放水水电站的经纬度信息并将读取的数据分离,转换为无线网络可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站,通知他们哪个水电站放水以便做相应的准备工作;二是:人体红外检测到闸口危险区域有人进入后,主处理器启动大功率播放器播放语音警告,让游人撤离危险区域。三是:作为辅助监控功能的重力传感器检测到设备丢失信号后,则判定为防盗报警信号,系统调用GPS定位信息读取函数并将读取的数据分离,转换为无线网络可发送的数据,然后通过无线网络将数据发送给水电站管理中心或公安机关报警,使他们知道事发地的准确信息,做相应的快速防盗处理。After the system initialization is completed, the system continuously detects and waits for signal input. When the system receives the signal, it first judges whether the signal is valid. One is to determine any trigger signal formed by the trip switch trigger circuit installed on the side of the gate and the trigger circuit of the control gate lifting motor button as a signal for lifting the gate of the hydropower station to release water, and the main processor issues an instruction to start a high-power player locally to play "Flood Here comes the pre-set voice prompt to remind tourists playing near the hydropower station to evacuate as soon as possible. Separation of the data, convert it into data that can be sent by wireless network, and then send the data to the next-level hydropower station in real time through the wireless network, and inform them which hydropower station will release water so that they can make corresponding preparations; the second is: the human body infrared detects the dangerous area of the gate After someone enters, the main processor starts a high-power player to play a voice warning to let visitors evacuate from the dangerous area. The third is: after the gravity sensor as an auxiliary monitoring function detects that the device loses the signal, it is judged as an anti-theft alarm signal, and the system calls the GPS positioning information reading function to separate the read data and convert it into data that can be sent by the wireless network, and then Send the data to the management center of the hydropower station or the public security organ to call the police through the wireless network, so that they can know the accurate information of the incident and do corresponding fast anti-theft processing.

本发明的有益效果:Beneficial effects of the present invention:

(1)该水电站自动报警系统,解决了水电站工作人员对水电站进行常规检修时,随机地提(升)闸放水的情况下,对水电站下游河道的游人进行及时有效的通知,使他们在洪水来临前,能快速离开,避免悲剧的发生。(1) The automatic alarm system of the hydropower station solves the problem of timely and effectively notifying the tourists in the downstream river of the hydropower station when the staff of the hydropower station carry out routine maintenance on the hydropower station, and randomly lifts (lifts) the gate to release water, so that they can be alerted when the flood comes. Before that, they can leave quickly to avoid tragedy.

(2)该水电站自动报警系统,解决了当水电站发生设备丢失时,通过无线网络将数据发送给水电站管理中心或公安机关报警,使他们知道事发地的准确信息,做相应的快速防盗处理,从而对水电站正常运行的重要设备的安全进行实时监控。(2) The automatic alarm system of the hydropower station solves the problem of sending data to the management center of the hydropower station or the public security agency through the wireless network to alarm when equipment is lost in the hydropower station, so that they can know the accurate information of the incident and do corresponding fast anti-theft processing. In this way, the safety of important equipment for the normal operation of the hydropower station can be monitored in real time.

附图说明Description of drawings

图1为水电站报警系统的原理图;Fig. 1 is the schematic diagram of the alarm system of the hydropower station;

图2为水电站报警方法流程图;Fig. 2 is a flow chart of the hydropower station alarm method;

图3为串口接收GPS信号流程图;Fig. 3 is the flow chart of serial port receiving GPS signal;

图4为GPS数据分离程序框图;Fig. 4 is the program block diagram of GPS data separation;

图5短信发送程序流程图;Fig. 5 short message sending program flow chart;

图6ADC0832数据读取程序流程图。Figure 6 ADC0832 data reading program flow chart.

具体实施方式detailed description

下面结合附图和具体实施方式对本发明的技术方案作进一步详细地说明。The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

一种水电站报警系统,包括主处理器,从处理器,GPS模块,GPRS模块,人体红外检测模块,重力传感器模块,语音输出模块以及应急处理模块组成等组成部分。如图1所示。A hydropower station alarm system includes a main processor, a slave processor, a GPS module, a GPRS module, a human body infrared detection module, a gravity sensor module, a voice output module and an emergency treatment module. As shown in Figure 1.

水电站报警系统在QT/Linux系统下运行,系统的方法流程图如图2所示,主要实现的功能是,当系统初始化完成后,系统不断检测,等待是否有信号输入,当系统接收到信号后,首先判断信号是否有效,如果信号有效再判断信号类型,根据信号类型的不同实现三种功能处理。一是将装于闸门侧面的行程开关触发电路和控制闸门提升电机按钮触发电路所形成任一触发信号,判定为水电站提闸放水信号,主处理器发出指令在本地启动大功率播放器播放“洪水来了,危险”的事先设定好的语音提示,提醒水电站附近玩耍游人尽快撤离,与此同时,主处理器发出指令调用GPS定位信息读取函数,读取放水水电站的经纬度信息并将读取的数据分离,转换为无线网络可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站,通知他们哪个水电站放水以便做相应的准备工作;二是:人体红外检测到闸口危险区域有人进入后,主处理器启动大功率播放器播放语音警告,让游人撤离危险区域。三是:作为辅助监控功能的重力传感器检测到设备丢失信号后,则判定为防盗报警信号,系统调用GPS定位信息读取函数并将读取的数据分离,转换为无线网络可发送的数据,然后通过无线网络将数据发送给水电站管理中心或公安机关报警,使他们知道事发地的准确信息,做相应的快速防盗处理。The hydropower station alarm system runs under the QT/Linux system. The method flow chart of the system is shown in Figure 2. The main function is that after the system initialization is completed, the system continuously detects and waits for a signal input. When the system receives the signal , first judge whether the signal is valid, if the signal is valid, then judge the signal type, and realize three kinds of functional processing according to the different signal types. One is to determine any trigger signal formed by the trip switch trigger circuit installed on the side of the gate and the trigger circuit of the control gate lifting motor button as a signal for lifting the gate of the hydropower station to release water, and the main processor issues an instruction to start a high-power player locally to play "Flood Here comes the pre-set voice prompt to remind tourists playing near the hydropower station to evacuate as soon as possible. Separation of the data, convert it into data that can be sent by wireless network, and then send the data to the next-level hydropower station in real time through the wireless network, and inform them which hydropower station will release water so that they can make corresponding preparations; the second is: the human body infrared detects the dangerous area of the gate After someone enters, the main processor starts a high-power player to play a voice warning to let visitors evacuate from the dangerous area. The third is: after the gravity sensor as an auxiliary monitoring function detects that the device loses the signal, it is judged as an anti-theft alarm signal, and the system calls the GPS positioning information reading function to separate the read data and convert it into data that can be sent by the wireless network, and then Send the data to the management center of the hydropower station or the public security organ to call the police through the wireless network, so that they can know the accurate information of the incident and do corresponding fast anti-theft processing.

系统包括硬件实现方法和软件实现方法。The system includes a hardware implementation method and a software implementation method.

所述硬件实现方法包括主处理器,从处理器,GPS模块,GPRS模块,人体红外检测模块,重力传感器模块,语音输出模块以及应急处理模块组成等组成部分。The hardware implementation method includes a main processor, a slave processor, a GPS module, a GPRS module, a human body infrared detection module, a gravity sensor module, a voice output module and an emergency treatment module.

所述主处理器MCU,根据报警系统的实际性能需要选用天嵌科技提供的QT6410,此处理器是基于CPU的子系统的ARM1176JZF-S,具有JAVA加速引擎和16KB/16KBI/D缓存和16KB/16KBI/DTCM。在各自地TBDV和TBDV的400/533/667MHz操作频率。一个8位ITU601/656相机接口,用于缩放的高达4M像素,固定的16M像素。多标准编解码器提供的MPEG-4/H.263/H.264编码和解码的高达30帧/s,VC1视频解码、达到30帧/s。The main processor MCU needs to select QT6410 provided by Tianxie Technology according to the actual performance of the alarm system. This processor is based on the ARM1176JZF-S of the CPU subsystem and has a JAVA acceleration engine and 16KB/16KBI/D cache and 16KB/ 16KBI/DTCM. 400/533/667MHz operating frequency on TBDV and TBDV respectively. An 8-bit ITU601/656 camera interface, up to 4M pixels for scaling, 16M pixels for fixed. Multi-standard codec provides MPEG-4/H.263/H.264 encoding and decoding up to 30 frames/s, VC1 video decoding up to 30 frames/s.

所述从处理器,选用AT89C52单片机,人体红外检测到闸口危险区域有人进入后,此信号先传入单片机处理,再经主处理器处理,主处理器启动大功率播放器播放语音警告,让游人撤离危险区域。重力传感器检测到设备丢失信号后,此信号先经单片机AT89C52处理,再经主处理器处理,判定为防盗报警信号,系统调用GPS定位信息读取函数并将读取的数据分离,转换为无线网络GPRS可发送的数据,然后通过无线网络将数据发送给水电站管理中心或公安机关报警,使他们知道事发地的准确信息,做相应的快速防盗处理。The slave processor uses AT89C52 single-chip microcomputer. After the human body infrared detects that someone has entered the dangerous area of the gate, the signal is first transmitted to the single-chip microcomputer for processing, and then processed by the main processor. The main processor starts a high-power player to play a voice warning to let visitors Evacuate the danger area. After the gravity sensor detects that the device loses the signal, the signal is first processed by the single-chip microcomputer AT89C52, and then processed by the main processor, and it is judged as an anti-theft alarm signal. The system calls the GPS positioning information reading function and separates the read data and converts it into a wireless network. GPRS can send the data, and then send the data to the hydropower station management center or the public security agency to call the police through the wireless network, so that they can know the accurate information of the incident and do corresponding fast anti-theft processing.

所述GPS模块,根据系统性能要求和设计方便,选用台湾HOLUX公司开发的GPS模块M-87。M-87是一款高灵敏性,快速位置修正,低耗电量,漂移小的性价比很高的产品。M-87与主芯片连接使用的是1.25-6A接口,使用的是s3c6410芯片的UART3口。本系统中,主处理器发出指令调用GPS定位信息读取函数,读取放水水电站的经纬度信息并将读取的数据分离,转换为无线网络GPRS可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站。The GPS module, according to system performance requirements and design convenience, selects the GPS module M-87 developed by Taiwan HOLUX Company. M-87 is a product with high sensitivity, fast position correction, low power consumption, and small drift with high cost performance. The connection between M-87 and the main chip is 1.25-6A interface, and the UART3 port of s3c6410 chip is used. In this system, the main processor issues an instruction to call the GPS positioning information reading function, reads the longitude and latitude information of the water discharge hydropower station and separates the read data, converts the data that can be sent by the wireless network GPRS, and then transmits the data in real time through the wireless network. Sent to the next level hydropower station.

所述GPRS模块,GPRS模块来实现设计中语音短信报警信号,在设计中GPRS模块通过串口与主处理器QT6410直接相连,为系统设计提供了可靠性,节约了成本。选择百汇公司设计的无线GPRS模块,其是一款专为广大自由职业设计人员提供的高效、便捷的无线通信模块。无论何时何地通过手提电脑等方式都可自由移动上网,拨打电话,和短信收发。GPRS模块与主芯片连接使用的是PH-6A接口,使用的是s3c6410芯片的UART1口。主处理器获取经纬度信息后,转换为GPRS模块可发送的数据,然后通过无线网络将数据实时地发送到下一级水电站,通知他们哪个水电站放水以便做相应的准备工作。Described GPRS module, GPRS module realizes the voice short message alarm signal in the design, and in the design GPRS module is directly connected with main processor QT6410 by serial port, has provided reliability for system design, has saved cost. Choose the wireless GPRS module designed by Baihui Company, which is an efficient and convenient wireless communication module specially provided for freelance designers. No matter when and where, you can freely move the Internet, make calls, and send and receive text messages through laptop computers and other methods. The GPRS module is connected with the main chip using the PH-6A interface and the UART1 port of the s3c6410 chip. After the main processor obtains the latitude and longitude information, it converts it into data that can be sent by the GPRS module, and then sends the data to the next-level hydropower station in real time through the wireless network, and informs them which hydropower station will release water for corresponding preparations.

所述人体红外检测模块,在本系统设计中,为实现在不被允许的情况下,闲杂人等进入水电站危险区域时,系统能及时有效地检测到人的进入,所以采用了人体红外温度检测技术。选用深圳市电应普科技有限公司设计DYP-ME003人体感应模块,该模块是基于红外线技术设计的一款自动控制产品,其优点灵敏度高,可靠性强,超低电压工作模式,也可干电池供电。此检测模块检测输出时的输出电压为高电平,而单片机AT89C52检测外部输入信号时只能检测到输入低电平,所以在设计电路时使用与非门的集成芯片HD74LSOOP做一个电平转换。The human body infrared detection module, in the design of this system, in order to realize that when idlers enter the dangerous area of the hydropower station without permission, the system can detect the entry of people in a timely and effective manner, so the human body infrared temperature detection module is adopted. technology. The DYP-ME003 human body induction module designed by Shenzhen Dianyingpu Technology Co., Ltd. is an automatic control product based on infrared technology. It has the advantages of high sensitivity, high reliability, ultra-low voltage working mode, and can also be powered by dry batteries. . When the detection module detects the output, the output voltage is high level, while the microcontroller AT89C52 can only detect the input low level when detecting the external input signal, so the integrated chip HD74LSOOP of the NAND gate is used to do a level conversion when designing the circuit.

所述重力传感器模块,在本系统设计中,为防止水电站重要设备的丢失,采用重力传感器作为重要设备丢失触发检测器。由于重力传感器输出的是模拟信号,且输出十分微弱的毫伏级信号,所以在设计时采用模拟放大器OP27G做一级信号放大,然后输入到模数转换器ADC0832中做数模转换,这样单片机才能获取到重力传感器检测到的信号。在本系统设计中,采用电阻应变式压力传感器,其是由弹性体和电阻应变片、电缆线等组成,而内部线路采用惠更斯电桥,当弹性体承受压力而发生变形时,电阻应变片(转换元件)的阻值将发生变化(增大或减小),从而使电桥失去平衡,产生相应的差动电信号,供后续电路放大和处理。模拟放大器OP27G是一款精度高,低噪声,高速放大,可一级放大1000倍以上的性价比很高的高性能放大器,且输出级具有良好的负载驱动能力。模数转换器ADC0832是美国国家半导体公司生产的一款8位分辨率,双通道的模数转换器,其工作原理为逐次逼近的方式实现模式转换;由于它体积小,兼容性强,性价比高。The gravity sensor module, in this system design, in order to prevent the loss of important equipment of the hydropower station, uses the gravity sensor as the trigger detector for the loss of important equipment. Since the output of the gravity sensor is an analog signal, and the output is a very weak millivolt level signal, the analog amplifier OP27G is used to amplify the first-level signal during design, and then input to the analog-to-digital converter ADC0832 for digital-to-analog conversion, so that the microcontroller can The signal detected by the gravity sensor is obtained. In this system design, a resistance strain pressure sensor is used, which is composed of an elastic body, a resistance strain gauge, and a cable, and the internal circuit adopts a Huygens bridge. When the elastic body is deformed under pressure, the resistance strain The resistance value of the chip (conversion element) will change (increase or decrease), so that the bridge will be out of balance, and a corresponding differential electrical signal will be generated for subsequent circuit amplification and processing. The analog amplifier OP27G is a high-precision, low-noise, high-speed amplification, which can be amplified more than 1000 times in one stage and is a cost-effective high-performance amplifier, and the output stage has good load driving capability. The analog-to-digital converter ADC0832 is an 8-bit resolution, dual-channel analog-to-digital converter produced by National Semiconductor Corporation of the United States. Its working principle is to realize the mode conversion by successive approximation; because of its small size, strong compatibility and high cost performance .

所述语音输出模块,在本系统设计中,为实现在红外检测模块和重力传感器模块监测输出报警信号的情况下,系统能自动及时有效地语音提醒进入危险区域和盗窃分子的功能,本系统选择产品WT588D作为语音输出模块。WT588D语音芯片可设置两种功能控制方式,实现语音播放、语音停止、循环播放、调节音量大小、下一曲播放设置等功能。一种是按键控制方式,这种方式触发灵活,可任意设置一个按键实现脉冲循环触发设置、脉冲不可循环触发设置、无效按键设置、电平持续可循环、电平持续不可循环、电平非持续可循环等控制触发方式。第二种是一线串口软件控制或者三线串口软件控制方式,这种方式主控制器可以通过事先编辑好的程序发送指令实现播放、停止、调节音量大小等控制功能。而在本系统中,根据实际需要选择一线串口连接方式与单片机AT89C52连接。在语音信号的输出端,还需要连接一个扬声器与芯片相连,扬声器根据芯片商的推荐选择其参数阻抗为0.8Ω,功率为0.5W。Described speech output module, in this system design, in order to realize under the situation that the infrared detection module and the gravity sensor module monitor and output the alarm signal, the system can automatically and timely and effectively voice remind the function of entering the dangerous area and the thieves, this system selects The product WT588D is used as a voice output module. The WT588D voice chip can be set with two function control methods to realize functions such as voice playback, voice stop, loop playback, volume adjustment, and next song playback settings. One is the button control method, which is flexible in triggering. You can set a button arbitrarily to realize pulse cycle trigger setting, pulse non-cycle trigger setting, invalid button setting, level continuous cycle, level continuous non-cycle, level non-continuous The trigger mode can be controlled by looping. The second is one-line serial port software control or three-line serial port software control mode. In this way, the main controller can send instructions through pre-edited programs to realize control functions such as play, stop, and volume adjustment. And in this system, according to the actual needs, select the one-line serial port connection mode to connect with the single-chip microcomputer AT89C52. At the output end of the voice signal, a speaker needs to be connected to the chip. According to the recommendation of the chip manufacturer, the parameter impedance of the speaker is 0.8Ω, and the power is 0.5W.

所述应急处理模块,包括应急电源和备用无线网络。应急电源用于市电停电时,采用已经充好的充电电源或干电池。备用无线网络,在GPS/GPRS网络无覆盖的复杂山地地区设计无线收发系统,采用无线中继的方式或者无线广播传输方式,传输报警信号,以确保系统运行的可靠性。另外,当使用环境较佳时,中继式无线传输方式和广播式无线传输方式可同时使用。The emergency treatment module includes an emergency power supply and a backup wireless network. When the emergency power supply is used for mains power failure, the charged power supply or dry battery is used. Backup wireless network, design wireless transceiver system in complex mountainous areas without GPS/GPRS network coverage, use wireless relay or wireless broadcast transmission to transmit alarm signals to ensure the reliability of system operation. In addition, when the use environment is better, the relay wireless transmission method and the broadcast wireless transmission method can be used at the same time.

所述软件实现方法主要包括QT/Linux系统下的串口通信,GPS定位信息的读取与分离,GPRS模块短信功能的实现,检测模块的软件设计,人机交互界面的设计等。The software implementation method mainly includes serial port communication under the QT/Linux system, reading and separation of GPS positioning information, realization of the SMS function of the GPRS module, software design of the detection module, and design of the man-machine interface.

所述QT/Linux系统下的串口通信,在QT/linux系统下实现串口通信,首先要打开串口设置串口的基本信息包括波特率设置,校验位和停止位设置等。串口的设置主要是设置termios结构体的各成员变量的值。在具体实现人机界面设置参数选择时,使用switch()case语句来实现。配置完串口的相关属性后,就可以使用系统封装的打开,读写函数对串口进行操作了。其使用方法与文件操作一样,区别在于串口是一个终端设备而已。串口通信程序流程图如图3所示。The serial port communication under the described QT/Linux system realizes the serial port communication under the QT/linux system, at first the basic information of the serial port will be opened to include the baud rate setting, the parity bit and the stop bit setting etc. of the serial port setting. The setting of the serial port is mainly to set the value of each member variable of the termios structure. When realizing the setting parameter selection of the man-machine interface, use the switch() case statement to realize it. After configuring the relevant properties of the serial port, you can use the open and read/write functions of the system package to operate the serial port. Its use method is the same as file operation, the difference is that the serial port is just a terminal device. Serial communication program flow chart shown in Figure 3 .

所述GPS定位信息的读取与分离,GPS模块与TQ6410开发板通过串口通信,GPS模块每隔一秒向串口发送一条NMEA-0183标准语句。系统初始化后,当主处理器接收到来自检测模块的报警信号后,系统会自动调用预置的GPS读取函数,读取GPS定位信息,当串口接收到GPS数据后,放在串口缓冲区中,注意数据放在缓冲区之前,开启了一个定时器,且设定的扫描时间间隔应小于GPS接收机发送的间隔,其作用是防止时间过长,缓冲区数据溢出数据丢失。在每次读取缓冲区数据时,系统关闭之前关闭定时器,读完数据后再重新开启定时器。GPS定位信号的分离是根据GPS模块发送的标准语句格式分离的,由于信号语句格式有很多中,在本系统只采用了$GPGGA这种格式。其每条语句都以标识符开头,语句后均有奇偶校验位,用“*”隔开,而且每句都以<CR>,<LF>作为结束符,因此,在程序设计时只用switch()…case()…语句或者if()语句就可准确将经纬度、海拔、速度等信息区分开运用到设计的用户界面显示,关键代码如下。其程序流程图如图4所示。For the reading and separation of the GPS positioning information, the GPS module communicates with the TQ6410 development board through the serial port, and the GPS module sends a NMEA-0183 standard sentence to the serial port every second. After the system is initialized, when the main processor receives the alarm signal from the detection module, the system will automatically call the preset GPS reading function to read the GPS positioning information. When the serial port receives the GPS data, it will be placed in the serial port buffer. Note that before the data is placed in the buffer, a timer is started, and the set scanning interval should be smaller than the interval sent by the GPS receiver. When reading buffer data each time, turn off the timer before the system shuts down, and restart the timer after reading the data. The separation of GPS positioning signals is based on the standard sentence format sent by the GPS module. Since there are many signal sentence formats, only $GPGGA is used in this system. Each statement starts with an identifier, and there are parity bits after the statement, separated by "*", and each statement ends with <CR>, <LF>. Therefore, only use The switch()...case()... statement or the if() statement can accurately distinguish the longitude, latitude, altitude, speed and other information and apply them to the designed user interface display. The key codes are as follows. The program flow chart shown in Figure 4 .

所述GPRS模块短信功能的实现,为了实现语音短信远距离报警或传输信号功能,特用GPRS模块来实现。因为选用的是百汇公司提供的无线GPRS模块,故在程序设计时只需软件通过串口发送AT指令即可。在GPRS模块功能设计中,通过发送AT指令实现很多功能,例如:短信收发,电话拨打和挂机,无线上网,电话号码簿的设置。使用AT指令实现语音通话相对简单,通过串口调试工具或者超级终端给GPRS模块发送相应指令就可以了,格式为:拨打电话指令格式:ATD+所要拨打的电话号码,例如:ATD13648811690。而挂断电话时只发送指令ATH就可以实现。在使用AT命令发送短信时可采用TEXT模式。首先设置短信息发送格式1为TEXT模式:AT+CMGF=1,返回:OK,设置短消息服务中心:AT+CSCA=”+8613800000500,返回:OK,发送:AT+CMGS=13648811690,设置接收短信手机号码。收到[>]响应后再发送短消息内容。短信发送程序流程图如图5所示。对所收到的短信,通常使用事件方式,通过发送指令AT+CNMI设置接收到的短信消息存储到SIM卡,并返回提示信息。The realization of the short message function of the GPRS module, in order to realize the long-distance alarm or signal transmission function of the voice short message, is realized by the special GPRS module. Because the wireless GPRS module provided by Parkway Company is selected, it is only necessary for the software to send AT commands through the serial port during programming. In the function design of the GPRS module, many functions are realized by sending AT commands, such as: sending and receiving short messages, dialing and hanging up the phone, wireless Internet access, and setting of the phone book. It is relatively simple to use AT command to realize voice call, just send corresponding command to GPRS module through serial port debugging tool or super terminal, the format is: dial phone command format: ATD + the phone number to be dialed, for example: ATD13648811690. And when hanging up the phone, it can be realized by only sending the command ATH. TEXT mode can be used when using AT commands to send text messages. First set the SMS sending format 1 as TEXT mode: AT+CMGF=1, return: OK, set the SMS service center: AT+CSCA=”+8613800000500, return: OK, send: AT+CMGS=13648811690, set to receive SMS Mobile phone number. Send short message content after receiving [>] response. Short message sending program flowchart as shown in Figure 5. To received short message, usually use event mode, set the received short message by sending instruction AT+CNMI The message is stored in the SIM card and a prompt message is returned.

所述检测模块的软件设计包括人体红外检测EYP-ME003的软件设计和重力传感模块的软件设计。由于使用的人体红外检测模块EYP-ME003是半成产品,其在供电后,当检测到人进入检测区域后,直接输出5V的高电平数字脉冲,只要将其转化为单片机能识别的外部输入低电平即可。因此,在设计此程序时只要在while()语句函数内检测接入管脚是否为低电平即可。在重力模块软件设计中,主要的难点是ADC0832的使用及读取到的信号如何转化为重量。根据ADC0832的工作时序图可以得出其工作过程,ADC0832数据读取程序流程图如图6所示。The software design of the detection module includes the software design of the human body infrared detection EYP-ME003 and the software design of the gravity sensing module. Since the human body infrared detection module EYP-ME003 used is a semi-finished product, after it is powered on, when it detects that a person enters the detection area, it will directly output a 5V high-level digital pulse, as long as it is converted into an external input that can be recognized by the microcontroller Low level is enough. Therefore, when designing this program, it is only necessary to detect whether the access pin is low in the while () statement function. In the software design of the gravity module, the main difficulty is the use of ADC0832 and how to convert the read signal into weight. According to the working timing diagram of ADC0832, its working process can be obtained, and the flow chart of ADC0832 data reading program is shown in Figure 6.

所述人机交互界面的设计,本系统的界面设计软件QT4.5的界面设计方法和大多数开发者使用的MFC很相似。在MFC中,界面的组成元素如:组框、按钮、文本框等元素功能的实现是通过类向导完成的,而在QT中其实现原理基本相同只不过在元素和功能关联时使用的是信号和槽来实现的。首先打开QT4.5的界面设计主窗口并新建一个项目,在新建的项目中新建一个按钮,并设置其参数,在编辑菜单中点击SLOTS按钮打开信号和槽设计菜单,最后连接信号和槽。按照此步骤,就可以将界面设计与功能设计就连接在一起了,实现系统的界面设计,最后设计完成地图定位效果图。The design of the human-computer interaction interface, the interface design method of the interface design software QT4.5 of this system is very similar to the MFC used by most developers. In MFC, the realization of the components of the interface such as group boxes, buttons, text boxes and other element functions is done through class wizards, while in QT the realization principle is basically the same, except that signals are used when elements and functions are associated. and slots to achieve. First open the main interface design window of QT4.5 and create a new project, create a new button in the newly created project, and set its parameters, click the SLOTS button in the edit menu to open the signal and slot design menu, and finally connect the signal and slot. According to this step, the interface design and function design can be connected together to realize the interface design of the system, and finally the map positioning effect diagram is designed and completed.

以上所述,仅为本发明较佳的具体实施方式,本发明的保护范围不限于此,任何熟悉本技术领域的技术人员在本发明披露的技术范围内,可显而易见地得到的技术方案的简单变化或等效替换均落入本发明的保护范围内。The above is only a preferred specific embodiment of the present invention, and the scope of protection of the present invention is not limited thereto. Any person familiar with the technical field within the technical scope disclosed in the present invention can obviously obtain the simplicity of the technical solution. Changes or equivalent replacements all fall within the protection scope of the present invention.

Claims (2)

1. a kind of power station warning system, it is characterised in that:Including primary processor, from processor, GPS modules, GPRS modules, Human body infrared detection module, gravity sensor module, voice output module, emergency processing module;
The primary processor MCU, the QT6410 for needing to provide from the embedding science and technology in day according to the actual performance of warning system, this processing Device is the ARM1176JZF-S of the subsystem based on CPU, with JAVA accelerating engines and 16KB/16KBI/D cachings and 16KB/ 16KBI/DTCM;In respectively TBDV and TBDV 400/533/667MHz operating frequencies;One 8 ITU601/656 camera connects Mouthful, up to 4M pixels, fixed 16M pixels for scaling;The MPEG-4/H.263/H.264 that multi-standard codec is provided Up to 30 frames/s of coding and decoding, VC1 videos decode, reach 30 frames/s;
It is described from processor, from AT89C52 single-chip microcomputers, human body infrared detect sluice gate danger zone someone enter after, this letter The incoming single-chip microcomputer processing of number elder generation, then through master processor processes, primary processor starts high-power player plays voice warning, allows trip People withdraws danger zone;Gravity sensor is detected after device losses signal, and this signal is first handled through single-chip computer AT89C52, then Through master processor processes, it is determined as burglar alarm signal, system calls GPS location informations function reading and by the data of reading Separation, is converted to the data of wireless network GPRS transmissions, then sends the data to power station administrative center by wireless network Or public security organ's alarm, them is known the accurate information of spot, do corresponding quick antitheft processing;
The GPS module, the GPS module M- that from Taiwan HOLUX company is developed convenient according to system performance requirements and design 87;M-87 is connected with master chip uses 1.25-6A interfaces, uses the UART3 mouths of s3c6410 chips;In the system, Primary processor sends instruction calls GPS location information function readings, reads the latitude and longitude information in the power station that discharges water and by reading Data separating, is converted to the data of wireless network GPRS transmissions, is then sent to data in real time by wireless network next Level power station;
The GPRS module, GPRS module come realize design in voice SMS alarm signal, in the design GPRS module pass through string Mouth is joined directly together with primary processor QT6410, and GPRS module is connected with master chip uses PH-6A interfaces, uses The UART1 mouths of s3c6410 chips;Primary processor is obtained after latitude and longitude information, is converted to the data of GPRS module transmission, Ran Houtong Cross wireless network and data are sent to next stage power station in real time, notify their which hydropower station discharge to do corresponding standard Standby work;
The human body infrared detection module, in the system design, to realize in the case where being not allowed to, people without fixed duties enters water During the danger zone of power station, system can timely and effectively detect the entrance of people, so employing human body infrared temperature detection technology; General Science and Technology Ltd.'s design DYP-ME003 human body induction modules are answered from Shenzhen civil power, the module is to be based on infrared technology The a of design automatically controls product, and the output voltage during detection output of this detection module is high level, and single-chip computer AT89C52 Detection external input signal when be only able to detect input low level, so design circuit when using NAND gate integrated chip HD74LSOOP does a level conversion;
The gravity sensor module, in the system design, to prevent the loss of power station visual plant, using gravity sensitive Device loses trigger detector as visual plant;What it is due to gravity sensor output is analog signal, and is exported very faint Millivolt level signal, so doing one stage signal amplification using analogue amplifier OP27G in design, is then input to analog-to-digital conversion Digital-to-analogue conversion is done in device ADC0832, such single-chip microcomputer can just get the signal that gravity sensor is detected;Set in the system In meter, using resistance strain type pressure sensor, it is made up of elastomer and resistance strain gage, cable, and internal wiring Using Huygens's electric bridge, when elastomer bears pressure and deformed, the resistance of resistance strain gage will change, so that Electric bridge disequilibrium, produces corresponding differential electrical signals, amplifies for subsequent conditioning circuit and handles;
The voice output module, in the system design, to realize in infrared detection module, fingerprint identification module and gravity sensor module monitors In the case of output alarm signal, system can timely and effectively voice reminder enters the work(of danger zone and thief automatically Can, the system selection product WT588D is used as voice output module;In the present system, a line serial ports is selected according to actual needs Connected mode is connected with single-chip computer AT89C52;In the output end of voice signal, in addition it is also necessary to connect a loudspeaker and chip phase Even, loudspeaker selects its parameter impedance to be 0.8 Ω according to the recommendation of chip business, and power is 0.5W;
The emergency processing module, including emergency power supply and alternate wireless network;When emergency power supply is used for mains failure, using Charge power supply or dry cell through substituting the bad for the good;Alternate wireless network, in the uncovered Complex Mountain area design of GPS/GPRS networks Wireless transceiver system, by the way of wireless relay or radio transmission mode, transmits alarm signal.
2. a kind of power station alarm method, it is characterised in that:Comprise the following steps:After the completion of system initialization, system is continuous Whether detection, wait has signal input, after system receives signal, first determines whether whether signal is effective, if signal is effective Signal type is judged again, and three kinds of function treatments are realized according to the difference of signal type;One is to open the stroke loaded on gate side Close triggers circuit and regulating gate lifting motor button triggers circuit forms any trigger signal, be determined as that power station carries lock and put Water signal, primary processor sends instruction being previously set in the high-power player plays of local boot " flood comes, dangerous " Voice message, remind the visitor that plays near power station to withdraw as early as possible, at the same time, primary processor, which sends instruction calls GPS, to be determined Position information function reading, reads the latitude and longitude information in the power station that discharges water and by the data separating of reading, is converted to wireless network hair Data, are then sent to next stage power station by the data sent in real time by wireless network, notify their which power station to put Water is to do corresponding preparation;Two are:Human body infrared is detected after sluice gate danger zone someone entrance, and primary processor starts High-power player plays voice warning, allows visitor to withdraw danger zone;Three are:It is used as the gravity sensor of auxiliary monitoring function Detect after device losses signal, be then determined as burglar alarm signal, system is called GPS location information function reading and will read Data separating, be converted to wireless network transmission data, then sent the data to by wireless network in water power station administration The heart or public security organ's alarm, make them know the accurate information of spot, do corresponding quick antitheft processing;
The first step:After the completion of system initialization, system is constantly detected, whether wait has signal input;
Second step:System is received after signal, first determines whether whether signal is effective, if signal effectively judges signal type again, Different processing are done according to signal type;
3rd step:Detect when discharging water signal, primary processor starts the prior of high-power player plays " flood comes, dangerous " The voice message set, primary processor sends instruction calls GPS location informations, and data are sent to by wireless network in real time Next stage power station, notifies their which hydropower station discharge to do corresponding preparation;Human body infrared detects sluice gate danger After danger zone domain someone enters, primary processor starts high-power player plays voice warning, allows visitor to withdraw danger zone;Gravity Sensor is detected after device losses signal, then is determined as burglar alarm signal, does corresponding quick antitheft processing;
4th step:System is contemplated that in mains failure and GPS/GPRS networks are when Complex Mountain area is without covering, battery Power supply is to handle powering-off state, and being wirelessly transferred for Complex Mountain area that system should solve wireless signal and can not cover is asked Topic.
CN201510110131.XA 2015-03-13 2015-03-13 A kind of power station warning system and method Expired - Fee Related CN104732708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510110131.XA CN104732708B (en) 2015-03-13 2015-03-13 A kind of power station warning system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510110131.XA CN104732708B (en) 2015-03-13 2015-03-13 A kind of power station warning system and method

Publications (2)

Publication Number Publication Date
CN104732708A CN104732708A (en) 2015-06-24
CN104732708B true CN104732708B (en) 2017-10-24

Family

ID=53456571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510110131.XA Expired - Fee Related CN104732708B (en) 2015-03-13 2015-03-13 A kind of power station warning system and method

Country Status (1)

Country Link
CN (1) CN104732708B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107307857A (en) * 2017-06-23 2017-11-03 成都市欣康兴泰科技有限公司 A kind of pulse pressure optimum position Automatic-searching method and apparatus
CN110335230A (en) * 2019-03-30 2019-10-15 复旦大学 A method and device for real-time detection of endoscopic image lesions
CN113777992B (en) * 2021-09-16 2023-06-13 中国长江电力股份有限公司 Method for lifting and alarming gate of hydropower station in sliding manner

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201004186Y (en) * 2006-10-25 2008-01-09 新平供电有限公司 Water level automatic alarming adjustment device
JP2009293285A (en) * 2008-06-05 2009-12-17 Chugoku Electric Power Co Inc:The Screen dust removing system and screen dust removing method
CN201514685U (en) * 2009-09-03 2010-06-23 昆明理工大学 Hydropower station discharge alarm device
CN203165165U (en) * 2013-04-27 2013-08-28 中国长江电力股份有限公司 Hydropower station accident rapid emergency system
CN104089678A (en) * 2014-06-18 2014-10-08 国网四川省电力公司成都市新都供电分公司 Water level alarming device of hydropower station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201004186Y (en) * 2006-10-25 2008-01-09 新平供电有限公司 Water level automatic alarming adjustment device
JP2009293285A (en) * 2008-06-05 2009-12-17 Chugoku Electric Power Co Inc:The Screen dust removing system and screen dust removing method
CN201514685U (en) * 2009-09-03 2010-06-23 昆明理工大学 Hydropower station discharge alarm device
CN203165165U (en) * 2013-04-27 2013-08-28 中国长江电力股份有限公司 Hydropower station accident rapid emergency system
CN104089678A (en) * 2014-06-18 2014-10-08 国网四川省电力公司成都市新都供电分公司 Water level alarming device of hydropower station

Also Published As

Publication number Publication date
CN104732708A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN101603396B (en) An intelligent safe and its control method
CN106946110B (en) A kind of elevator malfunction failure monitoring system and method
CN201474484U (en) a smart safe
CN103066570A (en) Battery protection device and server and battery management system
CN104732708B (en) A kind of power station warning system and method
CN206133015U (en) Vehicle positioning system based on multiple GPS devices
CN102852426A (en) Intelligent safe with built-in power grid and image pickup system
CN105405189A (en) Door lock and control method thereof
CN203574450U (en) Voice alarm and remote restarting apparatus of telecontrol device of transformer station
CN203145694U (en) Control system for safe box
CN103019188A (en) Internet-of-things-based remote intelligent control system and method for water level of water tower
CN104410751A (en) Method and system for power saving of mobile phone based on Bluetooth peripheral
CN108760032A (en) A kind of noise detection apparatus based on wireless transmission
CN106710110A (en) NB-IoT wireless human body induction security apparatus
CN106447994A (en) Power failure preventing smart home remote anti-theft alarm system
CN108387310A (en) It is a kind of based on solar powered noise level monitor
CN106054213A (en) Positioning and monitoring system based on GPS
CN205693838U (en) One has low electricity warning function mike
CN112735090A (en) Method, system, storage medium and terminal for old man loss prevention and tumble alarm
CN107809524A (en) Safety protecting method, mobile terminal and the device with store function
CN106355804A (en) Safety distance warning device of vehicle-mounted movable substation
CN205038769U (en) Beidou technology -based important equipment electronic anti -lost device
CN213365674U (en) One-key alarm device and system
CN211959195U (en) Device supporting extended communication and portable communication equipment supporting extended communication
CN208300033U (en) A kind of gauge table collector

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Xiaofang

Inventor after: Zhao Hongmei

Inventor after: Mi Qichao

Inventor after: He Wei

Inventor after: Wang Jinpeng

Inventor after: Chen Guozhen

Inventor after: Wang Danyang

Inventor after: Liang Ningyi

Inventor after: Song Wei

Inventor after: Fan Xiaohong

Inventor before: Liu Xiaofang

Inventor before: Fan Xiaohong

Inventor before: Dong Yanfei

Inventor before: Chen Ying

Inventor before: Gong Yachao

Inventor before: Lu Yapeng

Inventor before: Wang Danyang

Inventor before: Zhang Xiaojie

Inventor before: Lu Ming

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171024

Termination date: 20180313