CN103442418B - A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method - Google Patents
A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method Download PDFInfo
- Publication number
- CN103442418B CN103442418B CN201310382829.8A CN201310382829A CN103442418B CN 103442418 B CN103442418 B CN 103442418B CN 201310382829 A CN201310382829 A CN 201310382829A CN 103442418 B CN103442418 B CN 103442418B
- Authority
- CN
- China
- Prior art keywords
- node
- clock
- data
- chip
- dormancy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000005059 dormancy Effects 0.000 title claims abstract description 31
- 230000001360 synchronised effect Effects 0.000 claims abstract description 29
- 238000012544 monitoring process Methods 0.000 claims abstract description 17
- 230000007958 sleep Effects 0.000 claims abstract description 16
- 238000004891 communication Methods 0.000 claims abstract description 7
- 230000005540 biological transmission Effects 0.000 claims description 19
- 238000004088 simulation Methods 0.000 claims description 11
- 235000015429 Mirabilis expansa Nutrition 0.000 claims description 9
- 244000294411 Mirabilis expansa Species 0.000 claims description 9
- 235000013536 miso Nutrition 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 230000006855 networking Effects 0.000 claims description 2
- 230000002618 waking effect Effects 0.000 claims description 2
- 238000000605 extraction Methods 0.000 claims 1
- 230000007613 environmental effect Effects 0.000 abstract description 2
- 230000018109 developmental process Effects 0.000 description 8
- 238000011161 development Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000002776 aggregation Effects 0.000 description 3
- 238000004220 aggregation Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000000523 sample Substances 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000009835 boiling Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000002485 combustion reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000008140 language development Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The present invention relates to a kind of coal-field fire CC2530 node high-temperature data gather and synchronize dormancy control method, by in the case of the serial synchronous output mode SPI mouth resource of CC2530 nucleus module is occupied, 3 line serial synchronous output mode SPI communication agreements are simulated in universal input output GPIO pin, it is achieved MAX6675 chip gathers the reading of high-temperature data with software mode;Employing external clock chip PCF8563 is as the clock control of node, and two-wire serial bus I simulated by software between CC2530 nucleus module2C interface connects, it is achieved the synchronization dormancy of the whole network node controls, and the sleep interval cycle T of node is more than node working cycle TwIn the range of arbitrarily can set by year, month, day, hour, minute, adapt to the long-range monitoring of environmental in the unattended field of coal-field fire, extend network life cycle.
Description
Technical field
The present invention relates to radio sensor network monitoring technology, particularly relate to the high temperature of a kind of coal-field fire CC2530 node
Monitoring and synchronization dormancy control technology.
Background technology
Radio sensing network has merged the technology such as acquisition of information, information transmission and information processing, can be the most objective with perception
See the world, be an important technology of thing network sensing layer, have broad application prospects.Therefore, in specific application area
Technological development, constitutes the important content of wireless sensor network technology development.In coal-field fire is remotely monitored, around
JN5139 chip development temperature-measuring range 0 DEG C~1000 DEG C and the high temperature node of-40 DEG C~1000 DEG C[1,2], for reducing network consumption
Can develop the dormancy of network and synchronization is revived function[3].Along with coal-field fire monitoring from the star network of little area to large area
Cellular Networks development, in terms of route exploitation from now on, support wireless sensor network open source operating system TinyOS
CC2530 node, has bigger advantage than around the non-JN5139 node increasing income the exploitation of Zigbee protocol stack.
The present invention selects low power system on chip CC2530 nucleus module to be development board, by simulation serial synchronous output mould
Formula SPI mouth reads the data that high temp sensitive MAX6675 chip gathers, the outside that the two-wire serial bus I2C mouth in extension connects
Clock chip PCF8563 controls lower collection and sends data, synchronization the whole network node dormancy.
During monitoring coal-field fire ground temperature, temperature-measuring range is the MAX6675 chip of 0~1023.75 DEG C[1], with CC2530 node
Nucleus module between with serial synchronous output mode SPI communication, at the serial synchronous output mode SPI of CC2530 nucleus module
In the case of mouth resource is occupied, serial synchronous output mode need to be simulated with software mode in universal input output GPIO pin
The working method of SPI, document 4 provides the analogy method of the 4 line serial synchronous output mode SPI used for SD card, this
Bright relate to is read-only temperature sensor chip from equipment MAX6675 chip, and is the string of 3 lines between main equipment CC2530 node
Row synchronism output Mode S PI is simulated, and needs to arrange clock pole by the serial synchronous output mode SPI sequential of MAX6675 chip simultaneously
Property CPOL and clock phase CPHA, select CC2530 nucleus module simulation serial synchronous output mode SPI sequential mode of operation.
For adapting to unattended field long-range coal-field fire monitoring of environmental, extend network life cycle, Node Development
The sleep mode of low-power consumption, each node is equipped with button cell and makees the external clock chip PCF8563 of reserve battery, coordinates the whole network
Node synchronizes dormancy, reaches to remain to during node battery power voltage deficiency the purpose of timing.But PCF8563 chip and CC2530 core
With two-wire serial bus I between core module2C EBI communicates, and CC2530 nucleus module self the most directly provides two-wire serial
Bus I2C hardware interface, need to export simulation two-wire serial in GPIO pin at the universal input of node total unlike document 3
Line I2After C data host-host protocol, then the node realized under external clock chip PCF8563 controls synchronizes dormancy mechanism, node
Sleep interval cycle T is more than node working cycle TwIn the range of arbitrarily can set by year, month, day, hour, minute.
Documents
[1] Jiangsu University Cao Tsing-Hua University, Chen Zujue, Li Shanrong, Yan Shu .130~1000 DEG C of high temperature coal-field fire wireless sensings
Device network monitor node and monitoring method. patent of invention, publication number 102215602A, publication date 2011.10.12
[2] Jiangsu University Ma Gelite Jason Richardson An Sahe, Wang Qingqing, Cao Qinghua, Yan Shu. a kind of for temperature monitoring
Wireless sensor network node and temperature monitoring method. patent of invention, application number 201310285713.2, date of application
2013.07.08
[3] Jiangsu University Cao Tsing-Hua University, Yan Shu, Zhu Na, Chen Zujue. time long, deep-sleep wireless sensor network synchronizes to revive
Mechanism. patent of invention, publication number CN102821446A, publication date 2012.12.12
[4] Ximutong Information Technology (Shanghai) Co., Ltd. Xu Hong virtue. the method using GPIO interface simulation SPI protocol.
Patent of invention, publication number CN102654857A, publication date 2012.09.05
Summary of the invention
It is an object of the invention to provide a kind of coal-field fire CC2530 node high-temperature data gather and synchronize dormancy control
Method, it is achieved the serial synchronous output mode SPI communication between MAX6675 chip and CC2530 node, completes high-temperature data
Gathering, temperature-measuring range reaches 0~1023.75 DEG C;By making the external clock chip PCF8563 of reserve battery with button cell,
Ensure that node also can coordinate the synchronization dormancy of the whole network node, and sleep interval cycle T in the case of battery electricity shortage
More than node working cycle TwIn the range of arbitrarily can set by year, month, day, hour, minute, it is achieved by existing coal-field fire
Sensor monitoring joint core module J N5139 change the CC2530 core of wireless senser operating system TinyOS of supporting to increase income into
Core module, facilitates follow-up route to develop, and advances the star-like monitoring net of little area to develop to large-area Cellular Networks.
In order to solve above technical problem, the technical solution used in the present invention is as follows:
A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method, it is characterised in that described
Synchronization dormancy control method comprises the steps:
Step one, uses external clock chip PCF8563 to control clock as the synchronization dormancy of CC2530 node,
CC2530 node bottom abstract component is simulated two-wire serial bus I2C host-host protocol, utilizes described two-wire serial bus I2C passes
Transmission protocol realizes the nucleus module communication of external clock chip PCF8563 and CC2530 node;
Step 2, is divided into work phase T by the sleep interval cycle T of each CC2530 nodewWith rest period TsTwo rank
Section, sleep interval cycle T is more than node working cycle TwIn the range of arbitrarily can set by year, month, day, hour, minute
Fixed;
Step 3, as work phase TwDuring beginning, converge CC2530 node and common CC2530 node is respectively completed different
Task:
Converge CC2530 node and start network, read the time of external clock chip PCF8563, with the minor cycle t set
When carrying out the broadcast school in network-wide basis, complete the collection of data simultaneously and remotely send, due to prolonging of networking, data transmission etc.
Time, the working time ratio common CC2530 node length 1 of convergence CC2530 node sets~2 minutes;
Common CC2530 node finds the network that can add, and accepts to converge the school of CC2530 node broadcasts in network constantly
Between, verification, the need of synchronization, completes collection and the transmission/forwarding of data simultaneously;
Step 4, as work phase TwTerminate, before entering dormancy, converge CC2530 node and common CC2530 node is observed
The principle that sleep interval cycle T is constant, is calculated actual dormancy time by the working time, and the time point revived next time is write
Enter the warning depositor of external clock chip PCF8563 to wake up CC2530 node up;
Step 5, convergence CC2530 node and common CC2530 node enter step 3 after waking up, start new round running
Cycle.
Described synchronization dormancy control method is to CC2530 node control, when CC2530 node is in running order, institute
The CC2530 node high-temperature data acquisition method stated comprises the following steps:
Step one, hardware prepares: 3 universal input output GPIO idle on the nucleus module of selected CC2530 node draw
Foot, selects as the sheet needed for 3 line serial synchronous output mode SPIClock SCK and master enter from going out MISO holding wire, with
The sheet choosing of MAX6675 chipClock SCK and main enter to connect one to one from going out MISO holding wire;CC2530 node and
MAX6675 chip common ground connection;
Step 2, initialization data: the initialization of data transmission procedure, the nucleus module of CC2530 node is given tacit consent to after powering on
Pin function be that universal input exports GPIO, need to set defeated by arranging universal input output GPIO pin direction depositor
After entering or exporting, the low and high level of universal input output GPIO pin could be controlled further;According to 3 line serial synchronous outputs
The holding wire transmission direction that Mode S PI requires, arranges sheet choosingTwo corresponding for clock SCK universal input output GPIO pin are
Outbound course, it is input direction that master enters from going out universal input output GPIO pin corresponding for MISO;
Step 3, clock polarity CPOL and the selection of clock phase CPHA: in serial synchronous output mode SPI transmission, control
The clock of data synchronization transmissions processed carrys out the clock pulses of host processor, simultaneously by clock polarity CPOL and clock phase CPHA two
Individual factor affects;Clock polarity CPOL arranges the level during clock free time, and clock phase CPHA arranges reading data and sends number
According to clock edge, concrete value implication is as shown in table 1;Fig. 1 lists four kinds of clock polarities of serial synchronous output mode SPI
CPOL and clock phase CPHA work in combination pattern, for ensureing that CC2530 node correctly communicates with MAX6675 chip, between the two
Should have identical clock polarity and clock phase;The serial synchronous output mode SPI sequential of MAX6675 chip as shown in Figure 2
Knowing that clock polarity CPOL is 0, clock phase CPHA is 1, accordingly the work of serial synchronous output mode SPI on simulation CC2530 node
Make sequential, also known as shift pulse;
Table 1SPI clock polarity and clock phase value explanation
Step 4, data transmission and acquisition: to described choosingThe universal input output GPIO pin that signal is corresponding sets low
Level, makes MAX6675 chip operation, in the sheet choosing that described CC2530 node producesSignal and described shift pulse are made jointly
Under with, data step-by-step is transmitted, and high-order front, low level is rear;After 16 bit data transmit, force sheet is selectedSignal is corresponding
Universal input output GPIO pin set high, prepare next round data transmission;To 16 bit data D received15~D0Carry out
Resolve, extract effective 12 conversion data D14~D3, form readable temperature data.
Described a kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method, it is characterised in that
Also include the step that described CC2530 node is packaged to be processed, to adapt to the harsh environments of high temp. monitoring, to described
CC2530 node is protected by.
3, beneficial effect
The present invention chooses low-power consumption CC2530 nucleus module for exploitation node, the wireless sensing operating system that support is increased income
TinyOS, compares existing JN5139 node, develops protocol development and bottom layer driving and has greater flexibility and convenience.
CC2530 node is simulated serial synchronous output mode SPI interface data communications method and adds the monitoring of high temp sensitive data,
The temperature range of monitoring is 0~1023.75 DEG C, can gather more than the 500 DEG C earth's surface high temperature that coal-field fire spontaneous combustion produces;Time outside
Clock chip PCF8563 utilizes two-wire serial bus I of extension2C mouth is connected with CC2530 nucleus module, stopping as each node
Dormancy timing module, exploitation control node work, the synchronous method of dormancy, it is ensured that node can operate in steadily in the long term unmanned,
The field work environment of battery altering inconvenience.The data communications method of described simulation serial synchronous output mode SPI interface and with
Step dormancy control method gathers distance transmission system for similar wireless senser and provides Reference Design scheme.
Accompanying drawing explanation
Fig. 1 is tetra-kinds of sequential working ideographs of SPI;
Fig. 2 is the SPI interface sequential chart of MAX6675;
Fig. 3 is CC2530 nucleus module pin allocation diagram;
Fig. 4 is that CC2530 nucleus module is connected figure with MAX6675 chip, PCF8563 chip;
Fig. 5 is the experimental result picture of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Hardware connects
The hardware platform of monitoring node is by CC2530 nucleus module and radio-frequency front-end amplifier CC2591 (1), MAX6675 core
Sheet (2), K-type thermocouple high-temperature probe (3), high-temperature probe connect socket (4), external clock chip PCF8563 (5), standby knob
Button battery (6), power-switching circuit (7), battery interface (8), holding wire (9) composition, with reference to CC2530 nucleus module shown in Fig. 3
Pin allocation diagram, the pin annexation listed by table 2 connects CC2530 nucleus module and MAX6675 chip, external clock core
Sheet PCF8563.The sheet choosing of MAX6675 chip (2)Clock SCK, main enter from go out MISO holding wire respectively with CC2530 core
P1_5, P1_0, P1_6 pin of module is connected, and high temp sensitive probe (3) connects height through the holding wire (9) of overcoat cored steel fiber tube
Temperature sensor socket (4), the positive and negative polarities of pyrostat socket (4) are connected with 3,2 pins of MAX6675 chip (2);Outside
The serial time clock line SCL of clock chip PCF8563 (5), serial data line SDA, interrupt trigger signal lineRespectively with CC2530
P0_0, P0_1, P0_5 pin of nucleus module is connected, the power supply unit electricity that standby button battery (6) connects at battery interface (8)
Pressure is powered to external clock chip PCF8563 time not enough;All chips on monitoring node hardware platform are altogether.At burning program
Before, it is ensured that each parts connect errorless.
Table 2 chip CC2530 Yu MAX6675, the pin connection table of pcf8563
Software is implemented
Software development environment selects the TinyOS operating system increased income, and uses the nesC language development of assembly type framework, logical
Cross assembly system assembly and Custom component constitutes the application program realizing certain function, be compiled into the hex of Hexadecimal form
It is burnt to again in nucleus module after file.
Embodiment 1
External clock controls node dormancy and wakes up up
Two-wire serial bus I is realized in CC2530 node bottom chip abstract component2The simulation of C host-host protocol, it is ensured that
With two-wire serial bus I2The external clock chip PCF8563 that C mouth mode works can serve as the clock control of CC2530 node, increases
Add setting, read the apparatus assembly interface that the clock etc. of external clock chip PCF8563 operates.
Under the control of outside clock chip PCF8563, convergence and ordinary node in network all realize sleep mode, and
Sleep interval cycle T is more than node working cycle TwIn the range of arbitrarily can set by year, month, day, hour, minute.
Node work process before going to sleep is roughly the same, and point task preparation, tasks carrying and task terminate three phases, existing
Illustration method execution flow process as a example by ordinary node:
1. node powers on.
2. start task management, sleep interval cycle T initial value is set, makes T=1h.
3. mission ready time:
Network startup, enables house dog.
4. tasks execution phases:
Open work timing device Tw=1m。
Perform acquisition tasks: read the various sensing data such as humiture, high temperature;By the data pack protocol form of predefined
Prepare data;Data are sent by radio-frequency module;
Perform time synchronized and accept control command task: accepting the time data bag of aggregation node broadcast, proof time,
Determine whether to revise sleep interval cycle T.
Perform packet and forward task: forward, by Routing Protocol, the sensor data packet that other nodes gather.
The work timing device time arrives, and proceeds to task ending phase.
5. task ending phase:
Work large period using sleep interval cycle T as node, according to current time TnWhen estimation node works
Between, calculate the time point T that next round is revivedwakeup。
Twakeup=Tn+T-Tn%T
Wherein % is complementation symbol.
The time point T that next round is revivedwakeupThe warning depositor of write external clock chip PCF8563, CC2530 saves
Point enters resting state Ts。
If time T the most at that timenWith setting time consistency, CC2530 core in external clock chip PCF8563 warning depositor
The P0_5 pin of core module produces and interrupts, and wakes up CC2530 node up, proceeds to step and 3. perform.
Aggregation node work process is similar to, and different from ordinary node are: 1. mission ready time, and GPRS to be opened opens
Close and control, before task ending phase dormancy, close GPRS switch;2. tasks execution phases, reads external clock chip
PCF8563 clock data, carries out the time broadcast in network-wide basis;3. task ending phase, prepares packet, calls serial ports mould
Block, sends packet to remote server through GPRS from serial ports.
Fig. 5 show nodes under the control of outside clock chip PCF8563, by sleep interval cycle T=
1h sampling, the different temperatures data under the room temperature gathered, flame, three kinds of environment of boiling water.
Embodiment 2
High-temperature data gatherer process
Existing CC2530 node bottom has been provided for the acquisition driver of common sensing data type such as humiture etc.,
Upper level applications is directly invoked by unified digital independent interface, when realizing new sensing type data acquisition,
The digital independent bsp driver of correspondence is added in the sensor bank assembly of system.The MAX6675 chip data added
Read driver, it is achieved that export GPIO mouth die with the universal input of CC2530 nucleus module and intend 3 line serial synchronous output moulds
Formula SPI interface communicates.
First, 3 line serial synchronous output mode SPI working methods are initialized by CC2530 modal processor, selected
3 universal inputs output pin P1_5, P1_0, P1_6 idle on CC2530 nucleus module, are respectively configured choosing in flakesTime
Clock SCK, master enter from going out MISO holding wire, and P1_5, P1_0 are outbound course, and P1_6 is input direction.
Secondly, the universal input output pin P1_5 of main equipment CC2530 nucleus module control from equipment MAX6675 core
Sheet is in running order;According to master-slave equipment, there is identical clock polarity CPOL and the principle of clock phase CPHA, at main equipment
On the universal input output pin P1_0 of CC2530 nucleus module by clock polarity CPOL be 0, clock phase CPHA be the work of 1
Pattern simulation reads 16 serial clock SCK pulses of data, and the trailing edge at serial clock SCK shifts, reads data, and taking-up has
Effect data bit is stored in memorizer.Detailed process is as follows:
1. arrange and deposit the variable data reading data, set high sheet choosingSet low clock SCK:SCK=0.
2. time delay at least 100ns.
3. sheet choosing is set lowStart clock pulse signal simulation
4. simulation cycle is 16 clock pulse signals of 200ns, and the trailing edge in each pulse enters from going out MISO from master
Reading 1 bit data, displacement is stored in variable data.
5. actually active 12 high-temperature data D in 16 bit data data are extracted14~D3。
Finally, the high-temperature data gathered is sent to aggregation node through node wireless module.
Claims (2)
1. a coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method, it is characterised in that described is same
Step dormancy control method comprises the steps:
Step one, uses external clock chip PCF8563 to control clock as the synchronization dormancy of CC2530 node, saves at CC2530
Point bottom abstract component simulates two-wire serial bus I2C host-host protocol, utilizes described two-wire serial bus I2C host-host protocol is real
Existing external clock chip PCF8563 and the nucleus module communication of CC2530 node;
Step 2, is divided into work phase T by the sleep interval cycle T of each CC2530 nodewWith rest period TsTwo stages,
Sleep interval cycle T is more than node working cycle TwIn the range of arbitrarily can set by year, month, day, hour, minute;
Step 3, as work phase TwDuring beginning, converge CC2530 node and common CC2530 node and be respectively completed different tasks:
Converge CC2530 node and start network, read the time of external clock chip PCF8563, carry out with the minor cycle t set
During broadcast school in network-wide basis, complete the collection of data simultaneously and remotely send, due to the time delay of networking, data transmission etc.,
The working time ratio common CC2530 node length of convergence CC2530 node sets 1 ~ 2 minute;
Common CC2530 node finds the network that can add, and accepts time, core during the school converging CC2530 node broadcasts in network
To the need of synchronization, complete collection and the transmission/forwarding of data simultaneously;
Step 4, as work phase TwTerminate, before entering dormancy, converge CC2530 node and common CC2530 node observes dormancy
The principle that time interval cycle T is constant, is calculated actual dormancy time by the working time, outside the time point revived next time write
The warning depositor of portion clock chip PCF8563 is to wake up CC2530 node up;
Step 5, convergence CC2530 node and common CC2530 node enter step 3 after waking up, start new round running week
Phase;
Described synchronization dormancy control method is to CC2530 node control, when CC2530 node is in running order, described
CC2530 node high-temperature data acquisition method comprises the following steps:
Step one, hardware prepares: 3 universal input output GPIO pin idle on the nucleus module of selected CC2530 node,
Enter from going out MISO holding wire, with MAX6675 core as sheet choosing, clock SCK and the master needed for 3 line serial synchronous output mode SPI
The sheet choosing of sheet, clock SCK and main enter to connect one to one from going out MISO holding wire;CC2530 node and MAX6675 chip are altogether
Connect;
Step 2, initialization data: the initialization of data transmission procedure, what the nucleus module of CC2530 node was given tacit consent to after powering on draws
Foot function is that universal input exports GPIO, needs by arranging the depositor setting input of universal input output GPIO pin direction also
After being output, the low and high level of universal input output GPIO pin could be controlled further;According to 3 line serial synchronous output modes
The holding wire transmission direction that SPI requires, arranges sheet choosing, corresponding for clock SCK two universal inputs output GPIO pin are output side
To, it is input direction that master enters from going out universal input output GPIO pin corresponding for MISO;
Step 3, clock polarity CPOL and the selection of clock phase CPHA: in serial synchronous output mode SPI transmission, control number
Carry out the clock pulses of host processor according to the clock of synchronous transfer, simultaneously by clock polarity CPOL and clock phase CPHA two because of
Element impact;Clock polarity CPOL arranges the level during clock free time, and 0 is low level when representing the clock free time, and 1 represents clock sky
Idle is high level, and clock phase CPHA arranges and reads data and send the clock edge of data, and 0 represents front clock along receiving number
According to, after 1 representative, clock is along receiving data;Known by permutation and combination, serial synchronous output mode SPI have four kinds of clock polarity CPOL and
The mode of operation of clock phase CPHA combination, for ensureing that CC2530 node correctly communicates with MAX6675 chip, should have between the two
There are identical clock polarity and clock phase;Clock polarity is known by the serial synchronous output mode SPI sequential of MAX6675 chip
CPOL is 0, and clock phase CPHA is 1, accordingly the work schedule of serial synchronous output mode SPI on simulation CC2530 node, again
Claim shift pulse;
Step 4, data transmission and acquisition: the universal input output GPIO pin that described chip selection signal is corresponding is set low level, makes
MAX6675 chip operation, the chip selection signal produced at described CC2530 node and under described shift pulse acts on jointly, data are pressed
Position transmission, high-order front, low level is rear;After 16 bit data transmit, force the universal input output corresponding to chip selection signal
GPIO pin sets high, and prepares the transmission of next round data;To 16 bit data D received15~D0Resolving, extraction is effective
12 conversion data D14~D3, form readable temperature data.
2. a kind of coal-field fire CC2530 node high-temperature data as claimed in claim 1 gathers and synchronizes dormancy control method,
It is characterized in that: also include the step that described CC2530 node is packaged to be processed, to adapt to the harsh of high temp. monitoring
Environment, is protected by described CC2530 node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310382829.8A CN103442418B (en) | 2013-08-28 | 2013-08-28 | A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310382829.8A CN103442418B (en) | 2013-08-28 | 2013-08-28 | A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103442418A CN103442418A (en) | 2013-12-11 |
CN103442418B true CN103442418B (en) | 2016-08-24 |
Family
ID=49696068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310382829.8A Expired - Fee Related CN103442418B (en) | 2013-08-28 | 2013-08-28 | A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103442418B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103808365A (en) * | 2014-02-18 | 2014-05-21 | 江苏大学 | Coal field fire area wireless sensor monitoring node |
CN103796344A (en) * | 2014-02-18 | 2014-05-14 | 江苏大学 | Coal field burning area monitoring wireless sensor gateway |
CN106301712A (en) * | 2015-06-05 | 2017-01-04 | 国民技术股份有限公司 | A kind of synchronized communication method and application apparatus, system |
CN113392049B (en) * | 2020-02-26 | 2023-10-31 | 北京君正集成电路股份有限公司 | Chip system for realizing transmission of ADC (analog to digital converter) acquisition data by simulating i2c protocol |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562489A (en) * | 2009-05-30 | 2009-10-21 | 华中科技大学 | Method for time synchronization in wireless sensor network |
CN101588628A (en) * | 2009-06-19 | 2009-11-25 | 山东省计算中心 | Clock synchronizing method for wireless sensor network |
US8186200B1 (en) * | 2010-12-28 | 2012-05-29 | William K. Hixon | Timekeeper display systems and methods |
-
2013
- 2013-08-28 CN CN201310382829.8A patent/CN103442418B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562489A (en) * | 2009-05-30 | 2009-10-21 | 华中科技大学 | Method for time synchronization in wireless sensor network |
CN101588628A (en) * | 2009-06-19 | 2009-11-25 | 山东省计算中心 | Clock synchronizing method for wireless sensor network |
US8186200B1 (en) * | 2010-12-28 | 2012-05-29 | William K. Hixon | Timekeeper display systems and methods |
Non-Patent Citations (2)
Title |
---|
无线传感器网络环境监测系统节点设计与实现;杨佑禄;《电子科技大学硕士学位论文》;20091115;48-49 * |
无线传感器网络远程高温监测与同步休眠问题;李善荣;《江苏大学硕士学位论文》;20120626;28-32 * |
Also Published As
Publication number | Publication date |
---|---|
CN103442418A (en) | 2013-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103442418B (en) | A kind of coal-field fire CC2530 node high-temperature data gathers and synchronizes dormancy control method | |
CN102509437B (en) | Collection device and collection system for collecting data of metering gauge | |
CN101908377B (en) | Modular data logger based on Zigbee wireless communication and operating method thereof | |
CN101833323A (en) | Greenhouse dripping and irrigating locale monitoring system based on wireless embedded technology | |
CN104507148A (en) | Low-power-consumption wireless sensor network | |
CN204350048U (en) | A kind of wired home management of power use device towards cloud service | |
CN104333915A (en) | Wireless sensor network node based on Arduino | |
CN105119726B (en) | A kind of wireless sensing net node fast wake-up method and device thereof | |
CN104750077A (en) | Water quality monitoring system of offshore cage based on ZigBee and GPRS (General Packet Radio Service) technologies | |
CN109246638A (en) | Based on the wireless collecting method with the signal synchronous collection system of GPS time service of WiFi | |
CN103152752A (en) | IEEE (Institute of Electrical and Electronic Engineers) 802.15.4g standard-based wireless monitoring communication protocol | |
CN104916102A (en) | Intelligent gas meter wireless communication and control method | |
CN202404735U (en) | Wireless temperature and humidity acquisition system | |
CN201955887U (en) | MCF51QE128-based ultralow-power consumption wireless temperature/humidity node | |
CN104916103A (en) | Intelligent instrument wireless communication and control method | |
CN104916104A (en) | Intelligent water meter wireless communication and control method | |
CN205068068U (en) | Distributing type time synchronizing data gathers general module based on ethernet transmission | |
CN106972498B (en) | Power demand response control system and load control method thereof | |
CN108124247A (en) | A kind of South Pole ice body motion monitoring system | |
CN212727059U (en) | Photovoltaic energy storage monitoring gateway device based on loRa | |
CN203325177U (en) | Meter reading system based on low-power-consumption wireless technology | |
CN203192220U (en) | Intelligent meter reading concentrator | |
CN205070073U (en) | Row is inserted to intelligence based on android cell -phone | |
CN109309559A (en) | Based on WiFi wirelessly with the distributed signal synchronous of GPS time service | |
CN211375350U (en) | Single-point data acquisition module suitable for RS485 sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160824 |
|
CF01 | Termination of patent right due to non-payment of annual fee |