CN107741865B - Standby system capable of self-awakening and standby method - Google Patents
Standby system capable of self-awakening and standby method Download PDFInfo
- Publication number
- CN107741865B CN107741865B CN201711014346.7A CN201711014346A CN107741865B CN 107741865 B CN107741865 B CN 107741865B CN 201711014346 A CN201711014346 A CN 201711014346A CN 107741865 B CN107741865 B CN 107741865B
- Authority
- CN
- China
- Prior art keywords
- module
- real
- alarm
- time clock
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Abstract
本发明提供一种能自唤醒的待机系统及待机方法,能够定时自动唤醒系统。所述系统包括:第一电源模块、实时时钟模块、稳压器、第二电源模块,主控模块、开关电路、预先设置的其他电路元件;其中,第一电源模块为实时时钟模块供电,第二电源模块为稳压器、主控模块、开关电路、预先设置的其他电路元件供电;所述实时时钟模块,用于产生闹钟告警信号时,使稳压器进入工作状态,以便稳压器输出主控模块所需要的工作电压启动所述主控模块;所述主控模块启动后,用于控制预先设置的其他电路元件的开关电路开启,系统进入工作状态,还用于待系统工作结束后,控制所述实时时钟模块清除闹钟告警信号,使系统进入待机状态。本发明涉及电子产品技术领域。
The invention provides a standby system and a standby method capable of self-awakening, which can automatically wake up the system regularly. The system includes: a first power supply module, a real-time clock module, a voltage regulator, a second power supply module, a main control module, a switch circuit, and other preset circuit elements; wherein, the first power supply module supplies power for the real-time clock module, and the first power supply module supplies power to the real-time clock module; The second power supply module supplies power to the voltage stabilizer, the main control module, the switching circuit, and other preset circuit components; the real-time clock module is used to make the voltage stabilizer enter the working state when the alarm signal is generated, so that the voltage stabilizer can output The working voltage required by the main control module activates the main control module; after the main control module is activated, the switch circuits used to control other preset circuit elements are turned on, and the system enters the working state, which is also used to wait for the end of the system work. , controlling the real-time clock module to clear the alarm signal of the alarm clock, so that the system enters a standby state. The present invention relates to the technical field of electronic products.
Description
技术领域technical field
本发明涉及电子产品技术领域,特别是指一种能自唤醒的待机系统及待机方法。The invention relates to the technical field of electronic products, in particular to a standby system and a standby method capable of self-awakening.
背景技术Background technique
在一些特殊的工业控制、测试测量领域,对设备的功耗有着极为严格的要求。例如,一些现场仪器设备需要放置于野外,或深埋于地下工作,使用人员难以接近甚至无法到达,并且使用电池供电,对体积有一定限制,还要保证设备能连续使用至少一年的时间,这对电路的功耗控制提出了很大的挑战,要求设备大部分时间处于超低功耗待机状态,在需要时,又能自行唤醒,实现预设的功能。In some special industrial control, test and measurement fields, there are extremely strict requirements on the power consumption of the equipment. For example, some field instruments and equipment need to be placed in the field or buried deep underground for work, which is inaccessible or even inaccessible for users, and is powered by batteries, which has a certain volume limit, and it is necessary to ensure that the equipment can be used continuously for at least one year. This poses a great challenge to the power consumption control of the circuit, requiring the device to be in an ultra-low-power standby state most of the time, and to wake up on its own when needed to achieve preset functions.
目前主流的低功耗待机解决方案是让微处理器处于深度睡眠状态,一般是通过单片机内部自带的低功耗的实时时钟(Real-Time Clock,RTC)电路在工作进行计时,通过定时的唤醒来完成相应功能,之后再进入睡眠工作。但是这种方式下,尽管微处理器已经处于低功耗待机模式,但是系统的电源电路仍然处于开启状态,电源芯片工作本身会有静态功耗,其他外围元器件也仍然不可避免的产生电流消耗,并且因此无法适用于上述对功耗有严格要求的场合。The current mainstream low-power standby solution is to put the microprocessor in a deep sleep state, generally through the low-power real-time clock (Real-Time Clock, RTC) circuit built into the microcontroller to work for timing, and through the timing Wake up to complete the corresponding function, and then enter the sleep work. However, in this way, although the microprocessor is already in the low-power standby mode, the power supply circuit of the system is still in the open state, the power supply chip itself will have static power consumption, and other peripheral components will inevitably generate current consumption. , and therefore cannot be applied to the above occasions with strict requirements on power consumption.
在申请号为201310349034.7的专利中,提出了一种单片机低功耗待机电路及控制方法,它使系统在待机时,单片机电源被完全切断,实现低功耗,同时设计有相应的触发开关,可以使单片机轻易切换到正常工作模式,使用方便,对于那些已经使用不具有低功耗模式或类似功能的单片机的电器,不需要重新设计电路,易实现。但是这种方案在电路处于待机状态时,无法自动唤醒,必须要由外界人为按下待机按键才能唤醒系统,不满足上述场合的要求。In the patent with the application number of 201310349034.7, a low-power consumption standby circuit and control method of a single-chip microcomputer are proposed. When the system is in standby, the power supply of the single-chip microcomputer is completely cut off to achieve low power consumption. At the same time, a corresponding trigger switch is designed, which can The single-chip microcomputer can be easily switched to the normal working mode, which is convenient to use. For those electrical appliances that have used the single-chip microcomputer that does not have a low-power consumption mode or similar functions, it is not necessary to redesign the circuit, and it is easy to implement. However, this solution cannot automatically wake up when the circuit is in a standby state, and the outside world must manually press the standby button to wake up the system, which does not meet the requirements of the above occasions.
在申请号为201210214428.7的专利中,当系统进入待机状态前,将当前运行的系统状态信息保存到适当的介质中,在保存系统状态信息的同时,在RTC电源域保存当前系统状态信息的索引;收到系统的待机命令时关闭系统电源,重新启动时,从之前保存的索引信息快速找到待机前的系统状态信息并进行恢复。该方案同样也没有给出系统自动唤醒的方法,因此仍然不适合上述所述的场合。In the patent with the application number of 201210214428.7, before the system enters the standby state, the currently running system state information is saved to an appropriate medium, and the index of the current system state information is stored in the RTC power domain while saving the system state information; When receiving the standby command of the system, turn off the power of the system, and when restarting, quickly find and restore the system state information before standby from the index information saved before. This solution also does not provide a method for automatic wake-up of the system, so it is still not suitable for the above-mentioned occasions.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是提供一种能自唤醒的待机系统及待机方法,以解决现有技术所存在的实现了不能自动唤醒系统的问题。The technical problem to be solved by the present invention is to provide a standby system and a standby method capable of self-awakening, so as to solve the problem existing in the prior art that the system cannot be automatically awakened.
为解决上述技术问题,本发明实施例提供一种能自唤醒的待机系统,包括:第一电源模块、实时时钟模块、稳压器、第二电源模块,主控模块、开关电路、预先设置的其他电路元件;其中,所述第一电源模块为所述实时时钟模块供电,所述第二电源模块与所述稳压器和开关电路相连,用于为所述稳压器、主控模块、开关电路、预先设置的其他电路元件供电;In order to solve the above technical problem, the embodiment of the present invention provides a standby system capable of self-awakening, including: a first power supply module, a real-time clock module, a voltage regulator, a second power supply module, a main control module, a switch circuit, and a preset power supply module. Other circuit elements; wherein, the first power supply module supplies power for the real-time clock module, and the second power supply module is connected to the voltage stabilizer and the switch circuit, and is used for the voltage stabilizer, the main control module, Power supply for switching circuits and other pre-set circuit components;
所述实时时钟模块,用于按照预设的时间间隔产生闹钟告警信号,当其产生闹钟告警信号时,所述使稳压器进入工作状态,以便所述稳压器将所述第二电源模块输出的电压转换成主控模块所需要的工作电压启动所述主控模块;The real-time clock module is used to generate an alarm clock alarm signal according to a preset time interval, and when it generates an alarm clock alarm signal, the voltage stabilizer is put into a working state, so that the voltage stabilizer can connect the second power supply module. The output voltage is converted into the working voltage required by the main control module to start the main control module;
所述主控模块,启动后,用于控制预先设置的其他电路元件的开关电路开启,系统进入工作状态;还用于待系统工作结束后,控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作,系统进入待机状态,等待下次唤醒。The main control module, after being started, is used to control the switching circuits of other preset circuit elements to be turned on, and the system enters the working state; it is also used to control the real-time clock module to clear the alarm signal after the system is finished, so as to stabilize the system. The voltage regulator stops working, and the system enters the standby state, waiting for the next wake-up.
进一步地,所述实时时钟模块,具体用于按照预设的时间间隔产生闹钟告警信号,当所述实时时钟模块产生闹钟告警信号时,所述实时时钟模块的闹钟告警信号管脚输出有效信号,所述有效信号用于启动稳压器,使稳压器进入工作状态。Further, the real-time clock module is specifically configured to generate an alarm clock alarm signal according to a preset time interval, when the real-time clock module generates an alarm clock alarm signal, the alarm clock alarm signal pin of the real-time clock module outputs a valid signal, The valid signal is used to start the voltage stabilizer, so that the voltage stabilizer enters the working state.
进一步地,所述稳压器带有使能端,所述使能端与所述实时时钟模块的闹钟告警信号管脚相连;Further, the voltage stabilizer is provided with an enable terminal, and the enable terminal is connected to the alarm signal pin of the real-time clock module;
在所述实时时钟模块的闹钟告警信号管脚输出有效信号时,所述稳压器进入工作状态,否则,所述稳压器停止工作。When the alarm signal pin of the real-time clock module outputs a valid signal, the voltage stabilizer enters a working state; otherwise, the voltage stabilizer stops working.
进一步地,所述按照预设的时间间隔产生闹钟告警信号包括:Further, the generating of the alarm clock alarm signal according to the preset time interval includes:
每秒产生一次闹钟告警信号;或,Generate an alarm signal every second; or,
每分产生一次闹钟告警信号;或,Generate an alarm signal every minute; or,
每时产生一次闹钟告警信号;或,An alarm signal is generated every hour; or,
每天产生一次闹钟告警信号;或,Generate an alarm signal once a day; or,
每星期产生一次闹钟告警信号;或,Generate an alarm alarm signal once a week; or,
指定在某个日期产生一次闹钟告警信号;或,Specifies to generate an alarm signal on a certain date; or,
指定在某个日期某时某分某秒产生一次闹钟告警信号。Specifies to generate an alarm signal at a certain time, minute and second on a certain date.
进一步地,所述开关电路,用于开启和关闭系统中所述预先设置的其他电路元件的供电电源;Further, the switch circuit is used to turn on and off the power supply of other preset circuit elements in the system;
进一步地,所述第一电源模块为纽扣电池。Further, the first power module is a button battery.
进一步地,所述第二电源模块为锂电池、干电池或者铅酸蓄电池。Further, the second power module is a lithium battery, a dry battery or a lead-acid battery.
本发明实施例还提供一种能自唤醒的待机方法,包括:The embodiment of the present invention also provides a standby method capable of self-awakening, including:
配置实时时钟模块,使所述实时时钟模块按照预设的时间间隔产生闹钟告警信号,由第一电源模块为所述实时时钟模块供电;configuring a real-time clock module, so that the real-time clock module generates an alarm signal according to a preset time interval, and the real-time clock module is powered by the first power supply module;
当所述实时时钟模块产生闹钟告警信号时,所述使稳压器进入工作状态,以便所述使稳压器将第二电源模块输出的电压转换成主控模块所需要的工作电压启动所述主控模块;When the real-time clock module generates an alarm signal, the voltage stabilizer enters a working state, so that the voltage stabilizer converts the voltage output by the second power supply module into a working voltage required by the main control module to start the voltage stabilizer main control module;
所述主控模块启动后,控制预先设置的其他电路元件的开关电路开启,系统进入工作状态;After the main control module is started, the switch circuits of other preset circuit elements are controlled to be turned on, and the system enters the working state;
待系统工作结束后,所述主控模块控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作,系统进入待机状态,等待下次唤醒;After the system works, the main control module controls the real-time clock module to clear the alarm signal, so that the voltage regulator stops working, the system enters a standby state, and waits for the next wake-up;
其中,由第二电源模块为稳压器、主控模块、开关电路、预先设置的其他电路元件供电。Wherein, the second power supply module supplies power to the voltage stabilizer, the main control module, the switch circuit, and other preset circuit elements.
进一步地,所述稳压器带有使能端,所述使能端与所述实时时钟模块的闹钟告警信号管脚相连;Further, the voltage stabilizer is provided with an enable terminal, and the enable terminal is connected to the alarm signal pin of the real-time clock module;
在所述实时时钟模块的闹钟告警信号管脚输出有效信号时,所述稳压器进入工作状态,否则,所述稳压器停止工作。When the alarm signal pin of the real-time clock module outputs a valid signal, the voltage stabilizer enters a working state; otherwise, the voltage stabilizer stops working.
进一步地,所述按照预设的时间间隔产生闹钟告警信号包括:Further, the generating of the alarm clock alarm signal according to the preset time interval includes:
每秒产生一次闹钟告警信号;或,Generate an alarm signal every second; or,
每分产生一次闹钟告警信号;或,Generate an alarm signal every minute; or,
每时产生一次闹钟告警信号;或,An alarm signal is generated every hour; or,
每天产生一次闹钟告警信号;或,Generate an alarm signal once a day; or,
每星期产生一次闹钟告警信号;或,Generate an alarm alarm signal once a week; or,
指定在某个日期产生一次闹钟告警信号;或,Specifies to generate an alarm signal on a certain date; or,
指定在某个日期某时某分某秒产生一次闹钟告警信号。Specifies to generate an alarm signal at a certain time, minute and second on a certain date.
本发明的上述技术方案的有益效果如下:The beneficial effects of the above-mentioned technical solutions of the present invention are as follows:
上述方案中,通过第一电源模块为实时时钟模块供电,第二电源模块为稳压器、主控模块、开关电路、预先设置的其他电路元件供电,且所述实时时钟模块,用于按照预设的时间间隔产生闹钟告警信号,当其产生闹钟告警信号时,所述使稳压器进入工作状态,以便所述稳压器将所述第二电源模块输出的电压转换成主控模块所需要的工作电压启动所述主控模块;所述主控模块,启动后,用于控制预先设置的其他电路元件的开关电路开启,系统进入工作状态;还用于待系统工作结束后,控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作,此时除了实时时钟模块之外的整个系统断电,系统再次进入低功耗待机状态,等待实时时钟模块的下一次唤醒,从而能够使得系统在大部分时间都处于低功耗待机状态,且能实现系统的定时自动唤醒,因此十分适合工作于野外无人职守,且由电池供电、对功耗要求十分严苛的场合。In the above solution, the first power supply module supplies power to the real-time clock module, and the second power supply module supplies power to the voltage regulator, the main control module, the switch circuit, and other preset circuit elements, and the real-time clock module is used to supply power according to the preset power supply. The set time interval generates an alarm signal, and when it generates an alarm signal, the voltage stabilizer is put into a working state, so that the voltage stabilizer can convert the voltage output by the second power supply module into the required voltage of the main control module. The main control module starts the main control module with the working voltage of The real-time clock module clears the alarm signal and makes the voltage regulator stop working. At this time, the entire system except the real-time clock module is powered off, and the system enters a low-power standby state again, waiting for the next wake-up of the real-time clock module, so that the The system is in a low-power standby state most of the time, and can automatically wake up the system at regular intervals, so it is very suitable for working in the field where there is no one on duty, and it is powered by batteries and has strict power consumption requirements.
附图说明Description of drawings
图1为本发明实施例提供的能自唤醒的待机系统的结构示意图;FIG. 1 is a schematic structural diagram of a standby system capable of self-awakening provided by an embodiment of the present invention;
图2为本发明实施例提供的能自唤醒的待机方法的流程示意图。FIG. 2 is a schematic flowchart of a standby method capable of self-awakening provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, the following will be described in detail with reference to the accompanying drawings and specific embodiments.
本发明针对现有的不能自动唤醒系统的问题,提供一种能自唤醒的待机系统及待机方法。The present invention provides a standby system and a standby method capable of self-awakening, aiming at the problem that the existing system cannot be automatically woken up.
实施例一Example 1
如图1所示,本发明实施例提供的能自唤醒的待机系统,包括:第一电源模块11、实时时钟模块12、稳压器13、第二电源模块14,主控模块15、开关电路16、预先设置的其他电路元件17;其中,所述第一电源模块11为所述实时时钟模块12供电,所述第二电源模块14与所述稳压器13和开关电路16相连,用于为所述稳压器13、主控模块15、开关电路16、预先设置的其他电路元件17供电;As shown in FIG. 1 , the standby system capable of self-awakening provided by the embodiment of the present invention includes: a first power supply module 11 , a real-time clock module 12 , a voltage regulator 13 , a second power supply module 14 , a main control module 15 , and a switch circuit 16. Other preset circuit elements 17; wherein, the first power supply module 11 supplies power to the real-time clock module 12, and the second power supply module 14 is connected to the voltage regulator 13 and the switch circuit 16 for use in supply power to the voltage stabilizer 13, the main control module 15, the switch circuit 16, and other preset circuit elements 17;
所述实时时钟模块12,用于按照预设的时间间隔产生闹钟告警信号,当其产生闹钟告警信号时,所述使稳压器13进入工作状态,以便所述稳压器13将所述第二电源模块14输出的电压转换成主控模块15所需要的工作电压启动所述主控模块15;The real-time clock module 12 is used to generate an alarm clock alarm signal according to a preset time interval, and when it generates an alarm clock alarm signal, the voltage stabilizer 13 is brought into a working state, so that the voltage stabilizer 13 will The voltage output by the two power supply modules 14 is converted into the working voltage required by the main control module 15 to start the main control module 15;
所述主控模块15,启动后,用于控制预先设置的其他电路元件的开关电路16开启,系统进入工作状态;还用于待系统工作结束后,控制所述实时时钟模块12清除闹钟告警信号,使稳压器13停止工作,系统进入待机状态,等待下次唤醒。After the main control module 15 is started, the switch circuit 16 used to control other preset circuit elements is turned on, and the system enters the working state; it is also used to control the real-time clock module 12 to clear the alarm signal after the system work is completed. , so that the voltage regulator 13 stops working, the system enters the standby state, and waits for the next wake-up.
本发明实施例所述的能自唤醒的待机系统,通过第一电源模块为实时时钟模块供电,第二电源模块为稳压器、主控模块、开关电路、预先设置的其他电路元件供电,且所述实时时钟模块,用于按照预设的时间间隔产生闹钟告警信号,当其产生闹钟告警信号时,所述使稳压器进入工作状态,以便所述稳压器将所述第二电源模块输出的电压转换成主控模块所需要的工作电压启动所述主控模块;所述主控模块,启动后,用于控制预先设置的其他电路元件的开关电路开启,系统进入工作状态;还用于待系统工作结束后,控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作,此时除了实时时钟模块之外的整个系统断电,系统再次进入低功耗待机状态,等待实时时钟模块的下一次唤醒,从而能够使得系统在大部分时间都处于低功耗待机状态,且能实现系统的定时自动唤醒,因此十分适合工作于野外无人职守,且由电池供电、对功耗要求十分严苛的场合。The standby system capable of self-awakening according to the embodiment of the present invention supplies power to the real-time clock module through the first power supply module, and the second power supply module supplies power to the voltage regulator, the main control module, the switch circuit, and other preset circuit elements, and The real-time clock module is used to generate an alarm clock alarm signal according to a preset time interval, and when it generates an alarm clock alarm signal, the voltage stabilizer is put into a working state, so that the voltage stabilizer can connect the second power supply module. The output voltage is converted into the working voltage required by the main control module to start the main control module; after the main control module is started, the switch circuits used to control other preset circuit elements are turned on, and the system enters the working state; After the work of the system is completed, the real-time clock module is controlled to clear the alarm signal, so that the voltage regulator stops working. At this time, the entire system except the real-time clock module is powered off, and the system enters a low-power standby state again, waiting for real-time operation. The next wake-up of the clock module can make the system in a low-power standby state most of the time, and can realize the timing automatic wake-up of the system. Very demanding occasions.
如图2所示,本实施例提供的所述能自唤醒的待机系统包括:第一电源模块、实时时钟模块(所述实时时钟模块可以是实时时钟电路)、稳压器、第二电源模块(所述为主电源模块),主控模块(所述主控模块可以是单片机)、开关电路、预先设置的其他电路元件;其中,As shown in FIG. 2 , the self-awakening standby system provided in this embodiment includes: a first power supply module, a real-time clock module (the real-time clock module may be a real-time clock circuit), a voltage regulator, and a second power supply module (the main power supply module), the main control module (the main control module may be a single-chip microcomputer), a switch circuit, and other preset circuit elements; wherein,
所述第一电源模块,与所述实时时钟模块相连,用于为所述实时时钟模块提供电源,优选地,所述第一电源模块可以是钮扣电池;the first power supply module is connected to the real-time clock module, and is used to provide power for the real-time clock module, preferably, the first power supply module can be a button battery;
所述实时时钟模块,与所述稳压器和所述主控模块相连,用于按照预设的时间间隔产生闹钟告警信号,当所述实时时钟模块产生闹钟告警信号时,所述实时时钟模块的闹钟告警信号管脚输出有效信号,所述有效信号用于启动稳压器,使稳压器进入工作状态;The real-time clock module is connected to the voltage regulator and the main control module, and is used for generating an alarm signal according to a preset time interval. When the real-time clock module generates an alarm signal, the real-time clock module The alarm signal pin of the alarm clock outputs a valid signal, and the valid signal is used to start the voltage stabilizer and make the voltage stabilizer enter the working state;
所述稳压器,与所述第二电源模块和所述主控模块相连,用于将所述第二电源模块输出的电压转换成主控模块所需要的工作电压,从而启动所述主控模块;其中,所述稳压器带有使能端,所述使能端与所述实时时钟模块的闹钟告警信号管脚相连,在所述实时时钟模块的闹钟告警信号管脚输出有效信号时,所述稳压器进入工作状态,否则,所述稳压器停止工作;The voltage stabilizer is connected to the second power supply module and the main control module, and is used to convert the voltage output by the second power supply module into the working voltage required by the main control module, so as to start the main control module module; wherein, the voltage stabilizer has an enable terminal, and the enable terminal is connected with the alarm signal pin of the real-time clock module, when the alarm signal pin of the real-time clock module outputs a valid signal , the voltage stabilizer enters the working state, otherwise, the voltage stabilizer stops working;
所述第二电源模块,还与所述开关电路相连,用于为系统中除实时时钟模块和第一电源模块外的组件(即:稳压器、主控模块、开关电路、预先设置的其他电路元件)提供电源,使系统正常工作以完成所需要的功能,优选地,所述第二电源模块可以是锂电池、干电池或者铅酸蓄电池;The second power supply module is also connected with the switch circuit, and is used for the components in the system except the real-time clock module and the first power supply module (ie: voltage regulator, main control module, switch circuit, other preset circuit element) to provide power to make the system work normally to complete the required functions, preferably, the second power module can be a lithium battery, a dry battery or a lead-acid battery;
所述开关电路,与所述预先设置的其他电路元件相连,用于开启和关闭系统中所述预先设置的其他电路元件的供电电源,其中,所述预先设置的其他电路元件可以是具体的功能模块,在实际应用中,由实际应用场景确定;The switch circuit, connected to the other preset circuit elements, is used to turn on and off the power supply of the other preset circuit elements in the system, wherein the other preset circuit elements can be specific functions The module, in practical application, is determined by the actual application scenario;
所述主控模块,整个系统的核心控制器,用于执行所有的程序逻辑,例如,可以用于与所述预先设置的其他电路元件配合,实现系统所需的功能,还用于控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作。The main control module, the core controller of the entire system, is used to execute all program logic, for example, it can be used to cooperate with the other preset circuit elements to realize the functions required by the system, and also to control the The real-time clock module clears the alarm signal and stops the voltage stabilizer.
本实施例中,所述实时时钟模块:用于实现实时时钟计时,具有闹钟告警功能,可以设置为每秒、每分、时、天、星期或者指定日期产生闹钟告警信号,使稳压器工作;具体的,可以每秒产生一次闹钟告警信号;或,In this embodiment, the real-time clock module: used to realize real-time clock timing, has an alarm clock alarm function, and can be set to generate an alarm clock alarm signal every second, every minute, hour, day, week or a specified date to make the voltage stabilizer work ; Specifically, an alarm signal can be generated every second; or,
每分产生一次闹钟告警信号;或,Generate an alarm signal every minute; or,
每时产生一次闹钟告警信号;或,An alarm signal is generated every hour; or,
每天产生一次闹钟告警信号;或,Generate an alarm signal once a day; or,
每星期产生一次闹钟告警信号;或,Generate an alarm alarm signal once a week; or,
指定在某个日期产生一次闹钟告警信号;或,Specifies to generate an alarm signal on a certain date; or,
指定在某个日期某时某分某秒产生一次闹钟告警信号。Specifies to generate an alarm signal at a certain time, minute and second on a certain date.
本实施例中,在系统出厂之前,可以先对所述实时时钟模块进行配置,使其按一定的时间间隔产生闹钟告警信号,在其没有发出闹钟告警信号时,所述实时时钟模块的闹钟告警信号管脚输出无效信号,所述稳压器不工作,主控模块没有电源供电不工作,开关电路也处于关闭状态,预先设置的其他电路元件也不工作,系统实际上处于完全断电状态,主电源模块除了其自身的损耗之外,没有任何电流输出,此时系统唯一产生电流消耗的是实时时钟模块,所述实时时钟模块由纽扣电池供电,电流值在100uA以下;当定时时间到,所述实时时钟模块产生闹钟告警信号时,对应的闹钟告警信号管脚输出有效信号,使稳压器进入工作状态,输出相应的工作电压给主控模块工作,主控模块启动后,将控制预先设置的其他电路元件的开关电路打开,整个系统进入工作状态,实现相应的功能;之后,主控模块操作实时时钟模块清除其闹钟告警信号,于是稳压器再次停止工作,此时除了实时时钟模块之外的整个系统断电,系统再次进入低功耗待机状态,等待所述实时时钟模块的下一次唤醒。In this embodiment, before the system leaves the factory, the real-time clock module may be configured to generate an alarm signal at certain time intervals. The signal pin outputs an invalid signal, the voltage stabilizer does not work, the main control module does not work without power supply, the switch circuit is also in a closed state, and other pre-set circuit components do not work, and the system is actually in a complete power-off state. The main power module has no current output except its own loss. At this time, the only current consumption in the system is the real-time clock module, which is powered by a button battery and the current value is below 100uA; when the time is up, When the real-time clock module generates an alarm alarm signal, the corresponding alarm alarm signal pin outputs a valid signal, so that the voltage regulator enters the working state, and outputs the corresponding working voltage to the main control module to work. The switch circuits of the other circuit elements set are turned on, and the whole system enters the working state to realize the corresponding functions; after that, the main control module operates the real-time clock module to clear its alarm signal, so the voltage regulator stops working again, except for the real-time clock module. The entire system other than that is powered off, and the system enters a low-power standby state again, waiting for the next wake-up of the real-time clock module.
因此,本实施例提供的所述能自唤醒的待机系统大部分时间都处于低功耗待机状态,此时,主电源模块完全关闭,只有主电源模块内部自身的损耗,电流输出几乎为0,实时时钟模块在钮扣电池供电下工作,只有当定时时间到达之后,实时时钟模块在其闹钟告警信号管脚上输出有效信号,使稳压器开始工作,整个系统才被开启执行相应的功能,执行完毕之后,主控模块将实时时钟模块的闹钟告警信号管脚上的信号清除,系统再次进入低功耗待机状态,等待下次唤醒,实现了系统的定时自动唤醒。Therefore, the self-wake-up standby system provided in this embodiment is in a low-power standby state most of the time. At this time, the main power module is completely turned off, only the internal consumption of the main power module itself, and the current output is almost 0. The real-time clock module works under the power supply of the button battery. Only when the timing time arrives, the real-time clock module outputs a valid signal on its alarm signal pin, so that the voltage regulator starts to work, and the whole system is turned on to perform the corresponding function. After the execution is completed, the main control module clears the signal on the alarm signal pin of the real-time clock module, and the system enters the low-power standby state again, waiting for the next wake-up, realizing the timing automatic wake-up of the system.
实施例二Embodiment 2
本发明还提供一种能自唤醒的待机系统的具体实施方式,由于本发明提供的能自唤醒的待机系统与前述能自唤醒的待机方法的具体实施方式相对应,该能自唤醒的待机系统可以通过执行上述方法具体实施方式中的流程步骤来实现本发明的目的,因此上述能自唤醒的待机方法具体实施方式中的解释说明,也适用于本发明提供的能自唤醒的待机系统的具体实施方式,在本发明以下的具体实施方式中将不再赘述。The present invention also provides a specific implementation of a standby system capable of self-awakening. Since the standby system capable of self-awakening provided by the present invention corresponds to the specific implementation of the aforementioned standby method capable of self-awakening, the standby system capable of self-awakening The purpose of the present invention can be achieved by executing the process steps in the specific embodiment of the above method, so the explanations in the specific embodiment of the above-mentioned self-awakening standby method are also applicable to the specific implementation of the self-awakening standby system provided by the present invention. Embodiments, which will not be repeated in the following specific embodiments of the present invention.
如图2所示,本发明实施例还提供一种能自唤醒的待机方法,包括:As shown in FIG. 2 , an embodiment of the present invention further provides a standby method capable of self-awakening, including:
S101,配置实时时钟模块,使所述实时时钟模块按照预设的时间间隔产生闹钟告警信号,由第一电源模块为所述实时时钟模块供电;S101, configure a real-time clock module, so that the real-time clock module generates an alarm signal according to a preset time interval, and the real-time clock module is powered by a first power supply module;
S102,当所述实时时钟模块产生闹钟告警信号时,所述使稳压器进入工作状态,以便所述使稳压器将第二电源模块输出的电压转换成主控模块所需要的工作电压启动所述主控模块;S102, when the real-time clock module generates an alarm signal, the voltage stabilizer enters a working state, so that the voltage stabilizer converts the voltage output by the second power supply module into a working voltage required by the main control module to start the main control module;
S103,所述主控模块启动后,控制预先设置的其他电路元件的开关电路开启,系统进入工作状态;S103, after the main control module is started, the switch circuits of other preset circuit elements are controlled to be turned on, and the system enters a working state;
S104,待系统工作结束后,所述主控模块控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作,系统进入待机状态,等待下次唤醒;S104, after the system work ends, the main control module controls the real-time clock module to clear the alarm signal of the alarm clock, so that the voltage regulator stops working, the system enters a standby state, and waits for the next wake-up;
其中,由第二电源模块为稳压器、主控模块、开关电路、预先设置的其他电路元件供电。Wherein, the second power supply module supplies power to the voltage stabilizer, the main control module, the switch circuit, and other preset circuit elements.
本发明实施例所述的能自唤醒的待机方法,通过第一电源模块为实时时钟模块供电,第二电源模块为稳压器、主控模块、开关电路、预先设置的其他电路元件供电;配置实时时钟模块,使所述实时时钟模块按照预设的时间间隔产生闹钟告警信号;当所述实时时钟模块产生闹钟告警信号时,所述使稳压器进入工作状态,以便所述使稳压器将第二电源模块输出的电压转换成主控模块所需要的工作电压启动所述主控模块;所述主控模块,启动后,用于控制预先设置的其他电路元件的开关电路开启,系统进入工作状态;还用于待系统工作结束后,控制所述实时时钟模块清除闹钟告警信号,使稳压器停止工作,此时除了实时时钟模块之外的整个系统断电,系统再次进入低功耗待机状态,等待实时时钟模块的下一次唤醒,从而能够使得系统在大部分时间都处于低功耗待机状态,且能实现系统的定时自动唤醒,因此十分适合工作于野外无人职守,且由电池供电、对功耗要求十分严苛的场合。In the standby method capable of self-awakening according to the embodiment of the present invention, the first power supply module supplies power to the real-time clock module, and the second power supply module supplies power to the voltage regulator, the main control module, the switch circuit, and other preset circuit elements; configure A real-time clock module, which enables the real-time clock module to generate an alarm signal at preset time intervals; when the real-time clock module generates an alarm signal for an alarm, the voltage regulator is brought into a working state, so that the voltage regulator can be Convert the voltage output by the second power supply module into the working voltage required by the main control module to start the main control module; after the main control module is started, the switch circuits used to control other preset circuit elements are turned on, and the system enters Working state; it is also used to control the real-time clock module to clear the alarm signal after the system work is completed, so that the voltage regulator stops working. At this time, the entire system except the real-time clock module is powered off, and the system enters low power consumption again. Standby state, waiting for the next wake-up of the real-time clock module, so that the system can be in a low-power standby state most of the time, and the system can be automatically woken up at regular intervals. Power supply and occasions where power consumption requirements are very strict.
在前述能自唤醒的待机方法的具体实施方式中,进一步地,所述稳压器带有使能端,所述使能端与所述实时时钟模块的闹钟告警信号管脚相连;In the specific embodiment of the aforementioned standby method capable of self-awakening, further, the voltage regulator has an enable terminal, and the enable terminal is connected to the alarm signal pin of the real-time clock module;
在所述实时时钟模块的闹钟告警信号管脚输出有效信号时,所述稳压器进入工作状态,否则,所述稳压器停止工作。When the alarm signal pin of the real-time clock module outputs a valid signal, the voltage stabilizer enters a working state; otherwise, the voltage stabilizer stops working.
在前述能自唤醒的待机方法的具体实施方式中,进一步地,所述按照预设的时间间隔产生闹钟告警信号包括:In the specific embodiment of the aforementioned standby method capable of self-awakening, further, the generating an alarm signal according to a preset time interval includes:
每秒产生一次闹钟告警信号;或,Generate an alarm signal every second; or,
每分产生一次闹钟告警信号;或,Generate an alarm signal every minute; or,
每时产生一次闹钟告警信号;或,An alarm signal is generated every hour; or,
每天产生一次闹钟告警信号;或,Generate an alarm signal once a day; or,
每星期产生一次闹钟告警信号;或,Generate an alarm alarm signal once a week; or,
指定在某个日期产生一次闹钟告警信号;或,Specifies to generate an alarm signal on a certain date; or,
指定在某个日期某时某分某秒产生一次闹钟告警信号。Specifies to generate an alarm signal at a certain time, minute and second on a certain date.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711014346.7A CN107741865B (en) | 2017-10-26 | 2017-10-26 | Standby system capable of self-awakening and standby method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711014346.7A CN107741865B (en) | 2017-10-26 | 2017-10-26 | Standby system capable of self-awakening and standby method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107741865A CN107741865A (en) | 2018-02-27 |
CN107741865B true CN107741865B (en) | 2020-04-07 |
Family
ID=61236986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711014346.7A Active CN107741865B (en) | 2017-10-26 | 2017-10-26 | Standby system capable of self-awakening and standby method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107741865B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113595652A (en) * | 2021-08-05 | 2021-11-02 | 深圳市智慧海洋科技有限公司 | Underwater acoustic communication equipment and awakening method |
CN115179879B (en) * | 2022-07-25 | 2024-04-09 | 小米汽车科技有限公司 | Vehicle self-wake-up method and device, vehicle and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909112A (en) * | 2010-07-01 | 2010-12-08 | 惠州Tcl移动通信有限公司 | Implementation method for intelligent mobile phone shutdown alarm clock |
CN102692948A (en) * | 2012-05-21 | 2012-09-26 | 珠海市杰理科技有限公司 | A real-time low-power consumption clock control circuit realized on a system on chip |
CN104484029A (en) * | 2014-12-17 | 2015-04-01 | 英华达(南京)科技有限公司 | Electronic device and power-saving management method thereof |
-
2017
- 2017-10-26 CN CN201711014346.7A patent/CN107741865B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909112A (en) * | 2010-07-01 | 2010-12-08 | 惠州Tcl移动通信有限公司 | Implementation method for intelligent mobile phone shutdown alarm clock |
CN102692948A (en) * | 2012-05-21 | 2012-09-26 | 珠海市杰理科技有限公司 | A real-time low-power consumption clock control circuit realized on a system on chip |
CN104484029A (en) * | 2014-12-17 | 2015-04-01 | 英华达(南京)科技有限公司 | Electronic device and power-saving management method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107741865A (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107577189B (en) | Accurate timing wake-up method of automatic monitoring system | |
JP2001145170A5 (en) | ||
KR101771674B1 (en) | External device power control during low power sleep mode without central processing intervention | |
CN110568921B (en) | Method for reducing chip power consumption | |
CN105700441A (en) | Low-power-consumption single-chip microcomputer type power supply management control system | |
CN102621912A (en) | Automatic power-saving method of micro controller unit | |
CN107741865B (en) | Standby system capable of self-awakening and standby method | |
WO2020151263A1 (en) | Power supply control device for chip, chip, and power supply control method therefor | |
CN103713726B (en) | A kind of SCM system with power-saving working mode | |
CN205139831U (en) | Power management system of wearable smart machine | |
CN102033501B (en) | Power supply control system of singlechip | |
CN211979451U (en) | Time control switch | |
CN101226380A (en) | A power-saving method for a time clock | |
CN205787709U (en) | A kind of low-power scm formula power source management control system | |
KR100942922B1 (en) | Wake-up sequence controllable power management device and method | |
CN211209687U (en) | Self-holding switch circuit for sleep function based on triode and microcontroller | |
CN106877632B (en) | The energy management circuit and energy management method of sleep-awake mode | |
CN104536840B (en) | A kind of Watch Dog Timer and its control method | |
CN210744818U (en) | Power supply system | |
CN209057212U (en) | A kind of super long standby time positioning device based on NB-IOT | |
CN107994951B (en) | Near-infrared head automatic wake-up communication method in power-down state | |
CN104423293A (en) | Self-timing power switch | |
CN103545915B (en) | A kind of power-economizing method for microscope experiment system handheld operating means | |
CN211086971U (en) | Micro control unit management circuit | |
CN201876804U (en) | Time switching and power breaking and delivering device for computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210527 Address after: Room 702, 7 / F, 67 North Fourth Ring Road West, Haidian District, Beijing Patentee after: BEIJING YUNJI TECHNOLOGY Co.,Ltd. Address before: 100083 No. 30, Haidian District, Beijing, Xueyuan Road Patentee before: University OF SCIENCE AND TECHNOLOGY BEIJING |
|
TR01 | Transfer of patent right | ||
CP03 | Change of name, title or address |
Address after: Room 702, 7th floor, NO.67, Beisihuan West Road, Haidian District, Beijing 100089 Patentee after: Beijing Yunji Technology Co.,Ltd. Address before: Room 702, 7 / F, 67 North Fourth Ring Road West, Haidian District, Beijing Patentee before: BEIJING YUNJI TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |