CN102348295A - System based on wireless data acquisition and networking method thereof - Google Patents

System based on wireless data acquisition and networking method thereof Download PDF

Info

Publication number
CN102348295A
CN102348295A CN2011102985466A CN201110298546A CN102348295A CN 102348295 A CN102348295 A CN 102348295A CN 2011102985466 A CN2011102985466 A CN 2011102985466A CN 201110298546 A CN201110298546 A CN 201110298546A CN 102348295 A CN102348295 A CN 102348295A
Authority
CN
China
Prior art keywords
node
base station
data acquisition
frame
data
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
CN2011102985466A
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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2011102985466A priority Critical patent/CN102348295A/en
Publication of CN102348295A publication Critical patent/CN102348295A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a system based on wireless data acquisition and a networking method thereof. The system is composed of multiple nodes and a base station capable of communicating with a monitoring terminal of an upper computer. The system is characterized in that each node comprises a microprocessor 1, a data acquisition module 2, a control output module 3 and a wireless communication module 4, wherein the microprocessor 1 is respectively connected with the data acquisition module 2, the control output module 3 and the wireless communication module 4 and is used for performing an operational processing on the acquired data; the data acquisition module 2 is used for acquiring all digital quantity and analog quantity of a detected object; the control output module 3 is used for outputting all digital quantity and analog quantity; the wireless communication module 4 is used for directly transmitting data between the nodes and the base station, and the base station in the wireless data acquisition system is used for acquiring the node transmission data and communicating with the upper computer. The networking method is simple and practicable and is not restricted by a development platform; besides, the frequency hopping method of the networking method can effectively resist the interference of industrial control field.

Description

