CN102625333A - Recording device applied to wireless sensor network test and utilizing method thereof - Google Patents
Recording device applied to wireless sensor network test and utilizing method thereof Download PDFInfo
- Publication number
- CN102625333A CN102625333A CN2011103690895A CN201110369089A CN102625333A CN 102625333 A CN102625333 A CN 102625333A CN 2011103690895 A CN2011103690895 A CN 2011103690895A CN 201110369089 A CN201110369089 A CN 201110369089A CN 102625333 A CN102625333 A CN 102625333A
- Authority
- CN
- China
- Prior art keywords
- node
- equipment
- module
- data
- analysis
- 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
Images
Abstract
The invention discloses a recording device applied to a wireless sensor network test and a utilizing method thereof. The recording device applied to the wireless sensor network test aims to solve the problem that since rapid error positioning is required within a short time during the wireless sensor network test, limited node resources and capability cause difficulty in positioning and human resource cost and time resource cost and the like are too high in large-scale tests. The recording device applied to the wireless sensor network test is provided with two serial interfaces which are connected with the nodes to record states, events, time and node number information sent by the nodes. In large-scale wireless sensor network tests, every one of sensor node, collection node and decision node is provided with the recording device applied to the wireless sensor network test so that the recording device can collect record data to a monitoring station for analyzing, and then help to rapidly position, transmit and gather various errors. The recording device applied to the wireless sensor network test comprises linked equipment hardware, terminal equipment integrated software and transmission data format and the like.
Description
Technical field
The present invention relates to a kind of test record equipment and method for using that is applied in the wireless sensor network, described equipment can be used in the transmission and fusion mistake in the wireless sensor network of location after laying.This equipment has comprised locking equipment and terminal equipment integrated software.
Background technology
Continuous develop rapidly along with MEMS, radio communication and digital circuit has low-power consumption, low cost, and the sensor node of multi-functional characteristic occurs in a large number., more and more come into one's own also because of its application prospects based on the sensor network of a large amount of sensor node deployments.Wireless sensor network can be widely used in the military and civilian environment, carries out information collecting and processing, to the detection of image tracing and network environment, especially is fit to be configured in occasions such as field, traffic main artery, medical treatment and security department.
Along with the continuous expansion of wireless sensor network application and deeply, its reliability becomes very important key factor.And some mistakes can appear in the sensor network inevitably, such as perception mistake, error of transmission, fusion mistake, error of transmission and decision error etc.When these mistakes appear in network self, might cause loss of data, misjudgment, or even network failure, therefore a kind of can arising at the historic moment by wrong method or the equipment of alignment sensor network itself.
The research method of sensor network location of mistake problem roughly can be divided into two types: centralized configuration and distributed frame according to architectural difference both at home and abroad at present.
The representative of centralized configuration is the MANNA structure that people such as Linnyer Beatrys Ruiz proposes; In this structure; Select independently manager of a node conduct, this management node is responsible for from all node acquisition of informations, the whole network of control and the complicated management role of operation.The problem of centralized configuration mainly contains two: the one, and meeting produces the information overhead of great number in the process of data polling; The 2nd, requirement management node resource is not limited, does not need Considering Energy consumption.
Distributed frame is proposed by people such as Arun K.Somani, in this structure, whole network division is become several sub regions, and each subregion all has a management node, and each management node is responsible for monitoring and detecting the failure condition in the one's respective area.Also there is shortcoming in distributed frame, and the calculation consumption when node carries out local decision-making work is very expensive, can exhaust its energy very soon, thereby cause network to disintegrate.
No matter being centralized configuration or distributed frame, all is to rely on the node own resources to locate mistake, and the restriction that this unavoidably receives on the resource of node own is in particular in:
1, there is not extensive storage capacity
2, the no GPS overall situation regularly
3, increasing storage can raise the cost and power consumption
4, if be fixed on the nodes records storage, be difficult to remove after the completion test
In addition, in the wireless sensor network test, also following problems may be encountered usually to locate mistake fast:
1, the manpower consumption is big in the large scale test
2, impossible in the long-time false-alarm test
3, part is wrong written in water
4, the part mistake needs long-time aggregation of data to judge
5, part is wrong needs a plurality of transducers to unite judgement
Therefore, we need a kind of method or equipment of new alignment sensor network error, can avoid the restriction of node own resource, again can be efficiently, low human cost ground realizes the location of mistake requirement.Thereby be guided out the object of the invention.
Summary of the invention
Edge this, the object of the present invention is to provide a kind of test record equipment that is applied in the wireless sensor network test, this recording equipment links to each other with node through debugging interface, notes state and event information that the node biography is come.The test record equipment that is provided partly is made up of locking equipment hardware, terminal equipment integrated software and transmission data format etc.
Wherein, 1, the hardware of the locking equipment in the described test record equipment shown in Fig. 1 (a), comprise power module, micro controller module, memory module, interface module, debugging module, GPS module and wireless module.Have functional modules such as low-power consumption dormancy processing and interface parsing simultaneously, the explanation of each hardware module is distinguished as follows:
1) power module: use chargeable lithium ion battery power supply, convert the 3.3V operation level to,, prolong the service time of battery single charge with the power consumption penalty of effective reduction power module through LDO;
2) micro controller module: use the MSP430 single-chip microcomputer to make MCU, this kind of chip has reached the balance on performance and the power consumption, and low-power consumption mode is provided, and has further improved the service time of battery;
3) memory module: use the high-capacity FLASH chip, the memory space of 32MByte at least is provided, and each data recorded has only several Byte, so in long-time test, also can satisfy the requirement of storage;
4) interface control module: have two kinds of interfaces of SPI and I2C available, conveniently carry out wired the butt joint with different nodes; And UART is provided module, can be connected the transmission data with the DB9 serial port of computer.
5) debugging module: be used for debugging and programming program.Use standard jtag interface cooperates common JTAG to change USB conversion line, can link to each other with common computer (comprising portable computer) and debug, and uses portable computer to debug and has promoted the convenience of testing significantly.
6) GPS module: use commercial GPS module, its host-host protocol and frame structure are externally transparent, and the user can avoid relating to these too loaded down with trivial details detailed problems.
7) wireless module: select the frequency different for use with node, avoided and the node wireless receiving and dispatching between interfere with each other.
Wherein, power module is that entire equipment provides power supply; Micro controller module is configured and controls time block, wireless module and interface control module, and memory module is carried out read-write operation; Wireless module is responsible for data through being wirelessly transmitted to the monitoring station; Interface control module be responsible for and node and computer between wire communication.
2, described test record equipment also includes the following function module shown in Fig. 1 (b)
1) low-power consumption dormancy processing module: when node transmission data were come, recording equipment just needed work.So at one's leisure, recording equipment gets into the low-power consumption resting state, when node when recording equipment sends data, produce interrupt signal by SPI, make recording equipment withdraw from resting state.Can how long get into park mode through the software setting recording equipment free time.
2) interface parsing module: main dactylus point is transferred to the form of recording equipment data.
3) device control module: the driver that mainly refers to every equipment.
4) upper strata also provides the terminal equipment integrated software; Operate on the monitoring station of analyzing reported data; This integrated software provides functions such as sensing flow analysis, sensing trend analysis, sensing distributional analysis, sensing quality analysis, abnormal marking and warning, fusion process playback, perception data supervision, sensory data statistics, link statistics analysis; And second development interface, satisfying personalized demand be provided.
Wherein, low-power consumption dormancy processing module is dispatched each module, determines when dormancy and wakes a module up; Terminal equipment integrated software and other functional modules are relatively independent, operate in the system of monitoring station.
3, data frame format
1) node is passed to the data frame format of recording equipment
Consider versatility, described test record equipment SPI uses the motorola pattern, and a SPI frame maximum length is 16 bits.Once transmit data and use 3 SPI frames at most.The frame structure of 3 SPI frames sees that respectively Fig. 5 node passes to first SPI frame format, Fig. 6 node of recording equipment and pass to second SPI frame format of recording equipment and the 3rd the SPI frame format that Fig. 7 node is passed to recording equipment.
Wherein the head of first SPI frame has distributed 2 bit to represent " the SPI frame number that this secondary data occupies ", and 2 bit represent " numbering of this frame "; The head of second, third frame all distributes 2 bit to represent " numbering of this frame ".
The time of record is used the form in " time, branch, second ", back 11 bit of first SPI frame represent " time " and " branch ", the bit2 of second SPI frame is " second " to bit7; Back 8 bit bit representations " event type " of second SPI frame, " fusion results " and " type of alarm ", wherein " fusion results " to have only when " event type " be that " merge report to the police " is that just effectively " type of alarm " user can distribute voluntarily;
Back 14 bit positions of the 3rd SPI frame can be used to expression " node serial number ", and the user can be provided with its effective bit wide voluntarily.
2) frame format of recording equipment reported data
The frame format of reported data is seen the frame format of data on Fig. 8 recording equipment.With 1) in three SPI frames be merged into a long frame and upload.Wherein last 8bit representative " testing equipment ID " can be supported 256 testing equipments.If surpass 256 equipment, can corresponding increase bit number.
Wherein, node is passed to " interface control module " and " the interface parsing module " in the functional module in the corresponding hardware module of data frame format of recording equipment, has defined the frame format when equipment passes through interface module and node wire communication; " wireless module " and " radio protocol stack " in the functional module in the corresponding hardware module of the frame format of recording equipment reported data, the equipment that defined is through wireless frame format of communicating by letter with the monitoring station.
In sum:
1. test record equipment is received from the data frame format of node.Through the transmission of SPI interface, adopt general motorola pattern, a SPI frame maximum length is 16 bits; Once transmit data and use 3 SPI frames at most; The frame format of recording equipment reported data is the long frame that three SPI frames are merged into;
2. test record equipment being possessed two kinds of serial line interfaces links to each other with node; State, incident, time and node serial number information that the record node transmits; In the wireless sensor network test; Be equipped with a described test record equipment for each sensing node, aggregation node and decision point, record data converged to measuring station analysis, be used to help location transmission fast and merge all kinds of mistakes by test record equipment;
3. the invention discloses a kind of recording equipment and method for using that is applied in the wireless sensor network test.In the wireless sensor network test, locate the wrong position that takes place fast, have following problem: node resource and limited ability cause location difficulty, and the expense of aspects such as human cost in the large scale test and time cost is too big.Test record equipment provided by the invention is used to solve this type of problem.This test record equipment possesses two kinds of serial line interfaces and links to each other with node; State, incident, time and node serial number information that the record node transmits; In the massive wireless sensor test; Be equipped with this test record equipment for each sensing node, aggregation node and decision node, by test record equipment record data converged to the monitoring station and analyze, be used to help all kinds of mistakes such as location transmission and fusion fast.Equipment provided by the invention partly is made up of locking equipment hardware, terminal equipment integrated software and transmission data format etc.
Description of drawings
Fig. 1 (a) recording equipment hardware structure diagram, (b) functional module structure figure.
Add Sniffer equipment in Fig. 2 point to point network and help the location mistake.
The laying of Fig. 3 recording equipment in wireless sensor network.
The timing analysis application model sketch map of this recording equipment of Fig. 4.
Fig. 5 node is passed to first SPI frame format of recording equipment.
Fig. 6 node is passed to second SPI frame format of recording equipment.
Fig. 7 node is passed to the 3rd SPI frame format of recording equipment.
The frame format of Fig. 8 recording equipment reported data.
The flow chart of Fig. 9 fixer network mistake.
The practical implementation method
1, test philosophy and distribution method
In the test of wireless point to point network, the error reason of bust this has two kinds: A, because the procotol design is incorrect causes not sending or sending mistake; B, because procotol design is incorrect or link is too poor, cause taking defeat.In order to locate the wrong position that takes place fast; The present invention adds detector device (Sniffer) like Fig. 2 in network, when Sniffer detects corresponding data, show that mistake A takes place; When Sniffer did not detect corresponding data, we can think that wrong B takes place.
In wireless sensor network with information fusion function, may there be multiple type of error, comprise perception mistake, error of transmission, fusion mistake, error of transmission and decision error etc.This recording equipment is as Sniffer; Laying mode in this network is as shown in Figure 3; Each sensing node, aggregation node and decision node all are equipped with a recording equipment, though configuration can increase cost like this, what bring is the location minimizing of the wrong time that is spent.
2, application model
The application model of this recording equipment has three kinds: delay Analysis, real-time analysis and timing analysis.
Delay Analysis is used wired reported data, and recording equipment will be kept at memory module from the data that node receives earlier, and behind the EOT, computer links to each other with the interface module of recording equipment through wired, makes location determination after fetching all record data.
Wireless reported data is used in real-time analysis and timing analysis.Real-time analysis is meant the respective record quilt in real time through being wirelessly transmitted to the monitoring station, and timing analysis is meant that recording equipment is regularly through being wirelessly transmitted to the monitoring station.The two is all used wireless module and sends data, and the speed that receives data from node when recording equipment when perhaps wireless transmission is in wait state, need temporarily say that data are saved in memory module greater than the speed that sends to the monitoring station.
In the timing analysis and two kinds of patterns of real-time analysis of wireless transmission, the advantage of timing analysis pattern is to use the mode of time-sharing multiplex, avoids conflict and interference on the channel, and several number reports according to can merging, and has saved the wireless transmission power consumption.And the advantage of real-time analysis pattern relative timing analytical model is to navigate to mistake more fast.
3, method for using
The mistake that flow process below using is come the alignment sensor network:
Suppose that A equipment, B equipment, C equipment among Fig. 4 connect A node, B node, C node respectively, wherein A node and B node are sensing nodes, and the C node is an aggregation node, are responsible for perception and merge the record data of uploading of monitoring station tabulating equipment A, B, C.We could be according to Fig. 9 mistake so! Do not find Reference source.The position that fixer network makes a mistake.Concrete steps are following:
1) driving source produces the incident that excites warning;
To be reported finishing such as 2), the information of monitoring station summarizing and reporting;
3) whether monitoring station inspection A, B find to report to the police, if having then get into next step, if not then report the perception mistake;
4) whether inspection A, B reports alarm, if having then get into next step, if not then report the sensing node program error;
5) whether inspection C point receives A, B warning, if having then get into next step, if not then report error of transmission;
6) inspection C point fusion results has alarm free, if having then report and do not find mistake, if not then report the fusion mistake.
Claims (8)
1. a test record equipment of having used in the wireless sensor network test is characterized in that described recording equipment comprises locking equipment hardware, terminal equipment integrated software, wherein,
1. described test record equipment comprises power module, micro controller module, memory module, interface module, debugging module, GPS module and wireless module;
Wherein, power module is that entire equipment provides power supply; Micro controller module is configured and controls time block, wireless module and interface control module, and memory module is carried out read-write operation; Wireless module is responsible for data through being wirelessly transmitted to the monitoring station; Interface control module be responsible for and node and computer between wire communication;
2. described terminal equipment integrated software comprises that sensing flow analysis, sensing trend analysis, sensing distributional analysis, sensing quality analysis, abnormal marking and warning, fusion process playback, perception data are kept watch on, sensory data statistics, link statistics analysis, and second development interface; The integrated running software in described terminal is in the system of monitoring station.
2. by the described equipment of claim 1, it is characterized in that:
A) described power module: use chargeable lithium ion battery power supply, convert the 3.3V operation level to,, prolong the service time of battery single charge with the power consumption penalty of effective reduction power module through LDO;
B) micro controller module: use the MSP430 single-chip microcomputer to make MCU, and low-power consumption mode is provided;
C) memory module: use the high-capacity FLASH chip of the memory space that 32MByte is provided at least, and each data recorded has only several Byte, so in long-time test, also can satisfy the requirement of storage;
D) interface control module: have two kinds of interfaces of SPI and I2C available, conveniently carry out wired the butt joint with different nodes; And UART is provided module, be connected the transmission data with the DB9 serial port of computer;
E) debugging module: be used for debugging and programming program: use the standard jtag interface, cooperate common JTAG to change USB conversion line, link to each other with the computer common and debug with comprising portable computer;
F) GPS module: use commercial GPS module, make host-host protocol and frame structure externally transparent;
G) wireless module: select the frequency different for use with node, avoided and the node wireless receiving and dispatching between interfere with each other.
3. by the described equipment of claim 1, it is characterized in that recording equipment also comprises the functional module with low-power consumption dormancy processing and interface parsing module.
4. by claim 1 or 2 described equipment, it is characterized in that test record equipment is received from the data frame format of node.Through the transmission of SPI interface, adopt general motorola pattern, a SPI frame maximum length is 16 bits; Once transmit data and use 3 SPI frames at most; The frame format of recording equipment reported data is the long frame that three SPI frames are merged into.
5. use method like the described equipment of claim 1-3; It is characterized in that test record equipment is possessed two kinds of serial line interfaces to link to each other with node; State, incident, time and node serial number information that the record node transmits in the wireless sensor network test, are equipped with a described test record equipment for each sensing node, aggregation node and decision point; By test record equipment record data are converged to measuring station analysis, be used to help location transmission fast and merge all kinds of mistakes.
6. by the described method of claim 5, it is characterized in that the application model of described test record equipment has three kinds: delay Analysis, real-time analysis and timing analysis;
A) delay Analysis is used wired reported data, and recording equipment will be kept at memory module from the data that node receives earlier, and behind the EOT, computer links to each other with the interface module of recording equipment through wired, makes location determination after fetching all record data;
B) wireless reported data is used in real-time analysis and timing analysis, and real-time analysis is meant the respective record quilt in real time through being wirelessly transmitted to the monitoring station, and timing analysis is meant that recording equipment is regularly through being wirelessly transmitted to the monitoring station; The both uses wireless module and sends data, and the speed that receives data from node when recording equipment is greater than the speed that sends to the monitoring station, and when perhaps wireless transmission was in wait state, needs temporarily be saved in memory module with data.
7. by the described method of claim 5, it is characterized in that in the timing analysis and two kinds of patterns of real-time analysis of wireless transmission that the timing analysis pattern is used the mode of time-sharing multiplex, avoid conflict and interference on the channel, and several number reports according to merging; And real-time analysis pattern relative timing analytical model is to navigate to mistake more fast.
8. by the described method of claim 4, the step when it is characterized in that position that fixer network makes a mistake is:
1) driving source produces the incident that excites warning;
To be reported finishing such as 2), the information of monitoring station summarizing and reporting;
3) whether inspection A equipment in monitoring station finds warning with B equipment, if having then get into next step, if not then report the perception mistake;
4) whether inspection A, B reports alarm, if having then get into next step, if not then report the sensing node program error;
5) whether inspection C node receives that A, B report to the police, if having then get into next step, if not then report error of transmission;
6) inspection C node fusion results has alarm free, if having then report and do not find mistake, if not then report fusion mistake.
Described A equipment, B equipment, C equipment connect A node, B node, C node respectively, and wherein A node and B node are sensing nodes, and the C node is an aggregation node, are responsible for perception and merge the record data of uploading of monitoring station tabulating equipment A, B, C.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103690895A CN102625333A (en) | 2011-11-18 | 2011-11-18 | Recording device applied to wireless sensor network test and utilizing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103690895A CN102625333A (en) | 2011-11-18 | 2011-11-18 | Recording device applied to wireless sensor network test and utilizing method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102625333A true CN102625333A (en) | 2012-08-01 |
Family
ID=46564977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103690895A Pending CN102625333A (en) | 2011-11-18 | 2011-11-18 | Recording device applied to wireless sensor network test and utilizing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102625333A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103727942A (en) * | 2012-10-12 | 2014-04-16 | 成都众易通科技有限公司 | Vehicle-mounted GPS device |
CN103906093A (en) * | 2014-04-22 | 2014-07-02 | 广州汇智通信技术有限公司 | Base station data acquisition device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051954A (en) * | 2007-04-26 | 2007-10-10 | 天津大学 | Detecting system and method for radio sensor network algorithm |
CN101308152A (en) * | 2008-06-24 | 2008-11-19 | 浙江理工大学 | Alcohol test method and system based on wireless network |
CN101489249A (en) * | 2009-03-03 | 2009-07-22 | 中国科学院软件研究所 | Wireless sensor network test and measurement data collecting method and system thereof |
CN101917736A (en) * | 2010-08-17 | 2010-12-15 | 中国科学院计算技术研究所 | Sensor network test bed system and test method thereof |
-
2011
- 2011-11-18 CN CN2011103690895A patent/CN102625333A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051954A (en) * | 2007-04-26 | 2007-10-10 | 天津大学 | Detecting system and method for radio sensor network algorithm |
CN101308152A (en) * | 2008-06-24 | 2008-11-19 | 浙江理工大学 | Alcohol test method and system based on wireless network |
CN101489249A (en) * | 2009-03-03 | 2009-07-22 | 中国科学院软件研究所 | Wireless sensor network test and measurement data collecting method and system thereof |
CN101917736A (en) * | 2010-08-17 | 2010-12-15 | 中国科学院计算技术研究所 | Sensor network test bed system and test method thereof |
Non-Patent Citations (1)
Title |
---|
李天林: "无线传感器网络测试平台研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103727942A (en) * | 2012-10-12 | 2014-04-16 | 成都众易通科技有限公司 | Vehicle-mounted GPS device |
CN103906093A (en) * | 2014-04-22 | 2014-07-02 | 广州汇智通信技术有限公司 | Base station data acquisition device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110299763B (en) | Automatic low-voltage distribution area line topology identification system and method | |
CN109413614A (en) | A kind of vehicle ground integrated synthesis analysis platform | |
CN103632521B (en) | A kind of power information gathers the local channel detection method of fault detection system | |
CN107241232B (en) | Fault positioning system and method suitable for dispatching automation network analysis | |
CN108833539A (en) | Collector, method and system based on edge calculations | |
CN103036625A (en) | Design method of detecting system for telecontrol remote terminal unit (RTU) and information channel | |
CN104064007A (en) | Centralized meter reading system | |
CN105446197B (en) | A kind of column control ground critical data detection device | |
CN105137215A (en) | Medical equipment cost-benefit wireless monitoring analysis system and medical equipment cost-benefit wireless monitoring analysis method | |
CN101166336B (en) | Road measuring and recording device and system | |
CN102625333A (en) | Recording device applied to wireless sensor network test and utilizing method thereof | |
CN103269288B (en) | A kind of detection method to switch ports themselves | |
CN104239186A (en) | Intelligent electric meter virus detection method based on load rate of CPU | |
CN113285989A (en) | Intelligent management method and system for electric vehicle charging station based on Internet of things | |
CN103017824A (en) | Monitoring system using measurement robot | |
CN108131164B (en) | Multifunctional intelligent sensor | |
CN115801828A (en) | Intelligent substation secondary data analysis system based on platform and terminal | |
CN202975749U (en) | Construction engineering construction progress monitoring system | |
CN209842370U (en) | Data acquisition and storage system for intelligent multi-channel digital signals | |
CN213935170U (en) | Low-voltage transformer area intelligent diagnosis device | |
CN209803990U (en) | Road network data acquisition system device | |
CN209299280U (en) | A kind of use based on Ethernet fells and transports the telecommunication system of dimension | |
CN203275664U (en) | Building earthquake-proof real-time detection system | |
CN202330706U (en) | Response probability detector | |
CN2754298Y (en) | Base station power and environmental 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120801 |