CN106602156B - Power supply management method and device - Google Patents

Power supply management method and device Download PDF

Info

Publication number
CN106602156B
CN106602156B CN201611207805.9A CN201611207805A CN106602156B CN 106602156 B CN106602156 B CN 106602156B CN 201611207805 A CN201611207805 A CN 201611207805A CN 106602156 B CN106602156 B CN 106602156B
Authority
CN
China
Prior art keywords
power supply
analysis module
monitoring
detection
module
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
Application number
CN201611207805.9A
Other languages
Chinese (zh)
Other versions
CN106602156A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201611207805.9A priority Critical patent/CN106602156B/en
Publication of CN106602156A publication Critical patent/CN106602156A/en
Application granted granted Critical
Publication of CN106602156B publication Critical patent/CN106602156B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3237Power saving characterised by the action undertaken by disabling clock generation or distribution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/324Power saving characterised by the action undertaken by lowering clock frequency
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4271Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Selective Calling Equipment (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a power management method and a power management device, which are used for solving the problem that the power management method in the prior art still has short endurance time. The method comprises the following steps: under the condition that the preset monitoring period is determined to be reached, switching on a power supply of the detection and analysis module, analyzing data collected by the detection and analysis module, and executing corresponding control operation under the condition that the data meet preset control conditions; and under the condition that the data do not meet the preset control condition, directly disconnecting the power supply of the detection analysis module and starting to execute the monitoring of the next monitoring period. Therefore, only when the monitoring period is reached, the power supply of the detection and analysis module is connected, and the power supply of the detection and analysis module is disconnected after the detection and analysis module collects data, so that the detection and analysis module is in a power-off state for a long time, the problem that a certain amount of power consumption is still generated due to the fact that the detection and analysis module is operated in a low-power-consumption mode or a standby dormant mode is solved, and the duration is prolonged.

Description

Power supply management method and device
Technical Field
The invention relates to the technical field of environmental monitoring, in particular to a power supply management method and device.
Background
With the continuous improvement of the scientific and technological level and the living standard, the assessment of the environmental quality becomes more important, and becomes a precondition for realizing intellectualization and humanization in various fields such as industry, medical treatment, military, security and the like gradually. Therefore, environment monitoring devices have come into use, and mainly monitor the surrounding environment through devices such as sensors and inductors to acquire environmental data. Such as: the indoor and outdoor temperature, air humidity, specific gas content, ultraviolet intensity, magnetic field intensity and illumination intensity are obtained, and the like. After the environment monitoring device acquires the environment data, the acquired environment data can be sent to the central control platform, so that the central control platform can take corresponding measures after analyzing the environment data.
In practical application, the environment monitoring device mainly adopts a battery for power supply, and the battery capacity is limited, so that the detection function of the environment monitoring device can be realized by adopting the lowest power consumption under the common condition in order to prolong the endurance time of the environment monitoring device and reduce the times of battery replacement. In the prior art, a common low power consumption scheme enables an environment monitoring device to operate in a low power consumption mode or a standby sleep mode. However, with the above power management method, even if the environment monitoring device operates in the low power consumption mode or the standby sleep mode, a certain amount of power consumption still occurs, and the endurance time of the environment monitoring device is still affected.
Based on the analysis, the power management method in the prior art still has the problem of short endurance time.
Disclosure of Invention
The embodiment of the invention provides a power supply management method and device, which are used for prolonging the endurance time of an environment monitoring device and reducing the times of battery replacement.
The embodiment of the invention provides the following specific technical scheme:
a power management device, comprising: a power supply, a period monitoring module, a first power supply analog switch, and a detection analysis module, wherein,
a power supply for providing electrical energy;
the period monitoring module is respectively connected with the power supply, the first power supply analog switch and the detection analysis module and is used for sending a first enabling signal to the first power supply analog switch under the condition that the preset monitoring period is reached; the monitoring device is used for sending a second enabling signal to the first power supply analog switch and starting to execute monitoring of the next monitoring period under the condition of receiving a reset enabling signal sent by the detection analysis module;
the first power supply analog switch is respectively connected with the power supply and the detection and analysis module and is used for switching on a circuit between the power supply and the detection and analysis module under the condition of receiving a first enabling signal sent by the period monitoring module; under the condition of receiving a second enabling signal sent by the period monitoring module, disconnecting a circuit between the power supply and the detection analysis module;
and the detection analysis module is used for acquiring data under the condition of power-on, analyzing the acquired data and judging whether the data meets a preset control condition or not, if so, executing corresponding control operation, otherwise, sending a reset enabling signal to the period monitoring module, triggering the period monitoring module to send a second enabling signal to the first power supply analog switch and starting to execute monitoring of the next monitoring period.
Preferably, the power management apparatus further includes: a second power analog switch and a communication module, wherein,
the second power supply analog switch is respectively connected with the first power supply analog switch, the detection analysis module and the communication module and is used for switching on a circuit between the power supply and the communication module under the condition of receiving a third enabling signal sent by the detection analysis module;
and the communication module is used for transmitting the communication message between the detection analysis module and the external equipment.
Preferably, the detection analysis module specifically includes: a detector and a main control chip, wherein,
the detector is respectively connected with the first power supply analog switch and the main control chip and is used for acquiring data under the condition of power-on and sending the acquired data to the main control chip;
the main control chip is respectively connected with the first power supply analog switch, the period monitoring module, the second power supply analog switch and the communication module and is used for analyzing the data, acquiring an environmental index corresponding to a specified environmental parameter, judging whether the environmental index exceeds a preset standard range, if so, determining that the data meets a preset control condition and executing corresponding control operation; if not, determining that the data do not meet the preset control condition, sending a reset enabling signal to the period monitoring module, triggering the period monitoring module to send a second enabling signal to the first power supply analog switch and starting to execute the monitoring of the next monitoring period.
Preferably, the main control chip is specifically configured to:
if the environmental index is judged to exceed the preset standard range, a third enabling signal is sent to the second power supply analog switch, the second power supply analog switch is triggered to be connected with a circuit between a power supply and the communication module, the communication module is instructed to send an alarm message, a reset enabling signal is sent to the period monitoring module, and the period monitoring module is triggered to send a second enabling signal to the first power supply analog switch and start to execute monitoring of the next monitoring period;
and if the environmental index does not exceed the preset standard range, directly sending a reset enabling signal to the period monitoring module, triggering the period monitoring module to send a second enabling signal to the first power supply analog switch and starting to execute the monitoring of the next monitoring period.
Preferably, after instructing the communication module to send the alarm message, the main control chip is further configured to, before sending the reset enable signal to the period monitoring module:
judging whether a configuration indication message is received or not;
if so, completing corresponding configuration based on configuration information carried by the configuration indication message, and after a configuration completion response message is returned to the sending equipment of the configuration indication message, sending a fourth enabling signal to the second power supply analog switch to trigger the second power supply analog switch to disconnect a circuit between the power supply and the communication module;
otherwise, a fourth enabling signal is directly sent to the second power supply analog switch, and the second power supply analog switch is triggered to disconnect a circuit between the power supply and the communication module.
A method of power management, comprising:
under the condition that the preset monitoring period is determined to be reached, switching on a power supply of the detection analysis module;
analyzing the data collected by the detection analysis module, and judging whether the data meet preset control conditions or not; if yes, executing corresponding control operation; if not, the power supply of the detection analysis module is disconnected, and the monitoring of the next monitoring period is started.
Preferably, in the case that it is determined that the preset monitoring period is reached, turning on the power of the detection and analysis module includes:
on the basis of a timer timing mode, according to a preset timing duration, periodically switching on a power supply of the detection analysis module;
and based on the counting mode of the counter, the power supply of the detection and analysis module is periodically switched on according to a preset counting value.
Preferably, the data collected by the detection analysis module is analyzed, and whether the data meet preset control conditions is judged; if yes, executing corresponding control operation; if not, the power supply of the detection analysis module is disconnected, and the monitoring of the next monitoring period is started, wherein the monitoring comprises the following steps:
analyzing the data acquired by the detection analysis module, acquiring an environment index corresponding to the specified environment parameter, and judging whether the environment index exceeds a preset standard range;
if yes, determining that the data meets the preset control condition, switching on a power supply of the communication module, indicating the communication module to send out an alarm message, switching off the power supply of the detection and analysis module, and starting to execute monitoring of the next monitoring period;
if not, determining that the data do not meet the preset control conditions, keeping the communication module in a power-off state, disconnecting the power supply of the detection and analysis module, and starting to execute the monitoring of the next monitoring period.
Preferably, after the triggering communication module sends the alarm message, before the power of the detection analysis module is disconnected, the method further includes:
judging whether a configuration indication message is received or not;
if so, completing corresponding configuration based on the configuration information carried by the configuration indication message, and disconnecting the power supply of the communication module after returning a configuration completion response message to the sending equipment of the configuration indication message;
otherwise, the power supply of the communication module is directly disconnected.
Preferably, before the power supply of the communication module is disconnected, the method further comprises:
and reporting the data acquired by the detection analysis module, specifying an environment index corresponding to the environment parameter, and judging whether the environment index exceeds a preset standard range.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, only when the monitoring period is reached, the power supply of the detection and analysis module is connected, so that the detection and analysis module can collect data. In addition, after the data collected by the detection and analysis module, the power supply of the detection and analysis module is also disconnected, so that the detection and analysis module is ensured to be in a power-off state for a long time, the problem that a certain amount of power consumption still occurs due to the fact that the detection and analysis module operates in a low-power-consumption mode or a standby dormant mode is solved, the endurance time is prolonged, and the times of battery replacement are reduced.
Drawings
FIG. 1A is a schematic diagram of a power management device according to an embodiment of the present invention;
FIG. 1B is a schematic diagram of a specific structure of a power management device according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a power management method according to an embodiment of the invention;
fig. 3 is a schematic flow chart of a power management method according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem that the environment monitoring device in the prior art still generates a certain amount of power consumption in a low-power consumption or standby dormant state, so that the endurance time of the environment monitoring device is influenced, in the embodiment of the invention, under the condition that a preset monitoring period is reached, a power supply of a detection and analysis module is switched on, data collected by the detection and analysis module is analyzed, and under the condition that the data meets preset control conditions, corresponding control operation is executed; under the condition that the data are determined not to meet the preset control conditions, the power supply of the detection and analysis module is directly disconnected, and the monitoring of the next monitoring period is started, so that the detection and analysis module is ensured to be in a power-off state for a long time, the problem that a certain amount of power consumption still occurs due to the fact that the detection and analysis module runs in a low-power-consumption mode or a standby dormant mode is solved, the endurance time is prolonged, and the times of battery replacement are reduced.
The present invention will be described in detail with reference to specific examples, but it is to be understood that the present invention is not limited to the examples.
Referring to fig. 1A, in an embodiment of the present invention, the power management apparatus at least includes: a power supply 100, a cycle monitoring module 110 (wherein the cycle monitoring module 110 comprises at least a timer or a counter), a first power analog switch 120, and a probe analysis module 130, wherein,
a power supply 100 for supplying power;
the period monitoring module 110 is respectively connected to the power supply 100, the first power analog switch 120 and the detection analysis module 130, and configured to send a first enable signal to the first power analog switch 120 when it is determined that a preset monitoring period is reached; and is configured to send a second enable signal to the first power analog switch 120 and start to perform monitoring of a next monitoring period, in case of receiving a reset enable signal sent by the detection analysis module 130;
the first power analog switch 120 is respectively connected to the power supply 100 and the detection and analysis module 130, and is configured to switch on a circuit between the power supply 100 and the detection and analysis module 130 when receiving a first enable signal sent by the period monitoring module 110; in the case of receiving the second enable signal sent by the cycle monitoring module 110, the circuit between the power supply 100 and the detection and analysis module 130 is disconnected;
the detection analysis module 130 is configured to collect data under a power-on condition, analyze the collected data, and determine whether the data meets a preset control condition, if yes, execute a corresponding control operation, otherwise, send a reset enable signal to the period monitoring module 110, trigger the period monitoring module 110 to send a second enable signal to the first power analog switch 120, and start to perform monitoring of a next monitoring period.
Preferably, referring to fig. 1B, the power management apparatus further includes: a second power analog switch 140, and a communication module 150, wherein,
the second power analog switch 140 is respectively connected to the first power analog switch 120, the detection and analysis module 130, and the communication module 150, and is configured to switch on a circuit between the power supply 100 and the communication module 150 when receiving a third enable signal sent by the detection and analysis module 130;
a communication module 150 for transmitting a communication message between the probe analysis module 130 and an external device.
Preferably, the detection analysis module 130 specifically includes: a detector 131 and a main control chip 132, wherein,
the detector 131 is connected to the first power analog switch 120 and the main control chip 132, and is configured to collect data when the power is turned on, and send the collected data to the main control chip 132;
the main control chip 132 is respectively connected to the first power supply analog switch 120, the period monitoring module 110, the second power supply analog switch 140 and the communication module 150, and is configured to analyze data, obtain an environmental index corresponding to a specified environmental parameter, and determine whether the environmental index exceeds a preset standard range, if so, determine that the data meets a preset control condition, and execute a corresponding control operation; if not, the data is determined not to meet the preset control condition, a reset enabling signal is sent to the period monitoring module 110, the period monitoring module 110 is triggered to send a second enabling signal to the first power supply analog switch 120, and monitoring of the next monitoring period is started.
Preferably, the main control chip 132 is specifically configured to:
if the environmental index is judged to exceed the preset standard range, a third enabling signal is sent to the second power supply analog switch 140, the second power supply analog switch 140 is triggered to switch on a circuit between the power supply 100 and the communication module 150, the communication module 150 is indicated to send an alarm message, a reset enabling signal is sent to the period monitoring module 110, the period monitoring module 110 is triggered to send a second enabling signal to the first power supply analog switch 120, and monitoring of the next monitoring period is started;
if the environmental index does not exceed the preset standard range, the reset enable signal is directly sent to the period monitoring module 110, the period monitoring module 110 is triggered to send the second enable signal to the first power analog switch 120, and the monitoring of the next monitoring period is started.
Preferably, the main control chip 132 is further configured to, after instructing the communication module 150 to issue the alarm message, before sending the reset enable signal to the cycle monitoring module 110:
judging whether a configuration indication message is received or not;
if yes, completing corresponding configuration based on the configuration information carried by the configuration indication message, and after returning a configuration completion response message to the sending device of the configuration indication message, sending a fourth enable signal to the second power analog switch 140, triggering the second power analog switch 140 to disconnect the circuit between the power supply 100 and the communication module 150;
otherwise, the fourth enable signal is directly sent to the second power analog switch 140, and the second power analog switch 140 is triggered to disconnect the circuit between the power supply 100 and the communication module 150.
Based on this, an embodiment of the present invention provides a power management method, and referring to fig. 2, a flow of the power management method is as follows:
step 200: and under the condition that the preset monitoring period is determined to be reached, the power supply of the detection and analysis module is switched on.
In practical applications, in order to reduce the power consumption of the environment monitoring device in a low power consumption or standby sleep state, increase the endurance time of the environment monitoring device, and reduce the number of times of replacing batteries in the environment monitoring device, the environment monitoring device may periodically turn on the power supply of the detection and analysis module 130 according to a preset monitoring period. Specifically, the environment monitoring device may implement the periodic power-on of the detection and analysis module 130 in, but not limited to, the following two ways:
the first mode is as follows: based on the timer timing mode, the power of the detection and analysis module 130 is periodically turned on according to the preset timing duration, and the detection and analysis module 130 is switched from the power-off state to the working state.
For example: assume that the preset count time period of the timer a is S1. After the power supply 100 of the environment monitoring device is powered on, the timer a is triggered to start timing (at this time, only the timer a is in a working state), after the S1 time period, the timer a outputs an enable signal 1 (i.e., the first enable signal) to the power analog switch 1, the power analog switch 1 is triggered to turn on a circuit between the power supply 100 and the detection and analysis module 130, i.e., turn on the power supply of the detection and analysis module 130, and the detection and analysis module 130 is switched from a power-off state to a working state, wherein the value of S1 can be flexibly set according to different application scenarios and user requirements, and can be set at will.
The second mode is as follows: based on the counting manner of the counter, the power of the detection and analysis module 130 is periodically turned on according to a preset counting value, and the detection and analysis module 130 is switched from the power-off state to the working state.
For example: assume that the preset count value of the counter B is M1. After environment monitoring devices's power was powered on, trigger counter B and begin to count (this moment, only counter B is in operating condition), when counter B's current count numerical value M is M1, counter B exports enable signal 1 (being above-mentioned first enable signal promptly) to power analog switch 1, power analog switch 1 receives the enable signal 1 of counter B output, switch on the circuit between power and the detection analysis module, put through the power of detection analysis module promptly, it switches to operating condition to detect the analysis module from the outage state, wherein, M1's value can carry out nimble setting according to different application scenes and user's demand, can the value wantonly.
Step 210: analyzing the data collected by the detection analysis module, and judging whether the data meet preset control conditions or not; if yes, executing corresponding control operation; if not, the power supply of the detection analysis module is disconnected, and the monitoring of the next monitoring period is started.
In specific implementation, after the power of the detection and analysis module 130 is turned on, that is, after the power of the detector 131 and the power of the main control chip 132 in the detection and analysis module 130 are turned on, the detector 131 and the main control chip 132 are switched to a working state from a power-off state, and the detector 131 starts to collect data and sends the collected data to the main control chip 132. After receiving the data sent by the detector 131, the main control chip 132 analyzes the data, obtains an environmental index corresponding to the specified environmental parameter, and determines whether the environmental index exceeds a preset standard range. Specifically, when determining whether the environmental index exceeds a preset standard range, there may be, but is not limited to, the following two cases:
in the first case: the environmental index is beyond the preset standard range.
In this case, the main control chip 132 determines that the data sent by the detector 131 meets the preset control condition, and sends a third enable signal to the second power analog switch 140, and triggers the second power analog switch 140 to turn on the circuit between the power supply 100 and the communication module 150, that is, to turn on the power supply of the communication module 150, at this time, the communication module 150 is switched from the power-off state to the working state, and under the instruction of the main control chip 132, an alarm message is sent.
Further, the main control chip 132 sends a reset enable signal to the cycle monitoring module 110, and triggers the cycle monitoring module 110 to perform a reset operation, that is, the main control chip 132 triggers the cycle monitoring module 110 to perform the following reset operations: after receiving the reset enable signal, the period monitoring module 110 sends a second enable signal to the first power analog switch 110, and triggers the first power analog switch 110 to disconnect a circuit between the power supply 100 and the detection and analysis module 130, that is, disconnect the power supply of the detection and analysis module 130, and the detection and analysis module 130 is switched from a working state to a power-off state; the cycle monitoring module 110 resets a timer or counter (i.e., the timer or counter is cleared). At this point, the period monitoring module 110 completes the reset operation.
It should be noted that after the main control chip 132 instructs the communication module 150 to send the alarm message, before sending the reset enable signal to the cycle monitoring module 110, the main control chip 132 needs to determine whether the configuration instruction message is received. Thus, if it is determined that the configuration indication message is received, the main control chip 132 may complete corresponding configuration based on the configuration information carried in the configuration indication message, and further implement parameter configuration and/or parameter modification of the environmental monitoring apparatus, optimization and upgrade, and the like. Preferably, after completing the corresponding configuration, the main control chip 132 may further return a configuration completion response message to the sending device of the configuration indication message through the communication module 150.
Further, after the main control chip 132 returns a configuration completion response message to the sending device of the configuration indication message, or after determining that the configuration indication message is not received, it may report data information, such as the data acquired by the detector 131, the environment index corresponding to the specified environment parameter, and a determination result of whether the environment index exceeds a preset standard range, to a specified device (e.g., a central control platform, etc.), and send a fourth enable signal to the second power analog switch 140 when the reporting is completed, trigger the second power analog switch 140 to disconnect a circuit between the power supply 100 and the communication module 150, that is, disconnect the power supply of the communication module 150, and switch the communication module 150 from a working state to a power-off state.
In the second case: the environmental index does not exceed the preset standard range.
In this case, the main control chip 132 does not send the third enable signal to the second power analog switch 140, keeps the communication module 150 in the power-off state, and only sends the reset enable signal to the cycle monitoring module 110, so as to trigger the cycle monitoring module 110 to perform the reset operation, that is, the main control chip 132 triggers the cycle monitoring module 110 to perform the following reset operation: after receiving the reset enable signal, the period monitoring module 110 sends a second enable signal to the first power analog switch 110, and triggers the first power analog switch 110 to disconnect a circuit between the power supply 100 and the detection and analysis module 130, that is, disconnect the power supply of the detection and analysis module 130, and the detection and analysis module 130 is switched from a working state to a power-off state; the cycle monitoring module 110 resets a timer or counter (i.e., the timer or counter is cleared). At this point, the period monitoring module 110 completes the reset operation.
For example: assuming that the preset specified environmental parameter is indoor temperature; the predetermined standard range of the indoor temperature is T1-T2.
After the power supplies of the detector and the main control chip are switched on, the detector and the main control chip are switched to be in a working state from a power-off state, the detector starts to collect data such as indoor temperature, air humidity, air composition, ultraviolet intensity, magnetic field intensity and illumination intensity, and sends the collected data to the main control chip.
The main control chip analyzes the data collected by the detector to obtain the specified environmental parameters: the method includes the steps of determining whether the temperature index T is beyond a standard range T1-T2 corresponding to the indoor temperature, and specifically, when determining whether the temperature index T is beyond the standard range T1-T2, the following two situations may exist but are not limited to:
in the first case: the temperature index T corresponding to the indoor temperature exceeds the standard range T1-T2. In this case, the following operations may be performed, but are not limited to:
step 1 a: the main control chip determines that the data sent by the detector meets preset control conditions, sends an enabling signal 3 (namely the third enabling signal) to the power supply analog switch 2, triggers the power supply analog switch 2 to switch on a circuit between a power supply and the communication module, namely switches on the power supply of the communication module, and the communication module is switched to a working state from a power-off state and sends an alarm message under the indication of the main control chip.
Step 2 a: the main control chip judges whether the configuration indication message 1 is received, if so, the step 3a is executed; otherwise, step 4a is performed.
Step 3 a: and the main control chip completes corresponding configuration based on the configuration information carried by the configuration indication message 1, returns a configuration completion response message 1 to the sending equipment 1 of the configuration indication message 1, and continues to execute the step 4.
Step 4 a: the main control chip reports data (including indoor temperature, air humidity, air composition, ultraviolet intensity, magnetic field intensity, illumination intensity and the like), an environment index (namely a temperature index T) corresponding to a designated environment parameter (namely the indoor temperature), a judgment result that the temperature index T exceeds a standard range T1-T2 and the like to the central control platform.
Step 5 a: the main control chip sends an enable signal 4 (i.e. the fourth enable signal) to the power analog switch 2, and triggers the power analog switch 2 to disconnect a circuit between the power supply and the communication module, i.e. disconnect the power supply of the communication module, and the communication module is switched from a working state to a power-off state.
Step 6 a: the main control chip sends a reset enabling signal to the timer A (or the counter B).
Step 7 a: after receiving the reset enable signal, the timer a (or the counter B) sends an enable signal 2 (i.e., the second enable signal) to the power analog switch 1, and triggers the power analog switch 1 to disconnect a circuit between the power supply and the detection and analysis module, i.e., disconnect the power supply of the detection and analysis module, and the detection and analysis module is switched from a working state to a power-off state.
Step 8 a: the timer a (or the counter B) is cleared and the counting (or counting) is restarted.
In the second case: the temperature index T corresponding to the indoor temperature does not exceed the standard range T1-T2. In this case, the following operations may be performed, but are not limited to:
step 1 b: the main control chip does not send the enable signal 4 to the power analog switch 2, keeps the communication module 150 in the power-off state, and only sends a reset enable signal to the timer a (or the counter B).
And step 2 b: after receiving the reset enable signal, the timer a (or the counter B) sends an enable signal 2 (i.e., the second enable signal) to the power analog switch 1, and triggers the power analog switch 110 to disconnect a circuit between the power supply and the detection and analysis module, i.e., disconnect the power supply of the detection and analysis module, and the detection and analysis module is switched from a working state to a power-off state.
And step 3 b: the timer a (or the counter B) is cleared and the counting (or counting) is restarted.
The above embodiment is further described in detail by using a specific application scenario, and referring to fig. 3, in the embodiment of the present invention, a specific flow of the power management method is as follows:
step 300: after the environment monitoring device is powered on, the timer A starts to time.
Step 301: after 10S, the timer a sends an enable signal 1 (i.e., the first enable signal) to the power analog switch 1, the power analog switch 1 is turned on, and the main control chip and the detector are switched from the power-off state to the working state.
Step 302: the detector collects indoor temperature, air humidity, air composition, ultraviolet intensity, magnetic field intensity, illumination intensity and other environmental parameters, and sends the collected environmental parameters to the main control chip.
Step 303: the main control chip analyzes the environmental parameters and obtains the indoor temperature and the temperature index T corresponding to the indoor temperature.
Step 304: the main control chip judges whether the temperature index T exceeds a standard range T1-T2, if yes, the step 305 is executed; otherwise, step 310 is performed.
Step 305: the main control chip sends an enabling signal 3 (namely the third enabling signal) to the power supply analog switch 2, the power supply analog switch 2 is switched on, the communication module is switched to a working state from a power-off state, and the communication module sends out an alarm message under the indication of the main control chip.
Step 306: the main control chip judges whether the configuration indication message 1 is received, if yes, step 307 is executed; otherwise, step 308 is performed.
Step 307: the main control chip completes the corresponding configuration based on the configuration information carried in the configuration indication message 1, returns a configuration completion response message 1 to the sending device 1 of the configuration indication message 1, and continues to execute step 308.
Step 308: the main control chip reports environmental data (including indoor temperature, air humidity, air composition, ultraviolet intensity, magnetic field intensity, illumination intensity and the like), indoor temperature, temperature index T, judgment results (namely the temperature index T exceeds a standard range T1-T2) and other data information to the central control platform.
Step 309: the main control chip sends an enable signal 4 (i.e. the fourth enable signal) to the power analog switch 2, the power analog switch 2 is turned off, the communication module is switched from the working state to the power-off state, and step 310 is continuously executed.
Step 310: the main control chip sends a reset enabling signal to the timer A.
Step 311: after receiving the reset enabling signal, the timer a sends an enabling signal 2 (i.e., the second enabling signal) to the power analog switch 1, the power analog switch 1 is turned off, and the main control chip and the detector are switched from the working state to the power-off state.
Step 312: and resetting the timer A and restarting timing.
In summary, in the embodiment of the present invention, when it is determined that the preset monitoring period is reached, the power supply of the detection and analysis module is turned on, the data collected by the detection and analysis module is analyzed, and when it is determined that the data meets the preset control condition, the corresponding control operation is executed; and under the condition that the data are determined not to meet the preset control conditions, directly disconnecting the power supply of the detection analysis module and starting to execute the monitoring of the next monitoring period. Like this, only when reaching monitoring period, just can switch on the power of detection analysis module, moreover, after detection analysis module gathered data, still can break off the power of detection analysis module, and then, guaranteed that detection analysis module is in the outage state for a long time, avoided because the operation still can produce the problem of a quantitative consumption under low power consumption mode or standby dormant mode, lengthened the time of endurance, reduced the number of times that the battery was changed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (8)

1. A power management device, comprising: a power supply, a period monitoring module, a first power supply analog switch, and a detection analysis module, wherein,
the power supply is used for supplying electric energy;
the cycle monitoring module is respectively connected with the power supply, the first power supply analog switch and the detection analysis module, and is used for sending a first enabling signal to the first power supply analog switch under the condition that a preset monitoring cycle is reached; and the monitoring module is used for sending a second enabling signal to the first power supply analog switch and starting to execute the monitoring of the next monitoring period under the condition of receiving a reset enabling signal sent by the detection analysis module;
the first power supply analog switch is respectively connected with the power supply and the detection and analysis module and is used for switching on a circuit between the power supply and the detection and analysis module under the condition of receiving the first enabling signal sent by the period monitoring module; under the condition of receiving the second enabling signal sent by the period monitoring module, disconnecting a circuit between the power supply and the detection analysis module;
the detection analysis module is used for acquiring data under the condition of power-on, analyzing the acquired data and judging whether the data meets a preset control condition or not, if so, executing corresponding control operation, otherwise, sending the reset enabling signal to the period monitoring module, triggering the period monitoring module to send the second enabling signal to the first power supply analog switch and starting to execute monitoring of the next monitoring period;
the power management device further comprises: a second power analog switch and a communication module, wherein:
the detection analysis module is specifically configured to send a third enable signal to the second power supply analog switch if it is determined that the data meets a preset control condition, trigger the second power supply analog switch to connect a circuit between the power supply and the communication module, and instruct the communication module to send an alarm message; when determining that the configuration indication message is received, completing corresponding configuration based on the configuration information carried by the configuration indication message, and returning a configuration completion response message to the sending equipment of the configuration indication message; sending a fourth enable signal to the second power supply analog switch, triggering the second power supply analog switch to disconnect a circuit between the power supply and the communication module, sending the reset enable signal to the period monitoring module, triggering the period monitoring module to send the second enable signal to the first power supply analog switch and starting to execute monitoring of a next monitoring period;
the second power supply analog switch is respectively connected with the power supply, the detection analysis module and the communication module, and is used for switching on a circuit between the power supply and the communication module under the condition of receiving a third enabling signal sent by the detection analysis module; under the condition of receiving a fourth enabling signal sent by the detection analysis module, disconnecting a circuit between the power supply and the communication module;
and the communication module is used for transmitting the communication message between the detection analysis module and the external equipment.
2. The apparatus of claim 1, wherein the probe analysis module specifically comprises: a detector and a main control chip, wherein,
the detector is respectively connected with the first power supply analog switch and the main control chip and is used for acquiring the data under the condition of power-on and sending the acquired data to the main control chip;
the main control chip is respectively connected with the first power supply analog switch, the period monitoring module, the second power supply analog switch and the communication module, and is used for analyzing the data, acquiring an environmental index corresponding to a specified environmental parameter, judging whether the environmental index exceeds a preset standard range, if so, determining that the data meets the preset control condition, and executing corresponding control operation; if not, determining that the data do not meet the preset control condition, sending the reset enabling signal to the period monitoring module, triggering the period monitoring module to send the second enabling signal to the first power supply analog switch, and starting to execute monitoring of the next monitoring period.
3. The apparatus of claim 2, wherein the master chip is further to:
and when determining that the configuration indication message is not received, directly sending a fourth enabling signal to the second power supply analog switch to trigger the second power supply analog switch to disconnect the circuit between the power supply and the communication module.
4. A method of power management, comprising:
under the condition that the preset monitoring period is determined to be reached, switching on a power supply of the detection analysis module;
analyzing the data collected by the detection analysis module, and judging whether the data meet preset control conditions or not; if yes, executing corresponding control operation; if not, the power supply of the detection and analysis module is disconnected, and the monitoring of the next monitoring period is started;
if the data is judged to meet the preset control condition, executing corresponding control operation, specifically comprising:
switching on a power supply of a communication module, and indicating the communication module to send out an alarm message;
and when the configuration indication message is determined to be received, completing corresponding configuration based on the configuration information carried by the configuration indication message, and after a configuration completion response message is returned to the sending equipment of the configuration indication message, disconnecting the power supply of the communication module, disconnecting the power supply of the detection analysis module and starting to execute monitoring of the next monitoring period.
5. The method of claim 4, wherein turning on power to the probe analysis module upon determining that the preset monitoring period has been reached comprises:
on the basis of a timer timing mode, according to a preset timing duration, periodically switching on a power supply of the detection analysis module;
and based on the counting mode of the counter, the power supply of the detection and analysis module is periodically switched on according to a preset counting value.
6. The method according to claim 4 or 5, characterized by analyzing the data collected by the detection and analysis module and judging whether the data meet preset control conditions; if yes, executing corresponding control operation; if not, the power supply of the detection and analysis module is disconnected, and the monitoring of the next monitoring period is started, wherein the monitoring comprises the following steps:
analyzing the data acquired by the detection analysis module, acquiring an environment index corresponding to a specified environment parameter, and judging whether the environment index exceeds a preset standard range;
if yes, determining that the data meets the preset control condition, switching on a power supply of a communication module, indicating the communication module to send an alarm message, finishing corresponding configuration based on configuration information carried by the configuration indication message when determining that the configuration indication message is received, switching off the power supply of the communication module after returning a configuration completion response message to sending equipment of the configuration indication message, switching off the power supply of the detection analysis module, and starting to perform monitoring of the next monitoring period;
if not, determining that the data do not meet the preset control condition, keeping the communication module in a power-off state, disconnecting the power supply of the detection and analysis module, and starting to execute the monitoring of the next monitoring period.
7. The method of claim 4, further comprising:
and when determining that the configuration indication message is not received, directly disconnecting the power supply of the communication module.
8. The method of claim 7, wherein prior to powering down the communication module, further comprising:
reporting the data collected by the detection analysis module, specifying an environment index corresponding to the environment parameter, and judging whether the environment index exceeds a preset standard range.
CN201611207805.9A 2016-12-23 2016-12-23 Power supply management method and device Expired - Fee Related CN106602156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611207805.9A CN106602156B (en) 2016-12-23 2016-12-23 Power supply management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611207805.9A CN106602156B (en) 2016-12-23 2016-12-23 Power supply management method and device

Publications (2)

Publication Number Publication Date
CN106602156A CN106602156A (en) 2017-04-26
CN106602156B true CN106602156B (en) 2020-04-21

Family

ID=58603513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611207805.9A Expired - Fee Related CN106602156B (en) 2016-12-23 2016-12-23 Power supply management method and device

Country Status (1)

Country Link
CN (1) CN106602156B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507375A (en) * 2017-08-16 2017-12-22 珠海格力电器股份有限公司 Doorbell managing device, method, storage medium, equipment and doorbell
CN108319170A (en) * 2018-02-06 2018-07-24 佛山市顺德区美的洗涤电器制造有限公司 Household electrical appliance
CN113406526B (en) * 2020-03-17 2024-06-11 阿里巴巴集团控股有限公司 Power supply access condition detection method and device
CN114698072B (en) * 2022-03-21 2024-04-26 沈阳中科奥维科技股份有限公司 Low-power-consumption circuit of WIA-PA wireless vibration transmitter and control method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742148A (en) * 1992-11-24 1998-04-21 Seiko Instruments Inc. Charge/discharge control circuit and chargeable electric power source apparatus
CN101902056B (en) * 2009-06-01 2015-06-17 Ge医疗系统环球技术有限公司 Uninterruptable power supply and method for saving electricity of same
CN201690259U (en) * 2010-03-25 2010-12-29 皇音企业有限公司 Energy-saving charger
JP5715502B2 (en) * 2011-06-09 2015-05-07 セイコーインスツル株式会社 Charge / discharge control circuit and battery device
CN105743167B (en) * 2016-03-25 2018-07-20 江苏德澜仕电子科技有限公司 A kind of intelligent dustbin energy-saving control system and method
CN106130101B (en) * 2016-07-04 2018-08-03 河北稳控科技有限公司 A kind of energy utilization method of autonomous type monitoring device

Also Published As

Publication number Publication date
CN106602156A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN106602156B (en) Power supply management method and device
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
CN107340014B (en) Multi-sensor detection method and device and computer readable storage medium
CN106557407B (en) Method and device for monitoring equipment load
CN107710540B (en) Method and apparatus for controlling power supply
CN101248404A (en) Method and apparatus for power management for mobile devices
CN106877442B (en) Battery management method
CN105161943A (en) Method and device for de-energizing socket intelligently and intelligently de-energized socket
CN112616178A (en) Energy consumption management method and device, electronic equipment and storage medium
JP6102518B2 (en) Power supply device and power supply program
EP3343385B1 (en) Method for performing communication between peripheral devices of mobile terminal and mobile terminal
KR20130026980A (en) Power control system and power control method
KR20210032719A (en) Internet based battery of things device and platform for integrated management thereof
CN107707623B (en) Equipment work control method and related equipment
JP3198929U (en) Electric standby power saving control device
CN205212512U (en) A battery monitoring device and intelligent electronic device for intelligent electronic device
CN113947827A (en) Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
CN117006625A (en) Operation control method and device of equipment, air treatment equipment and electronic device
CN110278147B (en) Power saving method and device for gateway and power saving gateway
CN109195192B (en) Energy balance scheduling method, device and system for wireless sensor network and storage medium
CN106210832B (en) Smart bluetooth remote controler low battery method and system based on user behavior analysis
CN115202462A (en) Wearable device control method and control device thereof, and wearable device
CN112763819A (en) Refined monitoring method, system, terminal and medium for power utilization condition
CN111148060A (en) Data acquisition device, control method thereof, control device and storage medium
CN110691135A (en) Equipment data uploading method and system, Internet of things module and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200421

Termination date: 20211223

CF01 Termination of patent right due to non-payment of annual fee