System and network-building method thereof based on data acquisition
Technical field
The present invention relates to a kind of systematic networking method, especially, relate to a kind of system and network-building method thereof based on data acquisition.
Background technology
Data acquisition is that the data that collect are transmitted by wireless approach; Its acquisition terminal all is to have sensing unit one by one; The intelligent node of data processing unit and wireless communication unit; Sensing unit becomes digital quantity to the physical quantity that will gather so that handle and transmission; Data processing unit has microcontroller; Can carry out calculation process to the data of gathering; Wireless communication unit is used for carrying out the transmitting-receiving of data; Plurality of nodes can be formed one bunch in conjunction with a base station; The structural similarity of base station and node; Want data demonstration in real time on monitor terminal that a plurality of nodes are gathered, just need a reliable and secure systematic networking method carry out the scheduling of data.
At present; The systematic networking method of data acquisition has a variety of, but most also resting in the process of theoretical research is difficult to realize in simple microcontroller; The main deficiency as follows that exists: 1, present many network-building methods cause net too complicated in order to improve the quantity of node; 2, many network-building methods have been considered the mobility of system, and the transfer of data of handling node in the moving process needs the agreement of complex design; 3, many network-building methods have designed complicated frequency hopping strategy in order to improve transmission reliability, and these strategies are difficult to realize in microcontroller.Remedy above-mentioned deficiency, the systematic networking method of data acquisition, though can not be applied to various occasions,, still can obtain actual application in the fixed wireless data collecting field.
Summary of the invention
The objective of the invention is to the deficiency that exists in the prior art; A kind of system and network-building method thereof based on data acquisition is provided; This system configuration is simple; Network-building method can be realized in microcontroller; Can be used for the data acquisition of industrial control field, and can be with the interference in the frequency hopping measure opposing communication process.
The objective of the invention is to realize through following scheme; A kind of system based on data acquisition; This system by plurality of nodes with can form with the base station of ipc monitor terminal communication; Pass through certain systematic networking method between each node and the base station; Organized the data of gathering are delivered to monitor terminal; It is characterized in that above-mentioned node comprises microcontroller 1, data acquisition module 2, control output module 3, wireless communication module 4; Microcontroller 1 is connected with data acquisition module 2, control output module 3, wireless communication module 4 respectively, is used for the calculation process of image data; Data acquisition module 2 is used to gather the various digital quantities and the analog quantity of measurand; Control output module 3 is used for the output of various digital quantities and analog quantity; Wireless communication module 4 is used for the direct transfer of data in node and base station; Base station in the system of data acquisition is used to receive the data of each node collection and communicates by letter with host computer.
Further purpose of the present invention is to provide a kind of network-building method of the system based on data acquisition, and this method may further comprise the steps:
(1), arrange node and can with the base station of ipc monitor terminal communication,
(2), initialization node and base station;
At the node and the base station microcontrollers, opened? ?
Figure 813955DEST_PATH_IMAGE001
subchannels for
Figure 374249DEST_PATH_IMAGE002
a cellular use the subchannels in turn constitute a hopping sequence sorting table, where channels for the current
Figure 41357DEST_PATH_IMAGE003
a cellular use channel, the rest
Figure 393840DEST_PATH_IMAGE004
one for the alternate channel;
(3), set up the communication network between base station and the node, it is specific as follows:
All nodes of node ID number scan round are pressed in the base station; If the node that is scanned has data sending request; A claim frame is sent in the node request that then is scanned; If the node that is scanned does not have data sending request; An acknowledgement frame is sent in the node request that then is scanned; If the CRC check mistake appears in node reception place; Then stop the local timer that resets; Wait is overflowed; When the local timer of node or base station overflows; Then jump in some alternate channels, once more with base station communication by the frequency hop sequences table;
(4), set up the communication network at base station and ipc monitor terminal, it is specific as follows:
After node is made and being replied; The request that the base station judges node is replied is acknowledgement frame or claim frame; If the request that node is replied is an acknowledgement frame; Then continue to call the roll in the base station; If the request that node is replied is a claim frame; Then the base station sends to the ipc monitor terminal to this frame; If the CRC check mistake appears in base station reception place; Then stop the local timer that resets; Wait is overflowed; When the local timer of node or base station overflows, then jump in some alternate channels by the frequency hop sequences table, set up communication once more;
(5), when the ipc monitor terminal has order to send, the base station then stops to call the roll, and directly sends the command frame at ipc monitor terminal.
A kind of system and network-building method thereof based on data acquisition of the present invention compared with existing technology and had beneficial effect and really be: this network-building method is simple, not limited by development platform; Its frequency-hopping method is highly resistant to the accidental of industrial control field and disturbs; Elongated frame format and the scanning of single channel multiple access is deal with data efficiently; This kind network-building method can be applied to the various aspects of industrial control field data acquisition.
Description of drawings
Fig. 1 is the model sketch map of the system of a kind of data acquisition of the present invention;
Fig. 2 is the structured flowchart of node of the system of a kind of data acquisition of the present invention;
Fig. 3 is the structured flowchart of base station of the system of a kind of data acquisition of the present invention;
Fig. 4 is the roll-call frame format sketch map in the step 3 of network-building method of a kind of system based on data acquisition of the present invention;
Fig. 5 is the claim frame form sketch map in the step 3 of network-building method of a kind of system based on data acquisition of the present invention;
Fig. 6 is the acknowledgement frame form sketch map in the step 3 of network-building method of a kind of system based on data acquisition of the present invention;
Fig. 7 is the command frame format sketch map in the step 3 of network-building method of a kind of system based on data acquisition of the present invention.
Embodiment
Below in conjunction with accompanying drawing instance of the present invention is done further explain.
Like Fig. 1,2, shown in 3; A kind of system of the present invention based on data acquisition; This system is by the node that has sensing unit one by one and can form with the base station of ipc monitor terminal communication; This system arranges a plurality of nodes according to measurand; Through the system group network between each node and the base station data of gathering are delivered to monitor terminal; Above-mentioned base station and ipc monitor terminal communication; Interim data; Above-mentioned node comprises microcontroller 1; Adopt the low-power consumption microcontroller MSP430F1611 of TI company; Its AD interface is 8 the tunnel, and its IO interface is 48; Data acquisition module 2; Control output module 3; Wireless communication module 4, microcontroller 1 are connected with data acquisition module 2, control output module 3, wireless communication module 4 respectively, are used for the calculation process of image data; Data acquisition module 2 is used to gather the various digital quantities and the analog quantity of measurand, for example, and voltage, electric current, temperature, pressure; Control output module 3 is used for the output of various digital quantities and analog quantity, for example, and output specified current flow, voltage, the control information of output various logic; Wireless communication module 4; Be used for the direct transfer of data in node and base station; Adopt the CC1100 wireless transceiver of TI company; Base station in the system of data acquisition is to be used for contact node and ipc monitor terminal; Interim data; With the interface section at ipc monitor terminal, adopt the SP485 chip.
The cellular network topological structure of the system of this data acquisition: as shown in Figure 1; Each honeycomb has a bunch of head; It is the base station; With 15 nodes; Form the individual layer bus-organization; Each honeycomb is in different channels; And all devices is in same channel in the honeycomb; Separate between so different honeycomb; Situation with the frequency interference can not take place, and the base station of each honeycomb links to each other with the ipc monitor terminal through the RS485 interface, like Fig. 1,2, shown in 3; The network-building method of a kind of system based on data acquisition of the present invention may further comprise the steps:
1: arrange node and base station
As shown in Figure 1; The system of data acquisition by plurality of nodes with can form with the base station of ipc monitor terminal communication;, organized between each node and the base station the data of gathering are delivered to monitor terminal through certain systematic networking method, specifically describe as follows:
The honeycomb
Figure 398706DEST_PATH_IMAGE005
The first
Figure 836640DEST_PATH_IMAGE006
nodes denoted as
Figure 257257DEST_PATH_IMAGE007
, such as cell 0 in the first node is expressed as 0_1, 0_2 second node that is, the base station is expressed as 0_0?; wireless data acquisition system topology, each cell by having a base station and 15 nodes, each cell in different channels, each cellular base station and all of a node in the same 15 channels, each cellular base station, using the RS485 interface and PC monitor connected to a terminal, Figure , four cell, wherein one of the cellular base station 0 0_0 cellular 0 to 15 nodes 0_1 0_15;
2: the initialization of node and base station
Each node and base station equipment are carried out initialization, comprise that node and base station power on, bunch sequence number and node ID sequence number manually are set, the input and output mode of equipment manually is set;
At the node and the base station microcontrollers, opened
Figure 293609DEST_PATH_IMAGE001
subchannels for
Figure 407058DEST_PATH_IMAGE002
a cellular use the subchannels in turn constitute a hopping sequence sorting table, where
Figure 618914DEST_PATH_IMAGE003
subchannels for the current
Figure 680411DEST_PATH_IMAGE003
a cellular use channel, the rest
Figure 964761DEST_PATH_IMAGE004
one for the alternate channel;
3: set up the communication network between base station and the node, it is specific as follows:
The base station begins by all nodes of node ID number scan round; If the node that is scanned has data sending request; A claim frame is sent in the node request that then is scanned; If the node that is scanned does not have data sending request; An acknowledgement frame is sent in the node request that then is scanned; If the CRC check mistake appears in node reception place; Then stop the local timer that resets; Wait is overflowed; When the local timer of node or base station overflows, then jump to some alternate channels, once more with base station communication by the frequency hop sequences table; For example
As shown in Figure 1: base station 0_0 sends the roll-call frame for earlier node 0_1; As shown in Figure 4; The roll-call frame format is: packet header; The address; The host computer command bit; CRC check; The roll-call frame that node 0_1 receives the base station is then according to the request of data position of the claim frame that forms in the internal memory; As shown in Figure 5; The claim frame form is: packet header; The address; The CRC check position; The request of data position; Bag is long; Index 1; Index n; Data n; CRC check; Judge whether oneself has data sending request; If have then the claim frame that forms this moment sent to the base station; Otherwise transmission acknowledgement frame; As shown in Figure 6; The acknowledgement frame form is: packet header; The address; The CRC check position, request of data position, CRC check; Other nodes also can receive the roll-call frame that node 0_1 is issued in the base station in this process; But through judging, do not issue oneself, these nodes will be kept silent after accepting to come; As long as there is a node that the CRC check mistake takes place after receiving the roll-call frame; Then stop the local timer that resets, wait is overflowed, and sets up communication thereby jump to alternate channel;
4: set up the communication network at base station and ipc monitor terminal, it is specific as follows:
After node is made and being replied; The request that the base station judges node is replied is acknowledgement frame or claim frame; If the request that node is replied is an acknowledgement frame; Then continue to call the roll in the base station; If the request that node is replied is a claim frame; Then the base station sends to the ipc monitor terminal to this frame; If the CRC check mistake appears in base station reception place; Then stop the local timer that resets; Wait is overflowed; When the local timer of node or base station overflows, then jump to some alternate channels, once more with base station communication by the frequency hop sequences table;
5: when the ipc monitor terminal has order to send; The base station then stops to call the roll; Directly send the command frame at ipc monitor terminal, as shown in Figure 7, command frame format is: packet header, address, command bit, bag length, index 1 ... Index n, data n, CRC check.
When issue an order in the ipc monitor terminal, the RS485 interface sends a command frame for the base station of certain honeycomb, stops to scan node in case this base station receives behind the command frame, directly this command frame is sent to the node device of corresponding ID number.
Topological structure as shown in Figure 1 is an example; Monitor terminal wants to send a command frame to the node 0_3 of honeycomb 0; Send a command frame then can for earlier the base station 0_0 of honeycomb 0; The base station stops scanning after receiving this command frame immediately; Immediately this order is assigned to node 0_3; After node 0_3 receives orders, analyze the content of command frame, thereby export relevant numerical in the corresponding port.

Claims (2)

1. system based on data acquisition; This system by node one by one, can form with the base station of ipc monitor terminal communication; It is characterized in that; Above-mentioned node comprises microprocessor (1), data acquisition module (2), control output module (3), wireless communication module (4); Microprocessor (1) is connected with data acquisition module (2), control output module (3), wireless communication module (4) respectively, is used for the calculation process of image data; Data acquisition module (2) is used to gather the various digital quantities and the analog quantity of measurand; Control output module (3) is used for the output of various digital quantities and analog quantity; Wireless communication module (4) is used for the direct transfer of data in node and base station, and the base station in the system of data acquisition is used for connected node and ipc monitor terminal.
2. the network-building method based on the system of data acquisition is characterized in that, may further comprise the steps:
A. arrange node with can with the base station of ipc monitor terminal communication,
b. Initialize the node and the base station; nodes and base stations in micro-controller, open up
Figure 2011102985466100001DEST_PATH_IMAGE001
subchannels for
Figure 692559DEST_PATH_IMAGE002
a cellular use the subchannels in turn constitute a hopping sequence sorting table, where
Figure 2011102985466100001DEST_PATH_IMAGE003
channels for the current
Figure 234978DEST_PATH_IMAGE003
The use of a cellular channel, the rest one for the alternate channel;
C. set up the communication network between base station and the node; It is specific as follows: all nodes of node ID number scan round are pressed in the base station; If the node that is scanned has data sending request; A claim frame is sent in the node request that then is scanned; If the node that is scanned does not have data sending request; An acknowledgement frame is sent in the node request that then is scanned; If the CRC check mistake appears in node reception place; Then stop the local timer that resets; Wait is overflowed; When the local timer of node or base station overflows, then jump in some alternate channels, once more with base station communication by the frequency hop sequences table;
D. set up the communication network at base station and ipc monitor terminal; It is specific as follows: after node is made and being replied; The request that the base station judges node is replied is acknowledgement frame or claim frame; If the request that node is replied is an acknowledgement frame; Then continue to call the roll in the base station; If the request that node is replied is a claim frame; Then the base station sends to the ipc monitor terminal to this frame; If the CRC check mistake appears in base station reception place; Then stop the local timer that resets, wait is overflowed, when the local timer of node or base station overflows; Then jump in some alternate channels, set up communication once more by the frequency hop sequences table;
E. when the ipc monitor terminal had order to send, the base station then stopped to call the roll, and directly sends the command frame at ipc monitor terminal.
CN2011102985466A 2011-09-28 2011-09-28 System based on wireless data acquisition and networking method thereof Pending CN102348295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102985466A CN102348295A (en) 2011-09-28 2011-09-28 System based on wireless data acquisition and networking method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102985466A CN102348295A (en) 2011-09-28 2011-09-28 System based on wireless data acquisition and networking method thereof

Publications (1)

Publication Number Publication Date
CN102348295A true CN102348295A (en) 2012-02-08

Family

ID=45546464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102985466A Pending CN102348295A (en) 2011-09-28 2011-09-28 System based on wireless data acquisition and networking method thereof

Country Status (1)

Country Link
CN (1) CN102348295A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104155957A (en) * 2014-08-20 2014-11-19 成都联星微电子有限公司 Industrial control acquisition system based on multiple nodes
CN104157120A (en) * 2014-08-21 2014-11-19 南京拓诺传感网络科技有限公司 WSN information perception system and method for industrial equipment and environment monitor
CN104540243A (en) * 2015-01-13 2015-04-22 无锡物联网产业研究院 Wireless sensor network and data processing method
CN105242621A (en) * 2015-10-22 2016-01-13 北京石油化工学院 Agriculture greenhouse environment monitoring system communication method
CN106993331A (en) * 2017-05-11 2017-07-28 深圳合优科技有限公司 A kind of sensor group network method and use this method sensor network
CN113708795A (en) * 2021-04-18 2021-11-26 北京林业大学 CC1310 chip-based multi-channel wireless sensing monitoring system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007017656A1 (en) * 2005-08-10 2007-02-15 Cambridge Neurotechnology Limited Information transmission method and apparatus
CN101620771A (en) * 2009-07-29 2010-01-06 山东建筑大学 Remote wireless environment real-time data acquisition method and device
CN102055611A (en) * 2010-12-02 2011-05-11 电子科技大学 Low-power wireless data acquisition system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007017656A1 (en) * 2005-08-10 2007-02-15 Cambridge Neurotechnology Limited Information transmission method and apparatus
CN101620771A (en) * 2009-07-29 2010-01-06 山东建筑大学 Remote wireless environment real-time data acquisition method and device
CN102055611A (en) * 2010-12-02 2011-05-11 电子科技大学 Low-power wireless data acquisition system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104155957A (en) * 2014-08-20 2014-11-19 成都联星微电子有限公司 Industrial control acquisition system based on multiple nodes
CN104157120A (en) * 2014-08-21 2014-11-19 南京拓诺传感网络科技有限公司 WSN information perception system and method for industrial equipment and environment monitor
CN104157120B (en) * 2014-08-21 2017-05-31 南京拓诺传感网络科技有限公司 Industrial equipment and the WSN information Perception system and methods of environmental monitoring
CN104540243A (en) * 2015-01-13 2015-04-22 无锡物联网产业研究院 Wireless sensor network and data processing method
CN105242621A (en) * 2015-10-22 2016-01-13 北京石油化工学院 Agriculture greenhouse environment monitoring system communication method
CN106993331A (en) * 2017-05-11 2017-07-28 深圳合优科技有限公司 A kind of sensor group network method and use this method sensor network
CN113708795A (en) * 2021-04-18 2021-11-26 北京林业大学 CC1310 chip-based multi-channel wireless sensing monitoring system
CN113708795B (en) * 2021-04-18 2022-10-18 北京林业大学 CC1310 chip-based multi-channel wireless sensing monitoring system

Similar Documents

Publication Publication Date Title
CN102271100B (en) Gateway device between EtherCAT industrial Ethernet and wireless Zigbee and protocol conversion method of gateway device
CN102348295A (en) System based on wireless data acquisition and networking method thereof
CN101917736B (en) Sensor network test bed system and test method thereof
CN109272733B (en) Multi-terminal multi-mode Internet of things communication terminal supporting multi-meter combined reading and meter reading method thereof
CN102055611A (en) Low-power wireless data acquisition system
CN104574898B (en) Multisensor Internet of Things monitoring method and equipment based on Zigbee
CN101325530B (en) Two grade network and communication method thereof
CN107659612A (en) Data transfer control method and device based on device packets
CN105208622A (en) High-efficiency dynamic automatic-maintenance routing list structure and routing list management method
CN101635996A (en) Wireless medical management system
CN103426283A (en) Temperature and humidity data transmission system based on wifi communication technology
CN102185748A (en) Temperature and humidity sensing networking system
CN103338237A (en) Environmental monitoring system based on Zigbee technology and Ethernet
CN108337625A (en) A kind of switching method and device of operating mode
CN106375944A (en) Data acquisition system based on cloud computing
CN202661192U (en) Wireless temperature measurement system of internet of things and based on ZigBee technique
CN202565473U (en) Monitoring system based on wireless sensor network
CN202334922U (en) Large-scale wireless monitoring and sensing device
CN204666186U (en) Based on the storage environment monitoring system of wireless network
CN105206028A (en) Information acquisition device and system based on internet of things
CN203520145U (en) Intelligent city exhibition and education device based on Zigbee technology
CN108391245A (en) Plug and play type wireless sensor network node
CN2922306Y (en) Built-in type gateway equipment for realizing network intercommunication among Ethernet and wireless sensor
CN205451459U (en) Miniature modularization wireless transmission's industry collector
CN103298167A (en) Mobile data gateway of Internet of things

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

Application publication date: 20120208