The content of the invention
In consideration of it, a kind of method that the present invention provides terminal and its monitoring main battery and reserve battery charging process, canSo that user promptly and accurately knows the charging process of main battery and reserve battery.
The monitoring terminal main battery of one embodiment of the invention and the method for reserve battery charging process, including:First electric currentDetection unit and the second current detecting unit detect the electric current input information of main battery and reserve battery respectively;Detecting electricityStream is exported during to main battery and reserve battery respectively, and terminal produces the first charging signals, equal to identify main battery and reserve batteryIn charged state;Exported to one of main battery and reserve battery only electric current is detected, terminal produces second to chargeSignal, with the battery charging complete that the battery for being identified with electric current input is in charged state and does not have electric current to be input into;DetectingThere is not electric current to export during to main battery and reserve battery, terminal produces the 3rd charging signals, to identify main battery and standby electricityPond bulk charge is completed.
Alternatively, methods described also includes:Terminal produces charging clock control signal according to predetermined period, and is sent to theOne current detecting unit and the second current detecting unit, wherein the charging clock control signal is used to indicate the first current detectingUnit and the second current detecting unit detect the electric current input information of main battery and reserve battery respectively.
Alternatively, methods described also includes:If exporting big to the difference between currents of main battery in two neighboring predetermined periodIn or equal to the first predetermined threshold value, and/or output to the difference between currents of reserve battery are more than or equal to the second predetermined threshold value, then eventuallyThe difference between currents by the first electric current stabilization unit controlled output being connected with main battery to main battery are held less than the first default thresholdValue, and the second electric current stabilization unit controlled output being connected with reserve battery is pre- less than second to the difference between currents of reserve batteryIf threshold value.
Alternatively, the first electric current stabilization unit and the second electric current stabilization unit include resistance.
The terminal with main battery and reserve battery of one embodiment of the invention, including:First current detecting unit, is used forDetect the electric current input information of main battery;Second current detecting unit, the electric current for detecting reserve battery is input into information;ChargeControl unit, for producing the first charging signals to identify having detected when electric current is exported to main battery and reserve battery respectivelyMain battery and reserve battery are in charged state, are exported to one of main battery and reserve battery only electric current is detectedWhen produce the second charging signals be identified with electric current input battery be in charged state and do not have electric current be input into battery chargeComplete, and the 3rd charging signals are produced to identify main electricity when detecting and not having electric current to export to main battery and reserve batteryPond and reserve battery bulk charge are completed.
Alternatively, the charging control unit is additionally operable to produce charging clock control signal according to predetermined period, and sendsTo the first current detecting unit and the second current detecting unit, wherein the charging clock control signal is used to indicate the first electric currentDetection unit and the second current detecting unit detect the electric current input information of main battery and reserve battery respectively.
Alternatively, the terminal also includes the first electric current stabilization unit being connected with main battery and is connected with reserve batteryThe second electric current stabilization unit, if charging control unit detects the electric current exported in two neighboring predetermined period to main batteryDifference be more than or equal to the first predetermined threshold value, and/or output to reserve battery difference between currents more than or equal to the second default thresholdIt is worth, then charging control unit presets threshold less than first by the difference between currents of the first electric current stabilization unit controlled output to main batteryValue, and the second predetermined threshold value is less than by the stable unit controlled output of the second electric current to the difference between currents of reserve battery.
Alternatively, the first electric current stabilization unit and the second electric current stabilization unit include resistance.
Beneficial effect:The embodiment of the present invention detects master respectively by the first current detecting unit and the second current detecting unitThe electric current input information of battery and reserve battery, and produce corresponding charging signals according to testing result to identify main battery and standbyUse battery present charge state such that it is able to so that user promptly and accurately knows the charging process of main battery and reserve battery.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the skill of each exemplary embodiment provided by the present inventionArt scheme is clearly and completely described.In the case where not conflicting, the feature in following each embodiment and embodiment canTo be mutually combined.
Fig. 1 is referred to, is the method for the monitoring main battery and reserve battery charging process of one embodiment of the invention.Wherein,Reserve battery can behave as terminal bonnet or peripheral hardware external member with lithium battery as the secondary power sources of terminal.When main batteryWhen electricity is less than default electricity, reserve battery starts to be powered for terminal, and now, main battery can coordinate reserve battery one to be all endEnd power supply, it is also possible to stop power supply and individually powered by reserve battery.The present embodiment can be using discharge cut-off voltage as main electricityWhether the electricity in pond is less than the criterion of default electricity, if the current discharge voltage of main battery is equal to the type battery currentDischarge cut-off voltage under environment, then judge that the electricity of main battery is less than default electricity, so that the electricity of main battery need not be calculated,It is simple to operate.
With the use of terminal, the electricity of main battery and reserve battery is gradually decreased, when reaching to a certain degree, it is necessary to rightBoth are charged.The method of the present embodiment can include step S11~S14, and these steps can be considered and terminal is chargedCarry out successively afterwards.
S11:First current detecting unit and the second current detecting unit detect the electric current of main battery and reserve battery respectivelyInput information.
So-called electric current input information understandable is whether main battery and reserve battery have electric current to be input into, and further, this is defeatedEnter the charging current whether electric current is equal to main battery.
When the terminal charge, it is assumed that the charging current of main battery be I, then the present embodiment preferably the charging current ISimultaneously for reserve battery charges.
S12:When having detected electric current and exporting respectively to main battery and reserve battery, terminal produces the first charging signals,Charged state is in identify main battery and reserve battery.
S13:Exported to one of main battery and reserve battery only electric current is detected, terminal produces the second charging letterNumber, with the battery charging complete that the battery for being identified with electric current input is in charged state and does not have electric current to be input into.
Under normal conditions, the electricity of the electricity more than reserve battery consumption of main battery consumption, therefore the present embodiment is preferredWith the carrying out charged, reserve battery charging complete first, and main battery continues to charge.In this step, the first current detectingUnit has detected electric current input main battery, and reserve battery is input into without electric current, and terminal produces the second charging signals, to identifyMain battery is in charged state and reserve battery charging complete (i.e. in charging complete state).
When certainly, being less than the electricity that reserve battery is consumed for the electricity that main battery is consumed, in being somebody's turn to do for the present embodimentIn step, the first current detecting unit detects no electric current input main battery, and has electric current to be input into reserve battery, and terminal is producedSecond charging signals, to identify reserve battery, in charged state, main battery is in charging complete state.
S14:Detect do not there is electric current to export to main battery and reserve battery when, terminal produce the 3rd charging signals,Completed with identifying main battery and reserve battery bulk charge.
In the present embodiment, above-mentioned first charging signals, the second charging signals and the 3rd charging signals are pointed out as one kindThe mark of the charging process of user's main battery and reserve battery, can specifically be set according to actual conditions.For example, above threeSignal can specifically be set as at least one in word, terminal speech, jingle bell and the vibrations being shown on terminal screen.
From the foregoing, the embodiment of the present invention is detected respectively by the first current detecting unit and the second current detecting unitThe electric current input information of main battery and reserve battery, and corresponding charging signals are produced according to testing result with identify main battery andReserve battery present charge state such that it is able to so that user promptly and accurately knows the charging process of main battery and reserve battery.
In step s 11, terminal can produce charging clock control signal according to predetermined period, and be sent to the first electric currentDetection unit and the second current detecting unit, wherein the charging clock control signal be used for indicate the first current detecting unit andSecond current detecting unit detects the electric current input information of main battery and reserve battery respectively.That is, pre- at interval of oneIf cycle t, the central processing unit of terminal exports a charging clock control signal, the frequency of the charging clock control signal this hairBright not limited, for example charging clock control signal can export n clock pulses in a predetermined period t, thenFirst current detecting unit and the second current detecting unit are respectively according to predetermined period cycle detection main battery and reserve batteryElectric current is input into information.
Fig. 2 is referred to, when having detected electric current and exporting respectively to main battery and reserve battery, if two neighboring pre-If output to the difference between currents of main battery are more than or equal to the first predetermined threshold value in the cycle, and/or export to the electricity of reserve batteryThe difference of stream is more than or equal to the second predetermined threshold value, then it represents that main battery and/or charging current it is unstable, now, terminal can be withThe the second electric current stabilization unit being connected by the first electric current stabilization unit being connected with main battery and with reserve battery controls to fillThe stabilization input of electric current.Specifically:If it is big to the difference between currents of main battery to detect output in two neighboring predetermined periodIn or equal to the first predetermined threshold value, then terminal is by the stable unit controlled output of the first electric current being connected with main battery to main batteryDifference between currents be less than the first predetermined threshold value;If detect output in two neighboring predetermined period to reserve battery electric current itDiffer from and be more than or equal to the second predetermined threshold value, then terminal stablizes unit controlled output extremely by the second electric current being connected with reserve batteryThe difference between currents of reserve battery are less than the second predetermined threshold value;If exported in two neighboring predetermined period to the electric current of main batteryDifference be more than or equal to the first predetermined threshold value, and output to reserve battery difference between currents more than or equal to the second default thresholdIt is worth, then terminal can be less than by the first electric current stabilization unit controlled output to the difference between currents of main battery being connected with main batteryFirst predetermined threshold value, and the second electric current being connected with reserve battery stablizes the difference between currents of unit controlled output to reserve batteryLess than the second predetermined threshold value.
In concrete application scene, the first electric current stabilization unit and the second electric current stabilization unit can be resistance, that is, pass throughAdjustment accesses the size of the resistance of charging circuit, adjusts charging current.
If it should be appreciated that the above-mentioned functions of the embodiment of the present invention are using realization in the form of SFU software functional unit and as solelyVertical production marketing or when using, is storable in a computer read/write memory medium, i.e. the embodiment of the present invention can be withThe form of software product is embodied, it include some instructions be used to cause a station terminal perform the various embodiments described above whole orPart steps.
Fig. 3 is referred to, is the terminal of one embodiment of the invention.The terminal 30 except main battery 36 and reserve battery 37 itOutward, the first current detecting unit 31, the second current detecting unit 32 and charging control unit 33 can also be included.First electric current is examinedSurveying unit 31 is used to detect the electric current input information of main battery 36.Second current detecting unit 32 is used to detect reserve battery 37Electric current is input into information.Charging control unit 33 is used for when having detected electric current and exporting respectively to main battery 36 and reserve battery 37Produce the first charging signals and be in charged state to identify main battery 36 and reserve battery 37, detect only electric current outputThe second charging signals are produced during to one of main battery 36 and reserve battery 37 be identified with electric current input battery be in fillElectricity condition and do not have the battery charging complete that electric current is input into, and do not there is electric current to export to main battery 36 and standby detectingThe 3rd charging signals are produced to be completed to identify main battery 36 and the bulk charge of reserve battery 37 during with battery 37.
Alternatively, the charging control unit 33 is additionally operable to produce charging clock control signal according to predetermined period, concurrentlyThe first current detecting unit 31 and the second current detecting unit 32 are given, wherein the charging clock control signal is used to indicate theOne current detecting unit 31 and the second current detecting unit 32 detect the electric current input letter of main battery 36 and reserve battery 37 respectivelyBreath.That is, charging control unit 33 can control the first current detecting unit 31 and the second current detecting unit 32 to distinguishElectric current according to predetermined period cycle detection main battery 36 and reserve battery 37 is input into information.
When having detected electric current and exporting respectively to main battery 36 and reserve battery 37, if in two neighboring predetermined periodInterior output to the difference between currents of main battery 36 are more than or equal to the first predetermined threshold value, and/or export to the electric current of reserve battery 37Difference be more than or equal to the second predetermined threshold value, then it represents that main battery 36 and/or charging current it is unstable, now, terminal can be withThe the second electric current stabilization unit being connected by the first electric current stabilization unit 34 being connected with main battery 36 and with reserve battery 37The stabilization input of 35 control charging currents.Specifically:If detect in two neighboring predetermined period exported to main battery 36Difference between currents are more than or equal to the first predetermined threshold value, then terminal is controlled by the first electric current stabilization unit 34 being connected with main battery 36System output to the difference between currents of main battery 36 are less than the first predetermined threshold value;If detect in two neighboring predetermined period exported extremelyThe difference between currents of reserve battery 37 are more than or equal to the second predetermined threshold value, then terminal is electric by be connected with reserve battery 37 secondThe stream stabilization controlled output of unit 35 to the difference between currents of reserve battery 37 are less than the second predetermined threshold value;If two neighboring defaultOutput to the difference between currents of main battery 36 are more than or equal to the first predetermined threshold value in cycle, and export to the electricity of reserve battery 37The difference of stream is more than or equal to the second predetermined threshold value, then terminal can be by the stable unit 34 of the first electric current being connected with main battery 36Controlled output is steady less than the first predetermined threshold value, and the second electric current being connected with reserve battery 37 to the difference between currents of main battery 36Order 35 controlled outputs of unit to the difference between currents of reserve battery 37 are less than the second predetermined threshold value.
In concrete application scene, the first electric current stabilization unit 34 and second electric current stabilization unit 35 can be resistance, i.e.,By adjusting the size of the resistance for accessing charging circuit, charging current is adjusted.
The above-mentioned module correspondence of the terminal 30 of the embodiment of the present invention performs the monitoring main battery of above-mentioned each embodiment and standbyWith the method for battery charging process, with same technique effect.
It should be appreciated that above-mentioned module is divided into a kind of division of logic function, there can be other drawing when actually realizingThe mode of dividing, such as two modules are desirably integrated into another system, or some features can be ignored, or are not performed.In addition, mouldBlock connection each other can be by some interfaces, or electrical or other forms.Above-mentioned module can both use softThe form of part functional block is realized, it would however also be possible to employ the form of the hardware for example shown in Fig. 4 is realized.
Refering to Fig. 4, the terminal 30 includes that at least one processor 41, at least one memory 42 and at least one are logicalLetter bus 43, communication bus 43 calls various data for processor 41, and memory 42 is instructed for storage program.For convenienceIllustrate, the quantity of processor 41 shown in Fig. 4, memory 42 and communication bus 43 is one.
Wherein, the processor 41 is used for:
Execute program instructions are input into information to detect the electric current of main battery and reserve battery;
Execute program instructions with detecting when electric current is exported to main battery and reserve battery respectively produce first chargeSignal is in charged state to identify main battery and reserve battery, is exported to main battery and standby electricity only electric current is detectedThe second charging signals are produced during one of pond does not have electric current to be input into be identified with the battery of electric current input in charged stateBattery charging complete, and detect do not there is electric current to export to main battery and reserve battery when produce the 3rd charging signalsCompleted with identifying main battery and reserve battery bulk charge.
Alternatively, the processor 41 is additionally operable to produce charging clock control signal according to predetermined period, during the chargingClock control signal is used for the electric current input information for indicating to start to detect main battery and reserve battery.That is, processor 41 canInformation is input into the electric current that cycle detection main battery and reserve battery are distinguished according to predetermined period.
When having detected electric current and exporting respectively to main battery and reserve battery, if defeated in two neighboring predetermined periodGo out to the difference between currents of main battery and be more than more than or equal to the first predetermined threshold value, and/or output to the difference between currents of reserve batteryOr equal to the second predetermined threshold value, then it represents that main battery and/or charging current it is unstable, now, processor 41 can control to fillThe stabilization input of electric current.Specifically:If it is big to the difference between currents of main battery to detect output in two neighboring predetermined periodIn or equal to the first predetermined threshold value, then processor 41 is by the stable unit controlled output of the first electric current being connected with main battery to masterThe difference between currents of battery are less than the first predetermined threshold value;If detecting the electricity exported in two neighboring predetermined period to reserve batteryThe difference of stream is more than or equal to the second predetermined threshold value, then processor 41 is by the stable unit control of the second electric current being connected with reserve batterySystem output to the difference between currents of reserve battery are less than the second predetermined threshold value;If exported in two neighboring predetermined period to main electricityThe difference between currents in pond are more than or equal to the first predetermined threshold value, and output to the difference between currents of reserve battery are more than or equal to secondPredetermined threshold value, then processor 41 can be by the electricity of the stable unit controlled output of the first electric current being connected with main battery to main batteryThe difference of stream is less than the first predetermined threshold value, and the second electric current being connected with reserve battery stablizes unit controlled output to reserve batteryDifference between currents be less than the second predetermined threshold value.
In concrete application scene, the first electric current stabilization unit and the second electric current stabilization unit can be resistance, that is, pass throughAdjustment accesses the size of the resistance of charging circuit, adjusts charging current.
Terminal described in embodiment of the present invention full text can be smart mobile phone, portable communication appts, PDA (PersonalDigital Assistant, personal digital assistant or panel computer), the mobile terminal such as notebook computer, or be worn onLimbs or the wearable device being embedded in clothing, jewellery, accessory, can also be that other have main battery and reserve batteryIntelligent electronic device.
It is to be appreciated that the foregoing is only embodiments of the invention, the scope of the claims of the invention is not thereby limited, it is everyThe equivalent structure or equivalent flow conversion made using description of the invention and accompanying drawing content, such as technology is special between each embodimentThat levies be combined with each other, or is directly or indirectly used in other related technical fields, is similarly included in patent of the invention and protectsIn the range of shield.