CN101630011A - Earthquake monitoring and alarming device based on virtual instrument - Google Patents
Earthquake monitoring and alarming device based on virtual instrument Download PDFInfo
- Publication number
- CN101630011A CN101630011A CN 200910065834 CN200910065834A CN101630011A CN 101630011 A CN101630011 A CN 101630011A CN 200910065834 CN200910065834 CN 200910065834 CN 200910065834 A CN200910065834 A CN 200910065834A CN 101630011 A CN101630011 A CN 101630011A
- Authority
- CN
- China
- Prior art keywords
- data
- geomagnetic field
- value
- computer
- azimuth
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 27
- 230000005358 geomagnetic field Effects 0.000 claims abstract description 42
- 238000012545 processing Methods 0.000 claims abstract description 15
- 230000002159 abnormal effect Effects 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000011160 research Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Images
Landscapes
- Geophysics And Detection Of Objects (AREA)
Abstract
本发明公开了一种地震监测与报警器,其主要特征是具有电脑和磁场传感器,通过所述电脑上的虚拟仪器软件读取磁场传感器发送过来的数据,截取其中的有效字节,进行数据处理得到地磁场方位值,将此方位值与该地正常地磁场方位值比较得到地磁场状态显示在电脑用户界面上,实时绘制地磁场方位值与对应时间的二维图形,将地磁场状态、方位值及对应时间保存成数据文件,对监测数据进行后续处理,计算出均值、方差等相关参数,当地磁场发生异常扰动时,电脑发出异常报警,并把此刻的地磁场方位值和时间记录在异常数据文件中。该发明具有成本非常低,监测时间无限长,监测数据格式简单,数据的后续处理方便且易于扩展,研究人员数据交流简单方便等优点。
The invention discloses an earthquake monitoring and alarm device, which is mainly characterized in that it has a computer and a magnetic field sensor, reads the data sent by the magnetic field sensor through the virtual instrument software on the computer, intercepts valid bytes therein, and performs data processing Obtain the azimuth value of the geomagnetic field, compare this azimuth value with the normal geomagnetic field azimuth value of the place to obtain the state of the geomagnetic field and display it on the computer user interface, draw the two-dimensional graph of the geomagnetic field azimuth value and corresponding time in real time, and compare the geomagnetic field state, azimuth The value and corresponding time are saved as data files, and the monitoring data are processed subsequently to calculate the mean value, variance and other related parameters. in the data file. The invention has the advantages of very low cost, infinitely long monitoring time, simple monitoring data format, convenient subsequent data processing and expansion, and simple and convenient data exchange for researchers.
Description
所属技术领域 Technical field
本发明属于地震预警技术领域,利用虚拟仪器、磁场测量、地震监测等技术监测磁场数据,为地震预报提供依据,具体涉及一种基于虚拟仪器的地震监测与报警器。The invention belongs to the technical field of earthquake early warning, uses technologies such as virtual instruments, magnetic field measurement, and earthquake monitoring to monitor magnetic field data to provide evidence for earthquake prediction, and specifically relates to an earthquake monitoring and alarm device based on virtual instruments.
背景技术 Background technique
地震可以在瞬间造成巨大灾难,给人民生命财产带来了不可估量的损失,地震监测是国内外的一项重要研究课题,而目前的磁场监测设备,多为电子线路板,存储容量小,数据交流不方便,且不能进行数据的后续处理。Earthquakes can cause huge disasters in an instant, and bring immeasurable losses to people's lives and properties. Earthquake monitoring is an important research topic at home and abroad, but the current magnetic field monitoring equipment is mostly electronic circuit boards, with small storage capacity and data The communication is inconvenient, and the follow-up processing of the data cannot be carried out.
发明内容 Contents of the invention
为此,本发明的目的是提供了一种基于虚拟仪器的地震监测与报警器,能长时间监测地磁场状态及报警地磁场的异常扰动,保存地磁数据,并对数据做后续的处理。监测数据保存在PC硬盘上,可以无限长时间的监测地磁场数据,数据格式简单,方便研究人员进行监测数据的交流,数据的后续分析、处理也非常方便。For this reason, the purpose of the present invention is to provide a kind of earthquake monitoring and alarm device based on virtual instrument, can monitor the abnormal disturbance of geomagnetic field and alarm geomagnetic field for a long time, save geomagnetic data, and do follow-up processing to data. The monitoring data is stored on the PC hard disk, which can monitor the geomagnetic field data for an unlimited time. The data format is simple, which is convenient for researchers to exchange monitoring data, and the follow-up analysis and processing of data is also very convenient.
为达到上述目的,本发明采取的技术方案是具有电脑和磁场传感器,所述电脑和磁场传感器连接,通过电脑上的虚拟仪器软件读取磁场传感器通过串口发送过来的一串16进制数据,所述虚拟仪器软件截取其中的两个有效字节,进行进制换算、方位值计算等数据处理得到地磁场方位值,将此方位值与该地正常地磁场方位值比较转化为地磁场状态显示在电脑用户界面上,所述虚拟仪器软件调用函数读出每个地磁场方位值所对应的时间,实时绘制出地磁场方位值与对应时间的二维图形,将地磁场状态、方位值及对应的时间保存成数据文件,作为监测数据,为以后的研究提供资料,对监测数据进行后续处理,计算出均值、方差、概率密度等相关统计参数,为地震研究人员提供数据参考;当地磁场发生异常扰动时,所述电脑就会发出异常报警,并把此刻的地磁场方位值和时间记录在异常数据文件中。In order to achieve the above object, the technical solution adopted by the present invention is to have a computer and a magnetic field sensor, the computer is connected to the magnetic field sensor, and a string of hexadecimal data sent by the magnetic field sensor through the serial port is read by the virtual instrument software on the computer. The above-mentioned virtual instrument software intercepts the two effective bytes, and performs data processing such as base conversion and azimuth value calculation to obtain the azimuth value of the geomagnetic field, and compares the azimuth value with the normal geomagnetic azimuth value of the place and converts it into the status of the geomagnetic field and displays it in the On the computer user interface, the virtual instrument software calls a function to read the time corresponding to each geomagnetic field azimuth value, draws a two-dimensional graph of the geomagnetic field azimuth value and the corresponding time in real time, and displays the state of the geomagnetic field, the azimuth value and the corresponding time. The time is saved as a data file, as monitoring data, to provide information for future research, to perform follow-up processing on the monitoring data, to calculate the mean, variance, probability density and other related statistical parameters, and to provide data reference for earthquake researchers; the local magnetic field is abnormally disturbed , the computer will send out an abnormal alarm, and record the geomagnetic field azimuth and time at the moment in the abnormal data file.
本发明利用地震前地磁场会发生扰动的原理,它可以长时间监测地磁场状态及报警地磁场的异常扰动;本发明采用虚拟仪器技术,大大节省了硬件成本,数据的显示、保存、后续处理全都在电脑上的虚拟仪器软件中进行;将地磁场状态及异常数据保存成特定数据格式,存储于PC硬盘上,格式简单,可以监测无限长时间,实时显示并绘制地磁场数据与时间曲线;当地磁场异常扰动时,能发出各种警报并做出记录;监测数据格式简单可方便的读取、拷贝;对监测数据进行后续处理、统计、分析,为地震研究人员提供判断依据;同时方便对监测数据进行后续处理及地震研究人员之间进行交流。The present invention utilizes the principle that the geomagnetic field will be disturbed before an earthquake, and it can monitor the state of the geomagnetic field and alarm the abnormal disturbance of the geomagnetic field for a long time; the present invention uses virtual instrument technology, which greatly saves hardware costs, data display, storage, and subsequent processing All are carried out in the virtual instrument software on the computer; the geomagnetic field status and abnormal data are saved in a specific data format, stored on the PC hard disk, the format is simple, and it can be monitored for an infinite time, real-time display and draw the geomagnetic field data and time curve; When the local magnetic field is abnormally disturbed, it can issue various alarms and make records; the monitoring data format is simple and convenient to read and copy; the monitoring data can be processed, counted and analyzed to provide judgment basis for earthquake researchers; Monitoring data for subsequent processing and exchange among earthquake researchers.
附图说明 Description of drawings
下面结合附图对本发明作进一步说明。The present invention will be further described below in conjunction with accompanying drawing.
图1是本发明的结构示意图。Fig. 1 is a schematic structural view of the present invention.
图2是本发明的软件功能框图。Fig. 2 is a software functional block diagram of the present invention.
具体实施方式 Detailed ways
参见附图,本发明具有电脑和磁场传感器,磁场传感器由电脑的USB口供电,同时通过RS232串口向电脑串口发送字符串。通过电脑上的虚拟仪器软件读取磁场传感器通过串口发送过来的一串16进制数据,所述虚拟仪器软件截取其中的两个有效字节,进行进制换算、方位值计算等数据处理得到地磁场方位值,将此方位值与该地正常地磁场方位值比较转化为地磁场状态(正常态、异常态)显示在电脑用户界面上,所述虚拟仪器软件调用函数读出每个地磁场方位值所对应的时间,实时绘制出地磁场方位值与对应时间的二维图形,将地磁场状态、方位值及对应的时间保存成数据文件,作为监测数据,为以后的研究提供资料,对监测数据进行后续处理,计算出均值、方差、概率密度等相关统计参数,为地震研究人员提供数据参考;当地磁场发生异常扰动时,所述电脑就会发出异常报警,并把此刻的地磁场方位值和时间记录在异常数据文件中。Referring to the accompanying drawings, the present invention has a computer and a magnetic field sensor, the magnetic field sensor is powered by the USB port of the computer, and simultaneously sends character strings to the computer serial port through the RS232 serial port. A string of hexadecimal data sent by the magnetic field sensor through the serial port is read by the virtual instrument software on the computer, and the virtual instrument software intercepts two valid bytes among them, and performs data processing such as base conversion and azimuth value calculation to obtain the ground Magnetic field azimuth value, compare this azimuth value with the normal geomagnetic field azimuth value of this place and convert it into a geomagnetic field state (normal state, abnormal state) and display it on the computer user interface, and the virtual instrument software calls a function to read out each geomagnetic field azimuth The time corresponding to the value, draw the two-dimensional graph of the azimuth value of the geomagnetic field and the corresponding time in real time, save the state of the geomagnetic field, the azimuth value and the corresponding time as a data file, and use it as monitoring data to provide information for future research. After subsequent processing of the data, relevant statistical parameters such as the mean value, variance, and probability density are calculated to provide data reference for earthquake researchers; when the local magnetic field is abnormally disturbed, the computer will send out an abnormal alarm, and the azimuth value of the geomagnetic field at the moment and times are recorded in the exception data file.
在本发明中,所述虚拟仪器软件包括采集模块、显示模块、保存模块、警告模块、数据处理模块。其中各部分功能为:In the present invention, the virtual instrument software includes a collection module, a display module, a storage module, a warning module and a data processing module. The functions of each part are:
采集模块:设置串行通信的相关参数,包括波特率、数据位、奇偶校验等。读取传感器的发送过来的16进制字符串并显示出来,截取其中的有效字节(X方向地磁场方位值和Y方向地磁场方位值),对这两字节数据进行数值转换、公式计算等得到地磁场方位值。Acquisition module: Set the relevant parameters of serial communication, including baud rate, data bits, parity, etc. Read the hexadecimal string sent by the sensor and display it, intercept the effective bytes (the azimuth value of the geomagnetic field in the X direction and the azimuth value of the geomagnetic field in the Y direction), and perform numerical conversion and formula calculation on the two bytes of data and so on to obtain the azimuth value of the earth's magnetic field.
显示模块:将所述虚拟仪器软件计算出来的地磁场方位值与该地无地震发生时的地磁场方位值比较,差值在设定范围之内,认为是正常,超过设定范围,认为是异常。实时地将当前地磁场状态(正常状态/异常状态),显示在电脑用户界面上;所述虚拟仪器软件在计算出地磁场方位值的同时,调用函数读取该时刻的电脑上的时间值(年月日时分秒),绘制地磁场数据与对应时间的二维曲线图。Display module: compare the azimuth value of the geomagnetic field calculated by the virtual instrument software with the azimuth value of the geomagnetic field when there is no earthquake in this place, if the difference is within the set range, it is considered normal, and if it exceeds the set range, it is considered to be normal. abnormal. In real time, the current geomagnetic field state (normal state/abnormal state) is displayed on the computer user interface; when the virtual instrument software calculates the geomagnetic field azimuth value, it calls a function to read the time value on the computer at this moment ( Year, month, day, hour, minute, and second), draw a two-dimensional graph of the geomagnetic field data and the corresponding time.
保存模块:所述虚拟仪器软件每隔半秒钟向总监测数据文件中添加一条记录,内容包括时、分、秒、此刻地磁场方位值、正常(或异常)。当地磁场异常扰动超过设定值时,所述虚拟仪器软件会向异常监测数据文件中添加一条记录,内容包括时、分、秒、此刻地磁场方位值、异常、与前一时刻地磁场方位值的差值。另外,用户可设定监测数据文件保存的路径,监测数据文件保存的时间间隔(每多少小时保存一次)。Preservation module: the virtual instrument software adds a record to the total monitoring data file every half second, and the content includes hour, minute, second, geomagnetic field position value at this moment, normal (or abnormal). When the abnormal disturbance of the local magnetic field exceeds the set value, the virtual instrument software will add a record to the abnormal monitoring data file. difference. In addition, the user can set the path for saving the monitoring data files, and the time interval for saving the monitoring data files (how many hours to save once).
警告模块:当地磁场异常变化超过设定值时,所述电脑用户界面中报警灯由绿色变为红色发出异常警告,同时电脑发出报警音;Warning module: when the abnormal change of the local magnetic field exceeds the set value, the alarm light in the computer user interface will change from green to red to issue an abnormal warning, and the computer will issue an alarm sound at the same time;
数据处理模块:读取总监测数据文件中的地磁场方位值,计算出每分钟地磁场方位值的平均值、方差、概率密度,并将这些数据保存在统计数据文件中,格式为开始时间、截止时间、均值、方差、概率密度。Data processing module: read the azimuth value of the geomagnetic field in the total monitoring data file, calculate the average value, variance, and probability density of the azimuth value of the geomagnetic field per minute, and save these data in the statistical data file. The format is start time, Cutoff time, mean, variance, probability density.
上面所述的实施例仅仅是对本发明优选实施方式进行描述,并非对本发明的构思和范围进行限定,在不脱离本发明设计思想的前提下,本领域中普通技术人员对本发明技术方案作出的各种变形和改进,均应属于本发明的保护范围。The above-mentioned embodiments are only descriptions of the preferred implementation modes of the present invention, and are not intended to limit the concept and scope of the present invention. All kinds of deformation and improvement should belong to the protection scope of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910065834 CN101630011A (en) | 2009-08-10 | 2009-08-10 | Earthquake monitoring and alarming device based on virtual instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910065834 CN101630011A (en) | 2009-08-10 | 2009-08-10 | Earthquake monitoring and alarming device based on virtual instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101630011A true CN101630011A (en) | 2010-01-20 |
Family
ID=41575184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910065834 Pending CN101630011A (en) | 2009-08-10 | 2009-08-10 | Earthquake monitoring and alarming device based on virtual instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101630011A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819177A (en) * | 2010-04-23 | 2010-09-01 | 王海宝 | Ambient air quality monitoring system |
CN102193105A (en) * | 2010-03-10 | 2011-09-21 | 韩蕴慧 | Anti-seismic early warning instrument for electronic inductance of preseismic characteristic magnetic anomaly |
CN102279413A (en) * | 2011-05-09 | 2011-12-14 | 深圳市鸿鹄成实业发展有限公司 | Earthquake alarm |
CN102505757A (en) * | 2011-11-17 | 2012-06-20 | 东南大学 | Probability prediction method of performances of shock insulation rubber support saddles |
CN103503042A (en) * | 2011-02-26 | 2014-01-08 | 地震预警系统公司 | Customizable policy engine |
CN103680071A (en) * | 2013-12-13 | 2014-03-26 | 王暾 | Earthquake early warning monitor location change identification method based on magnetic field sensor |
CN104914459A (en) * | 2015-05-18 | 2015-09-16 | 谢镕键 | Geomagnetic sensor real-time networking short-impending earthquake monitoring system and forecasting method |
US9372272B2 (en) | 2010-12-17 | 2016-06-21 | Seismic Warning Systems, Inc. | Earthquake warning system |
-
2009
- 2009-08-10 CN CN 200910065834 patent/CN101630011A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102193105A (en) * | 2010-03-10 | 2011-09-21 | 韩蕴慧 | Anti-seismic early warning instrument for electronic inductance of preseismic characteristic magnetic anomaly |
CN101819177A (en) * | 2010-04-23 | 2010-09-01 | 王海宝 | Ambient air quality monitoring system |
US9372272B2 (en) | 2010-12-17 | 2016-06-21 | Seismic Warning Systems, Inc. | Earthquake warning system |
CN103503042A (en) * | 2011-02-26 | 2014-01-08 | 地震预警系统公司 | Customizable policy engine |
US9082286B2 (en) | 2011-02-26 | 2015-07-14 | Seismic Warning Systems, Inc. | Customizable policy engine |
CN103503042B (en) * | 2011-02-26 | 2016-03-30 | 地震预警系统公司 | Customizable policy engine |
CN102279413A (en) * | 2011-05-09 | 2011-12-14 | 深圳市鸿鹄成实业发展有限公司 | Earthquake alarm |
CN102505757A (en) * | 2011-11-17 | 2012-06-20 | 东南大学 | Probability prediction method of performances of shock insulation rubber support saddles |
CN103680071A (en) * | 2013-12-13 | 2014-03-26 | 王暾 | Earthquake early warning monitor location change identification method based on magnetic field sensor |
CN103680071B (en) * | 2013-12-13 | 2016-07-06 | 王暾 | Earthquake pre-warning monitoring instrument shift in position recognition methods based on magnetic field sensor |
CN104914459A (en) * | 2015-05-18 | 2015-09-16 | 谢镕键 | Geomagnetic sensor real-time networking short-impending earthquake monitoring system and forecasting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101630011A (en) | Earthquake monitoring and alarming device based on virtual instrument | |
CN109856639B (en) | Passive sonar positioning and tracking system and method for Yangtze finless porpoise based on Internet of Things | |
CN204178533U (en) | Remote intelligent monitoring instrument | |
CN108760981A (en) | A kind of remote controlled air quality detector | |
CN204422502U (en) | A kind of gas detector for workover treatment | |
CN204044950U (en) | A kind of protection alarm device based on voice keyword match technique | |
CN204744140U (en) | Fall down intelligent wrist strap of location warning | |
CN203870742U (en) | PLC-based remote anti-theft monitoring system | |
CN202583333U (en) | Human body static detecting system | |
CN103489148A (en) | A mobile intelligent information collection terminal and mobile information collection comparison method | |
CN111380788A (en) | A dust monitoring system in the air | |
CN108387310A (en) | It is a kind of based on solar powered noise level monitor | |
CN202471980U (en) | Multifunctional radiation survey meter | |
CN202394104U (en) | Indoor environment comprehensive monitoring system | |
CN2624190Y (en) | Camcorder type human body infrared temperature measurement device | |
CN203386322U (en) | Intelligent home security system | |
CN111767191B (en) | An integrated system with temperature detection function for big data | |
CN108731793A (en) | A kind of hand-held noise level monitor | |
CN204090017U (en) | A kind of law-enforcing recorder being provided with alcohol monitoring device | |
CN202502088U (en) | A home anti-theft and gas concentration detection device | |
CN203149780U (en) | Remote monitoring alarm system for air quality | |
CN205507748U (en) | Computer diagnosis system | |
CN206282262U (en) | A kind of data backup memory device | |
CN205608483U (en) | Indoor digital monitoring management system | |
CN204557135U (en) | Multifunctional dust real-time monitor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20100120 |