CN104111719A - Method and device for controlling battery to be disconnected from main equipment - Google Patents

Method and device for controlling battery to be disconnected from main equipment Download PDF

Info

Publication number
CN104111719A
CN104111719A CN201410293622.8A CN201410293622A CN104111719A CN 104111719 A CN104111719 A CN 104111719A CN 201410293622 A CN201410293622 A CN 201410293622A CN 104111719 A CN104111719 A CN 104111719A
Authority
CN
China
Prior art keywords
shutdown
protection
mosfet
battery
command
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.)
Pending
Application number
CN201410293622.8A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410293622.8A priority Critical patent/CN104111719A/en
Publication of CN104111719A publication Critical patent/CN104111719A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method and device for controlling a battery to be disconnected from main equipment, and belongs to the field of electronic information technologies. The method is applied to a mobile terminal, and a protection integrated circuit (IC) used for carrying out overcurrent protection and an MOSFET are mounted in the mobile terminal. The method comprises the steps that shutdown indication signals are obtained under a starting state, shutdown instructions are generated according to the shutdown indication signals, the shutdown instructions are sent to the protection IC, the MOSFET is controlled to be disconnected through the protection IC according to the shutdown instructions, and the battery is controlled to be disconnected from the main equipment according to the disconnection state of the MOSFET. According to the method and device for controlling the battery to be disconnected from the main equipment, the shutdown indication signals are obtained under the starting state, the shutdown instructions are generated according to the shutdown indication signals, the shutdown instructions are further sent to the protection IC, and after the protection IC controls the MOSFET to be disconnected, whether the battery is connected with the main equipment or not is controlled through the state of the MOSFET; due to the fact that the MOSFET and the protection IC are existing components on the mobile terminal, the battery can be controlled to be disconnected from the main equipment without mounting a switch component additionally, and resource consumption is lowered.

Description

Control the method and apparatus that battery and main equipment disconnect
Technical field
The disclosure relates to electronic information technical field, particularly a kind of method and apparatus of controlling battery and main equipment disconnection.
Background technology
Along with the development of electronic information technology, the raising of mobile terminal popularity rate, fade out gradually user's the visual field of the mobile terminal that traditional thickness is larger, replaces, and ultrathin becomes the current development trend of mobile terminal.In order to realize the ultrathin of mobile terminal, the manufacturer of mobile terminal is built in battery in the main equipment of mobile terminal conventionally.Thereupon but produce a problem: because mobile terminal off-mode dispatches from the factory, still need through long transportation and storing process afterwards, and battery still can continue electric discharge by internal circuit and main equipment UNICOM in this course, make the electric quantity consumption of battery totally, while causing user to buy mobile terminal, cannot start shooting, need to be to using after mobile terminal charging, user's experience effect is not good.In order to improve user's experience effect, avoid battery and the electric discharge of the inner UNICOM of main equipment under off-mode, be necessary to control battery and main equipment and disconnect.
Correlation technique, when controlling battery and disconnect with main equipment, by the switching device of connecting between battery and main equipment, and when switching device being detected in off-state, is controlled battery and main equipment disconnection.
In realizing process of the present disclosure, inventor finds that correlation technique at least exists following problem:
Correlation technique is when controlling battery and main equipment disconnection, because needs are at the switching device of connecting between battery and main equipment, not only can increase production cost, and there is impedance in switching device, the switching device of connecting between battery and main equipment is understood the electric energy of consuming cells equally, therefore, correlation technique resource consumption when controlling battery and main equipment disconnection is larger.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method and apparatus of controlling battery and main equipment disconnection.
According to the first aspect of disclosure embodiment; a kind of method of controlling battery and main equipment disconnection is provided; the method is applied in mobile terminal; in this mobile terminal, be provided with for carrying out Protective IC IC (the Integrated Circuit of overcurrent protection; integrated circuit) and MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor; field effect transistor), the method comprises:
Under open state, obtain shutdown indicator signal;
According to described shutdown indicator signal, generate shutdown command;
Described shutdown command is sent to protection IC, by described protection IC, according to described shutdown command, controls MOSFET and disconnect;
According to the off-state of described MOSFET, control battery and main equipment disconnection.
In conjunction with first aspect, in the possible implementation of the first of first aspect, the described shutdown indicator signal of obtaining under open state, comprising:
Under off-mode, whether detector switch button is selected;
If it is selected described switch key to be detected, generate shutdown indicator signal.
In conjunction with first aspect, in the possible implementation of the second of first aspect, described described shutdown command is sent to Protective IC IC before, also comprise:
Determine the shutdown time delay of system; to described protection IC, send the delay switching-off instruction of the shutdown time delay of carrying system; after the shutdown time delay of the system of being carried in the time that receives shutdown command reaches delay switching-off instruction by described protection IC, according to described shutdown command, control MOSFET and disconnect.
In conjunction with first aspect, to the possible implementation of the second of first aspect, in the third possible implementation of first aspect, described method also comprises:
Under off-mode, obtain start indicator signal, and generate start-up command according to described start indicator signal;
Described start-up command is sent to described protection IC, by described protection IC, according to described start-up command, controls described MOSFET UNICOM;
According to described MOSFET UNICOM state, control being connected of battery and main equipment.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, the described start indicator signal of obtaining under off-mode, comprising:
Whether selectedly under off-mode, detect starting key;
If it is selected described starting key to be detected, generate start indicator signal.
According to the second aspect of disclosure embodiment, a kind of device of controlling battery and main equipment disconnection is provided, this application of installation, in mobile terminal, is provided with in this mobile terminal for carrying out protection IC and the MOSFET of overcurrent protection, and this device comprises:
The first acquisition module, for obtaining shutdown indicator signal under open state;
The first generation module, for generating shutdown command according to described shutdown indicator signal;
The first sending module, for described shutdown command being sent to protection IC, controls described MOSFET by described protection IC according to described shutdown command and disconnects;
The first control module, for controlling battery and main equipment disconnection according to the off-state of described MOSFET.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described the first acquisition module, comprising:
Detecting unit, whether selected for detector switch button under off-mode;
Generation unit, for when described switch key being detected when selected, generates shutdown indicator signal.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described device, also comprises:
Determination module, for determining the shutdown time delay of system;
The second sending module; for send the delay switching-off instruction of the shutdown time delay of carrying system to described IC; after the shutdown time delay of the system of being carried in the time that receives shutdown command reaches delay switching-off instruction by described protection IC, according to described shutdown command, control MOSFET and disconnect.
In conjunction with second aspect, to the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described device also comprises:
The second acquisition module, for obtaining start indicator signal under off-mode;
The second generation module, for generating start-up command according to start indicator signal;
The 3rd sending module, for described start-up command being sent to described protection IC, controls described MOSFET UNICOM by described protection IC according to described start-up command;
The second control module, for controlling being connected of battery and main equipment according to described MOSFET UNICOM state.
In conjunction with second aspect, in the third possible implementation of second aspect, described the second acquisition module, comprising:
Detecting unit, whether selected for detect starting key under off-mode;
Generation unit, for when described starting key being detected when selected, generates start indicator signal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By generate shutdown command according to the shutdown indicator signal getting under open state; and then shutdown command is sent to protection IC; by protection IC, controlled after MOSFET disconnection; whether according to the state of MOSFET, control battery is connected with main equipment; due to MOSFET and protection IC be the existing parts on mobile terminal; thereby can realize and control battery and main equipment disconnection without extra installation switching device, reduced resource consumption.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows embodiment according to the invention, and is used from and explains principle of the present invention with instructions one.
Fig. 1 controls the schematic diagram of the implementation environment of the method that battery and main equipment disconnect according to a kind of shown in an exemplary embodiment.
Fig. 2 is according to a kind of process flow diagram of controlling the method for battery and main equipment disconnection shown in an exemplary embodiment.
Fig. 3 is according to a kind of process flow diagram of controlling the method for battery and main equipment disconnection shown in an exemplary embodiment.
Fig. 4 controls the schematic diagram of the device of battery and main equipment disconnection according to the first shown in an exemplary embodiment.
Fig. 5 is according to the schematic diagram of the first acquisition module shown in an exemplary embodiment.
Fig. 6 controls the schematic diagram of the device of battery and main equipment disconnection according to the second shown in an exemplary embodiment.
Fig. 7 is according to the schematic diagram of the device of the third control battery shown in an exemplary embodiment and main equipment disconnection.
Fig. 8 is according to the schematic diagram of the second acquisition module shown in an exemplary embodiment.
Fig. 9 is according to a kind of block diagram of controlling the device of battery and main equipment disconnection shown in an exemplary embodiment.
Embodiment
Here will at length to exemplary embodiment, describe, its example shown in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they are only the examples with apparatus and method as consistent in some aspects that described in detail in appended claims, of the present disclosure.
Disclosure embodiment provides a kind of method that battery and main equipment disconnect of controlling, please refer to Fig. 1, and it has shown the structural representation of the related implementation environment of control battery that disclosure embodiment provides and the method for main equipment disconnection.This implementation environment comprises battery 101 and main equipment 102.Wherein, battery 101 comprises power supply 103, protection IC104 and MOSFET105.Main equipment 102 comprises AP (Access Point, access points) 106 and switch key 107.
Wherein, battery 101 is battery as described in the following Examples.Power supply 103 is used to main equipment 102 power supplies, and protection IC104 disconnects for control MOSFET105 when receiving shutdown command.
Wherein, main equipment 102 is main equipment as described in the following Examples.AP106 for receiving shutdown indicator signal under off-mode; according to shutdown indicator signal, generate shutdown command; and shutdown command is sent to protection IC104; by protection IC104, according to shutdown command, control MOSFET105 and disconnect, and then control battery and main equipment disconnection according to the off-state of MOSFET105.
In conjunction with above-mentioned implementation environment; Fig. 2 is according to a kind of process flow diagram of controlling the method for battery and main equipment disconnection shown in an example embodiments; as shown in Figure 2; the method is for mobile terminal; in this mobile terminal, be provided with for carrying out protection IC and the MOSFET of overcurrent protection, comprise the following steps.
In step 201, under open state, obtain shutdown indicator signal.
As a kind of optional embodiment, under open state, obtain shutdown indicator signal, comprising:
Under off-mode, whether detector switch button is selected;
If it is selected switch key to be detected, generate shutdown indicator signal.
In step 202, according to shutdown indicator signal, generate shutdown command.
In step 203, shutdown command is sent to protection IC, by protection IC, according to shutdown command, control MOSFET and disconnect.
As a kind of optional embodiment, before shutdown command is sent to protection IC, also comprise:
Determine the shutdown time delay of system; to protection IC, send the delay switching-off instruction of the shutdown time delay of carrying system; after the shutdown time delay of the system of being carried in the time that receives shutdown command reaches delay switching-off instruction by protection IC, according to shutdown command, control MOSFET and disconnect.
In step 204, according to the off-state of MOSFET, control battery and main equipment disconnection.
As a kind of optional embodiment, the method also comprises:
Under off-mode, obtain start indicator signal, and generate start-up command according to start indicator signal;
Start-up command is sent to protection IC, and by protection, IC controls MOSFET UNICOM according to start-up command;
According to MOSFET UNICOM state, control being connected of battery and main equipment.
As a kind of optional embodiment, under off-mode, obtain start indicator signal, comprising:
Whether selectedly under off-mode, detect starting key;
If it is selected starting key to be detected, generate start indicator signal.
The method that disclosure embodiment provides; by generate shutdown command according to the shutdown indicator signal getting under open state; and then shutdown command is sent to protection IC; by protection IC, controlled after MOSFET disconnection; whether according to the state of MOSFET, control battery is connected with main equipment; because MOSFET and protection IC are the existing parts on mobile terminal, thereby can realize and control battery and main equipment disconnection without extra installation switching device, reduce resource consumption.
Fig. 3 is that as shown in Figure 3, the method, for mobile terminal, is provided with in this mobile terminal for carrying out protection IC and the MOSFET of overcurrent protection according to a kind of process flow diagram of controlling the method for battery and main equipment disconnection shown in an example embodiments.Wherein, mobile terminal includes but not limited to mobile phone, panel computer etc., and the present embodiment is not done concrete restriction to mobile terminal.The method flow that disclosure embodiment provides comprises the following steps.
In step 301, under open state, obtain shutdown indicator signal, and generate shutdown command according to shutdown indicator signal.
Generally, mobile terminal has two states: open state and off-mode.Battery under open state in mobile terminal is powered to the main equipment of mobile terminal by the circuit being connected with main equipment, so that mobile terminal is in running order.The electric energy that descends in working order mobile terminal to utilize battery to supply with not only can start some application programs, as, game class application, the application of shopping class, the application of Life Guidance class etc., and can carry out some function, as, receive and send messages, play telephone crosstalk, photograph, shooting etc.And the battery in mobile terminal and the circuit between main equipment are in off state under off-mode, battery cannot be powered to main equipment, and now mobile terminal will quit work, and the electric energy in battery can not be consumed yet.
Conventionally mobile terminal in working order under along with the application program starting or the function of execution increase, the electric energy consuming is also more, and the electric energy that battery in mobile terminal is stored is limited, and because mobile terminal electric energy in battery when the off-mode can not be consumed, therefore, for saves energy, when working without mobile terminal, can make mobile terminal change off-mode into by open state.And mobile terminal changes off-mode into by open state, the shutdown indicator signal that need to get under open state triggers and realizes, and therefore, is necessary to obtain shutdown indicator signal under open state.Wherein, shutdown indicator signal can be the waveform of shutdown pulse etc., and the present embodiment is not done concrete restriction to shutdown indicator signal.
About obtain the mode of shutdown indicator signal under open state, include but not limited to:
Under off-mode, whether detector switch button is selected;
If it is selected described switch key to be detected, generate shutdown indicator signal.
Wherein, the whether selected mode of detector switch button under open state, include but not limited to following mode: the implementation environment of the present embodiment is as shown in Figure 1 known, one end of switch key is ground connection, and under the state of ground connection, the electromotive force of switch key earth terminal is identical with the electromotive force of the earth, is 0 electromotive force, and the other end of switch key and the positive pole of power supply are connected, if switch key is selected, this end electromotive force is higher than 0, and now the electric potential difference at switch key two ends is higher than 0; If switch key is not selected, this end electromotive force is 0 electromotive force, and now the electric potential difference at switch key two ends is 0, therefore, and can be whether selected at detector switch button under open state by the electric potential difference at detector switch button two ends.
Further, after getting shutdown indicator signal, under the triggering of shutdown indicator signal, the AP of main equipment will generate shutdown command according to shutdown indicator signal.Wherein, the AP of main equipment generates the mode of shutdown command according to shutdown indicator signal, and the present embodiment is not done concrete restriction.During concrete enforcement, can in the corresponding relation of pre-stored shutdown indicator signal and shutdown command, search shutdown command corresponding to shutdown indicator signal, and the shutdown command using the shutdown command finding as generation.Particularly, the content of the shutdown command that the AP of main equipment generates according to shutdown indicator signal, can be one section of code, a symbol etc., and the content of the shutdown command that the present embodiment does not generate according to shutdown indicator signal the AP of main equipment is done concrete restriction.
In step 302, shutdown command is sent to protection IC, by protection IC, according to shutdown command, control MOSFET and disconnect.
Because battery exists overshoot or crosses in the process of using, put phenomenon: battery during in overshoot because temperature rises, interior pressure increases danger such as may causing on fire, blast; Battery is because electrolyte decomposition may cause battery behavior deteriorated when excessively putting, and therefore, the potential safety hazard of bringing for fear of over-charging of battery prevented putting the battery behavior causing deteriorated simultaneously, and battery conventionally can increase protection IC when design.During maximum current that the electric current that inside battery detected as protection IC allows higher than battery, by controlling MOSFET, disconnect battery is protected; During minimum current that the electric current that inside battery detected as protection IC allows lower than battery, by controlling MOSFET, disconnect battery is protected.Wherein, the maximum current that battery allows can be 10 milliamperes, 20 milliamperes, 26 milliamperes etc., and the maximum current that the present embodiment does not allow battery is not done concrete restriction.The minimum current that battery allows can be 1 milliampere, 2 milliamperes, 3 milliamperes etc., and the minimum current that the present embodiment does not allow battery is not done concrete restriction.
It should be noted that; protect in the present embodiment IC not only to there is foregoing circuit defencive function; and there is the function that receives shutdown command control MOSFET disconnection or receive start-up command control MOSFET UNICOM, in the present embodiment, be exactly that this function of utilizing existing protection IC can control MOSFET disconnection and connection realizes the control to battery and main equipment connection status.
Further, due to mobile terminal, a plurality of application programs may have been started in working order time, these application programs are not to close when closing simultaneously, but close successively in a certain order, be that the application program that mobile terminal is closed operation has certain time delay, if the application program in mobile terminal is power-off suddenly in the process of operation, not only can cause damage to the system of mobile terminal, and can produce harmful effect to the performance of mobile terminal, therefore, infringement mobile terminal being brought for fear of unexpected power-off, can be at the AP of main equipment before sending shutdown command to protection IC, to protection IC, send the delay switching-off instruction of the shutdown time delay of carrying system, thereby while guaranteeing mobile terminal power-off, application program is thoroughly closed.Particularly, the AP of main equipment, to the mode of the delay switching-off instruction of the shutdown time delay of protection IC transmission carrying system, includes but not limited to following mode:
First, determine the shutdown time delay of system;
Wherein, the shutdown time delay of system can be 8 seconds, 10 seconds, 15 seconds etc., and the present embodiment is not done concrete restriction to the shutdown time delay of system.About determining the mode of the shutdown time delay of system, the present embodiment is not done concrete restriction, while specifically implementing, can determine according to the performance of system.For example, when system is carried out under open state program is more, the load factor of the CPU of system is higher, and the stop of now system being opened will expend the longer time, therefore, and can the shutdown time delay setting of system is longer, as 15 seconds, 20 seconds etc.; When under open state, the program of system execution is less, the load factor of the CPU of system is lower, and the stop of now system being opened can not expend the longer time, therefore, can the shutdown time delay setting of system is shorter, as 5 seconds, 8 seconds etc.
Secondly, to protection IC, send the delay switching-off instruction of the shutdown time delay of carrying system, after the shutdown time delay of being carried in the time that receives shutdown command reaches delay switching-off instruction by protection IC, according to shutdown command, control MOSFET and disconnect.
About send the mode of delay switching-off instruction of the shutdown time delay of carrying system to protection IC, the present embodiment is not done concrete restriction, includes but not limited to the delay switching-off instruction of the shutdown time delay of carrying system to be sent to protection IC in the mode of notice, message.
Alternatively, in order to realize the ultrathin of mobile terminal, the manufacturer of mobile terminal is built in battery in the main equipment of mobile terminal conventionally, under the scene of main equipment that battery is built in to mobile terminal, though mobile terminal in off-mode, the battery in mobile terminal and main equipment still can discharge by internal circuit, therefore, in order to save electric energy, avoid battery and the electric discharge of the inner UNICOM of main equipment under off-mode, should make thoroughly to disconnect between battery and main equipment.In order to make thoroughly to disconnect between battery and main equipment, the AP of main equipment, after generating shutdown command according to shutdown indicator signal, can be sent to the shutdown command of generation protection IC, controls MOSFET disconnect by protection IC according to shutdown command.
Alternatively; because protection IC is before receiving shutdown command; received the delay switching-off instruction of the shutdown time delay of carrying system; therefore; after protection IC receives shutdown command; can't carry out immediately shutdown command; but whether the time of detecting reception shutdown command reaches the shutdown time delay of the system of carrying in delay switching-off instruction; if the time that receives shutdown command reaches the shutdown time delay of system; illustrate that now carrying out shutdown command can not bring infringement to mobile terminal; therefore, protection IC controls MOSFET disconnection according to shutdown command.
Whether the time that receives shutdown command about detecting reaches the mode of the shutdown time delay of the system of carrying in delay switching-off instruction, and the present embodiment is not done concrete restriction.During concrete enforcement, can be in the following way: first record protection IC receives the time of shutdown command, then take time of reception shutdown command of record is reference point, Real-time Obtaining current time, and then the shutdown time delay of the system of carrying in the time interval between the time of the reception shutdown command of the current time getting and record and delay switching-off instruction is compared, if the time interval between the time of the reception shutdown command of the current time getting and record is less than the shutdown time delay of the system of carrying in delay switching-off instruction, the time of judgement reception shutdown command does not reach the shutdown time delay of the system of carrying in delay switching-off instruction, if the time interval between the time of the reception shutdown command of the current time getting and record equals the shutdown time delay of the system of carrying in delay switching-off instruction, the time that judgement receives shutdown command reaches the shutdown time delay of the system of carrying in delay switching-off instruction.For example, it was 10 seconds that protection IC receives the shutdown time delay of carrying in shutdown time delay command, if protection IC receives the time of shutdown command, was 8 o'clock, and the 8 o'clock time that protection IC is received to shutdown command is reference point, Real-time Obtaining current time.If get current time, it is 8: 5 seconds, because current time is 10 seconds of shutdown time delay that are less than the system of carrying in delay switching-off instruction 5 seconds with the time interval that protection IC receives shutdown command, therefore, the time of judgement reception shutdown command does not reach the shutdown time delay of the system of carrying in delay switching-off instruction; If get current time, it is 8: 10 seconds; the time interval that receives shutdown command due to current time and protection IC is 10 seconds of shutdown time delay that equal the system of carrying in delay switching-off instruction 10 seconds; therefore, the time of judgement reception shutdown command reaches the shutdown time delay of the system of carrying in delay switching-off instruction.
In step 303, according to the off-state of MOSFET, control battery and main equipment disconnection.
After protection IC controls MOSFET disconnection according to shutdown command; MOSFET will be in off-state, and when MOSFET is during in off-state, inside battery does not have electric current to produce; internal circuit between battery and main equipment is in off state, and now battery and main equipment are disconnected completely.
So far, realized the disconnection of battery and main equipment by above-mentioned steps, after this process finishes, as user wishes that mobile terminal is again in running order, the method that the present embodiment provides also will be controlled battery and be connected with main equipment, specifically refer to following steps.
In step 304, under off-mode, obtain start indicator signal, and generate start-up command according to start indicator signal.
About obtain the mode of start indicator signal under off-mode, include but not limited to:
Whether selectedly under off-mode, detect starting key;
If it is selected starting key to be detected, generate start indicator signal.
Wherein, the whether selected mode of detector switch button under off-mode, include but not limited to following mode: the implementation environment of the present embodiment is as shown in Figure 1 known, one end of switch key is ground connection, and under the state of ground connection, the electromotive force of switch key earth terminal is identical with the electromotive force of the earth, is 0 electromotive force, and the other end of switch key and the positive pole of power supply are connected, if switch key is selected, this end electromotive force is higher than 0, and now the electric potential difference at switch key two ends is higher than 0; If switch key is not selected, this end electromotive force is also 0 electromotive force, and now the electric potential difference at switch key two ends is 0, therefore, and can be whether selected at detector switch button under off-mode by the electric potential difference at detector switch button two ends.
Alternatively, after getting start indicator signal, under the triggering of start indicator signal, the AP of main equipment will generate start-up command according to start indicator signal.Wherein, the AP of main equipment generates the mode of start-up command according to start indicator signal, and the present embodiment is not done concrete restriction.During concrete enforcement, can in the corresponding relation of pre-stored start indicator signal and start-up command, search shutdown command corresponding to start indicator signal, and the start-up command using the start-up command finding as generation.Particularly, the content of the start-up command that the AP of main equipment generates according to start indicator signal, can be one section of code, a symbol etc., and the content of the start-up command that the present embodiment does not generate according to start indicator signal the AP of main equipment is done concrete restriction.
In step 305, start-up command is sent to protection IC, by protection, IC controls MOSFET UNICOM according to start-up command.
In order to realize being connected of battery and main equipment, main equipment, after generating start-up command, need to be sent to the start-up command of generation protection IC, and IC is after receiving start-up command in protection, according to start-up command, controls MOSFET UNICOM.About main equipment, start-up command is sent to the mode of protection IC, the present embodiment is not done concrete restriction, includes but not limited to adopt the modes such as notice, message that start-up command is sent to protection IC.
In step 306, according to MOSFET UNICOM state, control being connected of battery and main equipment.
After protection IC controls MOSFET UNICOM according to start-up command; MOSFET will be in UNICOM's state, and when MOSFET is during in UNICOM's state, inside battery is by generation current; internal circuit between battery and main equipment is in open-circuit condition, and now battery and main equipment will be joined together.
The method that disclosure embodiment provides; by generate shutdown command according to the shutdown indicator signal getting under open state; and then shutdown command is sent to protection IC; by protection IC, controlled after MOSFET disconnection; whether according to the state of MOSFET, control battery is connected with main equipment; because MOSFET and protection IC are the existing parts on mobile terminal, thereby can realize and control battery and main equipment disconnection without extra installation switching device, reduce resource consumption.
Fig. 4 controls according to a kind of shown in an exemplary embodiment device schematic diagram that battery and main equipment disconnect, for carrying out the method for control battery described in the arbitrary embodiment of the embodiment shown in above-mentioned Fig. 2 and Fig. 3 and main equipment disconnection.With reference to Fig. 4, this device comprises the first acquisition module 401, the first generation module 402, the first sending module 403 and the first control module 404.
This first acquisition module 401 is configured to obtain shutdown indicator signal under open state;
This first generation module 402 is configured to generate shutdown command according to shutdown indicator signal;
This first sending module 403 is configured to shutdown command to be sent to protection IC, controls MOSFET disconnect by protection IC according to shutdown command;
The first control module 404 is configured to control battery and main equipment disconnection according to the off-state of MOSFET.
With reference to Fig. 5, the first acquisition module 401 comprises detecting unit 4011 and generation unit 4012.
Whether this detecting unit 4011 is configured under off-mode detector switch button selected;
This generation unit 4012 is configured to, when switch key being detected when selected, generate shutdown indicator signal.
With reference to Fig. 6, this device also comprises: determination module 405 and the second sending module 406.
This determination module 405 is configured to determine the shutdown time delay of system;
This second sending module 406 is configured to send to IC the delay switching-off instruction of the shutdown time delay of carrying system; after the shutdown time delay of the system of being carried in the time that receives shutdown command reaches delay switching-off instruction by protection IC, according to shutdown command, control MOSFET and disconnect.
With reference to Fig. 7, this device also comprises: the second acquisition module 407, the second generation module 408, the 3rd sending module 409 and the second control module 410.
This second acquisition module 407 is configured to obtain start indicator signal under off-mode;
This second generation module 408 is configured to generate start-up command according to start indicator signal;
The 3rd sending module 409 is configured to start-up command to be sent to protection IC, and by protection, IC controls MOSFET UNICOM according to start-up command;
This second control module 410 is configured to control being connected of battery and main equipment according to MOSFET UNICOM state.
With reference to Fig. 8, the second acquisition module 407 comprises: detecting unit 4071 and generation unit 4072.
Whether this detecting unit 4071 is configured under off-mode, to detect starting key selected;
This generation unit 4072 is configured to, when starting key being detected when selected, generate start indicator signal.
The device that disclosure embodiment provides; by generate shutdown command according to the shutdown indicator signal getting under open state; and then shutdown command is sent to protection IC; by protection IC, controlled after MOSFET disconnection; whether according to the state of MOSFET, control battery is connected with main equipment; because MOSFET and protection IC are the existing parts on mobile terminal, thereby can realize and control battery and main equipment disconnection without extra installation switching device, reduce resource consumption.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment of relevant the method, will not elaborate explanation herein.
Fig. 9 is a kind of for controlling the block diagram of the device 900 that battery and main equipment disconnect according to shown in an exemplary embodiment.For example, device 900 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.
The integrated operation of processing components 902 common control device 900, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Treatment element 902 can comprise that one or more processors 920 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more modules, is convenient to mutual between processing components 902 and other assemblies.For example, processing element 902 can comprise multi-media module, to facilitate mutual between multimedia groupware 908 and processing components 902.
Storer 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
Electric power assembly 906 provides electric power for installing 900 various assemblies.Electric power assembly 906 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 900.
Multimedia groupware 908 is included in the screen that an output interface is provided between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to output and/or input audio signal.For example, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 904 or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 914 comprises one or more sensors, is used to device 900 that the state estimation of various aspects is provided.For example, sensor module 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, for example described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 914 or 900 1 assemblies of device changes, user is with device 900 existence that contact or do not have the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to be convenient to the communication of wired or wireless mode between device 900 and other equipment.Device 900 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 904 of instruction, above-mentioned instruction can have been carried out said method by the processor 920 of device 900.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
The device that disclosure embodiment provides; by generate shutdown command according to the shutdown indicator signal getting under open state; and then shutdown command is sent to protection IC; by protection IC, controlled after MOSFET disconnection; whether according to the state of MOSFET, control battery is connected with main equipment; because MOSFET and protection IC are the existing parts on mobile terminal, thereby can realize and control battery and main equipment disconnection without extra installation switching device, reduce resource consumption.
A non-provisional computer-readable recording medium, when the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of method of controlling battery and main equipment disconnection, and described method comprises:
Under open state, obtain shutdown indicator signal, and generate shutdown command according to shutdown indicator signal;
Shutdown command is sent to Protective IC IC, by protection IC, according to shutdown command, controls field effect transistor MOSFET and disconnect;
According to the off-state of MOSFET, control battery and main equipment disconnection.
The non-provisional computer-readable recording medium that disclosure embodiment provides; by generate shutdown command according to the shutdown indicator signal getting under open state; and then shutdown command is sent to protection IC; by protection IC, controlled after MOSFET disconnection; whether according to the state of MOSFET, control battery is connected with main equipment; due to MOSFET and protection IC be the existing parts on mobile terminal; thereby can realize and control battery and main equipment disconnection without extra installation switching device, reduced resource consumption.
Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (10)

1. control the method that battery and main equipment disconnect, it is characterized in that, described method is applied in mobile terminal, is provided with for carrying out Protective IC IC and the field effect transistor MOSFET of overcurrent protection in described mobile terminal, and described method, comprising:
Under open state, obtain shutdown indicator signal;
According to described shutdown indicator signal, generate shutdown command;
Described shutdown command is sent to protection IC, by described protection IC, according to described shutdown command, controls described MOSFET and disconnect;
According to the off-state of described MOSFET, control battery and main equipment disconnection.
2. method according to claim 1, is characterized in that, the described shutdown indicator signal of obtaining under open state, comprising:
Under off-mode, whether detector switch button is selected;
If it is selected described switch key to be detected, generate shutdown indicator signal.
3. method according to claim 1, is characterized in that, described by described shutdown command be sent to protection IC before, also comprise:
Determine the shutdown time delay of system;
To described protection IC, send the delay switching-off instruction of the shutdown time delay of carrying system, after the shutdown time delay of the system of being carried in the time that receives shutdown command reaches delay switching-off instruction by described protection IC, according to described shutdown command, control MOSFET and disconnect.
4. according to the method described in arbitrary claim in claims 1 to 3, it is characterized in that, described method also comprises:
Under off-mode, obtain start indicator signal, and generate start-up command according to described start indicator signal;
Described start-up command is sent to described protection IC, by described protection IC, according to described start-up command, controls described MOSFET UNICOM;
According to described MOSFET UNICOM state, control being connected of battery and main equipment.
5. method according to claim 4, is characterized in that, the described start indicator signal of obtaining under off-mode, comprising:
Whether selectedly under off-mode, detect starting key;
If it is selected described starting key to be detected, generate start indicator signal.
6. control the device that battery and main equipment disconnect, it is characterized in that, described application of installation, in mobile terminal, is provided with in described mobile terminal for carrying out Protective IC IC and the field effect transistor MOSFET of overcurrent protection, and described device, comprising:
The first acquisition module, for obtaining shutdown indicator signal under open state;
The first generation module, for generating shutdown command according to described shutdown indicator signal;
The first sending module, for described shutdown command being sent to protection IC, controls described MOSFET by described protection IC according to described shutdown command and disconnects;
The first control module, for controlling battery and main equipment disconnection according to the off-state of described MOSFET.
7. device according to claim 6, is characterized in that, described the first acquisition module, comprising:
Detecting unit, whether selected for detector switch button under off-mode;
Generation unit, for when described switch key being detected when selected, generates shutdown indicator signal.
8. device according to claim 6, is characterized in that, described device, also comprises:
Determination module, for determining the shutdown time delay of system;
The second sending module; for send the delay switching-off instruction of the shutdown time delay of carrying system to described protection IC; after the shutdown time delay of the system of being carried in the time that receives shutdown command reaches delay switching-off instruction by described protection IC, according to described shutdown command, control MOSFET and disconnect.
9. according to the device described in arbitrary claim in claim 6 to 8, it is characterized in that, described device also comprises:
The second acquisition module, for obtaining start indicator signal under off-mode;
The second generation module, for generating start-up command according to described start indicator signal;
The 3rd sending module, for described start-up command being sent to described protection IC, controls described MOSFET UNICOM by described protection IC according to described start-up command;
The second control module, for controlling being connected of battery and main equipment according to described MOSFET UNICOM state.
10. device according to claim 9, is characterized in that, described the second acquisition module, comprising:
Detecting unit, whether selected for detect starting key under off-mode;
Generation unit, for when described starting key being detected when selected, generates start indicator signal.
CN201410293622.8A 2014-06-25 2014-06-25 Method and device for controlling battery to be disconnected from main equipment Pending CN104111719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410293622.8A CN104111719A (en) 2014-06-25 2014-06-25 Method and device for controlling battery to be disconnected from main equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410293622.8A CN104111719A (en) 2014-06-25 2014-06-25 Method and device for controlling battery to be disconnected from main equipment

Publications (1)

Publication Number Publication Date
CN104111719A true CN104111719A (en) 2014-10-22

Family

ID=51708543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410293622.8A Pending CN104111719A (en) 2014-06-25 2014-06-25 Method and device for controlling battery to be disconnected from main equipment

Country Status (1)

Country Link
CN (1) CN104111719A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764128A (en) * 2016-05-16 2016-07-13 广东欧珀移动通信有限公司 Power supply control method and device of mobile terminal
CN106100071A (en) * 2016-08-17 2016-11-09 北京拓盛智联技术有限公司 A kind of battery protecting circuit
CN106681473A (en) * 2016-06-24 2017-05-17 乐视控股(北京)有限公司 Mobile terminal shutdown method and mobile terminal
CN106684972A (en) * 2016-12-12 2017-05-17 恒信大友(北京)科技有限公司 Driving device and driving method for increasing standby time of batteries
CN108227900A (en) * 2017-12-29 2018-06-29 深圳Tcl新技术有限公司 Electronic equipment, energy-saving control method, energy saver and readable storage medium storing program for executing
CN111782028A (en) * 2020-06-22 2020-10-16 北京小米移动软件有限公司 Electronic device, control method thereof, and storage medium
CN112162498A (en) * 2020-09-27 2021-01-01 重庆市海普软件产业有限公司 Intelligent switch protection system and method based on Internet of things
CN112952930A (en) * 2021-01-26 2021-06-11 Oppo广东移动通信有限公司 Ring and working method of ring
CN114489825A (en) * 2022-04-13 2022-05-13 荣耀终端有限公司 Electronic equipment and shutdown method thereof
EP4080723A1 (en) * 2021-04-23 2022-10-26 Harman International Industries, Incorporated Power circuit for battery powered wearable device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2779456Y (en) * 2005-01-20 2006-05-10 英业达股份有限公司 Electrical power control unit (EPCU) with reduced shutdown power consumption
CN101349938A (en) * 2008-08-15 2009-01-21 深圳市神舟电脑股份有限公司 System for isolating notebook computer battery and mainboard power supply
CN201196750Y (en) * 2008-01-28 2009-02-18 微盟电子(昆山)有限公司 Second power switching device used for notebook computer
CN201440238U (en) * 2009-05-21 2010-04-21 昆达电脑科技(昆山)有限公司 Power saving circuit for electronic device
CN201477516U (en) * 2009-08-21 2010-05-19 沈怀仁 Computer standby energy-saving controller
CN101740806A (en) * 2008-11-21 2010-06-16 神讯电脑(昆山)有限公司 Electricity saving battery
CN101893929A (en) * 2009-05-21 2010-11-24 昆达电脑科技(昆山)有限公司 Power-saving circuit of electronic device
CN103105921A (en) * 2013-01-30 2013-05-15 山东超越数控电子有限公司 Method for reducing lithium battery static power consumption under laptop shutdown state

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2779456Y (en) * 2005-01-20 2006-05-10 英业达股份有限公司 Electrical power control unit (EPCU) with reduced shutdown power consumption
CN201196750Y (en) * 2008-01-28 2009-02-18 微盟电子(昆山)有限公司 Second power switching device used for notebook computer
CN101349938A (en) * 2008-08-15 2009-01-21 深圳市神舟电脑股份有限公司 System for isolating notebook computer battery and mainboard power supply
CN101740806A (en) * 2008-11-21 2010-06-16 神讯电脑(昆山)有限公司 Electricity saving battery
CN201440238U (en) * 2009-05-21 2010-04-21 昆达电脑科技(昆山)有限公司 Power saving circuit for electronic device
CN101893929A (en) * 2009-05-21 2010-11-24 昆达电脑科技(昆山)有限公司 Power-saving circuit of electronic device
CN201477516U (en) * 2009-08-21 2010-05-19 沈怀仁 Computer standby energy-saving controller
CN103105921A (en) * 2013-01-30 2013-05-15 山东超越数控电子有限公司 Method for reducing lithium battery static power consumption under laptop shutdown state

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764128A (en) * 2016-05-16 2016-07-13 广东欧珀移动通信有限公司 Power supply control method and device of mobile terminal
CN105764128B (en) * 2016-05-16 2019-06-14 Oppo广东移动通信有限公司 The method for controlling power supply and device of mobile terminal
CN106681473A (en) * 2016-06-24 2017-05-17 乐视控股(北京)有限公司 Mobile terminal shutdown method and mobile terminal
CN106100071A (en) * 2016-08-17 2016-11-09 北京拓盛智联技术有限公司 A kind of battery protecting circuit
CN106100071B (en) * 2016-08-17 2019-02-19 北京拓盛智联技术有限公司 A kind of battery protecting circuit
CN106684972A (en) * 2016-12-12 2017-05-17 恒信大友(北京)科技有限公司 Driving device and driving method for increasing standby time of batteries
CN108227900A (en) * 2017-12-29 2018-06-29 深圳Tcl新技术有限公司 Electronic equipment, energy-saving control method, energy saver and readable storage medium storing program for executing
CN111782028A (en) * 2020-06-22 2020-10-16 北京小米移动软件有限公司 Electronic device, control method thereof, and storage medium
CN112162498A (en) * 2020-09-27 2021-01-01 重庆市海普软件产业有限公司 Intelligent switch protection system and method based on Internet of things
CN112952930A (en) * 2021-01-26 2021-06-11 Oppo广东移动通信有限公司 Ring and working method of ring
EP4080723A1 (en) * 2021-04-23 2022-10-26 Harman International Industries, Incorporated Power circuit for battery powered wearable device
CN114489825A (en) * 2022-04-13 2022-05-13 荣耀终端有限公司 Electronic equipment and shutdown method thereof

Similar Documents

Publication Publication Date Title
CN104111719A (en) Method and device for controlling battery to be disconnected from main equipment
US10116157B2 (en) Method and device for charging batteries in mobile devices
CN104298547A (en) Terminal setting method and device
CN104578372A (en) Method and device for controlling charging of terminal device
CN104505879A (en) Charging method and device
CN104950775A (en) Circuit, method and device for waking up main MCU (micro control unit)
CN104320542A (en) Method and device for sending reminding message
CN104750597A (en) User guide method and device during low power
CN105117211A (en) Method and device for message prompts
CN104023129A (en) Power saving method and device thereof
CN105098273A (en) Charging method and device
CN103927200A (en) Electronic equipment awakening method and related device
CN105068632A (en) Terminal charging method and device and terminal
CN105356529A (en) Prompting method and apparatus for rapid charging state
CN105472676A (en) Network connection method and device
CN105137831A (en) Power-saving mode starting method and device
CN104486490A (en) Method and device for notifying battery capacity
CN105068848A (en) System upgrading method and apparatus
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN108091809A (en) Battery, equipment, charge control method and device
CN104779420A (en) Battery charging method and device
CN105093980A (en) Method and apparatus for controlling start-stop of smart apparatus
CN106325454B (en) Power supply control device and method and electronic equipment
CN108091808A (en) Battery, equipment, charge control method and device
CN105511307A (en) Control method and apparatus of electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141022

RJ01 Rejection of invention patent application after publication