CN106197654A - A kind of debris flow infrasound monitoring system and method based on GPRS communication - Google Patents

A kind of debris flow infrasound monitoring system and method based on GPRS communication Download PDF

Info

Publication number
CN106197654A
CN106197654A CN201610555166.9A CN201610555166A CN106197654A CN 106197654 A CN106197654 A CN 106197654A CN 201610555166 A CN201610555166 A CN 201610555166A CN 106197654 A CN106197654 A CN 106197654A
Authority
CN
China
Prior art keywords
module
interface
main control
unit
acquisition
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
CN201610555166.9A
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.)
China University of Geosciences Beijing
Original Assignee
China University of Geosciences Beijing
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 China University of Geosciences Beijing filed Critical China University of Geosciences Beijing
Priority to CN201610555166.9A priority Critical patent/CN106197654A/en
Publication of CN106197654A publication Critical patent/CN106197654A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H17/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

The present invention relates to a kind of debris flow infrasound monitoring system based on GPRS communication, including: field subsystem and PC upper computer module;Described field subsystem includes: STM32F407 main control module, GPRS communication module, state acquisition module, signal acquisition module, outer memory module;And exterior I O module.This system can exceed the infrasound signals of threshold value by Real-time Collection, and independently carry out HHT Algorithm Analysis, result after processing is uploaded to central station ftp server with raw data file by SIM900A module and GPRS network, reach the function to debris flow infrasound field monitoring Yu early warning, it is achieved that telecommunication and the control to instrument.

Description

A kind of debris flow infrasound monitoring system and method based on GPRS communication
Technical field
The present invention relates to a kind of debris flow infrasound monitoring system and method based on GPRS communication.
Background technology
Mud-rock flow, as a kind of common mountain natural disaster, has the strongest destructive power, and China is the state on mountain more than Family, is one of Debris-flow Hazards is the most serious in the world country.Rapidly and accurately mud-rock flow is carried out early warning, the people can be ensured The security of the lives and property, there is important mitigation using value.
Mud-rock flow is as a kind of viscous fluid, and it is closely related that it starts all processes such as formed, the migration of mechanism.Due to The migration process of mud-rock flow is consolidated the rubbing action between the material grains of source, the frequency infrasonic sound less than 20Hz can be produced, also can quilt The infrasonic wave that instrument detects.It is with air as medium, so its spread speed is as heard sound, and ratio mud-rock flow movement speed Fast about 15 20 times, thus monitoring system can take the lead in capturing its infrasound signals before mud-rock flow arrives, and subtracts for taking precautions against natural calamities Therefore calamity has won valuable time, and infrasonic monitoring becomes a kind of effective debris flow early-warning method.
Current debris flow infrasound monitoring device is the most all located in the acquisition system in base station, does not possess and is placed on now The function of field fixed point monitoring, and the most do not possess the function to signal analysis.Gather signal distance scene farther out, and work people Member need to carry out Algorithm Analysis by the data that acquisition system obtains, and all greatly reduces the real-time reporting to the police debris flow infrasound.
Summary of the invention
The technology of the present invention solves problem: overcome the deficiency of existing application, it is provided that a kind of integration based on GPRS communication Debris flow infrasound monitoring system, this system can exceed the infrasound signals of threshold value by Real-time Collection, and independently carry out HHT algorithm and divide Analysis, the result after processing is uploaded to central station FTP service with raw data file by SIM900A module and GPRS network Device, has reached the function to debris flow infrasound field monitoring Yu early warning, it is achieved that telecommunication and the control to instrument, before practicality Scape is preferable.
The technical solution of the present invention is: a kind of debris flow infrasound monitoring system based on GPRS communication, including: on-the-spot Subsystem and PC upper computer module;Described field subsystem includes: STM32F407 main control module, GPRS communication module, state Acquisition module, signal acquisition module, outer memory module;And exterior I O module.
Described STM32F407 main control module includes first serial communication unit, and second serial communication unit, when RTC is real-time Clock, ADC D/A conversion unit, spi bus control unit, I2C bus control unit, USB OTG control unit, FSMC controls single Unit, SDIO control unit, the first external interrupt interface, the second external interrupt interface, four road GPIO interface;
GPRS module includes SIM900A communication serial port, SIM900A radio-frequency antenna and SIM900A Ring interface;Wherein, SIM900A communication serial port is connected with the second serial communication unit of STM32F407 main control module, for the configuration to GPRS module And and main control module between data transmission;SIM900A radio-frequency antenna is connected to PC upper computer module by GPRS network Ftp server port, transmits for the file between host computer and terminal;SIM900A Ring interface and STM32F407 master control First external interrupt interface of module is connected, for being waken up up the system in sleep by the incoming call of GPRS module;
State acquisition module includes battery tension Acquisition Circuit, device temperature Acquisition Circuit and threshold triggers and gathers electricity Road;Three is connected with the ADC D/A conversion unit of STM32F407 main control module;Wherein, battery tension Acquisition Circuit is used for The working power state of detection equipment, is sent to host computer by generation event alert when less than the threshold value that can arrange;Equipment Generation event alert, for detecting the temperature of equipment working environment, is sent out by temperature collection circuit when exceeding the threshold value that can arrange Give host computer;Threshold triggers Acquisition Circuit is connected with the detection comparison circuit of signal acquisition module, is used for gathering comparison circuit The level value of output, represents have stronger infrasound signals when level value exceedes the threshold value that can arrange, and now starts system Sampling task, obtains infrasonic sound data;
Signal acquisition module includes outside analog-digital converter unit, digital regulation resistance unit, signals collecting and filtered electrical Road, detection and comparison circuit;Outside analog-digital converter unit is connected with the spi bus control unit of STM32F407 main control module, System controls outside analog-digital converter by SPI interface and works, and obtain sample conversion or value;Outside analog-digital converter Unit is also connected with filter circuit with signals collecting;Digital regulation resistance unit and the I2C bus marco of STM32F407 main control module Unit is connected, and system passes through I2C Interface Controller digital regulation resistance, and adjusting resistance value, realizing threshold value in conjunction with detection comparison circuit can The function adjusted;Signals collecting is connected respectively at outside analog-digital converter unit and detection comparison circuit with filter circuit, will gather Analog-digital converter and detection comparison circuit is given to signal;Detection comparison circuit and signals collecting filter circuit, digital regulation resistance Unit and state acquisition module threshold triggers Acquisition Circuit be connected, in conjunction with the value of digital regulation resistance, to filtered letter Number do detection and compare operation, the result of output being passed to threshold triggers Acquisition Circuit and differentiates;
Outer memory module includes FRAM unit, USB OTG interface, sram cell, SDIO interface;FRAM unit with The I2C bus control unit of STM32F407 main control module is connected, the parameter configuration that equipment is started by STM32F407 main control module It is saved in FRAM, when can't detect SD card, start-up parameter will be obtained from FRAM and starting system;USB OTG interface with The USB OTG control unit of STM32F407 main control module is connected, and system can utilize this interface to enter with PC as USB Device Row usb communication, is transferred to the file in SD card in PC;Sram cell controls single with the FSMC of STM32F407 main control module Unit is connected, and system passes through FSMC Interface Controller sram cell, opens up the computing for HHT algorithm of the external memory space;SDIO Interface is connected with the SDIO control unit of STM32F407 main control module, the SD card that system is accessed by SDIO Interface Controller outside, For storing startup configuration file, journal file and raw data file and result file;
Exterior I O module includes button I/O interface and four road input/output interfaces;Button I/O interface and STM32F407 master Second external interrupt interface of control module is connected, and can be waken up up the system being in sleep state by external key;Four tunnel inputs Four road GPIO interface of output interface STM32F407 main control module are connected, and reserve with for system, can be extended out by this interface and need The input-output equipment wanted;
PC upper computer module includes com port and ftp server;Wherein, the of com port and STM32F407 main control module One serial communication unit is connected, and carries out command interaction and transmits with file;Ftp server is by GPRS network and GPRS communication module It is connected, for long-range transmitting data file.
Present invention advantage compared with prior art is:
(1) system have employed SIM900A as GPRS communication module, it is possible to by GPRS network, takes to the FTP of host computer Business device is set up and is connected, and the configuration in system SD card is uploaded onto the server with data file, it is possible to download needs from server File configures with renewal and the amendment of completion system.
(2) present invention incorporates UCOSIII operating system, complete the co-ordination between modules.System is divided into Communication task, acquisition tasks, event task, state task, file access task, data processing task, system task, idle Business, realizes the scheduling that toggles between each task according to necessary priority, thus takes full advantage of CPU, also improve The execution efficiency of system.
(3) present invention uses there is the STM32F407 main control module of M4 kernel, and combine the FPU of M4 kernel, be The internal HHT Algorithm Analysis realized infrasound signals of system.
Accompanying drawing explanation
Fig. 1 is the composition frame chart of present system;
Fig. 2 is a kind of based on GPRS communication the debris flow infrasound monitoring method of the present invention.
Detailed description of the invention
As it is shown in figure 1, described STM32F407 main control module 1 includes first serial communication unit 11, second serial communication unit Unit 12, RTC real-time clock 13, ADC D/A conversion unit 14, spi bus control unit 15, I2C bus control unit 16, USB OTG control unit 17, FSMC control unit 18, SDIO control unit 19, the first external interrupt interface 110, the second external interrupt Interface 111, four road GPIO interface 112;Respectively at GPRS module 2, state acquisition module 3, signal acquisition module 4, outside storage Module 5, each unit of exterior I O module 6 and PC upper computer module 7 is connected, and coordinates to control this in conjunction with UCOSIII operating system A little module work, and carry out the transmission of data, the function that completion system needs;
Described GPRS communication module 2 is for carrying out file transmission with described PC upper computer module 7;Described state acquisition module 3 are used for collecting work power supply status and/or the temperature of working environment, produce time warning, and via described GPRS communication module 2 It is sent to described PC upper computer module 7;Described state acquisition module 3 is further used for the sampling judging whether to start infrasonic sound data Task;Described signal acquisition module 4 is used for obtaining infrasonic sound data, and acquired infrasonic sound data is stored to described outside storage Module 5;Described outer memory module 5 is used for storing infrasonic sound data, and on a preset condition based by the infrasonic sound data that stored via Described GPRS communication module 2 is sent to described PC upper computer module 7;Described exterior I O module 6, is used for extending input and output and sets Standby.
GPRS module 2 includes SIM900A communication serial port 21, SIM900A radio-frequency antenna 22 and SIM900A Ring interface 23;Wherein, SIM900A communication serial port 21 is connected with the second serial communication unit 12 of STM32F407 main control module 1, for right The configuration of GPRS module 2 and and main control module between data transmission;SIM900A radio-frequency antenna 22 is connected by GPRS network To ftp server 72 port of PC upper computer module 7, transmit for the file between host computer and terminal;SIM900A Ring Interface 23 is connected with the first external interrupt interface 110 of STM32F407 main control module 1, for being called out by the incoming call of GPRS module 2 Keep alert while in bed sleep in system;
State acquisition module 3 includes battery tension Acquisition Circuit 31, device temperature Acquisition Circuit 32 and threshold triggers Acquisition Circuit 33;Three is connected with the ADC D/A conversion unit 14 of STM32F407 main control module 1;Wherein, battery tension Acquisition Circuit 31, for detecting the working power state of equipment, will produce event alert when less than the threshold value that can arrange and send To host computer;Device temperature Acquisition Circuit 32 is for detecting the temperature of equipment working environment, when exceeding the threshold value that can arrange Generation event alert is sent to host computer;Threshold triggers Acquisition Circuit 33 and the detection comparison circuit 44 of signal acquisition module 4 It is connected, for gathering the level value of comparison circuit output, represents that when level value exceedes the threshold value that can arrange there is stronger time Acoustical signal, now starts the sampling task of system, obtains infrasonic sound data;
Signal acquisition module 4 includes outside analog-digital converter unit 41, digital regulation resistance unit 42, signals collecting and filter Wave circuit 43, detection and comparison circuit 44;Outside analog-digital converter unit 41 and the spi bus control of STM32F407 main control module 1 Unit processed 15 is connected, and system controls outside analog-digital converter by SPI interface and works, and obtain sample conversion or value;Simultaneously Outside analog-digital converter unit 41 is also connected with filter circuit 43 with signals collecting;Digital regulation resistance unit 42 and STM32F407 The I2C bus control unit 16 of main control module 1 is connected, and system passes through I2C Interface Controller digital regulation resistance, adjusting resistance value, knot Close detection comparison circuit 44 and realize the adjustable function of threshold value;Signals collecting and filter circuit 43 are respectively at outside analog-digital converter list Unit 41 is connected with detection comparison circuit 44, will collect signal and give analog-digital converter and detection comparison circuit;Detection is more electric The threshold triggers of the 3 of road 44 and signals collecting filter circuit 43, digital regulation resistance unit 42 and state acquisition module gathers electricity Road 33 is connected, and in conjunction with the value of digital regulation resistance, filtered signal is done detection and compares operation, the result of output is passed to threshold Value triggering collection circuit 33 differentiates;
Outer memory module 5 includes FRAM unit 51, USB OTG interface 52, sram cell 53, SDIO interface 54; FRAM unit is connected with the I2C bus control unit 16 of STM32F407 main control module 1, and STM32F407 main control module 1 is by equipment The parameter configuration started is saved in FRAM, when can't detect SD card, will obtain start-up parameter from FRAM and starting system;USB OTG interface 52 is connected with the USB OTG control unit 17 of STM32F407 main control module 1, and system can utilize this interface as USB Device and PC carry out usb communication, are transferred in PC by the file in SD card;Sram cell 53 and STM32F407 master control The FSMC control unit of module 1 be connected, system pass through FSMC Interface Controller sram cell 53, open up external memory space for The computing of HHT algorithm;SDIO interface 54 is connected with the SDIO control unit 19 of STM32F407 main control module 1, and system passes through SDIO The outside SD card accessed of Interface Controller, is used for storing startup configuration file, journal file and raw data file and processing knot Really file;
Exterior I O module 6 includes button I/O interface 61 and four road input/output interfaces 62;Button I/O interface 61 with Second external interrupt interface of STM32F407 main control module 1 be connected, can be waken up up by external key be in sleep state be System;Four road GPIO interface of four road input/output interface 62STM32F407 main control modules 1 are connected, and reserve with for system, can lead to Cross this interface and extend out the input-output equipment of needs;
PC upper computer module 7 includes com port 71 and ftp server 72;Wherein, com port 71 and STM32F407 master control mould The first serial communication unit of block 1 is connected, and carries out command interaction and transmits with file;Ftp server 72 by GPRS network with GPRS communication module 2 is connected, for long-range transmitting data file.
The translation and compiling environment of system is in PC, uses KEILv5 compiler to carry out cross compile and link, by the USB of PC Mouth accesses JLINK debugger, then accesses from the JATG interface of Target Board, completes the program burn writing to objective chip STM32F407, The program that programming is good will be run in objective chip.
The structure of system uses the architecture design of layering, and be positioned at the bottom is hardware circuit and module, includes MAX5434 digital regulation resistance, UART serial interface, USB interface, AD7192 analog-digital converter, ADC chip internal analog digital conversion Device, RTC real-time clock, EXTI external interrupt interface, FRAM ferroelectric memory, I2C bus control interface, SRAM external static is deposited Reservoir, SIM900 communication module, SDIO interface, BUZZER buzzer.BSP layer up is then the driving layer of these hardware, real Show and these hardware is controlled with the direct of module and communicate.BSP layer have invoked the chip storehouse letter of main control module STM32F407 Number, it is achieved the Development of Modular of engineering.It is the most up UCOSIII operating system, it is achieved that the scheduling of task and the management of resource. The superiors are application layer, include system application, communications applications, and file operation is applied, and equipment is applied, event application, and FTP transmits Application, sampling application, process application.Complete the functional realiey of whole system, in combination with FAT32 file system, to joining Put the management with data file.
Correlation performance parameters:
Running voltage: 10V < U < 16V
Duty power consumption: < 200mA × 12V (does not include communication equipment power consumption)
Mobile communication: GPRS network
Data storage medium: SD card
Communication interface: RS232 serial ports, USB
Operating temperature :-20 DEG C~70 DEG C
Sample frequency: > 100Hz
Analog digital conversion: 24 A/D
Infrasound signals frequency band range: 1 20hz
Sensitivity: < 50mV/Pa
Dynamic range: > 60dB
Battery tension accuracy: < ± 1%
Device temperature accuracy: < ± 1 DEG C
Below by embodiment, the present invention is further described in detail.
First, equipment is being placed the monitoring point with GPRS network signal, after starting device, equipment first carry SD card With Fat32 file system, then start system handle according to the configuration information that Device.ini file under SD card root is specified The configuration information updated is saved in FRAM ferroelectric memory, if SD card does not exists or startup file does not exists, system is then from guarantor Deposit starting device in the FRAM ferroelectric memory of up-to-date startup configuration information.System is starting finally by triggering startup event, note The state outcome that recording system starts, and be saved in the Event.log file under SD card root.Shape can be passed through after system start-up The states such as state task, is periodically detected the status information of equipment, the battery tension of acquisition, device temperature, mode of operation are all protected Existing in the State.log file under SD card root, if there being state parameter to exceed default threshold value, then can trigger warning thing Part, recording events information also preserves, and Event.log file is uploaded to ftp server by the IP address preset.Except week Phase sexual state detects, and the monitoring detection of equipment moment and the level value of the comparator output pin in comparison circuit 44 are to judge whether Reaching threshold value, the anode of comparator is connected with cymoscope outfan, and negative terminal is connected with the tap terminals of digital regulation resistance unit 42.Number Word potentiometer unit 42 connects 5v power supply, utilizes voltage divide function to determine the potential value of potentiometer taper end, thus determines and compare The reference comparison voltages of device namely threshold voltage.The tap position program of digital regulation resistance unit 42 is controlled, it is achieved thereby that set For configuring threshold size according to the numerical value in configuration file.Infrasonic sound according to general debris flow infrasound 15Hz to 18Hz frequency range Detection test, in conjunction with sensitivity and dynamic range and the amplification of amplifying circuit 10 times of sensor, initial threshold is configured to 10mv, the later stage dynamically can configure according to ambient parameter.If infrasonic sound gathers threshold value and is not reaching to, then system is not accepting any life In the case of order, low power sleep mode will be entered.When infrasonic sound collection threshold value reaches, system triggering collection task can enter fortune Row state, infrasound signals is sampled by acquisition tasks according to the parameter preset, and often adopts full 1024 point data just by message team The mode of row sends the data to process task and store tasks.The task that triggering processed when process task receives message enters Running status, process task carries out HHT Algorithm Analysis in units of 1024 data points, analyzes after terminating result data to disappear The mode of breath queue is sent to store tasks.Store tasks will be triggered when store tasks receives message and enter running status, storage The data transmitted can be saved in specific file by task according to data type.
HHT i.e. Hilbert-Huang transform algorithm, this algorithm is decomposed by EMD and Hilbert transform two parts form.EMD divides Solution thought is: first find out local maximum and the local minimum point of signal;Then extreme point is carried out curve interpolation processing, Obtaining coenvelope line and the lower envelope line of signal, the signal meeting intrinsic mode functions is filtered out by recycling filtering algorithm successively Coming, signal decomposition becomes several intrinsic mode functions and a residual volume sum the most at last.Hilbert transform is to divide above-mentioned EMD Each intrinsic mode functions that solution obtains carries out Hilbert conversion, and Hilbert transformation for mula is:
y ( t ) = 1 &pi; P &Integral; - &infin; + &infin; X ( &tau; ) t - &tau; d &tau;
Wherein x represents that EMD decomposes the stable quantity signal obtained, and P is Cauchy's principal value.Obtained corresponding to stabilization signal by this formula Analytic signal:
Z (t)=x (t)+jy (t)=a (t) ejθ(t)
Z (t) is the analytical function of an intrinsic mode functions, and primary signal is broken down into several eigen modes, these The analytical function of intrinsic mode functions merges and ignores residual signal components and obtains:
x ( t ) = &Sigma; i = 1 n a i ( t ) &CenterDot; exp ( j &CenterDot; &Integral; w i ( t ) d t )
According to above formula can using amplitude and instantaneous phase as the time function representation in three dimensions, amplitude this Time-frequency distributions is referred to as Hilbert amplitude spectrum.
When sending note order to the SIM900A module of system, such as FTP put myfile 0:/myfile 182.254.219.199 time, system start-up communication task, resolve the communications command that SIM900A receives, to IP address be 182.254.219.199 server sends put request, and the file that file path is " 0:/myfile " is sent to server, Preserve file entitled " myfile ".In like manner can obtain file by order to server, by the file between server Transmission can realize sample source data and the HHT Algorithm Analysis result data upload function of debris flow infrasound signal, in providing Center station personnel analyze on-site signal characteristic and state and reach warning effect.It is also possible to carry out the config update of system, far The active configuration parameter of Cheng Xiugai system or firmware update.System have employed SIM900A module as GPRS telecommunication scheme, Use the ICP/IP protocol stack that it is embedded, it is possible to set up FTP with central station server and link and upload data and journal file, also can Enough down loading updating configuration files and firmware file.System employs UCOSIII operating system, manages each task coordinate and coordinates fortune OK.Achieve collection, process, storage, multiple tasks such as communication parallel with Tong Bu.Equipment has self-checking function, powers on and opens Entering operating system after Dong, system first guiding application program starts, and detection equipment configuration is the most normal with peripheral hardware, starts unsuccessfully Will print prompt keeping records.
As in figure 2 it is shown, a kind of based on GPRS communication the debris flow infrasound monitoring method of the present invention:
Step 201: power on;
Step 202: described PC upper computer module 7 initializes;And field subsystem initializes;Wherein said STM32F407 main control module 1, described GPRS communication module 2, described state acquisition module 3, described signal acquisition module 4, described Outer memory module 5;And described exterior I O module 6 initializes respectively, obtain initialization operation result;
Step 203: judge whether initialization operation result fatal staging error of Denging occurs, if occurring, enters step 215;No Then enter step 204;
Step 204: hardware initialization carries out operating system initialization after completing;
Step 205: judge whether to initialize successfully, if unsuccessfully entering step 215, otherwise enters step 206;
Step 206: create system initiation task, finally start operating system;
Step 207: after starting operating system, the task that os starting task creation system needs, including literary composition Part store tasks, acquisition tasks, data processing task, equipment condition monitoring task, communication task;File system mounted, equipment Start-up parameter obtains, and ferroelectric memory updates, and GPRS communication interface configures, and external SRAM is tested;
Step 208: after completing startup program, described debris flow infrasound monitoring system initiation task is hung up self, is operated system System is according to demand and event starts to be scheduling between each task;
Step 209: judge whether the level value that detection comparison circuit 44 exports exceedes set threshold value;If exceeding, enter Enter step 210;
Step 210: start infrasonic sound data acquisition session, obtains infrasonic sound number from described outside analog-digital converter unit 41 According to;
Step 211: judge whether to gather full 1024 sampled points, if full 1024 points, then enters step 212;If No, then return step 210 and continue to start acquisition tasks;
Step 212: the infrasonic sound data of described 1024 sampled points are carried out HHT Algorithm Analysis, at described outer memory module 5 Store described analysis result;Enter step 213;
Step 213: judge whether to reach times of collection;If arrival times of collection, enter step 214, if it is not, then return Return step 210 to continue to start acquisition tasks;
Step 214: complete an acquisition operations, by the infrasonic sound data after HHT Algorithm Analysis of collection via described GPRS communication module 2 is sent to described PC upper computer module 7;
Step 215: system mistake, carries out endless loop warning.
The content not being described in detail in description of the invention belongs to prior art known to professional and technical personnel in the field.
The above is only the preferred embodiment of the present invention, it is noted that come for those of ordinary skill in the art Saying, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (3)

1. a debris flow infrasound monitoring system based on GPRS communication, including: field subsystem and PC upper computer module (7);Described field subsystem includes: STM32F407 main control module (1), GPRS communication module (2), state acquisition module (3), Signal acquisition module (4), outer memory module (5);And exterior I O module (6);Wherein,
Described STM32F407 main control module (1) is for controlling each module in field subsystem;
Described GPRS communication module (2) is for carrying out file transmission with described PC upper computer module (7);
Described state acquisition module (3) is used for collecting work power supply status and/or the temperature of working environment, produces time warning, And it is sent to described PC upper computer module (7) via described GPRS communication module (2);
Described state acquisition module (3) is further used for the sampling task judging whether to start infrasonic sound data;
Described signal acquisition module (4) is used for obtaining infrasonic sound data, and acquired infrasonic sound data is stored and deposit to described outside Storage module (5);
Described outer memory module (5) is used for storing infrasonic sound data, and on a preset condition based by the infrasonic sound data that stored via Described GPRS communication module (2) is sent to described PC upper computer module (7);
Described exterior I O module (6), is used for extending input-output equipment.
2. debris flow infrasound monitoring system as claimed in claim 1, it is characterised in that:
Described STM32F407 main control module (1) includes first serial communication unit (11), second serial communication unit (12), RTC Real-time clock (13), ADC D/A conversion unit (14), spi bus control unit (15), I2C bus control unit (16), USB OTG control unit (17), FSMC control unit (18), SDIO control unit (19), the first external interrupt interface (110), second External interrupt interface (111), four road GPIO interface (112);
Described GPRS module (2) includes SIM900A communication serial port (21), SIM900A radio-frequency antenna (22) and SIM900A Ring Interface (23);Wherein, SIM900A communication serial port (21) and the second serial communication unit (12) of STM32F407 main control module (1) Be connected, for the configuration of GPRS module (2) and and described STM32F407 main control module (1) between data transmit; SIM900A radio-frequency antenna (22) is connected to ftp server (72) port of PC upper computer module (7) by GPRS network, is used for File transmission is carried out with PC upper computer module (7);The of SIM900A Ring interface (23) and STM32F407 main control module (1) One external interrupt interface (110) is connected, for waking up the system in sleep up by the incoming call of GPRS module (2);
Described state acquisition module (3) includes battery tension Acquisition Circuit (31), device temperature Acquisition Circuit (32) and threshold value Triggering collection circuit (33);Described battery tension Acquisition Circuit (31), described device temperature Acquisition Circuit (32) and described Threshold triggers Acquisition Circuit (33) is connected with the ADC D/A conversion unit (14) of STM32F407 main control module (1) respectively;Wherein, Battery tension Acquisition Circuit (31) is used for detecting working power state, when less than set threshold value, generation event is alert Accuse and be sent to PC upper computer module (7) via described GPRS module (2);Device temperature Acquisition Circuit (32) is used for detecting equipment The temperature of working environment, will produce event alert and send via described GPRS module (2) when exceeding set threshold value To PC upper computer module (7);Detection comparison circuit (44) phase of threshold triggers Acquisition Circuit (33) and signal acquisition module (4) Even, it is used for obtaining the level value that detection comparison circuit (44) exports, starts sampling when level value exceedes set threshold value and appoint Business, obtains infrasonic sound data;
Described signal acquisition module (4) includes outside analog-digital converter unit (41), digital regulation resistance unit (42), signals collecting With filter circuit (43), detection and comparison circuit (44);Outside analog-digital converter unit (41) and STM32F407 main control module (1) spi bus control unit (15) is connected, and controls outside analog-digital converter unit (41) by SPI interface and works, and obtains Value after sample conversion;Outside analog-digital converter unit (41) is also connected with filter circuit (43) with signals collecting;Numeral Potentiometer unit (42) and the I of STM32F407 main control module (1)2C bus control unit (16) is connected, and is used for arranging detection ratio The comparison threshold value of relatively circuit (44);Signals collecting and filter circuit (43) respectively with outside analog-digital converter unit (41) and detection Comparison circuit (44) be connected, will collect infrasonic sound data be sent respectively to outside analog-digital converter unit (41) and detection more electric Road (44);Detection comparison circuit (44) and signals collecting filter circuit (43), digital regulation resistance unit (42) and state acquisition The threshold triggers Acquisition Circuit (33) of (3) of module is connected, in conjunction with the value of digital regulation resistance unit (42), to filtered signal Do detection and compare operation, the result of output being passed to threshold triggers Acquisition Circuit (33) and differentiates;When starting sampling task After, will store to outer memory module (5) via the data after outside analog-digital converter unit (41) conversion;
Described outer memory module (5) includes FRAM unit (51), USB OTG interface (52), sram cell (53), SDIO interface (54);FRAM unit and the I of STM32F407 main control module (1)2C bus control unit (16) is connected, STM32F407 master control mould The parameter configuration that equipment starts is saved in FRAM by block (1), when can't detect SD card, will obtain start-up parameter from FRAM and opening Dynamic system;USB OTG interface (52) is connected with USB OTG control unit (17) of STM32F407 main control module (1), utilizes this Interface carries out usb communication as USB device and PC, is transferred in PC by the file in SD card;Sram cell (53) with The FSMC control unit of STM32F407 main control module (1) is connected, by FSMC Interface Controller sram cell (53), for HHT The computing of algorithm;SDIO interface (54) is connected with the SDIO control unit (19) of STM32F407 main control module (1), passes through SDIO The outside SD card accessed of Interface Controller, is used for storing startup configuration file, journal file and raw data file and processing knot Really file;
Described exterior I O module (6) includes button I/O interface (61) and four road input/output interfaces (62);Button I/O interface (61) It is connected with the second external interrupt interface of STM32F407 main control module (1), can be waken up up by external key and be in sleep state System;Four road input/output interfaces (62) are connected with four road GPIO interface (112) of STM32F407 main control module (1), can lead to Cross this interface and extend out the input-output equipment of needs;
Described PC upper computer module (7) includes com port (71) and ftp server (72);Wherein, com port (71) and STM32F407 The first serial communication unit of main control module (1) is connected, and carries out command interaction and transmits with file;Ftp server (72) passes through GPRS network is connected with GPRS communication module (2), for long-range transmitting data file.
3. a debris flow infrasound monitoring method based on GPRS communication for system as claimed in claim 1 or 2, its feature exists In:
Step 201: power on;
Step 202: described PC upper computer module (7) initializes;And field subsystem initializes;Wherein said STM32F407 Main control module (1), described GPRS communication module (2), described state acquisition module (3), described signal acquisition module (4), described Outer memory module (5);And described exterior I O module (6) initializes respectively, obtain initialization operation result;
Step 203: judge whether initialization operation result fatal staging error of Denging occurs, if occurring, enters step 215;Otherwise enter Enter step 204;
Step 204: hardware initialization carries out operating system initialization after completing;
Step 205: judge whether to initialize successfully, if unsuccessfully entering step 215, otherwise enters step 206;
Step 206: create system initiation task, finally start operating system;
Step 207: after starting operating system, the task that os starting task creation system needs, deposit including file Storage task, acquisition tasks, data processing task, equipment condition monitoring task, communication task;File system mounted, equipment starts Parameter acquiring, ferroelectric memory updates, and GPRS communication interface configures, and external SRAM is tested;
Step 208: after completing startup program, debris flow infrasound monitoring system initiation task hang-up self, operating system is according to need Summation event starts to be scheduling between each task;
Step 209: judge whether the level value that detection comparison circuit (44) exports exceedes set threshold value;If exceeding, enter Step 210;
Step 210: start infrasonic sound data acquisition session, obtains infrasonic sound data from described outside analog-digital converter unit (41);
Step 211: judge whether to gather full 1024 sampled points, if full 1024 points, then enters step 212;If it is not, then Return step 210 to continue to start acquisition tasks;
Step 212: the infrasonic sound data of described 1024 sampled points are carried out HHT Algorithm Analysis, deposits at described outer memory module (5) Store up described analysis result;Enter step 213;
Step 213: judge whether to reach times of collection;If arrival times of collection, enter step 214, if it is not, then return step Rapid 210 continue to start acquisition tasks;
Step 214: complete an acquisition operations, by the infrasonic sound data after HHT Algorithm Analysis of collection via described GPRS Communication module (2) is sent to described PC upper computer module (7);
Step 215: system mistake, carries out endless loop warning.
CN201610555166.9A 2016-07-14 2016-07-14 A kind of debris flow infrasound monitoring system and method based on GPRS communication Pending CN106197654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610555166.9A CN106197654A (en) 2016-07-14 2016-07-14 A kind of debris flow infrasound monitoring system and method based on GPRS communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610555166.9A CN106197654A (en) 2016-07-14 2016-07-14 A kind of debris flow infrasound monitoring system and method based on GPRS communication

Publications (1)

Publication Number Publication Date
CN106197654A true CN106197654A (en) 2016-12-07

Family

ID=57476097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610555166.9A Pending CN106197654A (en) 2016-07-14 2016-07-14 A kind of debris flow infrasound monitoring system and method based on GPRS communication

Country Status (1)

Country Link
CN (1) CN106197654A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519750A (en) * 2018-03-29 2018-09-11 东华大学 A kind of digital regulation resistance long-range control method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB939736A (en) * 1959-08-12 1963-10-16 Akad Wissenschaften Ddr Improvements in or relating to infrasonic apparatus
CN201732456U (en) * 2010-01-22 2011-02-02 西南交通大学 Network type debris flow infrasound alarm
CN102122423A (en) * 2011-01-18 2011-07-13 中国地质调查局水文地质环境地质调查中心 Mud-rock flow monitoring, analyzing and early-warning device and mud-rock flow monitoring method
CN203894911U (en) * 2014-04-22 2014-10-22 中国地质大学(北京) Mud-rock flow infrasound monitoring alarm device
CN104133921A (en) * 2014-07-24 2014-11-05 上海镭隆科技发展有限公司 Embedded computer data collecting equipment and embedded computer data collecting method
CN105025087A (en) * 2015-06-15 2015-11-04 山东大学 Beidou wide-area migration target autonomous internet of things and stereoscopic monitoring integrated device and working method thereof
CN206177452U (en) * 2016-07-14 2017-05-17 中国地质大学(北京) Mud -rock flow infrasonic sound monitoring system based on GPRS communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB939736A (en) * 1959-08-12 1963-10-16 Akad Wissenschaften Ddr Improvements in or relating to infrasonic apparatus
CN201732456U (en) * 2010-01-22 2011-02-02 西南交通大学 Network type debris flow infrasound alarm
CN102122423A (en) * 2011-01-18 2011-07-13 中国地质调查局水文地质环境地质调查中心 Mud-rock flow monitoring, analyzing and early-warning device and mud-rock flow monitoring method
CN203894911U (en) * 2014-04-22 2014-10-22 中国地质大学(北京) Mud-rock flow infrasound monitoring alarm device
CN104133921A (en) * 2014-07-24 2014-11-05 上海镭隆科技发展有限公司 Embedded computer data collecting equipment and embedded computer data collecting method
CN105025087A (en) * 2015-06-15 2015-11-04 山东大学 Beidou wide-area migration target autonomous internet of things and stereoscopic monitoring integrated device and working method thereof
CN206177452U (en) * 2016-07-14 2017-05-17 中国地质大学(北京) Mud -rock flow infrasonic sound monitoring system based on GPRS communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冷小鹏 等: "基于STM32微处理器的泥石流次声采集系统", 《计算机工程与设计》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519750A (en) * 2018-03-29 2018-09-11 东华大学 A kind of digital regulation resistance long-range control method

Similar Documents

Publication Publication Date Title
Mois et al. A cyber-physical system for environmental monitoring
US9869569B2 (en) Method and device for remotely sensing and monitoring physical quantities with low power ad hoc network
CN205449853U (en) Blood glucose meter with radio communication function
CN205647550U (en) Monitoring system for intelligence laboratory
CN104950760A (en) Power supply management integrated marine monitoring general data collector
CN206804836U (en) Monitored System of Industrial Storage Cell
CN105005192B (en) A kind of pointer type intelligent clock
CN102194261A (en) Portable fingerprint attendance machine capable of performing remote positioning and attendance processing method thereof
CN106442678A (en) GSM water quality monitoring system
CN103822667A (en) Temperature-humidity acquisition system based on Bluetooth technology
CN101335670A (en) Wireless sensor network warehouse monitoring system and method on basis of ZigBee
CN206177452U (en) Mud -rock flow infrasonic sound monitoring system based on GPRS communication
CN202058443U (en) Bird voice recognition system
CN103673222A (en) Wireless household air quality detector capable of improving air quality actively
CN110913359A (en) Multi-fusion agricultural environment online monitoring system based on LoRa technology and WiFi technology
CN115391161A (en) Log transmission method, device, system and storage medium
CN106197654A (en) A kind of debris flow infrasound monitoring system and method based on GPRS communication
CN205041399U (en) Intelligent electrocardiogram monitoring system
CN201607806U (en) Distributed comprehensive earthquake situation and secondary disaster situation collecting system on site of earthquake
CN203069733U (en) A vibration-detection-based partial discharging point positioning device used for GIS tests
Bilbao et al. Ultra-low power wireless sensing for long-term structural health monitoring
CN109193631A (en) A kind of electric power management system based on block chain
CN109471043A (en) A kind of storage batteries of transformer substation group on-Line Monitor Device based on LTE mechanics of communication
CN112291733B (en) Intelligent cloud vibration monitoring system and method based on Bluetooth and NBIOT dual wireless technology
CN108661898A (en) A kind of intelligent water pump controller for wisdom agricultural irrigation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161207

WD01 Invention patent application deemed withdrawn after publication