CN104953651A - Power supplying state adjusting method and power supplying state adjusting device - Google Patents

Power supplying state adjusting method and power supplying state adjusting device Download PDF

Info

Publication number
CN104953651A
CN104953651A CN201510299772.4A CN201510299772A CN104953651A CN 104953651 A CN104953651 A CN 104953651A CN 201510299772 A CN201510299772 A CN 201510299772A CN 104953651 A CN104953651 A CN 104953651A
Authority
CN
China
Prior art keywords
supply module
power supply
mcu
charge value
supply state
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
CN201510299772.4A
Other languages
Chinese (zh)
Other versions
CN104953651B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510299772.4A priority Critical patent/CN104953651B/en
Publication of CN104953651A publication Critical patent/CN104953651A/en
Application granted granted Critical
Publication of CN104953651B publication Critical patent/CN104953651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Abstract

An embodiment of the invention discloses a power supplying state adjusting method. The power supplying state adjusting method comprises the following steps of connecting a micro-control unit (MCU) and a power supplying module which is used for supplying power for the MCU so as to start the MCU; acquiring an electricity value of the power supply module when the MCU receives a level jump signal for triggering the electricity value, which is detected by the MCU, of the power supplying module; and transmitting a power supplying state adjusting signal to the power supplying module by using the MCU according to the electricity value of the power supplying module so as to trigger the power supplying module to adjust a power supplying state of the power supplying module. The embodiment of the invention also discloses a power supplying state adjusting device. According to the embodiment, a power supplying state and a working state of the power supplying module are controlled through the MCU, a power supplying state control process of the power supplying module is simplified, and flexibility of control on deep discharge of the power supplying module is improved.

Description

A kind of method of power supply state adjustment and device
Technical field
The present invention relates to electronic technology field, particularly relate to method and the device of the adjustment of a kind of power supply state.
Background technology
In the use procedure of battery, the percentage that the capacity that battery is released accounts for its rated capacity is called depth of discharge.The useful life of secondary cell (power storage cell or rechargeable battery) and the height of depth of discharge have very large relation, when the depth of discharge of secondary cell is darker, then its charge lifetimes is shorter, therefore, the equipment adopting secondary cell to power, needs the problem considering the battery discharge degree of depth.
Some adopt battery powered electronic equipment as Portable earphone amplifier, usually adopt secondary cell to power, and when user occurring and forgetting the abnormal case such as shutdown, equipment may continuous discharge, thus penetration depth discharge condition, the useful life of battery can be shortened.Prevent the common method of deep discharge from being the cut-out being controlled cell load electronic switch by multiple comparator at present, although this kind of mode can realize the deep discharge controlling battery, but implementation procedure is comparatively complicated, the flexibility controlling supply module deep discharge is lower.
Summary of the invention
A kind of method that the embodiment of the present invention provides power supply state to adjust and device, can simplify the control procedure of the power supply state of supply module, improves the flexibility controlling supply module deep discharge.
Embodiment of the present invention first aspect discloses the method for a kind of power supply state adjustment, comprising:
Microcontroller (Microcontroller Unit, MCU) and supply module connect, and to start described MCU, described supply module is used for powering for described MCU;
When described MCU receives level skip signal, described MCU sends charge value and obtains instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value;
Described MCU sends power supply state adjustment signal to described supply module according to the charge value that described supply module feeds back, and adjusts its power supply state to trigger described supply module.
In the first possible implementation of embodiment of the present invention first aspect, described MCU sends power supply state adjustment signal to described supply module according to the charge value that described supply module feeds back, and adjusts its power supply state, comprising to trigger described supply module:
Described MCU judges whether the charge value that described supply module feeds back is less than or equal to default power threshold;
If the charge value of described supply module feedback is less than or equal to described default power threshold, determine that the charge value that described supply module feeds back meets default power-off power threshold;
Send described power supply state adjustment signal to described supply module, adjust its power supply state to trigger described supply module.
In the implementation that the second of embodiment of the present invention first aspect is possible, described transmission described power supply state adjustment signal, to described supply module, adjusts its power supply state to trigger described supply module, comprising:
Generate described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal is sent to described supply module;
Wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.
Embodiment of the present invention second aspect discloses the method for a kind of power supply state adjustment, comprising:
When supply module receives level skip signal, described supply module and microcontroller connect, and to start described MCU, and power to described MCU;
When the charge value that described supply module receives described MCU transmission obtains instruction, described supply module sends its charge value to described MCU, and adjusts the power supply state of described supply module according to the power supply state adjustment signal that described MCU feeds back.
In the first possible implementation of embodiment of the present invention second aspect, the described power supply state adjustment signal fed back according to described MCU also comprises before adjusting the power supply state of described supply module:
Described supply module receives the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.
Correspondingly, the embodiment of the present invention third aspect also discloses the device of a kind of power supply state adjustment, comprising:
Connection establishment unit, for connecting with supply module, to start microcontroller, described supply module is used for powering for described MCU;
Charge value acquiring unit, for when receiving level skip signal, send charge value and obtain instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value;
Signal transmitting unit, the charge value for feeding back according to described supply module sends power supply state adjustment signal to described supply module, adjusts its power supply state to trigger described supply module.
In the first possible implementation of the embodiment of the present invention third aspect, described signal transmitting unit comprises:
Judgment sub-unit, for judging whether the charge value that described supply module feeds back is less than or equal to described default power threshold;
Determine subelement, for when described judgment sub-unit judges that the charge value that described supply module feeds back is less than or equal to described default power threshold, determine that the charge value that described supply module feeds back meets default power-off power threshold;
Sending subelement, for sending described power supply state adjustment signal to described supply module, adjusting its power supply state to trigger described supply module.
In the implementation that embodiment of the present invention third aspect the second is possible, described transmission subelement specifically for:
Generate described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal is sent to described supply module;
Wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.
Correspondingly, embodiment of the present invention fourth aspect also discloses the device of a kind of power supply state adjustment, comprising:
Start unit, for when receiving level skip signal, connects with microcontroller, to start described MCU, and powers to described MCU;
Charge value transmitting element, for when receiving the charge value acquisition instruction that described MCU sends, sends its charge value to described MCU, and adjusts the power supply state of supply module according to the power supply state adjustment signal that described MCU feeds back.
In the first possible implementation of embodiment of the present invention fourth aspect, described device also comprises:
Receiving element, for receiving the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.
Adopt the embodiment of the present invention, connect by microcontroller and supply module, to start MCU, when MCU receives level skip signal, MCU sends charge value and obtains instruction to described supply module, its charge value is fed back to trigger supply module, thus make MCU judge should generate which kind of power supply state adjustment signal to adjust the power supply state of supply module by charge value, then send power supply state by MCU according to the charge value that supply module feeds back and adjust signal to supply module, its power supply state is adjusted to trigger supply module, power supply state and the operating state of self of supply module is controlled by MCU, enormously simplify the control procedure of the power supply state to supply module, and controlled by the deep discharge conditions of power supply state adjustment signal to supply module that MCU generates, improve the flexibility controlling supply module deep discharge.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of power supply state adjustment that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the method for the another kind of power supply state adjustment that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the method for another power supply state adjustment that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the device of a kind of power supply state adjustment that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the signal transmitting unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the device of the another kind of power supply state adjustment that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the schematic flow sheet of the method for a kind of power supply state adjustment provided for the embodiment of the present invention, the method comprising the steps of S101-S103.
S101, microcontroller and supply module connect, and to start described MCU, described supply module is used for powering for described MCU.
In specific implementation, adopt the secondary cell equipment of powering as Earphone Amplifier etc., when user occurring and forgetting the abnormal conditions such as shutdown, equipment may continuous discharge, thus penetration depth discharge condition.In the present embodiment, supply module comprises secondary cell and for being that MCU in equipment and other functional module control power supply circuits.The signal produced according to power-on operation and MCU control, and realize the control to the equipment deep discharge that secondary cell is powered.When secondary cell power supply unit is carried out power-on operation, a starting-up signal can be produced, this starting-up signal can be level skip signal, this level skip signal is by sending to supply module after process, microcontroller and supply module are connected, by supply module, MCU is powered, to start MCU, make MCU carry out work.
S102, when described MCU receives level skip signal, described MCU sends charge value and obtains instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value.
In specific implementation, the level skip signal that the equipment that secondary cell is powered carries out power-on operation generation sends to supply module through process on the one hand, to trigger supply module, MCU is powered, on the other hand this level skip signal is sent to MCU, when MCU is in mode of operation, receive this level skip signal, high level or low level (consistent with the level skip signal that the power-on operation after process produces) will be exported to arrive or in door (NOR gate), no matter to make or whether level skip signal after process that door (NOR gate) receives exists, MCU all can control the adjustment to the power supply state of supply module and the operating state of MCU self.When MCU receives level skip signal, sending electricity and obtain instruction to obtain the charge value of supply module feedback, also can be that supply module regularly sends charge value information to MCU.
S103, described MCU send power supply state adjustment signal to described supply module according to the charge value that described supply module feeds back, and adjust its power supply state to trigger described supply module.
In specific implementation, MCU is according to the charge value of the supply module feedback got, judge whether to reach default power threshold, as when the charge value of supply module is less than or equal to default power threshold, represent that equipment that this secondary cell powers is by penetration depth discharge condition, therefore MCU will send power supply state adjustment signal to supply module, off-position is adjusted to from power supply state to make supply module, wherein, default power threshold refers to that equipment that secondary cell powers is by the critical value discharged between deep discharge, can adjust according to the concrete condition of secondary cell.
Adopt the embodiment of the present invention, connect by microcontroller and supply module, to start MCU, when MCU receives level skip signal, MCU sends charge value and obtains instruction to described supply module, its charge value is fed back to trigger supply module, thus make MCU judge should generate which kind of power supply state adjustment signal to adjust the power supply state of supply module by charge value, then send power supply state by MCU according to the charge value that supply module feeds back and adjust signal to supply module, its power supply state is adjusted to trigger supply module, power supply state and the operating state of self of supply module is controlled by MCU, enormously simplify the control procedure of the power supply state to supply module, and controlled by the deep discharge conditions of power supply state adjustment signal to supply module that MCU generates, improve the flexibility controlling supply module deep discharge.
Please refer to Fig. 2, the schematic flow sheet of the method for the another kind of power supply state adjustment provided for the embodiment of the present invention, the method comprising the steps of S201-S205.
S201, microcontroller and supply module connect, and to start described MCU, described supply module is used for powering for described MCU.
In specific implementation, adopt the secondary cell equipment of powering as Earphone Amplifier etc., when user occurring and forgetting the abnormal conditions such as shutdown, equipment may continuous discharge, thus penetration depth discharge condition.In the present embodiment, supply module comprises secondary cell and for being that MCU in equipment and other functional module control power supply circuits.The signal produced according to power-on operation and MCU control, and realize the control to the equipment deep discharge that secondary cell is powered.When secondary cell power supply unit is carried out power-on operation, a starting-up signal can be produced, this starting-up signal can be level skip signal, this level skip signal is by sending to supply module after process, microcontroller and supply module are connected, by supply module, MCU is powered, to start MCU, make MCU carry out work.
S202, when described MCU receives level skip signal, described MCU sends charge value and obtains instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value.
In specific implementation, the level skip signal that the equipment that secondary cell is powered carries out power-on operation generation sends to supply module through process on the one hand, to trigger supply module, MCU is powered, on the other hand this level skip signal is sent to MCU, when MCU is in mode of operation, receive this level skip signal, high level or low level (consistent with the level skip signal that the power-on operation after process produces) will be exported to arrive or in door (NOR gate), for or door, export as high when it has that in two-way, any road is input as high, export as low feature when two-way is input as low simultaneously, level skip signal after treatment can exist within the power-on operation short time, and can supply module be opened, now this road is input to or Men Weigao, and after this level skip signal after treatment lost efficacy, then to be input to or door is low level, MCU owing to can normally work under the power supply of supply module, the road controlled by MCU is by inputting high or low level and directly control or the output of door, when MCU is input as high level, or door to export to supply module be high level, when supply module high level is effective, supply module can continue to power to MCU, when MCU is input as low level, or door to export to supply module be low level, now supply module stops powering to MCU, power supply is also quit work, to prevent the appearance of deep discharge situation.In the present embodiment, when MCU receives level skip signal, sending electricity and obtain instruction to obtain the charge value of supply module feedback, also can be that supply module regularly sends charge value information to MCU.
S203, described MCU judge whether the charge value that described supply module feeds back is less than or equal to default power threshold.
In specific implementation, MCU is according to the charge value of the supply module feedback got, judge whether the charge value that supply module feeds back is less than or equal to default power threshold, as when the charge value that supply module feeds back is less than or equal to default power threshold, represent that equipment that this secondary cell powers is by penetration depth discharge condition.Wherein, default power threshold refers to that equipment that secondary cell powers is by the critical value discharged between deep discharge, can adjust according to the situation of concrete secondary cell.Such as, when supply module physical holding of the stock charge value is W, default power threshold is actual storage charge value is 5% of W, then when the charge value of supply module feedback is less than or equal to 5% of W, then illustrate that now supply module is in or is about to be in deep discharge conditions.
S204, if the charge value of described supply module feedback is less than or equal to described default power threshold, determines that the charge value that described supply module feeds back meets default power-off power threshold.
In specific implementation, when the charge value of supply module feedback is less than or equal to default power threshold, determine that the charge value of supply module meets and preset power-off power threshold, wherein, when the charge value of supply module feedback is less than or equal to default power threshold, illustrate that supply module is in or is about to be in deep discharge conditions, now should determine that the charge value of supply module meets and preset power-off power threshold, preset power-off power threshold when meeting, system will control supply module and be adjusted to off-position.
S205, generates described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal is sent to described supply module.
Wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.
In specific implementation, described power supply state adjustment signal is generated according to described level skip signal, and described power supply state adjustment signal is sent to described supply module, wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.In the present embodiment, the signal produced due to power-on operation is rising edge signal, be divided into two-way to export, wherein a road signal is sent to MCU, another road signal extraction goes out rising edge information and produces the level signal that can keep a certain amplitude range of one end time, if this level signal is high level, this level signal is sent into first input of logic sum gate, when high level is effective power supply electrical level of supply module, supply module will be in power supply state.When the charge value of supply module meets default power-off power threshold, the power supply state adjustment signal that MCU sends controls second input of the power supply state feeding logic sum gate of supply module simultaneously, because the retention time of the level signal of first input end in logic sum gate compares short relative to the discharge time of secondary cell, therefore, when MCU is in mode of operation, supply module carries out power supply state control primarily of MCU.When the charge value of supply module meets default power-off power threshold, the power supply state adjustment signal that MCU sends according to level skip signal is the low level signal contrary with effective power supply electrical level of supply module, changes off-position with the power supply state adjusting supply module into by power supply state.The present embodiment is not limited to the effective power supply electrical level of above-mentioned employing high level as supply module, also can using the effective power supply electrical level of low level as supply module, " rising edge " and " logic sum gate " wherein mentioned in the present embodiment also can be " trailing edge " and " NOR gate ".In the present embodiment, power supply state adjustment signal is used for supply module to be adjusted to off-position from power supply state.When the charge value of supply module meets default power-off power threshold, the power supply state adjustment signal that MCU sends according to level skip signal is the low level signal contrary with effective power supply electrical level of supply module, and by this low level signal by or door send to supply module, when supply module receives this low level signal, off-position will be changed by power supply state into by power supply state.
Adopt the embodiment of the present invention, connect by microcontroller and supply module, to start MCU, when MCU receives level skip signal, MCU sends charge value and obtains instruction to supply module, its charge value is fed back to trigger supply module, and judge whether the charge value that this supply module feeds back is less than or equal to default power threshold, power-off power threshold is preset to determine that the charge value of supply module meets, thus make MCU know the electric power thus supplied of current supply module, MCU generates power supply state adjustment signal according to this electric power thus supplied by level skip signal, and power supply state is adjusted signal send to supply module, to control the power supply state of supply module, power supply state and the operating state of self of supply module is adjusted by MCU, thus the control procedure simplified supply module, and effectively prevent the deep discharge problem that causes because MCU work, the flexibility and intelligent that the deep discharge that improve supply module controls.
Please refer to Fig. 3, the schematic flow sheet of the method for another power supply state adjustment provided for the embodiment of the present invention, the method comprising the steps of S301-S303.
S301, when supply module receives level skip signal, described supply module and microcontroller connect, and to start described MCU, and power to described MCU.
In specific implementation, supply module comprises secondary cell and for being that MCU in equipment and other functional module control power supply circuits.When secondary cell power supply unit is carried out power-on operation, a starting-up signal can be produced, by extracting level saltus step information (rising edge or trailing edge) and produce the level signal that can keep a certain amplitude range of a period of time in this starting-up signal, when supply module receives this level signal, supply module and microcontroller connect, to start the detailed process of described MCU be: when supply module receives this by level skip signal after level process, supply module starts to start powering mode, and power for microcontroller, to start MCU, MCU is made to carry out work.
S302, when the charge value that described supply module receives described MCU transmission obtains instruction, described supply module sends its charge value to described MCU.
In specific implementation, when the charge value that described supply module receives described MCU transmission obtains instruction, described supply module sends its charge value to described MCU.In the present embodiment, when MCU needs the charge value situation knowing supply module, send charge value obtain instruction by MCU, supply module receives the charge value acquisition instruction that MCU sends, and can send its current charge value to MCU.The present embodiment is not limited to the charge value above by MCU active obtaining supply module, also can be that its charge value of supply module timed sending is to MCU.
S303, described supply module receives the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.
In specific implementation, described supply module receives the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.When MCU receives the charge value of supply module, power supply state adjustment signal can be generated according to this charge value, after supply module reception MCU adjusts signal according to the power supply state that described charge value feeds back, adjust according to the power supply state of this power supply state adjustment signal to self, when power supply state adjustment signal is off-position, supply module will change off-position into by power supply state, to prevent deep discharge.
Adopt the embodiment of the present invention, by when supply module receives skip signal, supply module and microcontroller connect, to start MCU, and MCU is powered, MCU is enable to start to control the power supply state of supply module, when the charge value that supply module receives MCU transmission obtains instruction, supply module sends its charge value to MCU, MCU is enable to know the charge value of supply module in time, supply module receives the power supply state adjustment signal that MCU feeds back according to charge value, to adjust power supply state and the operating state of self of supply module according to power supply state adjustment signal, MCU is started by supply module, the power supply state of MCU to supply module is controlled, improve the accuracy controlling supply module deep discharge.
Please refer to Fig. 4, the structural representation of the device of a kind of power supply state adjustment provided for the embodiment of the present invention, this device comprises: connection establishment unit 11, charge value acquiring unit 12 and signal transmitting unit 13.
Connection establishment unit 11, for connecting with supply module, to start microcontroller, described supply module is used for powering for described MCU.
In specific implementation, adopt the secondary cell equipment of powering as Earphone Amplifier etc., when user occurring and forgetting the abnormal conditions such as shutdown, equipment may continuous discharge, thus penetration depth discharge condition.In the present embodiment, supply module comprises secondary cell and for being that MCU in equipment and other functional module control power supply circuits.The signal produced according to power-on operation and MCU control, and realize the control to the equipment deep discharge that secondary cell is powered.When secondary cell power supply unit is carried out power-on operation, a starting-up signal can be produced, this starting-up signal can be level skip signal, this level skip signal is by sending to supply module after process, connection establishment unit 11 and supply module connect, by supply module, MCU is powered, to start MCU, make MCU carry out work.
Charge value acquiring unit 12, for when receiving level skip signal, send charge value and obtain instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value.
In specific implementation, the level skip signal that the equipment that secondary cell is powered carries out power-on operation generation sends to supply module through process on the one hand, to trigger supply module, MCU is powered, on the other hand this level skip signal is sent to MCU, when MCU is in mode of operation, receive this level skip signal, high level or low level (consistent with the level skip signal that the power-on operation after process produces) will be exported to arrive or in door (NOR gate), for or door, export as high when it has that in two-way, any road is input as high, export as low feature when two-way is input as low simultaneously, level skip signal after treatment can exist within the power-on operation short time, and can supply module be opened, now this road is input to or Men Weigao, and after this level skip signal after treatment lost efficacy, then to be input to or door is low level, MCU owing to can normally work under the power supply of supply module, the road controlled by MCU is by inputting high or low level and directly control or the output of door, when MCU is input as high level, or door to export to supply module be high level, when supply module high level is effective, supply module can continue to power to MCU, when MCU is input as low level, or door to export to supply module be low level, now supply module stops powering to MCU, power supply is also quit work, to prevent the appearance of deep discharge situation.In the present embodiment, when receiving level skip signal, charge value acquiring unit 12 sends electricity and obtains instruction to obtain the charge value of supply module feedback, also can be that supply module regularly sends charge value information to MCU.
Signal transmitting unit 13, the charge value for feeding back according to described supply module sends power supply state adjustment signal to described supply module, adjusts its power supply state to trigger described supply module.
In specific implementation, signal transmitting unit 13 is according to the charge value of the supply module feedback got, judge whether to reach default power threshold, as when the charge value of supply module is less than or equal to default power threshold, represent that equipment that this secondary cell powers is by penetration depth discharge condition, therefore signal transmitting unit 13 will send power supply state adjustment signal to supply module, off-position is adjusted to from power supply state to make supply module, wherein, default power threshold refers to that equipment that secondary cell powers is by the critical value discharged between deep discharge, can adjust according to the concrete condition of secondary cell.
Concrete, please with reference to Fig. 5, for embodiments providing the structural representation of signal transmitting unit.As shown in Figure 5, described signal transmitting unit 13 can comprise: judgment sub-unit 131, determine subelement 132 and send subelement 133.
Judgment sub-unit 131, for judging whether the charge value that described supply module feeds back is less than or equal to described default power threshold.
In specific implementation, according to the charge value of the supply module feedback got, judgment sub-unit 131 judges whether the charge value that supply module feeds back is less than or equal to default power threshold, as when the charge value that supply module feeds back is less than or equal to default power threshold, represent that equipment that this secondary cell powers is by penetration depth discharge condition.Wherein, default power threshold refers to that equipment that secondary cell powers is by the critical value discharged between deep discharge, can adjust according to the situation of concrete secondary cell.Such as, when supply module physical holding of the stock charge value is W, default power threshold is actual storage charge value is 5% of W, then when the charge value of supply module feedback is less than or equal to 5% of W, then illustrate that now supply module is in or is about to be in deep discharge conditions.
Determine subelement 132, for when described judgment sub-unit judges that the charge value that described supply module feeds back is less than or equal to described default power threshold, determine that the charge value that described supply module feeds back meets default power-off power threshold.
In specific implementation, when the charge value of supply module feedback is less than or equal to default power threshold, determine that subelement 132 presets power-off power threshold for determining that the charge value of supply module meets, wherein, when the charge value of supply module feedback is less than or equal to default power threshold, illustrate that supply module is in or is about to be in deep discharge conditions, now should determine that the charge value of supply module meets and preset power-off power threshold, preset power-off power threshold when meeting, system will control supply module and be adjusted to off-position.
Sending subelement 133, for sending described power supply state adjustment signal to described supply module, adjusting its power supply state to trigger described supply module.
In specific implementation, sending subelement 133 for sending described power supply state adjustment signal to described supply module, adjusting its power supply state to trigger described supply module.In another embodiment, described transmission subelement 133 specifically for: generate described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal sent to described supply module; Wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.
In specific implementation, send subelement 133 and generate described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal is sent to described supply module, wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.In the present embodiment, the signal produced due to power-on operation is rising edge signal, be divided into two-way to export, wherein a road signal is sent to MCU, another road signal extraction goes out rising edge information and produces the level signal that can keep a certain amplitude range of one end time, if this level signal is high level, this level signal is sent into first input of logic sum gate, when high level is effective power supply electrical level of supply module, supply module will be in power supply state.When the charge value of supply module meets default power-off power threshold, the power supply state adjustment signal that MCU sends controls second input of the power supply state feeding logic sum gate of supply module simultaneously, because the retention time of the level signal of first input end in logic sum gate compares short relative to the discharge time of secondary cell, therefore, when MCU is in mode of operation, supply module carries out power supply state control primarily of MCU.When the charge value of supply module meets default power-off power threshold, the power supply state adjustment signal that MCU sends according to level skip signal is the low level signal contrary with effective power supply electrical level of supply module, changes off-position with the power supply state adjusting supply module into by power supply state.The present embodiment is not limited to the effective power supply electrical level of above-mentioned employing high level as supply module, also can using the effective power supply electrical level of low level as supply module, " rising edge " and " logic sum gate " wherein mentioned in the present embodiment also can be " trailing edge " and " NOR gate ".In the present embodiment, power supply state adjustment signal is used for supply module to be adjusted to off-position from power supply state.When the charge value of supply module meets default power-off power threshold, the power supply state adjustment signal that MCU sends according to level skip signal is the low level signal contrary with effective power supply electrical level of supply module, and by this low level signal by or door send to supply module, when supply module receives this low level signal, off-position will be changed by power supply state into by power supply state.
Adopt the embodiment of the present invention, by connecting with supply module, to start MCU, when MCU receives level skip signal, MCU sends charge value and obtains instruction to supply module, its charge value is fed back to trigger supply module, and judge whether the charge value that this supply module feeds back is less than or equal to default power threshold, power-off power threshold is preset to determine that the charge value of supply module meets, thus make MCU know the electric power thus supplied of current supply module, power supply state adjustment signal is generated by level skip signal according to this electric power thus supplied, and power supply state is adjusted signal send to supply module, to control the power supply state of supply module, by the synergy of MCU and supply module, MCU is enable to adjust power supply state and the operating state of self of supply module, thus the control procedure simplified supply module, and effectively prevent the deep discharge problem that causes because MCU work, the flexibility and intelligent that the deep discharge that improve supply module controls.
Please refer to Fig. 6, be the structural representation of the another kind of power supply state adjustment that the embodiment of the present invention provides, this device comprises: start unit 21, charge value transmitting element 22 and receiving element 33.
Start unit 21, for when receiving level skip signal, connects with microcontroller, to start described MCU, and powers to described MCU.
In specific implementation, supply module comprises secondary cell and for being that MCU in equipment and other functional module control power supply circuits.When secondary cell power supply unit is carried out power-on operation, start unit 21 can produce a starting-up signal, by extracting level saltus step information (rising edge or trailing edge) and produce the level signal that can keep a certain amplitude range of a period of time in this starting-up signal, when supply module receives this level signal, supply module and microcontroller connect, to start the detailed process of described MCU be: when supply module receives this by level skip signal after level process, supply module starts to start powering mode, and power for microcontroller, to start MCU, MCU is made to carry out work.
Charge value transmitting element 22, for when receiving the charge value acquisition instruction that described MCU sends, sends its charge value to described MCU, and adjusts the power supply state of supply module according to the power supply state adjustment signal that described MCU feeds back.
In specific implementation, when charge value transmitting element 22 receives the charge value acquisition instruction of described MCU transmission, send its charge value to described MCU.In the present embodiment, when MCU needs the charge value situation knowing supply module, send charge value obtain instruction by MCU, charge value transmitting element 22 receives the charge value acquisition instruction that MCU sends, and just can send its current charge value to MCU.The present embodiment is not limited to the charge value above by MCU active obtaining supply module, also can be that its charge value of supply module timed sending is to MCU.
Receiving element 23, for receiving the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.
In specific implementation, receiving element 23 receives the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.When receiving element 23 receives the charge value of supply module, power supply state adjustment signal can be generated according to this charge value, after receiving element 23 receives the power supply state adjustment signal that MCU feeds back according to described charge value, adjust according to the power supply state of this power supply state adjustment signal to self, when power supply state adjustment signal is off-position, supply module will change off-position into by power supply state, to prevent deep discharge.
Adopt the embodiment of the present invention, by when receiving skip signal, start unit and microcontroller connect, to start MCU, and MCU is powered, MCU is enable to start to control the power supply state of supply module, when receiving the charge value acquisition instruction that MCU sends, charge value transmitting element sends its charge value to MCU, MCU is enable to know the charge value of supply module in time, supply module receives the power supply state adjustment signal that MCU feeds back according to charge value, to adjust power supply state and the operating state of self of supply module according to power supply state adjustment signal, MCU is started by supply module, the power supply state of MCU to supply module is controlled, improve the accuracy controlling supply module deep discharge.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a method for power supply state adjustment, is characterized in that, comprising:
Microcontroller and supply module connect, and to start described MCU, described supply module is used for powering for described MCU;
When described MCU receives level skip signal, described MCU sends charge value and obtains instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value;
Described MCU sends power supply state adjustment signal to described supply module according to the charge value that described supply module feeds back, and adjusts its power supply state to trigger described supply module.
2. method according to claim 1, is characterized in that, described MCU sends power supply state adjustment signal to described supply module according to the charge value that described supply module feeds back, and adjusts its power supply state, comprising to trigger described supply module:
Described MCU judges whether the charge value that described supply module feeds back is less than or equal to default power threshold;
If the charge value of described supply module feedback is less than or equal to described default power threshold, determine that the charge value that described supply module feeds back meets default power-off power threshold;
Send described power supply state adjustment signal to described supply module, adjust its power supply state to trigger described supply module.
3. method according to claim 2, is characterized in that, described transmission described power supply state adjustment signal, to described supply module, adjusts its power supply state to trigger described supply module, comprising:
Generate described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal is sent to described supply module;
Wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.
4. a method for power supply state adjustment, is characterized in that, comprising:
When supply module receives level skip signal, described supply module and microcontroller connect, and to start described MCU, and power to described MCU;
When the charge value that described supply module receives described MCU transmission obtains instruction, described supply module sends its charge value to described MCU, and adjusts the power supply state of described supply module according to the power supply state adjustment signal that described MCU feeds back.
5. method according to claim 4, is characterized in that, the described power supply state adjustment signal fed back according to described MCU also comprises before adjusting the power supply state of described supply module:
Described supply module receives the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.
6. a device for power supply state adjustment, is characterized in that, comprising:
Connection establishment unit, for connecting with supply module, to start microcontroller, described supply module is used for powering for described MCU;
Charge value acquiring unit, for when receiving level skip signal, send charge value and obtain instruction to described supply module, feed back its charge value to trigger described supply module, described level skip signal obtains instruction to trigger the charge value that described MCU detects described supply module for generating charge value;
Signal transmitting unit, the charge value for feeding back according to described supply module sends power supply state adjustment signal to described supply module, adjusts its power supply state to trigger described supply module.
7. device according to claim 6, is characterized in that, described signal transmitting unit comprises:
Judgment sub-unit, for judging whether the charge value that described supply module feeds back is less than or equal to described default power threshold;
Determine subelement, for when described judgment sub-unit judges that the charge value that described supply module feeds back is less than or equal to described default power threshold, determine that the charge value that described supply module feeds back meets default power-off power threshold;
Sending subelement, for sending described power supply state adjustment signal to described supply module, adjusting its power supply state to trigger described supply module.
8. device according to claim 7, is characterized in that, described transmission subelement specifically for:
Generate described power supply state adjustment signal according to described level skip signal, and described power supply state adjustment signal is sent to described supply module;
Wherein, described power supply state adjustment signal is used for described supply module to be adjusted to off-position from power supply state.
9. a device for power supply state adjustment, is characterized in that, comprising:
Start unit, for when receiving level skip signal, connects with microcontroller, to start described MCU, and powers to described MCU;
Charge value transmitting element, for when receiving the charge value acquisition instruction that described MCU sends, sends its charge value to described MCU, and adjusts the power supply state of supply module according to the power supply state adjustment signal that described MCU feeds back.
10. device according to claim 9, is characterized in that, described device also comprises:
Receiving element, for receiving the power supply state adjustment signal that described MCU feeds back according to described charge value, to adjust the power supply state of described supply module according to described power supply state adjustment signal.
CN201510299772.4A 2015-06-03 2015-06-03 A kind of method and device of power supply state adjustment Active CN104953651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510299772.4A CN104953651B (en) 2015-06-03 2015-06-03 A kind of method and device of power supply state adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510299772.4A CN104953651B (en) 2015-06-03 2015-06-03 A kind of method and device of power supply state adjustment

Publications (2)

Publication Number Publication Date
CN104953651A true CN104953651A (en) 2015-09-30
CN104953651B CN104953651B (en) 2018-09-04

Family

ID=54168105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510299772.4A Active CN104953651B (en) 2015-06-03 2015-06-03 A kind of method and device of power supply state adjustment

Country Status (1)

Country Link
CN (1) CN104953651B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783580A (en) * 2016-08-26 2018-03-09 中兴通讯股份有限公司 A kind of power supply power-supplying circuit and the method being powered using control circuit
CN109768547A (en) * 2018-12-28 2019-05-17 京信通信系统(中国)有限公司 Method for controlling power supply, device, equipment and readable storage medium storing program for executing
CN110786781A (en) * 2018-08-03 2020-02-14 添可智能科技有限公司 Dust collector control system, method and device
CN114115006A (en) * 2021-11-17 2022-03-01 南方电网科学研究院有限责任公司 Energy storage control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120056390A (en) * 2010-11-25 2012-06-04 주식회사 이랜텍 Battery pack with discharge control function
CN103257597A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Control method and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120056390A (en) * 2010-11-25 2012-06-04 주식회사 이랜텍 Battery pack with discharge control function
CN103257597A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Control method and electronic device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783580A (en) * 2016-08-26 2018-03-09 中兴通讯股份有限公司 A kind of power supply power-supplying circuit and the method being powered using control circuit
CN110786781A (en) * 2018-08-03 2020-02-14 添可智能科技有限公司 Dust collector control system, method and device
CN110786781B (en) * 2018-08-03 2022-07-08 添可智能科技有限公司 Dust collector control system, method and device
CN109768547A (en) * 2018-12-28 2019-05-17 京信通信系统(中国)有限公司 Method for controlling power supply, device, equipment and readable storage medium storing program for executing
CN109768547B (en) * 2018-12-28 2021-06-22 京信通信系统(中国)有限公司 Power supply control method, device, equipment and readable storage medium
CN114115006A (en) * 2021-11-17 2022-03-01 南方电网科学研究院有限责任公司 Energy storage control system

Also Published As

Publication number Publication date
CN104953651B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
US20200153261A1 (en) Charge/discharge switch control circuits for batteries
KR102220839B1 (en) Fast charging method and system, terminal and charger
CN104953651A (en) Power supplying state adjusting method and power supplying state adjusting device
EP3007306A1 (en) Electronic cigarette charging method and electronic cigarette case
US10326291B2 (en) Quick charging method, power adapter and mobile terminal
CN104967200A (en) Quick-charging method and mobile terminal
CN100442885C (en) Power supply device and method for mobile communication terminal
CN102938569A (en) Method and device for supplying power to electronic device and electronic device
KR20070008048A (en) A charging control apparatus and method of battery
US20120249085A1 (en) Method For Controlling Charging Current
CN202587074U (en) Intelligent handset with double-battery power supply
WO2010082263A1 (en) Charge control circuit
US8667307B2 (en) Power control circuit and method of computer system
CN101887299A (en) Power supply control circuit and control method of computer system
US20150065201A1 (en) Wireless communication terminal and method for supplying power thereof
CN106786860A (en) The control method and electronic equipment of a kind of quick charge
CN107547207A (en) A kind of active Ethernet method of supplying power to, power receiving equipment and power supply unit
CN110112805B (en) Battery charging and discharging control method and system, mobile terminal and storage medium
GB2328844A (en) Portable appliance power supply
CN204761071U (en) Power supply state adjusting device
CN111465911B (en) Low inrush current circuit for power-up and deep power-down exit
CN110739732A (en) Portable electronic equipment, chip, charging system and charging method thereof
CN111009695A (en) Dual-battery serial power supply method, battery module, earphone device and storage medium
KR20160121647A (en) Portable battery charging device having function auto-recognition of portable device
CN211792002U (en) Control circuit, wireless earphone and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder