Summary of the invention
Embodiment of the present invention is designed to provide a kind of terminal device, charging method, electricity calculation method, so that
While realizing quick charge, the calorific value of battery can be reduced to the greatest extent, extend battery.
In order to solve the above technical problems, embodiments of the present invention provide a kind of terminal device, comprising: charging interface, N
Charging circuit, N are the natural number greater than 1;N charging circuit is parallel to charging interface;Charging circuit include rechargeable battery and
Charging chip, rechargeable battery are electrically connected at charging chip, and charging chip is electrically connected at charging interface;Wherein, charging chip
It charges according to preset charging current to rechargeable battery, preset charging current is less than preset threshold.
Embodiments of the present invention additionally provide a kind of charging method, are applied to terminal device, and terminal device includes charging
Interface, N charging circuit, N are the natural number greater than 1;N charging circuit is parallel to charging interface;Charging circuit includes charging
Battery and charging chip, rechargeable battery are electrically connected at charging chip, and charging chip is electrically connected at charging interface;Above-mentioned charging
Method includes: that charging chip charges to rechargeable battery according to preset charging current, and preset charging current is less than default
Threshold value.
Embodiments of the present invention additionally provide a kind of electricity calculation method, are applied to terminal device, and terminal device includes
Charging interface, N charging circuit, N are the natural number greater than 1;N charging circuit is parallel to charging interface;Charging circuit includes
Rechargeable battery, charging chip and voltameter chip, rechargeable battery are electrically connected at charging chip;Rechargeable battery is electrically connected at electricity
Meter chip, charging chip are electrically connected at charging interface;Electricity calculation method includes: the voltameter core in every charging circuit
Piece calculates the electricity of the rechargeable battery in charging circuit;The calculated electricity of voltameter chip in every charging circuit is tired out
Add, obtains total electricity.
Embodiment of the present invention in terms of existing technologies, by the way that N charging circuit is arranged, realizes muti-piece rechargeable battery
It charging instead of one piece of rechargeable battery, N charging circuit is parallel to charging interface, i.e., and it is parallel with one another between multiple charging circuits, i.e.,
Make have a charging circuit failure, other charging circuits normal work will not be influenced.In addition, the charging chip in charging circuit
It charges according to preset charging current to rechargeable battery, preset charging current is less than preset threshold;It is lower by being arranged
Charging current can reduce the calorific value of rechargeable battery, while extending the service life of rechargeable battery.
In addition, above-mentioned charging circuit further include: voltameter chip;Rechargeable battery is electrically connected at voltameter chip;Electricity
Meter chip is used to calculate the electricity of rechargeable battery.Increase voltameter chip in the charge circuit, enables terminal device timely
The battery condition of each rechargeable battery is recognized, to carry out electricity prompting.
In addition, above-mentioned voltameter chip calculates the electricity of rechargeable battery by the input or output current of detection rechargeable battery
Amount.Provide a kind of specific method for calculating electric quantity of rechargeable battery, when having detected that electric current inputs rechargeable battery, charging electricity
The electricity in pond increases, and when having detected that electric current flows out rechargeable battery, the electricity of rechargeable battery increases, and is inputted by detection or defeated
The size of electric current out, in addition the detection to the time, can effectively calculate the electricity of rechargeable battery.
In addition, the battery capacity of the rechargeable battery in every charging circuit is identical in above-mentioned N charging circuit.Every piece is filled
The battery capacity of battery is identical, is conveniently uniformly processed.
In addition, the preset charging current in every charging circuit is identical in above-mentioned N charging circuit.By the way that phase is arranged
Same charging current, may make the calorific value of every piece of rechargeable battery more balanced.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.With
Under the division of each embodiment be for convenience, any restriction should not to be constituted to specific implementation of the invention, it is each
Embodiment can be combined with each other mutual reference under the premise of reconcilable.
The first embodiment of the present invention is related to a kind of terminal devices, comprising: charging interface, N charging circuit, N are big
In 1 natural number;N charging circuit is parallel to charging interface;Charging circuit includes rechargeable battery and charging chip, rechargeable battery
It is electrically connected at charging chip, charging chip is electrically connected at charging interface;Wherein, charging chip is according to preset charging current
It charges to rechargeable battery, preset charging current is less than preset threshold.By the way that N charging circuit, every charging electricity is arranged
The charging current on road is lower, can reduce the calorific value of battery to the greatest extent while realizing quick charge, extend battery and use the longevity
Life.The realization details of the terminal device of present embodiment is specifically described below, the following contents only mentions for convenience of understanding
The realization details of confession not implements the necessary of this programme.
Terminal device in present embodiment is as shown in Figure 1, in terminal device, including N charging circuit, N are greater than 1
Natural number;Charging circuit 1 is to charging circuit N parallel in charging interface;In every charging circuit, including charging chip and fill
Battery, rechargeable battery are electrically connected at charging chip, and charging chip is electrically connected at charging interface, for example, charging circuit 1 wraps
Containing charging chip 1 and rechargeable battery 1, rechargeable battery 1 is electrically connected at charging chip 1, and charging chip 1 is electrically connected at charging
Mouthful, charging circuit N includes charging chip N and rechargeable battery N, and rechargeable battery N is electrically connected at charging chip N, charging chip N electricity
Property is connected to charging interface;Charging chip charges to rechargeable battery according to preset charging current, preset charging current
Less than preset threshold, for example, preset threshold is 600mA, charging chip 1 is according to preset charging current 500mA to rechargeable battery 1
It charges, charging chip N charges to rechargeable battery N according to preset charging current 300mA.
Specifically, in practical applications, it includes two charging circuits that is, in terminal device that N, which can be 2, charging chip
Structural schematic diagram is as shown in Figure 2.2 charging circuits are set, fast charge not only may be implemented, but also the fever of every piece of battery can be reduced
Amount extends battery life, moreover, because containing charging chip in each charging circuit, 2 charging circuits, which are arranged, to be guaranteed
The calorific value of every piece of battery is reduced, while extending battery life, reduces hardware cost.
In one example, terminal device includes two charging circuits, the battery of the rechargeable battery in every charging circuit
Capacity is identical, and the preset charging current in every charging circuit is identical.For example, the battery capacity of two pieces of rechargeable batteries is
2500mAh, two pieces of preset charging currents of rechargeable battery are 2000mA, in this way, it is only necessary to which 2500mAh/2000mA=0.8h is
It can be fully charged by battery;And when using one piece of battery capacity to be charged for the rechargeable battery of 5000mAh, if wanting to be filled with 0.8h
Full electricity, the charging current needed are 6250mA, are needed much larger than 2000mA if wanting to be charged with the charging current of 2000mA
Want 2.5h;Therefore, it charges in such a way that muti-piece battery is in parallel, is not only able to achieve quick charge, but also can be reduced the hair of battery
Heat extends battery.
Present embodiment compared with the prior art for, by be arranged N charging circuit, realize muti-piece rechargeable battery replace one
The charging of block rechargeable battery, N charging circuit is parallel to charging interface, i.e., parallel with one another between multiple charging circuits, even if having one
Charging circuit failure will not influence other charging circuits normal work.In addition, the charging chip in charging circuit is according to pre-
If charging current charge to rechargeable battery, preset charging current be less than preset threshold;By the way that lower charging is arranged
Electric current can reduce the calorific value of rechargeable battery, while extend the service life of rechargeable battery.
Second embodiment of the present invention is related to a kind of terminal device.Second embodiment and first embodiment substantially phase
Together, it is in place of the main distinction: includes a voltameter core in every charging circuit in second embodiment of the invention
Piece.
Terminal device structural schematic diagram in present embodiment is as shown in Fig. 2, in every charging circuit, including charging core
Piece, rechargeable battery and voltameter chip, wherein the connection relationship of charging chip and rechargeable battery has been in the first embodiment
Illustrate, to avoid repeating, which is not described herein again, and rechargeable battery is electrically connected at voltameter chip, and voltameter chip is for calculating
The electricity of rechargeable battery.For example, rechargeable battery 1 is electrically connected at voltameter chip 1, voltameter chip 1 in charging circuit 1
For calculating the electricity of rechargeable battery 1, in charging circuit N, rechargeable battery N is electrically connected at voltameter chip N, voltameter core
Piece N is used to calculate the electricity of rechargeable battery N.
Specifically, in practical applications, voltameter chip can by detect the input or output current of rechargeable battery come
Calculate the electricity of rechargeable battery.For example, as it is known that the capacity of rechargeable battery is 2500mAh, electric quantity of rechargeable battery has been expired, voltameter core
Piece detects the rechargeable battery with the output current discharge 0.5h of 2000mA, then remaining capacity is 2500mAh-2000mA*0.5h
=1500mAh, the electricity percentage of the rechargeable battery are 1500mAh/2500mAh=60%.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Third embodiment of the invention is related to a kind of charging method, as shown in Figure 3, comprising:
Step 301: preset charged electric current.
Specifically, every piece of rechargeable battery due to itself material, can all have a charging current upper limit, it is preset
Charging current is necessarily less than on this and limits.
Step 302: charging chip charges to rechargeable battery according to preset charging current.
Specifically, charging chip after connecting with charging interface, just with the output of preset charging current, makes rechargeable battery
It is charged with preset charging current.
It is not difficult to find that present embodiment is embodiment of the method corresponding with first embodiment or second embodiment,
Present embodiment can work in coordination implementation with first embodiment or second embodiment.First embodiment or the second embodiment party
The relevant technical details mentioned in formula are still effective in the present embodiment, and in order to reduce repetition, which is not described herein again.Accordingly
Ground, the relevant technical details mentioned in present embodiment are also applicable in first embodiment or second embodiment.
Four embodiment of the invention is related to a kind of electricity calculation method, as shown in Figure 4, comprising:
Step 401: the voltameter chip in every charging circuit calculates the electricity of the rechargeable battery in charging circuit.
Specifically, voltameter chip can be electric by the input or output that detect rechargeable battery in every charging circuit
Stream calculates the electricity of rechargeable battery.By taking terminal device includes two charging circuits as an example, rechargeable battery 1 and rechargeable battery 2
Battery capacity is 2500mAh, and voltameter chip 1 calculates the electricity of rechargeable battery 1, and voltameter chip 2 calculates rechargeable battery 2
Electricity.For example, rechargeable battery 1 and rechargeable battery 2 charge since electricity is 0, charging current is 2000mA charging
Time is 0.5h, then voltameter chip 1 can calculate the electricity of rechargeable battery 1 by the input current of detection rechargeable battery 1
For 2000mA*0.5h=1000mAh, voltameter chip 2 can calculate charging electricity by the input current of detection rechargeable battery 2
The electricity in pond 2 is 2000mA*0.5h=1000mAh.
Step 402: the calculated electricity of the voltameter chip in every charging circuit being added up, total electricity is obtained.
Still by taking terminal device includes two charging circuits as an example, the battery capacity of rechargeable battery 1 and rechargeable battery 2 is
2500mAh, then total battery capacity of terminal device is 5000mAh, and the electricity that voltameter chip 1 calculates rechargeable battery 1 is
1000mAh, the electricity that voltameter chip 2 calculates rechargeable battery 2 is 1000mAh, then the total electricity of terminal device is 1000mAh
+ 1000mAh=2000mAh, the electricity percentage of terminal device are 2000mAh/5000mAh=40%.
Since second embodiment is corresponded to each other with present embodiment, present embodiment can be mutual with second embodiment
Match implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, implement second
The attainable technical effect of institute similarly may be implemented in the present embodiment in mode, no longer superfluous here in order to reduce repetition
It states.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.