CN105759896A - Low power consumption time correcting method - Google Patents

Low power consumption time correcting method Download PDF

Info

Publication number
CN105759896A
CN105759896A CN201610056916.8A CN201610056916A CN105759896A CN 105759896 A CN105759896 A CN 105759896A CN 201610056916 A CN201610056916 A CN 201610056916A CN 105759896 A CN105759896 A CN 105759896A
Authority
CN
China
Prior art keywords
school
time
clock
processing module
information processing
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.)
Granted
Application number
CN201610056916.8A
Other languages
Chinese (zh)
Other versions
CN105759896B (en
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201610056916.8A priority Critical patent/CN105759896B/en
Publication of CN105759896A publication Critical patent/CN105759896A/en
Application granted granted Critical
Publication of CN105759896B publication Critical patent/CN105759896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a low power consumption time correcting method.A clock and a time information processing module are included and are in the low-power-consumption dormant state in the non-time-correcting process; the clock sends an alarm clock signal to the time information processing module 20 second before every time correcting moment according to a set alarm clock to start the time correcting process of the time correcting moment, the timing time of the clock is rewritten through the time information processing module as 10 seconds after the time correcting moment to be used as an interrupt signal; if time correction is successful, the time of the clock is corrected, and the time information processing module is in the dormant state; if time correction is not successful, after the time information processing module receives the interrupt signal sent by the clock, the next time correcting moment of the clock is rewritten again as 20 seconds before the time correcting moment, and then the time information processing module is in the dormant state.Time information can be extracted for time correction, the method has the advantages of being high in precision and low in power consumption, the power consumption can be lowered to the maximum extent, precision is high, the cost is low, the application range is wide, and the complex environment dealing capability is high.

Description

A kind of low-power consumption calibration method
Technical field
The present invention relates to a kind of radio sensing network calibration method, particularly related to a kind of low-power consumption calibration method, can be used for radio sensing network.
Background technology
Wireless sensor network (WrelessSensorNetworks, WSN) be currently receive much concern, relate to multidisciplinary height intersection, hot research field, forward position that knowledge is highly integrated.In wireless sensor network, being important component part during school, Data Fusion of Sensor, sensor node self poisoning etc. are desirable that internodal clock keeps synchronizing.
Method when being now widely used in radio sensing network school mainly has GPS (GlobalPostonngSystem)) and NTP (NetworkTmeprotocol).Although GPS and NTP has a high synchronization accuracy, but its cost is high, energy consumption is big and also under rugged environment, synchronization accuracy can be greatly affected.Therefore all there is the defect that power consumption is bigger in both approaches, and reply complex environment has a lot of restriction.
Summary of the invention
In order to solve Problems existing in background technology, it is an object of the invention to relate to a kind of low-power consumption calibration method, can the signal that comprise temporal information be processed, it is achieved low in energy consumption during school, precision is high, it is achieved method is simple, it is easy to operation.
The technical solution used in the present invention comprises the following steps:
The present invention includes clock and temporal information processing module, is in the resting state of low-power consumption in process when non-school;Clock is according to the alarm clock set, send during the front 20s in moment when each school alarm clock signal to time message processing module start school time the moment school time process, and when being school by the timing of temporal information processing module rewriting clock the rear 10s in moment as interrupt signal;During school, success, then revise the time of clock, and temporal information processing module enters resting state;During school unsuccessful, after temporal information processing module receives the interrupt signal that clock sends, the time that again rewrites during the school of clock next time front 20s in moment when being school, then temporal information processing module enters resting state.
Temporal information is no longer there is after 10 seconds moment, when therefore the present invention adopts interrupt signal to be school after 10 seconds moment during school.If moment 10 seconds when arranging interrupt signal delivery time less than school, when there is school due to time deviation, the moment has not timed out and reaches and interrupt signal has arrived at, then failure when can cause school.
The signal length that when the front 20s in moment is because school when the present invention selects school, the moment comprises temporal information is about 6 seconds, need to initialize after there is time deviation and system unlatching, receiving time information again after circuit stability, therefore during school, select can not less than 20 seconds the moment.If when school the moment more than 20s before when starting school, owing to being absent from temporal information, therefore arranging the opening time is the best for first 20 seconds of the moment of calibration.
Described temporal information processing module adopts low power processor EFM32, when the timing that described temporal information processing module rewrites clock is school after the rear 10s in moment, and works under regular interrupt mode.
During described school, process is calibrated by precise time module, and temporal information processing module enables precise time module, after initializing and arrange precise time module, when initially entering moment school during school.
During described school in process, temporal information processing module is connected to precise time module, temporal information processing module gathers the information with time signal that precise time module sends, the information that precise time module is sent by temporal information processing module carries out A/D sampling, and to the generating date after sampling, it may be judged whether have arrived at moment during school:
If having reached moment during school, then send the temporal information of calibration to clock, the timing of amendment clock be next time school time first 20 seconds of the moment, and close and work under regular interrupt mode, be converted into park mode, close precise time module;
If not receiving calibration temporal information, then after the interrupt signal of 10 seconds arriving after the moment when school, closing and working under regular interrupt mode, being converted into park mode, close precise time module, the timing of amendment clock be next time school time first 20 seconds of the moment.
The sample frequency of described A/D sampling is 50KHz.
Compared with background technology, the invention have the advantages that:
1. when the present invention adopts the audio signal containing temporal information to carry out high accuracy school, it is achieved the method mechanism of low-power consumption is simple, it is easy to accomplish.
2. the present invention adopts the audio signal comprising temporal information to carry out low power consumption high-precision correcting time in network, uses scope wide, environment strong adaptability.
3. the present invention adopts 3.3V supply voltage, year power consumption be 100mAh, available accuracy is up to 600us.
4. when the present invention can be used for the school in radio sensing network.
The inventive method passes through low-power microprocessor, by the timing function of chip during in conjunction with school, on the basis when completing school, reduces power consumption to greatest extent.When carrying out once school weekly, annual power consumption is minimum up to 100mAh.It is little that the present invention realizes difficulty, and cost is low, applied range, and reply complex environment ability is strong.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) of the inventive method.
Table 1 is embodiment power consumption test result.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is further illustrated.
The present invention includes clock and temporal information processing module, is in the resting state of low-power consumption in process when non-school;Clock is according to the alarm clock set, send during the front 20s in moment when each school alarm clock signal to time message processing module start school time the moment school time process, and no longer there is temporal information after 10 seconds moment when the rear 10s in moment is as interrupt signal school when being school by the timing of temporal information processing module rewriting clock, therefore after selecting 10 seconds, close closed system;
During school, success, then revise the time of clock, and temporal information processing module enters resting state;During school unsuccessful, after temporal information processing module receives the interrupt signal that clock sends, when again rewriteeing the school of clock next time the time when being school the front 20s in moment need to carry out the work such as initialization after being waken up due to the deviation of time and system, therefore arranging the opening time for first 20 seconds of the moment of calibration, then temporal information processing module enters resting state.
Temporal information processing module adopts low power processor EFM32, when the timing that described temporal information processing module rewrites clock is school after the rear 10s in moment, and works under regular interrupt mode, timing signal after moment during reception clock school.
In a dormant state, precise time module is closed the low power processor of the present invention, and whole system power consumption is extremely low.
During school, process is calibrated by precise time module, and temporal information processing module enables precise time module, after initializing and arrange precise time module, when initially entering moment school during school.During school in process, described temporal information processing module is connected to precise time module, precise time module gathers the audio-frequency information with time signal, the audio-frequency information that precise time module is collected by temporal information processing module carries out A/D sampling, and to the generating date after sampling, moment when judging whether to have arrived at school: if having reached moment during school, then transmission time information is to clock, the timing of amendment clock be next time school time first 20 seconds of the moment, and closedown works under regular interrupt mode, it is converted into park mode, closes precise time module;If moment when not arriving school, then, after the interrupt signal of 10 seconds arrives after the moment when school, close and work under regular interrupt mode, be converted into park mode, close precise time module, the timing of amendment clock be next time school time first 20 seconds of the moment.
The system that the inventive method is implemented can adopt and include precise time module, temporal information processing module and clock, precise time module is sent to temporal information processing module and processes after the broadcast singal comprising temporal information is demodulated, temporal information processing module is by sampling to temporal information A/D, and sampled result is the digitized voltage values comprising temporal information;Temporal information processing module is passed through to process temporal information in real time, extracting time information, and the correct temporal information after extracting is sent to clock.
In WSN applies, method when sensor node realizes school requires low-power consumption, cost is low, volume is little, and therefore the inventive method is capable of low-power consumption, easy-operating feature.
As it is shown in figure 1, embodiments of the invention and implementation process thereof are as follows:
When entering school before state, in a dormant state, precise time module is closed system, and in a dormant state, clock is in low-power consumption duty to temporal information processing module;
In clock, systemic presupposition alarm clock is evening 18: 59: 40 on every Wendesdays, and after clock matches, clock sends during school that moment wake-up signal is to temporal information processing module, and temporal information processing module is waken up by resting state, arranges state before when entering school;
Before when temporal information processing module enters school, state is set, it is first shut off temporal information processing module park mode, new timing information is sent to clock, for 19: 00: 10 evening of Wednesday, this timing terminates when representing this school, and during school, result is unsuccessfully, do not extract effective temporal information, clock send school time failure signal, enter resting state, wait next time school time;Then arrange temporal information processing module to be in as regular interrupt mode;Then open precise time module, and send initialization information initialization precise time module, after initialization, send the configuration information of precise time module, precise time module is carried out frequency isotype setting, after end is set, enter state during school;
The state when school, precise time module sends audio signal to temporal information processing module, and temporal information processing module processes sampled data after audio signal A/D is sampled in real time, it may be judged whether arrive moment during school;Clock is while the time of carrying out record, it may be judged whether arrive the timing instant of 19: 00: 20.
Temporal information processing module processes the information of precise time module in real time, if it is determined that reached moment during school, temporal information processing module transmission time information 19: 00: 00 gives clock, and rewriteeing timing is 18: 59: 40 Wednesday, this time be next time school time time;It is then shut off precise time module, the regular interrupt mode of shut-in time message processing module, and sets temporal information processing module and be in dormancy awakening pattern, subsequently into resting state;Otherwise repeat state during school;
The failure signal when receiving the school that clock sends, temporal information processing module judges failure during this school, it is necessary to when next hour proceeds school, sends timing information to clock, and timing information is specially 19: 59: 40;It is then shut off precise time module, the regular interrupt mode of shut-in time message processing module, and sets temporal information processing module and be in dormancy awakening pattern, enter resting state;Otherwise repeat state during school.
The present embodiment is by testing the final power consumption effect such as following table obtained, table can be seen that, when system is in school during state, the precise time module adopted is in running order, and temporal information processing module, clock and accurate processing module now power consumption hourly are 170 MAHs;When system is in park mode, precise time module is closed, when temporal information processing module and clock power consumption in the hibernation mode is 5 microamperes, in calculating process, frequency once when taking weekly school, can be calculated dynamic mode power consumption is that 50 MAHs are annual;Quiescent dissipation is 49.6 MAHs every year.Therefore, estimate that annual total power consumption is 118.8 MAHs.
Table 1
Hour Year
Quiescent dissipation 5uAh 43.8mAh
Dynamic power consumption 170mAh 75mAh
Total power consumption / 118.8mAh
Thus embodiment is as seen by when in extraction broadcast singal, the temporal information present invention can realize school, it is achieved difficulty is little, and cost is low, and correcting delay precision is high, up to 20us, has notable prominent technique effect.

Claims (4)

1. a low-power consumption calibration method, it is characterised in that: include clock and temporal information processing module, process is in when non-school the resting state of low-power consumption;Clock is according to the alarm clock set, send during the front 20s in moment when each school alarm clock signal to time message processing module start school time the moment school time process, and when being school by the timing of temporal information processing module rewriting clock the rear 10s in moment as interrupt signal;During school, success, then revise the time of clock, and temporal information processing module enters resting state;During school unsuccessful, after temporal information processing module receives the interrupt signal that clock sends, the time that again rewrites during the school of clock next time front 20s in moment when being school, then temporal information processing module enters resting state.
2. a kind of low-power consumption calibration method according to claim 1, it is characterized in that: described temporal information processing module adopts low power processor EFM32TG842, when the timing that described temporal information processing module rewrites clock is school after the rear 10s in moment, and work under regular interrupt mode.
3. a kind of low-power consumption calibration method according to claim 1, it is characterized in that: during described school, process is calibrated by precise time module, temporal information processing module enables precise time module, after initializing and arrange precise time module, when initially entering moment school during school.
4. a kind of low-power consumption calibration method according to claim 1, it is characterized in that: during described school in process, temporal information processing module is connected to precise time module, temporal information processing module gathers the information with time signal that precise time module sends, the information that precise time module is sent by temporal information processing module carries out A/D sampling, and to the generating date after sampling, it may be judged whether have arrived at moment during school:
If having reached moment during school, then send the temporal information of calibration to clock, the timing of amendment clock be next time school time first 20 seconds of the moment, and close and work under regular interrupt mode, be converted into park mode, close precise time module;If not receiving calibration temporal information, then after the interrupt signal of 10 seconds arriving after the moment when school, closing and working under regular interrupt mode, being converted into park mode, close precise time module, the timing of amendment clock be next time school time first 20 seconds of the moment.
CN201610056916.8A 2016-01-27 2016-01-27 A kind of low-power consumption calibration method Active CN105759896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610056916.8A CN105759896B (en) 2016-01-27 2016-01-27 A kind of low-power consumption calibration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610056916.8A CN105759896B (en) 2016-01-27 2016-01-27 A kind of low-power consumption calibration method

Publications (2)

Publication Number Publication Date
CN105759896A true CN105759896A (en) 2016-07-13
CN105759896B CN105759896B (en) 2019-02-22

Family

ID=56342677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610056916.8A Active CN105759896B (en) 2016-01-27 2016-01-27 A kind of low-power consumption calibration method

Country Status (1)

Country Link
CN (1) CN105759896B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506155A (en) * 2020-04-08 2020-08-07 华大半导体有限公司 Clock self-correcting unit of ultra-low power consumption micro-control processor
CN113726468A (en) * 2021-08-31 2021-11-30 四川九洲电器集团有限责任公司 Time synchronization method, device, terminal and medium based on navigation positioning device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753241B (en) * 2008-12-10 2013-07-17 财团法人资讯工业策进会 Network synchronization method and system
CN102195736B (en) * 2010-03-15 2015-11-25 中兴通讯股份有限公司 The processing method of time synchronized, system and OLT in EPON
CN104333431B (en) * 2014-11-08 2017-02-15 浙江大学 FM (Frequency Modulation) broadcast based low power consumption high accuracy network time synchronous circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506155A (en) * 2020-04-08 2020-08-07 华大半导体有限公司 Clock self-correcting unit of ultra-low power consumption micro-control processor
CN111506155B (en) * 2020-04-08 2022-03-15 华大半导体有限公司 Clock self-correcting unit of ultra-low power consumption micro-control processor
CN113726468A (en) * 2021-08-31 2021-11-30 四川九洲电器集团有限责任公司 Time synchronization method, device, terminal and medium based on navigation positioning device
CN113726468B (en) * 2021-08-31 2022-05-13 四川九洲电器集团有限责任公司 Time synchronization method, device, terminal and medium based on navigation positioning device

Also Published As

Publication number Publication date
CN105759896B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
US8867421B2 (en) Correction of clock errors in a wireless station to enable reduction of power consumption
CN107037722B (en) time system terminal
CN202889361U (en) Internet of Things terminal and Internet of Things time service system
WO2022095939A1 (en) Gnss receiver and satellite capture tracking method
US8301931B2 (en) Time synchronization of portable devices
CN107577189B (en) Accurate timing wake-up method of automatic monitoring system
CN106937369B (en) Low power consumption node synchronized wake-up method, node and system
CN103309228A (en) Time correcting method of car-mounted terminal system
CN101083503A (en) Method for maintaining accurately system synchronous information of receiving apparatus under sleeping state
CN106707736A (en) Automobile instrument clock precision measuring method and automobile instrument clock precision measuring device
WO2018028131A1 (en) Time control apparatus and time control method
CN105759896A (en) Low power consumption time correcting method
CN108401281A (en) Wireless low-power consumption meter register method based on Channel Detection
CN109959948A (en) Acquisition methods, terminal, storage medium, the electronic device of location information
CN103235500A (en) Satellite time service method and timing device based on beidou
CN109613818A (en) Time service method and system, storage medium and electronic equipment based on big-dipper satellite
JP2019115036A (en) Transceiver device with real-time clock
CN101446635B (en) Ultra-low power consumption, low cost GPS chip architecture for mobile devices
CN105572470A (en) Intelligent watt-hour meter and method of using BPC low frequency timing code for automatic timing
CN109633710B (en) Millisecond ambiguity estimation method for warm start of Beidou receiver
CN103021202A (en) Method for realizing standby with low power consumption of automatic identification terminal equipment of ship
CN202976517U (en) Automatic ship identification terminal equipment capable of correcting clock
CN205749668U (en) Big-dipper satellite time dissemination system is utilized to carry out the intelligent electric energy meter of automatic correcting time
CN104333431B (en) FM (Frequency Modulation) broadcast based low power consumption high accuracy network time synchronous circuit
CN106125890A (en) A kind of night dormancy method and system thereof of embedded device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant