CN207281539U - A kind of accurate timing Rouser of automatic monitoring system - Google Patents
A kind of accurate timing Rouser of automatic monitoring system Download PDFInfo
- Publication number
- CN207281539U CN207281539U CN201721357269.0U CN201721357269U CN207281539U CN 207281539 U CN207281539 U CN 207281539U CN 201721357269 U CN201721357269 U CN 201721357269U CN 207281539 U CN207281539 U CN 207281539U
- Authority
- CN
- China
- Prior art keywords
- mcu
- rtc
- circuit
- rouser
- power supply
- 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.)
- Active
Links
Abstract
Automatic monitoring field is the utility model is related to, it discloses a kind of accurate timing Rouser of automatic monitoring system, solves the problems, such as can not accurately to be waken up in conventional art, wake up that reliability is low, system timing error is big.The timing wake-up device includes power supply, MCU, switch module, the RTC circuit with alarm clock output;The RTC circuit is directly connected with power supply, and the switch module is connected in system power supply circuit, and the alarm clock signal output part of the RTC circuit is connected with the control terminal of switch module, and the MCU is connected by communication interface with RTC circuit.In addition, the invention also discloses another accurate timing Rouser, it adds logic gates and GPS time service modules on the basis of above device, MCU and RTC circuit are connected to switch module by logic gates, and MCU obtains time signal by GPS time service modules and RTC clock is corrected.
Description
Technical field
It the utility model is related to automatic monitoring field, and in particular to a kind of accurate timing of automatic monitoring system wakes up dress
Put.
Background technology
Various automatic monitoring systems are usually that separated in time samples once, at sampling and data in practical applications
Double sampling interval is generally much smaller than the time required to reason.In order to extend battery life and reduce equipment loss, when systematic sampling and
After data processing, system enters resting state, is periodically automatically waken up again when sample next time, is sampled and data
Handle work.
At present, for the timing wake-up of automatic monitoring system, the prior art use scheme for:When MCU (microcontroller) exists
After completing the currently monitored work, into the resting state of low-power consumption, various peripheral hardwares (such as sensor, input/output interface) stop
Work, when sample next time, MCU is waken up by timer internal or external timer by interrupting, then is monitored next time
Work;RTC (real-time timepiece chip) circuit only provides the clocking capability of monitoring system in the prior art, is not involved in waking up work
Make.
There are following defect for the timing wake-up scheme:
1st, after MCU dormancy, timing function is provided by MCU timer internals or external timer, and precision of timer one
As it is relatively low, particularly MCU timer internals miss by a mile, it is difficult to accomplish accurate timing wake up.
2nd, when equipment in the presence of a harsh environment using or exist interference when, MCU in sleep procedure may occur crash, can not
Wake up, unexpected situations such as waking up, lead to system abnormity, thus it is low to wake up reliability.
3rd, RTC circuit is there are accumulated error, and with the increase of equipment usage time, RTC errors are increasing, cause system meter
When error increase, influence to use.
Utility model content
Technical problem to be solved in the utility model is:
It is proposed a kind of accurate timing Rouser of automatic monitoring system, solve accurately be called out in conventional art
Wake up, wake up the problem of reliability is low, system timing error is big.
Scheme is used by the utility model solves above-mentioned technical problem:
A kind of accurate timing Rouser of automatic monitoring system, including power supply, MCU, switch module, with alarm clock output
RTC circuit;The RTC circuit is directly connected with power supply, and the switch module is connected in system power supply circuit, the RTC electricity
The alarm clock signal output part on road is connected with the control terminal of switch module, and the MCU is connected by communication interface with RTC circuit.
In addition, as a kind of preferred embodiment, the utility model additionally provides the accurate fixed of another automatic monitoring system
When Rouser;It includes power supply, MCU, switch module, the RTC circuit with alarm clock output, further includes logic gates and GPS
Time service module;The alarm clock signal output part of the input terminal connection RTC circuit of the logic gates, another input terminal connect
One I/O mouthfuls of MCU are connect, its output terminal is connected with the control terminal of switch module;The MCU is also awarded by communication interface and GPS
When module be connected with RTC circuit, RTC clock is corrected with obtaining time signal.
As further optimization, the switch module is controllable electronic switch or the power supply module of belt switch control.
As further optimization, the logic gate be with door or OR gate, if the control terminal low level of the on-off circuit
Effectively, then use with door, if the control terminal high level of the on-off circuit is effective, using OR gate.
As further optimization, RTC circuit uses technical grade component.
As further optimization, the logic gate uses AND gate circuit, it includes the first diode, the second diode, the
Three diodes;The Rouser further includes button switch;First diode, the second diode, the cathode of the 3rd diode
The control terminal of switch module is all connected with, the control terminal is effective for low level, and built-in pull-up resistor, the anode of the first diode
The alarm clock signal output part of RTC circuit is connected, one I/O mouthfuls of the anode connection MCU of the second diode, the 3rd diode is born
Pole is grounded by button switch.
As further optimization, pass through I between the MCU and RTC circuit2C interface communicates, the MCU and time service module
Between communicated by UART interface.
The beneficial effects of the utility model are:
1st, the time signal that GPS is obtained by MCU is corrected RTC clock so that accuracy of timekeeping greatly improves, and realizes
The accurate timing of system wakes up;
2nd, the wake-up of system is only controlled by RTC circuit, unrelated with MCU, is avoided MCU under mal-condition and is waken up exception, carries
The high reliability waken up;RTC circuit further improves reliability and the timing of wake-up using high-precision technical grade component
Accuracy.
3rd, only RTC circuit works during system dormancy, and remaining circuit is not powered, and dormancy power consumption is relatively low.
Brief description of the drawings
Fig. 1 is a kind of accurate timing Rouser schematic diagram in the utility model;
Fig. 2 is another accurate timing Rouser schematic diagram in the utility model;
Fig. 3 is the accurate timing awakening method flow chart of automatic monitoring system;
Fig. 4 is the accurate timing Rouser schematic diagram in embodiment.
Embodiment
The utility model is directed to a kind of accurate timing Rouser of automatic monitoring system, solves nothing in conventional art
Method accurately wake up, wakes up the problem of reliability is low, system timing error is big.
As shown in Figure 1, a kind of implementation as accurate timing Rouser in the utility model, it includes:
Power supply, MCU, controllable electronic switch (power supply module that can also use belt switch control), the RTC electricity with alarm clock output
Road;The RTC circuit is directly connected with power supply, and the switch module is connected in system power supply circuit, and the RTC circuit makes a noise
Clock signal output part is connected with the control terminal of switch module, and the MCU is connected by communication interface with RTC circuit.
For the present embodiment, timing and arousal function are provided by the RTC circuit exported with alarm clock, and supply in system
Electrical circuit connect a controllable electronic switch, controllable electronic switch control whole system in addition to RTC circuit power supply (including
The power supply etc. of MCU, sensor), controllable electronic switch by RTC circuit alarm clock output control;When circuit in a dormant state when,
Whole system, which only has RTC circuit, power supply, and other assemblies are in off-position.When the time of setting arrives, RTC circuit
Alarm clock output control signal, controllable electronic switch are opened, and whole system obtains electric operation, and system can complete related monitoring according to setting
Work, after related monitoring is completed, MCU controls the alarm clock of RTC circuit to answer by the communication interface being connected with RTC circuit
Position, controllable electronic switch power-off, system can be again introduced into resting state.
As shown in Fig. 2, another implementation as accurate timing Rouser in the utility model, it is in Fig. 1 institutes
Logic gates and GPS time service modules are added on the device basic shown;The input terminal connection RTC of the logic gates
The alarm clock signal output part of circuit, another input terminal connection one I/O mouthfuls of MCU, its output terminal and controllable electronic switch
Control terminal is connected;The MCU is connected by a communication interface with RTC circuit, also passes through another communication interface and GPS time services
Module connects.
Be using logic gates for the ease of completing to modify to the clock and alarm clock of RTC circuit, modification when
Wait the lasting unlatching that also can guarantee that controllable electronic switch.
Logic gates in the present embodiment can be used and realized with door, OR gate can also be used to realize, with specific reference to can
Depending on the control open signal demand for controlling electronic switch:Control opening control signal effective for high level when controllable electronic switch
When, logic gates uses OR gate;When controllable electronic switch is when controlling opening control signal effective for low level, logic gate is electric
Road uses and door.
In addition, in order to improve accuracy of timekeeping, and realize that accurate timing wakes up, when system works, MCU passes through communication interface
The time signal that GPS module provides is read, RTC clock is corrected.
And the RTC circuit in the utility model can use high-precision technical grade component, fitted with strengthening stability and environment
Ying Xing, it is ensured that the reliability of timing and wake-up.
Accurate timing Rouser based on above-mentioned automatic monitoring system, the accurate timing wake-up side that the utility model is realized
Method is as shown in figure 3, it includes implemented below step:
1st, system in a dormant state when, only RTC circuit can be obtained from power supply and powered, and other components be in breaking
Electricity condition;
2nd, when the time of setting arrives, the alarm clock output control signal of RTC circuit, switch module output so that system
Must be electric, MCU brings into operation and maintains switch module to export by I/O mouthfuls of output unblocked levels, so as to maintain system to obtain electric fortune
OK;
3rd, MCU resets the alarm clock of RTC circuit, resets and completes the related monitoring of post processing;
4th, after the completion of monitoring processing, MCU reads the time signal of GPS time service modules, during using time signal to RTC
Clock is corrected;
5th, MCU judges whether to receive the user input signal that the alarm clock of RTC circuit is checked or changed, if receiving,
Corresponding operating then is carried out to the alarm clock of RTC circuit, if not received in certain time, closes level by I/O mouthfuls of outputs to close
The output of disconnected switch module, system dead electricity, is again introduced into resting state.
Embodiment:
As shown in figure 4, in the present embodiment, anode is connected with the power supply module input terminal that belt switch controls, battery
Anode is grounded.Power supply module exports steady dc voltage, is the power supply such as MCU, GPS, sensor.In addition, in order to ensure RTC electricity
Road can also work in system dormancy, be powered by battery directly to RTC circuit.It is low electricity that the switch of power supply module, which controls foot EN,
It is flat effective, built-in pull-up resistor.In the present embodiment, RTC circuit uses technical grade DS3231, built-in crystal oscillator, band temperature-compensating, band
Alarm clock exports, and has the advantages that precision is high, operating temperature range is wide, adaptable.GPS module uses u-blox neo-6m.
MCU is the common microcontrollers such as AVR, STM, with I2C and UART communication interfaces.Diode D1, D2, D3 are formed and door, DS3231's
INT (alarm clock output) pin connects diode D1 anode, some I/O mouthfuls of connection diode D2 anode of MCU, D3 anode and button
One end connection of switch, the other end ground connection of button switch.D1, D2, D3 cathode link together and connect opening for power supply module
Close control foot EN.I is used between MCU and DS32312C is communicated, and MCU is communicated with GPS module using UART.
Its workflow is:After system electrification, the switch control pin EN of power supply module is in high level state, mould of powering
For block without output, system only has RTC circuit (DS3231) work.Programming has set time and alarm clock to RTC circuit in advance.When to
Up to setting time when, the INT pins of DS3231 switch to low level by high level, and continue export low level (until alarm clock quilt
Reset), the switch control pin EN of power supply module is pulled low, and power supply module output, system obtains electric operation.After MCU operations, with D2
The I/O mouths output low level of connection, maintains system to open.Next, MCU passes through I2C communication interfaces to the alarm clock of DS3231 into
Row resets (after reset, the INT pins of DS3231 are high level), so that alarm clock starts next time.After completing above-mentioned work, MCU
Start to process correlation monitoring.After the completion of work disposal to be monitored, MCU reads awarding for GPS module by UART communication interfaces
When data, and pass through I2C communication interfaces are corrected the clock of DS3231.In next step, MCU (is carried out by user as needed
Key-press input or program judge automatically), the alarm clock setting to DS3231 is checked or changed.After the completion of all working,
The I/O mouths output high level that MCU is connected with D2, power supply module are closed, and system dead electricity, is again introduced into resting state.
Manual wake-up system is such as needed, presses button switch K, drags down power supply module EN feet, system obtains electric operation, MCU operations
Afterwards, the I/O mouths output low level being connected with D2, maintains system to open, release button switchs at this time, and system still may proceed to transport
OK, until the MCU I/O mouths being connected with D2 export high level, power supply module is closed, and system dead electricity, is again introduced into resting state.
Claims (7)
1. the accurate timing Rouser of a kind of automatic monitoring system, it is characterised in that including power supply, MCU, switch module, band
The RTC circuit of alarm clock output;The RTC circuit is directly connected with power supply, and the switch module is connected in system power supply circuit,
The alarm clock signal output part of the RTC circuit is connected with the control terminal of switch module, and the MCU passes through communication interface and RTC electricity
Road is connected.
2. the accurate timing Rouser of a kind of automatic monitoring system, it is characterised in that including power supply, MCU, switch module, band
The RTC circuit of alarm clock output, logic gates, GPS time service modules;The RTC circuit is directly connected with power supply, the switching molding
Block is connected in system power supply circuit;The alarm clock signal output part of the input terminal connection RTC circuit of the logic gates,
One I/O mouthfuls of another input terminal connection MCU, its output terminal is connected with the control terminal of switch module;The MCU is also by logical
Letter interface is connected with GPS time service modules and RTC circuit, and RTC clock is corrected with obtaining time signal.
3. the accurate timing Rouser of a kind of automatic monitoring system as claimed in claim 1 or 2, it is characterised in that described
The power supply module that switch module controls for controllable electronic switch or belt switch.
A kind of 4. accurate timing Rouser of automatic monitoring system as claimed in claim 1 or 2, it is characterised in that RTC electricity
Road is using high-precision technical grade component.
A kind of 5. accurate timing Rouser of automatic monitoring system as claimed in claim 2, it is characterised in that the MCU
Pass through I between RTC circuit2C interface communicates, and is communicated between the MCU and time service module by UART interface.
A kind of 6. accurate timing Rouser of automatic monitoring system as claimed in claim 2, it is characterised in that the logic
Men Weiyu or OR gate, if the control terminal low level of the on-off circuit is effective, use with door, if the on-off circuit
Control terminal high level is effective, then using OR gate.
A kind of 7. accurate timing Rouser of automatic monitoring system as claimed in claim 6, it is characterised in that the logic
Door use and door, it includes the first diode, the second diode, the 3rd diode;The Rouser further includes button switch;Institute
The control terminal that the first diode, the second diode, the cathode of the 3rd diode are all connected with switch module is stated, the control terminal is low
Level is effective, and built-in pull-up resistor, the alarm clock signal output part of the anode connection RTC circuit of the first diode, the two or two pole
One I/O mouthfuls of the anode connection MCU of pipe, the anode of the 3rd diode is grounded by button switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721357269.0U CN207281539U (en) | 2017-10-20 | 2017-10-20 | A kind of accurate timing Rouser of automatic monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721357269.0U CN207281539U (en) | 2017-10-20 | 2017-10-20 | A kind of accurate timing Rouser of automatic monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207281539U true CN207281539U (en) | 2018-04-27 |
Family
ID=61979712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721357269.0U Active CN207281539U (en) | 2017-10-20 | 2017-10-20 | A kind of accurate timing Rouser of automatic monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207281539U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577189A (en) * | 2017-10-20 | 2018-01-12 | 中国电建集团成都勘测设计研究院有限公司 | A kind of accurate timing Rouser of automatic monitoring system |
-
2017
- 2017-10-20 CN CN201721357269.0U patent/CN207281539U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577189A (en) * | 2017-10-20 | 2018-01-12 | 中国电建集团成都勘测设计研究院有限公司 | A kind of accurate timing Rouser of automatic monitoring system |
CN107577189B (en) * | 2017-10-20 | 2023-12-19 | 中国电建集团成都勘测设计研究院有限公司 | Accurate timing wake-up method of automatic monitoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107577189A (en) | A kind of accurate timing Rouser of automatic monitoring system | |
CN103729995A (en) | Wireless remote-transmission meter reading device with ultralow-power-consumption awakening function and awakening method thereof | |
CN203643779U (en) | Outage wake-up circuit of ammeter metering terminal | |
CN101582045A (en) | Computer test system and method | |
CN115598406B (en) | Low-power-consumption voltage monitoring method and system based on state machine | |
CN113805507A (en) | Low-power consumption electronic switch device and equipment control system | |
CN207281539U (en) | A kind of accurate timing Rouser of automatic monitoring system | |
CN111611755A (en) | Intelligent mutual inductor and design method of low-power-consumption working mode thereof | |
CN111061358A (en) | Clock-free chip wake-up circuit, wake-up method and chip | |
CN109917133B (en) | Low-power-consumption glucometer controlled by magnetic control switch and control method thereof | |
CN108548549A (en) | A kind of temperature and humidity intelligent recorder of super low-power consumption | |
CN106341545A (en) | Method for displaying time of mobile terminal under power-off state and system using method | |
CN110793655B (en) | Low-power consumption wireless temperature measuring device | |
CN103617475A (en) | A system and a method of energy efficiency management used for a micro remote tracker | |
CN113489497A (en) | Realization circuit and chip for TCK or ADC | |
CN203151453U (en) | Power-down monitoring reset circuit for field programmable gate array device | |
CN201355282Y (en) | Integrated wireless temperature sensor | |
CN102289924B (en) | Temperature measurement device for overhead power transmission line | |
CN209151383U (en) | A kind of well lid monitoring system | |
CN201417147Y (en) | Multi-turn absolute type magnetic encoder capable of reducing power consumption of stand-by power source | |
CN102109900A (en) | Method and system for reducing static power consumption of electronic equipment in power-down mode | |
CN106877632B (en) | The energy management circuit and energy management method of sleep-awake mode | |
CN202431071U (en) | Door lock control circuit | |
CN215601055U (en) | Wireless sensing node device triggered by wireless charging technology | |
CN112255444A (en) | Method for detecting uncovering action during power failure of electric meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |