CN117914118A - Power management method and system based on single-key start-stop - Google Patents

Power management method and system based on single-key start-stop Download PDF

Info

Publication number
CN117914118A
CN117914118A CN202410302803.6A CN202410302803A CN117914118A CN 117914118 A CN117914118 A CN 117914118A CN 202410302803 A CN202410302803 A CN 202410302803A CN 117914118 A CN117914118 A CN 117914118A
Authority
CN
China
Prior art keywords
power supply
key
switching
chip
stop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410302803.6A
Other languages
Chinese (zh)
Other versions
CN117914118B (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.)
XIANGTAN RADIO CO Ltd
Original Assignee
XIANGTAN RADIO 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 XIANGTAN RADIO CO Ltd filed Critical XIANGTAN RADIO CO Ltd
Priority to CN202410302803.6A priority Critical patent/CN117914118B/en
Publication of CN117914118A publication Critical patent/CN117914118A/en
Application granted granted Critical
Publication of CN117914118B publication Critical patent/CN117914118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Direct Current Feeding And Distribution (AREA)

Abstract

The invention relates to the technical field of power supply start-stop management, in particular to a power supply management method and system based on single-key start-stop, wherein the method comprises the steps of obtaining the current position state of a key; judging the power-on state of the first chip based on the position state of the key, and judging whether the power supply has a switching start-stop condition or not based on the position maintenance data and/or interval duration of the key in the power-on state of the first chip; when the power supply has a switching start-stop condition, the second chip is controlled to be electrified, the power supply start-stop state after switching start-stop is determined according to the current power supply start-stop state, and the voltage stabilizing time for switching the power supply start-stop is determined, so that the power supply is controlled to be adjusted to the power supply start-stop state after switching start-stop; the system is used for executing the method, the efficiency and the effective execution rate of the power on-off management are improved, and the power loss and the power supply efficiency reduction caused by the fact that the power is turned on or turned off by mistake due to the fact that the key is touched by mistake are avoided.

Description

Power management method and system based on single-key start-stop
Technical Field
The invention relates to the technical field of power supply start-stop management, in particular to a power supply management method and system based on single-key start-stop.
Background
The power switch can provide electrical connection from a voltage source or ground to a load to manage switching of the power source to power the load to ensure efficient and stable operation of the electronic device at the load side. The single-key switch has the characteristics of low power consumption, low use space and high stability, so that the start-stop control for the power supply can have great advantages in design, cost and use convenience.
Chinese patent application publication No. CN113097976a discloses a control system of a battery protection circuit, comprising: the input end of the battery protection unit is connected with a battery pack; the electronic switch unit is respectively connected with the battery pack and the battery protection unit and is used for cutting off the battery pack when the battery pack works abnormally; the input end of the control unit is connected with the power supply unit, and the output end of the control unit is connected with the electronic switch unit and is used for controlling the start and stop of the electronic switch unit; the control unit specifically comprises a key switch, a control circuit and a micro-control chip, and the micro-control chip controls the electronic switch unit to start and stop according to the pressing state of the key switch after being electrified. However, the above technology cannot determine whether the key switch is actively controlled, and the power supply is easily cut off due to the passive erroneous closing of the key in the environment, so that the power supply work of the power supply is affected.
Disclosure of Invention
Therefore, the invention provides a power management method and system based on single-key start and stop, which are used for solving the problem that the power supply is cut off due to the fact that the passive error closing of a key in the environment cannot be recognized in the prior art.
In order to achieve the above object, in one aspect, the present invention provides a power management method based on single key start-stop, including:
Acquiring the current position state of the key;
Judging the power-on state of the first chip based on the key position state, wherein the first chip is powered on in response to the key being at a preset position;
In the power-on state of the first chip, the first chip acquires position maintaining data of the key, the current power supply start-stop state and the interval duration from the last power supply start-stop switching to the current time;
The first chip judges whether the power supply has a switching start-stop condition or not based on the position holding data of the keys and/or the interval duration;
When the power supply has a switching start-stop condition, the second chip is controlled to be electrified, and the power supply start-stop state after switching start-stop is determined according to the current power supply start-stop state;
The second chip acquires power supply temperature data and the interval duration of the previous power supply start-stop switching distance from the current time to determine the voltage stabilizing duration of the power supply start-stop switching;
and the second chip controls the power supply to adjust to the power supply start-stop state after switching start-stop based on the judging result that the power supply has the switching start-stop condition and the voltage stabilizing duration.
Further, determining the power-on state of the first chip according to the key position state includes:
judging the current position state of the key as a preset position or a second position;
If the key is positioned at the preset position, determining that the first chip is electrified, and starting the first chip to work to judge whether the power supply has a switching start-stop condition or not;
if the key is positioned at the second position, the first chip is determined to be not electrified, the first chip is not started to work, and the power supply start-stop state is kept unchanged.
Further, the power supply has a switching start-stop condition that the position maintaining data of the key meets a preset condition and/or the interval time is longer than a preset interval time;
The position maintaining data comprise the switching times of key positions, key switching interval duration and key switching frequency in a preset monitoring duration.
Further, the method further comprises the following steps:
after the first chip is powered on, the first chip acquires inertial data of a power supply;
The first chip judges whether the position maintaining data of the key meets the preset condition based on the corresponding relation between the inertia data and the position maintaining data, wherein,
If the corresponding relation is not corresponding, the first chip judges that the position maintaining data of the key meets the preset condition;
The inertia data comprises inertia direction switching times, inertia direction switching interval duration and inertia direction switching frequency in a preset monitoring duration.
Further, the non-corresponding case includes:
The inertia direction switching times in the preset monitoring time period are smaller than the switching times of the key positions;
at least two continuous inertia direction switching time periods exist in the preset monitoring time period, and key switching does not exist in the preset monitoring time period;
And the inertia direction switching frequency in the preset monitoring time period is smaller than the key switching frequency.
Further, if the power supply temperature data accords with a preset temperature range, and the interval time length of the previous power supply start-stop switching time interval and the current key position switching time is greater than or equal to the preset switching interval time length, the second chip sets the voltage stabilizing time length as a preset voltage stabilizing time length.
Further, if the power supply temperature data does not conform to the preset temperature range, or the interval duration of the current key position switching time of the previous power supply start-stop switching time interval is smaller than the preset switching interval duration, the second chip determines the voltage stabilizing duration according to the following formula:
wherein T is the voltage stabilizing time, T0 is the preset voltage stabilizing time, K is the power supply temperature data, the unit is the temperature, beta is the switching time coefficient, T is the interval time of the current key position switching time of the previous power supply start-stop switching time interval, and T0 is the preset switching interval time.
Further, after the power supply is switched on and off, updating the preset position, the position maintaining data information, the switching on and off state of the power supply and the corresponding on and off switching time based on the current position of the key.
In another aspect, the present invention further provides a power management system, configured to execute the above power management method, where the power management system is characterized by including:
The key excitation loop comprises a key and a capacitor, and is used for switching on and off of the loop through the key position;
The first chip control loop comprises a first chip connected with the key excitation loop and is used for judging whether the power supply has a switching start-stop condition or not according to the current position state of the key, the position maintenance data of the key and the interval duration of the last power supply start-stop switching distance from the current time and controlling whether the second chip is powered on or not;
The second chip control loop comprises a second chip connected with the first chip control loop and is used for determining the voltage stabilizing time length of the power supply start-stop conversion and adjusting the start-stop state of the power supply according to the power supply temperature data and the time length of the interval between the last power supply start-stop switching and the current time;
the sensing unit is connected with the second chip and used for acquiring temperature data of the power supply and transmitting the acquired temperature data of the power supply to the second chip;
and the stabilized voltage power supply loop is connected with the second chip control loop and used for controlling the power supply to start and stop switching according to the set stabilized voltage time length.
Further, the sensing unit further comprises an inertial sensor connected with the first chip and used for acquiring inertial data of a power supply;
The inertia data comprises inertia direction switching times, inertia direction switching interval duration and inertia direction switching frequency in a preset monitoring duration.
Compared with the prior art, the method has the beneficial effects that the intention of starting and stopping of a single key is determined by judging the key state, and the first chip is started to perform further logic judgment on the intention of the key under the condition that the key is configured to control the power supply starting state, so that the situation that the single key state is changed and the intention is not actively judged can be avoided, the power supply starting and stopping caused by the change of the key state is triggered by mistake, the efficiency and the effective execution rate of the power supply starting and stopping management are improved, and the power supply loss and the power supply energy supply efficiency reduction caused by the fact that the power supply is started by mistake or turned off by mistake due to the fact that the key is touched by mistake are avoided.
Furthermore, the invention can effectively judge the intention of the key through presetting the corresponding relation between the key position state and the start and stop of the power supply, so that the first chip is started according to the intention of the key to judge whether the key intention and the power supply currently have the conversion start and stop conditions or not, and the execution of the intention of the key is selected to be supported or not supported according to whether the conversion start and stop conditions are provided, thereby avoiding the bad condition that the power supply start and stop do not meet the working conditions caused by the direct execution of the intention of the key to start and stop the power supply when the position of the key is touched by mistake or the position of the key is switched to not meet the starting conditions of the power supply.
Furthermore, the invention can effectively improve the judgment effectiveness of the key intention by introducing the inertial data of the power supply as the judgment whether the key is in false touch caused by environmental influence, and avoid the situation that the battery key is in false touch to cause the key position state switching, thereby effectively identifying the key position switching for the power supply start-stop control under the non-active condition.
Furthermore, the logic judgment corresponding to the non-corresponding situation specifically set in the first chip can identify the key position state switching caused by the environmental inertia influence, so that the judgment efficiency of the key position state switching caused by the environmental inertia influence is improved, and the judgment of the key active intention is further effectively supported.
In addition, in the process of judging the start-stop operation of the power supply, the power supply life loss caused by directly stopping power transmission when the power supply temperature is too high or directly starting the power supply when the power supply temperature is too low is avoided by judging the power supply temperature, the start-stop operation temperature range corresponding to the power supply is set, the service life of the battery can be effectively protected, after the power supply is judged to have the condition of switching the start-stop operation, the corresponding voltage stabilizing time length is used for switching the start-stop operation of the power supply, the service life of the battery is improved, and meanwhile, all power consumption objects in the battery power supply circuit are protected from being damaged by power consumption objects caused by sudden switching of high and low levels.
Drawings
FIG. 1 is a flow chart of a power management method based on single key start-stop in an embodiment of the invention;
FIG. 2 is a logic diagram of a power management method based on single key start-stop according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a power management system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a power on/off control circuit of a second chip of the power management system according to an embodiment of the present invention.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
In this embodiment, the single key start-stop realizes start-stop control of the power supply by switching two different position states through a single key, and in the art, the single key start-stop refers to a technical means for judging the start and stop intention of an execution object (power supply) by controlling a specific object (such as a mechanical key and a switch) to switch a physical state. It is understood that the physical state of a particular object controlled herein corresponds to at least two intents to start and stop, respectively. Moreover, although the embodiment of the present invention uses the key as a control object for single key start and stop, the key is not considered to limit the present invention, and in some cases, other means capable of implementing intent determination by switching at least two physical states may be used instead of the key shown in the present invention. Such as mechanical keys, mechanical dials, electronic keys, and various sensing controllers capable of transmitting two different signals.
Referring to fig. 1 and fig. 2, fig. 1 is a flowchart of a power management method based on single-key start-stop according to an embodiment of the present invention, and fig. 2 is a logic diagram of a power management method based on single-key start-stop according to an embodiment of the present invention. The embodiment of the invention provides a power management method based on single-key start and stop, which comprises the following steps:
step S1, obtaining the current position state of a key;
step S2, judging the power-on state of the first chip based on the position state of the key, wherein the first chip is powered on when the key is at a preset position;
Step S3, under the power-on state of the first chip, the first chip acquires position maintaining data of the key, the current power supply start-stop state and the interval duration of the last power supply start-stop switching distance from the current time;
step S4, the first chip judges whether the power supply has a switching start-stop condition or not based on the position holding data of the keys and/or the interval duration;
Step S5, when the power supply has a switching start-stop condition, controlling the second chip to be electrified, and determining a power supply start-stop state after switching start-stop according to the current power supply start-stop state;
Step S6, the second chip acquires power supply temperature data and the interval duration of the previous power supply start-stop switching time from the current time to determine the voltage stabilizing duration of the power supply start-stop switching;
and S7, controlling the power supply to be adjusted to the power supply start-stop state after switching start-stop based on the judging result that the power supply has the switching start-stop condition by the second chip and the voltage stabilizing duration.
According to the invention, the intention of single-key start and stop is determined by judging the key state, and under the condition that the key is configured to control the power supply start state, the first chip is started to perform further logic judgment on the key intention, so that the situation that the single key state is changed and the power supply is not actively intended can be avoided, the efficiency and the effective execution rate of power supply start and stop management are improved due to the fact that the key state is mistakenly triggered, and the power supply loss and the power supply efficiency reduction caused by mistaken power supply start or mistaken power supply shutdown due to mistaken key touch are avoided.
With continued reference to fig. 1 and fig. 2, in step S2, determining the power-on state of the first chip according to the key position state includes:
step S21, judging whether the current position state of the key is at a preset position or a second position according to the obtained current position state of the key, wherein the preset position is correspondingly configured as a position state for controlling the starting of a power supply;
Step S22, if the key is positioned at the preset position, determining that the first chip is electrified, starting the first chip to work, and judging whether the power supply has a switching start-stop condition through a built-in judgment logic of the first chip;
if the key is positioned at the second position, the first chip is determined to be not electrified, the first chip is not started to work, and the power supply start-stop state is kept unchanged.
The intention of the key can be effectively judged by presetting the corresponding relation between the key position state and the start and stop of the power supply, so that the first chip is started according to the intention of the key to judge whether the key intention and the power supply currently have the conversion start and stop conditions or not, and the execution of the intention of the key is selected to be supported or not supported according to whether the conversion start and stop conditions are met or not, and the defect that the power supply start and stop cannot meet the working conditions due to the fact that the power supply start and stop are caused by the fact that the key position is touched by mistake or the key position is switched is avoided when the start condition of the power supply is not met by directly executing the intention of the key.
Specifically, the power supply has a switching start-stop condition that the position maintaining data of the key meets a preset condition and/or the interval time is longer than a preset interval time, which includes:
firstly, the power supply has a switching start-stop condition that the position maintaining data of the key meets a preset condition;
Secondly, the power supply has a switching start-stop condition that the interval time length is longer than a preset interval time length;
Thirdly, the power supply has a switching start-stop condition that the position maintaining data of the keys meet a preset condition or the interval time length is longer than a preset interval time length;
And fourthly, the power supply has a switching start-stop condition that the position maintaining data of the key meets a preset condition and the interval time is longer than a preset interval time.
It can be understood that the power supply is started and stopped due to the switching of the position states of the keys caused by environmental interference or other non-active control can be avoided by setting the power supply with the switching start and stop condition as the position maintaining data of the keys meets the preset condition; the power supply switching start-stop switching which is performed when the power supply is provided with the switching start-stop condition and is longer than the preset interval time can be prevented from causing start-stop switching injury to the power supply or a power consumption object in the whole power supply circuit. In general, the preset interval duration is set to be the maximum value of interval duration data, such as the minimum duration that the power supply is started and stopped without causing energy efficiency reduction, and the minimum interval duration that each power object in the power supply circuit starts and stops.
Specifically, the position maintaining data includes the switching times of the key positions, the key switching interval duration and the key switching frequency in the preset monitoring duration.
In one embodiment, the position maintaining data of the key satisfying the preset condition may be set such that the maintaining time period of the key in the corresponding position state exceeds a set threshold time period, for example, the threshold time period is set to 5 seconds, and long pressing of the key exceeds 5 seconds to satisfy the preset condition.
In another embodiment, the position maintaining data of the key satisfying the preset condition may be set such that the number of times of switching of the key position within the preset monitoring period is set to the set number of times, for example, the key is continuously switched three times within 10 seconds, and the preset condition is considered to be satisfied.
In practice, the preset monitoring period is generally set according to the experience period of the environmental false touch, and preferably, the preset monitoring period is not shorter than 1 minute. It can be understood that the number of times of switching the key positions is determined according to the number of times of switching the key position states, the duration of a single key switching interval is the time interval between the corresponding times of switching the key positions of two adjacent times, and the key switching frequency is the ratio of the number of times of switching the key positions to the statistical duration of switching the key positions.
Specifically, in step S3, further including:
step S301, after a first chip is powered on, the first chip acquires inertial data of a power supply;
Step S302, the first chip judges whether the position maintaining data of the key meets the preset condition based on the corresponding relation between the inertia data and the position maintaining data, wherein,
If the corresponding relation is not corresponding, the first chip judges that the position maintaining data of the key meets the preset condition;
The inertia data comprises inertia direction switching times, inertia direction switching interval duration and inertia direction switching frequency in a preset monitoring duration.
In implementation, inertial data of a power supply is introduced to serve as a judging index for judging whether a key is touched by mistake due to environmental influence, so that judging effectiveness of key intention can be effectively improved, key position state switching caused by false triggering of a battery key due to environmental collision is avoided, and key position switching for power supply start-stop control under the non-active condition can be effectively identified.
It can be understood that the inertial direction switching refers to the change of the direction or the size of the inertial vector of the power supply, the number of times of inertial direction switching is determined according to the number of times of inertial vector direction switching of the power supply, the duration of a single inertial direction switching interval is according to the time interval between corresponding times of two adjacent inertial direction switching, and the frequency of inertial direction switching is according to the ratio of the number of times of inertial direction switching to the statistical duration of the number of times of inertial direction switching.
Specifically, in step S302, the case of not corresponding includes:
Firstly, the number of times of switching the inertia direction in a preset monitoring time period is smaller than the number of times of switching the key position;
Secondly, key switching does not exist in at least two continuous inertia direction switching time periods in preset monitoring time periods;
and thirdly, the inertia direction switching frequency in the preset monitoring time period is smaller than the key switching frequency.
It will be appreciated that a change in the direction of inertia can characterize the degree of physical interference of the environmental impact, and that the absence of a key switch in two consecutive periods of time of inertia direction switching can be understood as one period of time in the preset monitoring period of time in which the direction of inertia is switched from direction 1 to direction 2 and then from direction 2 to direction 3, and that there is no switch in key position throughout the period of time in which the direction 1 is finally switched to direction 3.
If the number of times of switching the inertia direction in the preset monitoring time is greater than or equal to the number of times of switching the key positions, the situation that the environment interference causes false triggering of the key position switching can be understood, so that the active intention of key switching can be better identified through setting the situation of no correspondence.
By configuring logic judgment corresponding to the specifically set non-corresponding situation in the first chip, key position state switching caused by environmental inertia influence can be identified, the judgment efficiency of key position state switching caused by environmental inertia influence is improved, and judgment of key active intention is further effectively supported.
Specifically, in step S5, the second chip determines the power on-off state after switching on-off according to the current power on-off state after powering on the second chip, wherein,
When the current power supply is in a power-on state, the power supply after the start and stop is in a power-off state;
when the current power supply is in a power supply stopping state, the power supply after the start and stop is in a power supply starting state.
Specifically, in step S6, the second chip acquires power supply temperature data and an interval duration between the last power supply start-stop switching and the current time to determine a voltage stabilizing duration of the power supply start-stop switching, where the method specifically includes:
If the power supply temperature data accords with a preset temperature range, and the interval time length of the previous power supply start-stop switching time interval and the current key position switching time is greater than or equal to the preset switching interval time length, the second chip sets the voltage stabilizing time length as the preset voltage stabilizing time length.
And secondly, if the power supply temperature data does not accord with a preset temperature range, or the interval duration of the current key position switching time of the previous power supply start-stop switching time interval is smaller than the preset switching interval duration, the second chip determines the voltage stabilizing duration according to the following steps:
wherein T is the voltage stabilizing time, T0 is the preset voltage stabilizing time, K is the power supply temperature data, the unit is the temperature, beta is the switching time coefficient, T is the interval time of the current key position switching time of the previous power supply start-stop switching time interval, and T0 is the preset switching interval time.
It is understood that the voltage stabilizing period refers to a period of time for increasing or decreasing the output voltage of the power supply from the current voltage to the target voltage after the start-stop switching, and generally, the voltage is smoothly adjusted from the current voltage to the target voltage during the voltage increasing and decreasing. According to the invention, the preset switching interval duration can be set according to the interval duration with the lowest loss degree of the power supply in the start-stop conversion in the limited times of experiments.
Because the power supply start-stop temperature can influence the service life of the power supply, in judging the start-stop operation of the power supply, the power supply temperature is firstly judged, the power supply life loss caused by directly stopping power transmission when the power supply temperature is too high or directly starting the power supply when the power supply temperature is too low is avoided, the corresponding start-stop operation temperature range (preset temperature range) of the power supply is set, the service life of the battery can be effectively protected, after judging that the power supply has the conversion start-stop condition, the corresponding voltage stabilizing time length is used for carrying out the start-stop conversion of the power supply, the service life of the battery is prolonged, and meanwhile, the damage of the power consumption objects caused by the sudden switching of high and low levels is avoided for each power consumption object in a battery power supply circuit. It can be appreciated that the preset temperature range can be adaptively set according to a specific power scenario, which is not described herein.
Specifically, after step S7, after the power supply is turned on and off, updating the preset position, the position holding data information, the power supply switching on and off state and the corresponding on and off switching time based on the current position of the key.
In implementation, according to the corresponding logic of the key position state and the power supply start-stop intention, the key can be selected to be reset or kept, and the position keeping data information is updated according to the acquisition logic and the acquisition reference of the position keeping data information. And recording the switching start-stop state of the current power supply and the corresponding start-stop switching time in the corresponding chip.
Specifically, in step S5, if the power supply does not have the condition of switching on/off, the second chip is controlled to be powered on, and the second chip controls the key to be reset to the key position state corresponding to the current power supply on/off state.
Referring to fig. 3 and fig. 4, fig. 3 is a schematic circuit diagram of a first chip of the power management system and a power supply of the chip according to an embodiment of the invention, and fig. 4 is a schematic circuit diagram of a second chip of the power management system for controlling power on/off according to an embodiment of the invention. In one embodiment, the present invention further provides a power management system for executing the power management method in the above implementation, where the power management system of the present embodiment includes:
The key excitation loop comprises a key and a capacitor, and is used for switching on and off of the loop through the key position;
The first chip control loop comprises a first chip connected with the key excitation loop and is used for judging whether the power supply has a switching start-stop condition or not according to the current position state of the key, the position maintenance data of the key and the interval duration of the last power supply start-stop switching distance from the current time and controlling whether the second chip is powered on or not;
The second chip control loop comprises a second chip connected with the first chip control loop and is used for determining the voltage stabilizing time length of the power supply start-stop conversion and adjusting the start-stop state of the power supply according to the power supply temperature data and the time length of the interval between the last power supply start-stop switching and the current time;
the sensing unit is connected with the second chip and used for acquiring temperature data of the power supply and transmitting the acquired temperature data of the power supply to the second chip;
and the stabilized voltage power supply loop is connected with the second chip control loop and used for controlling the power supply to start and stop switching according to the set stabilized voltage time length.
Specifically, the sensing unit further comprises an inertial sensor connected with the first chip and used for acquiring inertial data of a power supply;
The inertia data comprises inertia direction switching times, inertia direction switching interval duration and inertia direction switching frequency in a preset monitoring duration.
Referring to fig. 3 and fig. 4, in fig. 3, a resistor R1, a key K, a resistor R2, a resistor R6, a capacitor C1, a diode D1, and a DCDC chip power enable pin form a key excitation loop of the system, so that the first chip is powered on to execute the judgment logic; the key excitation loop, the DCDC chip power supply output pin, the first chip power supply start pin and the diode D2 form a first chip control loop, and the first chip control loop is used for executing judgment logic of the first chip to judge whether the power supply has a conversion start-stop condition or not.
In fig. 4, a second chip control loop is formed by the temperature sensing and monitoring pin of the second chip, the key monitoring pin of the second chip, the chip power on pin of the first chip and the diode D3, so that the second chip is powered on to execute the judgment logic; the second chip control loop, the system power supply end, the system power output end, the system power enable end, the system power on pin of the second chip, the diode D4 and the resistor R7 form a power on-off loop (the system power connection part is omitted in the figure) of the system to execute the on-off control of the system power, the voltage-stabilizing power loop is connected with the system power output end, and the control of the voltage-stabilizing duration is executed according to the control signal of the second chip, which is not repeated here.
The sensing unit comprises a key position sensor connected with the first chip, a voltage sensor for detecting power supply voltage, a time recorder connected with the voltage sensor, a temperature sensor connected with the second chip and an inertial sensor, wherein the temperature sensor and the inertial sensor can be selected according to the needs, and the model is not limited.
In a specific embodiment, the key comprises two position states, wherein the initial state corresponds to a preset position, and the position represents that the key is intended to start power supply for the battery; the second position corresponds to the second position, and represents that the key is intended to stop power supply to the battery, and the judgment logic of the first position and the second position can be updated in the judgment logic of the first chip.
The KEY is switched from the second position to the first position, at the moment, a KEY excitation loop is closed, a KEY switch circuit is formed into a high level at a KEY point by a resistor R1, a KEY K1, a resistor R2, a resistor R6 and a capacitor C1, then the KEY switch circuit is connected with an enabling end of a DCDC chip power supply through a diode D1, DCDC work is started, a first chip power supply is output by a DCDC chip power supply output pin, a first chip MCU of a control loop is powered on, and each sensor connected with the first chip is started to operate;
After the first chip is powered on, the first chip controls a chip power supply start pin of the first chip to output a high level in a preset monitoring time period, so that the first chip and the sensor are powered on continuously in the preset monitoring time period, whether the power supply has a switching start-stop condition or not is judged according to position maintenance data and/or interval time periods of keys detected by the connected sensor, when the switching start-stop condition is judged to be met, the first chip outputs the high level through the power supply start pin, an enabling end of the chip power supply is kept high level through a diode D2, the chip power supply is kept on continuously, and the first chip continuously powers on through a second chip of a second chip control loop through a diode D3 by the high level output by the power supply start pin; when judging that the switching start-stop condition is not met, the first chip outputs a low level through a power supply start pin of the first chip, the enabling end of the chip power supply is kept at the low level through a diode D2, the chip power supply is not electrified, and the low level output by the first chip through the power supply start pin of the first chip enables a second chip of a second chip control loop to be not electrified through the diode D3;
After the second chip is powered on, the second chip determines the voltage stabilizing time length of the power on-off conversion according to the power temperature data detected by the connected sensor and the time length of the interval between the last power on-off switching time and the current time, if the power temperature data accords with a preset temperature range, the time length of the interval between the last power on-off switching time and the current key position switching time is greater than or equal to the preset switching interval time length, a system power on pin of the second chip outputs a high level through a diode D4, a voltage stabilizing circuit U1 is controlled to gradually output the system power voltage according to the voltage stabilizing time length, so that the power is stably output, the key position is reset, the preset position of the current key is reset to be corresponding to a second position, and the first position corresponds to the second position; if the power supply temperature data does not accord with the preset temperature range, or the interval duration of the current key position switching time is smaller than the preset switching interval duration, the system power supply starting pin of the second chip outputs low level through the diode D4, so that the system power supply does not output electric energy, the key position is reset, the preset position of the current key is reset to be corresponding to the second position, and the first position is corresponding to the second position.
After resetting the key position, if the key position is detected to be switched in the working process of stably outputting electric energy, the key is reset at the corresponding position, then, the key is operated or the key is closed, the key excitation loop is closed, the subsequent circuit execution judging process is the same as the circuit control process after the key excitation loop is closed, and the details are not repeated.
It should be noted that, in the embodiments of the present invention, an embodiment of a power management method based on single key start-stop is provided, the steps shown in the flowchart of the drawings may be performed in a circuit system including a control chip, for example, and although a logic sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a sequence different from that in the flowchart.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.

Claims (9)

1. The power supply management method based on single-key start-stop is characterized by comprising the following steps of:
Acquiring the current position state of the key;
Judging the power-on state of the first chip based on the key position state, wherein the first chip is powered on in response to the key being at a preset position, wherein,
Determining a power-on state of the first chip according to the key position state, including:
judging the current position state of the key as a preset position or a second position;
If the key is positioned at the preset position, determining that the first chip is electrified, and starting the first chip to work to judge whether the power supply has a switching start-stop condition or not;
if the key is positioned at the second position, determining that the first chip is not electrified, and enabling the first chip not to work, wherein the power supply start-stop state is kept unchanged;
In the power-on state of the first chip, the first chip acquires position maintaining data of the key, the current power supply start-stop state and the interval duration from the last power supply start-stop switching to the current time;
The first chip judges whether the power supply has a switching start-stop condition or not based on the position holding data of the keys and/or the interval duration;
When the power supply has a switching start-stop condition, the second chip is controlled to be electrified, and the power supply start-stop state after switching start-stop is determined according to the current power supply start-stop state;
The second chip acquires power supply temperature data and the interval duration of the previous power supply start-stop switching distance from the current time to determine the voltage stabilizing duration of the power supply start-stop switching;
and the second chip controls the power supply to adjust to the power supply start-stop state after switching start-stop based on the judging result that the power supply has the switching start-stop condition and the voltage stabilizing duration.
2. The power management method according to claim 1, wherein the power supply is provided with a switch start-stop condition that the position holding data of the key satisfies a preset condition and/or the interval time is longer than a preset interval time;
The position maintaining data comprise the switching times of key positions, key switching interval duration and key switching frequency in a preset monitoring duration.
3. The power management method according to claim 2, further comprising:
after the first chip is powered on, the first chip acquires inertial data of a power supply;
The first chip judges whether the position maintaining data of the key meets the preset condition based on the corresponding relation between the inertia data and the position maintaining data, wherein,
If the corresponding relation is not corresponding, the first chip judges that the position maintaining data of the key meets the preset condition;
The inertia data comprises inertia direction switching times, inertia direction switching interval duration and inertia direction switching frequency in a preset monitoring duration.
4. A power management method according to claim 3, wherein the non-corresponding case comprises:
The inertia direction switching times in the preset monitoring time period are smaller than the switching times of the key positions;
at least two continuous inertia direction switching time periods exist in the preset monitoring time period, and key switching does not exist in the preset monitoring time period;
And the inertia direction switching frequency in the preset monitoring time period is smaller than the key switching frequency.
5. The power management method according to claim 1, wherein if the power temperature data conforms to a preset temperature range, and the interval duration of the previous key position switching time of the previous power start-stop switching time interval is greater than or equal to a preset switching interval duration, the second chip sets the voltage stabilizing duration to a preset voltage stabilizing duration.
6. The power management method according to claim 1, wherein if the power temperature data does not conform to a preset temperature range, or if an interval duration of a current key position switching time of the previous power start-stop switching time interval is smaller than a preset switching interval duration, the second chip determines a voltage stabilizing duration by the following formula:
wherein T is the voltage stabilizing time, T0 is the preset voltage stabilizing time, K is the power supply temperature data, the unit is the temperature, beta is the switching time coefficient, T is the interval time of the current key position switching time of the previous power supply start-stop switching time interval, and T0 is the preset switching interval time.
7. The method of claim 1, further comprising updating the preset position, the position maintenance data information, a power source switching start-stop state, and a corresponding start-stop switching time based on a current position of a key after power source switching start-stop.
8. A power management system for performing the power management method of any of the preceding claims 1-7, comprising:
The key excitation loop comprises a key and a capacitor, and is used for switching on and off of the loop through the key position;
The first chip control loop comprises a first chip connected with the key excitation loop and is used for judging whether the power supply has a switching start-stop condition or not according to the current position state of the key, the position maintenance data of the key and the interval duration of the last power supply start-stop switching distance from the current time and controlling whether the second chip is powered on or not;
The second chip control loop comprises a second chip connected with the first chip control loop and is used for determining the voltage stabilizing time length of the power supply start-stop conversion and adjusting the start-stop state of the power supply according to the power supply temperature data and the time length of the interval between the last power supply start-stop switching and the current time;
the sensing unit is connected with the second chip and used for acquiring temperature data of the power supply and transmitting the acquired temperature data of the power supply to the second chip;
and the stabilized voltage power supply loop is connected with the second chip control loop and used for controlling the power supply to start and stop switching according to the set stabilized voltage time length.
9. The power management system of claim 8, wherein the sensing unit further comprises an inertial sensor coupled to the first chip for acquiring inertial data of a power source;
The inertia data comprises inertia direction switching times, inertia direction switching interval duration and inertia direction switching frequency in a preset monitoring duration.
CN202410302803.6A 2024-03-18 2024-03-18 Power management method and system based on single-key start-stop Active CN117914118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410302803.6A CN117914118B (en) 2024-03-18 2024-03-18 Power management method and system based on single-key start-stop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410302803.6A CN117914118B (en) 2024-03-18 2024-03-18 Power management method and system based on single-key start-stop

Publications (2)

Publication Number Publication Date
CN117914118A true CN117914118A (en) 2024-04-19
CN117914118B CN117914118B (en) 2024-06-11

Family

ID=90692759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410302803.6A Active CN117914118B (en) 2024-03-18 2024-03-18 Power management method and system based on single-key start-stop

Country Status (1)

Country Link
CN (1) CN117914118B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5568607A (en) * 1994-08-19 1996-10-22 International Data Matrix, Inc. Apparatus, systems and methods for controlling power consumption in a selectively enabled processing system
US20100096928A1 (en) * 2008-10-16 2010-04-22 Delta Electronics, Inc. Automatic start-up circuit and uninterruptible power supply apparatus having such automatic start-up circuit
CN107834532A (en) * 2017-11-29 2018-03-23 株洲三新包装技术有限公司 Corrugated paper plate printing machines power supply order start and stop Anti-misoperation circuit
CN109388225A (en) * 2018-09-30 2019-02-26 深圳市致行科技有限公司 Key triggers energy-saving control method, storage medium, control device and its terminal
WO2019095367A1 (en) * 2017-11-20 2019-05-23 深圳市芯飞凌半导体有限公司 Led switch color temperature adjustment control chip and control method, and led illumination lamp
CN112286334A (en) * 2020-10-30 2021-01-29 广州鸿博微电子技术有限公司 Low-power-consumption power supply switching circuit for MCU and implementation method thereof
CN113097976A (en) * 2021-04-26 2021-07-09 深圳市卡莱福科技有限公司 Control system of battery protection circuit
CN214729338U (en) * 2021-04-28 2021-11-16 杭州协能科技股份有限公司 Circuit system for starting and stopping motor car based on single switch
CN116488307A (en) * 2023-06-20 2023-07-25 广东采日能源科技有限公司 Low-power-consumption switching circuit of energy storage system and battery management system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5568607A (en) * 1994-08-19 1996-10-22 International Data Matrix, Inc. Apparatus, systems and methods for controlling power consumption in a selectively enabled processing system
US20100096928A1 (en) * 2008-10-16 2010-04-22 Delta Electronics, Inc. Automatic start-up circuit and uninterruptible power supply apparatus having such automatic start-up circuit
WO2019095367A1 (en) * 2017-11-20 2019-05-23 深圳市芯飞凌半导体有限公司 Led switch color temperature adjustment control chip and control method, and led illumination lamp
CN107834532A (en) * 2017-11-29 2018-03-23 株洲三新包装技术有限公司 Corrugated paper plate printing machines power supply order start and stop Anti-misoperation circuit
CN109388225A (en) * 2018-09-30 2019-02-26 深圳市致行科技有限公司 Key triggers energy-saving control method, storage medium, control device and its terminal
CN112286334A (en) * 2020-10-30 2021-01-29 广州鸿博微电子技术有限公司 Low-power-consumption power supply switching circuit for MCU and implementation method thereof
CN113097976A (en) * 2021-04-26 2021-07-09 深圳市卡莱福科技有限公司 Control system of battery protection circuit
CN214729338U (en) * 2021-04-28 2021-11-16 杭州协能科技股份有限公司 Circuit system for starting and stopping motor car based on single switch
CN116488307A (en) * 2023-06-20 2023-07-25 广东采日能源科技有限公司 Low-power-consumption switching circuit of energy storage system and battery management system

Also Published As

Publication number Publication date
CN117914118B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
KR20190060389A (en) Wireless battery manamement system and method for protecting a battery back using the same
TWI427892B (en) Power supply system for power saving and method thereof
US20080116852A1 (en) Battery power management method and apparatus for controlling high-temperature condition
KR101451709B1 (en) Method and apparatus for preventing battery overcharge
CN103116296B (en) A kind of energy-saving socket
CN107276145B (en) Electronic system and charging method
JP5739005B2 (en) Power storage device management system
CN101714766B (en) Battery high-temperature status prevention and protection method and system
KR100741710B1 (en) Hybrid Generation System and control method thereof
CN117914118B (en) Power management method and system based on single-key start-stop
CN102214941A (en) Power source management system and portable electronic device with same
EP2871091A2 (en) Apparatus for controlling LDC in electric vehicle
KR102224137B1 (en) Device and method for overcharge protection
CN102270877A (en) Power supply system
CN110797930B (en) Equipment control method, device, system and computer storage medium
CN104124767A (en) Wireless power transmission system transmitting end standby state automatic wake-up method and device
US20190123579A1 (en) Battery powered device
CN111245053B (en) Electronic device and control method for improving battery life at low temperature thereof
JP4274706B2 (en) Pack battery
JP2006340586A (en) Mobile terminal and method for controlling charging of mobile terminal
EP2061129A1 (en) Battery power management method and apparatus for controlling high-temperature condition
EP4333250A1 (en) Battery management circuit, battery assembly, and power tool system
CN212690422U (en) Fan control circuit
CN220798085U (en) Over-temperature protection circuit
CN118034173A (en) Emergency stop control circuit, energy storage control system and emergency stop control method

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