CN104133512A - Power supply system, power supply control method and power supply control device - Google Patents

Power supply system, power supply control method and power supply control device Download PDF

Info

Publication number
CN104133512A
CN104133512A CN201410302890.1A CN201410302890A CN104133512A CN 104133512 A CN104133512 A CN 104133512A CN 201410302890 A CN201410302890 A CN 201410302890A CN 104133512 A CN104133512 A CN 104133512A
Authority
CN
China
Prior art keywords
charged power
arbitrary charged
power
power supply
resistance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410302890.1A
Other languages
Chinese (zh)
Other versions
CN104133512B (en
Inventor
雷振飞
孙伟
张晓燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201410302890.1A priority Critical patent/CN104133512B/en
Publication of CN104133512A publication Critical patent/CN104133512A/en
Application granted granted Critical
Publication of CN104133512B publication Critical patent/CN104133512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a power supply system, a power supply control method and a power supply control device and belongs to the technical field of electronic information. The method is applied to a terminal with the power supply system which at least comprises a PMU (power management unit), a CPU (central processing unit), resistors, an ADC (analog to digital converter) and an IIC (inter-integrated circuit); the PMU comprises LDO (low dropout) regulators of a first preset number and DCDC (direct current direct current) converters of a second preset number, the LDO regulators and the DCDC converters are used for supplying power to the terminal, and each of the LDO regulators and each of the DCDC converters is serially connected with one resistor with a determined resistance value; the ADC is in parallel connection with each resistor serially connected with the corresponding LDO regulator and the corresponding DCDC converter, and the ADC is used for detecting the dropout voltage of each resistor; the IIC is connected with the ADC and the CPU and used for sending the dropout voltage, detected by the ADC, at two ends of each resistor to the CPU. By the aid of the CPU, current values and current thresholds of any controlled power supply are obtained for controlling power supply of any controlled power supply according to the current values and current thresholds of any controlled power supply, and accordingly a more intelligent and flexible power supply way is provided.

Description

The method and apparatus of electric supply system, control Power supply
Technical field
The disclosure relates to electronic information technical field, particularly the method and apparatus of a kind of electric supply system, control Power supply.
Background technology
Along with the development of electronic information technology, mobile terminal becomes requisite article in people's life gradually.Power supply is as the important component part of mobile terminal, the power supply capacity of power supply directly affects the performance of mobile terminal, and the performance of mobile terminal to be user consider the important references index of mobile terminal when buying mobile terminal, therefore, how to control Power supply, the performance that improves mobile terminal, becomes the problem that those skilled in the art comparatively pay close attention to.
At present, electric supply system is by PMU (Power Management Unit mostly, Power Management Unit) and CPU (Central Processing Unit, central processing unit) dimerous, wherein, PMU is connected by bus with CPU, and LDO (the Low Drop Out that comprises some in PMU, low voltage difference) linear voltage regulator and DCDC (Direct Current Direct Current, direct current) converter, each LDO and DCDC power to terminal as a road power supply.With LDO, represent low pressure difference linear voltage regulator in this application, with DCDC, represent direct current transducer.Based on above-mentioned electric supply system, correlation technique, can be in the following way when controlling Power supply: first CPU sends power supply instruction to PMU, and PMU is after receiving the power supply instruction that CPU sends, according to power supply instruction, choose randomly a road power supply, and then control this road power supply and power to terminal.
In realizing process of the present disclosure, inventor finds that correlation technique at least exists following problem:
Correlation technique is when controlling Power supply, owing to choosing randomly a road power supply according to power supply instruction, and control this road power supply and power to terminal, yet the current value of Dang Gai road power supply is larger, to such an extent as to when approaching or surpassing the rated current of this road power supply, correlation technique will be controlled this road power supply and power to terminal, therefore, the mode of correlation technique control Power supply is intelligence not, and dirigibility is not high.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of electric supply system, controls the method and apparatus of Power supply.
According to the first aspect of disclosure embodiment, a kind of electric supply system is provided, described electric supply system at least comprises PMU, CPU, resistance, ADC (Analog to Digital Converter, digital to analog converter) and IIC (Inter-Integrated Circuit, IC bus);
Wherein, described PMU comprises the first predetermined number LDO and the second predetermined number DCDC, and described LDO and described DCDC be for to the power supply of described terminal, and each LDO and each DCDC resistance with definite resistance value of all connecting;
The resistance that described ADC connects with each LDO and each DCDC is in parallel, for detection of the voltage difference of each resistance;
Described IIC connects described ADC and described CPU, for the voltage difference at each resistance two ends that described ADC is detected, is sent to described CPU.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described electric supply system also comprises: management interface SPMI;
Described SPMI connects described PMU and described CPU, for described CPU, by described SPMI, obtains arbitrary LDO of described PMU and the magnitude of voltage of DCDC.
According to the second aspect of disclosure embodiment, a kind of method of controlling Power supply is provided, described method is applied to have the terminal of electric supply system, the electric supply system of described electric supply system as described in above-mentioned first aspect; Described method comprises:
Obtain the current value of arbitrary charged power;
Obtain the current threshold of described arbitrary charged power;
According to the current threshold of the current value of described arbitrary charged power and described arbitrary charged power, the power supply of described arbitrary charged power is controlled.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described in obtain the current value of arbitrary charged power, comprising:
By described arbitrary charged power, corresponding ADC obtains the voltage difference at the resistance two ends of connecting with described arbitrary charged power;
According to the resistance of the voltage difference at the resistance two ends of connecting with described arbitrary charged power and described arbitrary charged power series connection, obtain the current value of described arbitrary charged power.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, describedly according to the current threshold of the current value of described arbitrary charged power and described arbitrary charged power, the power supply of described arbitrary charged power is controlled, being comprised:
The current threshold of the current value of described arbitrary charged power and described arbitrary charged power is compared;
According to comparative result, the power supply of described arbitrary charged power is controlled.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, describedly according to comparative result, the power supply of described arbitrary charged power is controlled, comprising:
If the current value of described arbitrary charged power, higher than the current threshold of described arbitrary charged power, is controlled described arbitrary charged power by described SPMI and is reduced delivery.
According to the third aspect of disclosure embodiment, a kind of device of controlling Power supply is provided, described application of installation is in the terminal with electric supply system, the electric supply system of described electric supply system as described in above-mentioned first aspect; Described device comprises:
The first acquisition module, for obtaining the current value of arbitrary charged power;
The second acquisition module, for obtaining the current threshold of described arbitrary charged power;
Control module, for controlling the power supply of described arbitrary charged power according to the current threshold of the current value of described arbitrary charged power and described arbitrary charged power.
In conjunction with the third aspect, in the possible implementation of the first of the third aspect, described the first acquisition module, comprising:
The first acquiring unit, for obtaining the voltage difference at the resistance two ends of connecting with described arbitrary charged power by ADC corresponding to described arbitrary charged power;
Second acquisition unit, for obtaining the current value of described arbitrary charged power according to the resistance of the voltage difference at the resistance two ends of connecting with described arbitrary charged power and described arbitrary charged power series connection.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second of the third aspect, described second acquisition unit, comprising:
Compare subelement, for the current threshold of the current value of described arbitrary charged power and described arbitrary charged power is compared;
Control subelement, for the power supply of described arbitrary charged power being controlled according to comparative result.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation of the 3rd, described control subelement, for when the current value of described arbitrary charged power is during higher than the current threshold of described arbitrary charged power, by the described arbitrary charged power of described SPMI control, reduce delivery.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
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 and meets embodiment of the present disclosure, and be used from and explain principle of the present disclosure with instructions one.
Fig. 1 is according to the structural representation of a kind of electric supply system shown in an exemplary embodiment.
Fig. 2 is according to a kind of method flow diagram of controlling Power supply shown in an exemplary embodiment.
Fig. 3 is according to a kind of method flow diagram of controlling Power supply shown in an exemplary embodiment.
Fig. 4 is according to a kind of apparatus structure schematic diagram of controlling Power supply shown in an exemplary embodiment.
Fig. 5 is according to the structural representation of the first acquisition module shown in an exemplary embodiment.
Fig. 6 is according to the structural representation of the second acquisition module shown in an exemplary embodiment.
Fig. 7 is according to a kind of block diagram of controlling the device of Power supply 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 electric supply system, and referring to Fig. 1, this electric supply system is applied to terminal, and this electric supply system at least comprises PMU, CPU, resistance, ADC and IIC;
Wherein, PMU comprises the first predetermined number low voltage difference line voltage stabilizer LDO and the second predetermined number direct current transducer DCDC, and LDO and DCDC be for to terminal power supply, and each LDO and each DCDC resistance with definite resistance value of all connecting; Particularly, the first predetermined number can be 5,10,20 etc., and the present embodiment is not done concrete restriction to the first predetermined number.The second predetermined number can be 3,16,25 etc., and the present embodiment is not done concrete restriction to the second predetermined number.The first predetermined number can be identical with the second predetermined number, also can be different.When being each LDO and each DCDC resistance in series, each LDO and the identical resistance of each DCDC series connection resistance also can be can be to each LDO and the different resistance of each DCDC series connection resistance, the present embodiment is not done concrete restriction to this.Resistance value for the resistance of connecting with each LDO and each DCDC can be 2 milliohms, 3 milliohms, 5 milliohms etc., and concrete restriction is not done in this enforcement.
The resistance that ADC connects with each LDO and each DCDC is in parallel, for detection of the voltage difference of each resistance;
IIC connects ADC and CPU, for the voltage difference at each resistance two ends that ADC is detected, is sent to CPU.Wherein, IIC is a kind of multidirectional control bus, a plurality of LDO or DCDC can be connected under same bus structure, and each LDO or DCDC can be used as the control source of real-time Data Transmission simultaneously.Because IIC is used signal wire minimum in various buses, and there is the bus of the functions such as the synchronous and arbitration of automatic addressing, many host clock, and use the computer system of IIC design convenient, flexible, volume is little, therefore, IIC is widely used.For example, iic bus can be applied in to electric supply system medium.
As a kind of optional embodiment, electric supply system also comprises: SPMI;
SPMI connects PMU and CPU, for CPU, by SPMI, obtains arbitrary LDO of PMU and the magnitude of voltage of DCDC.
The electric supply system that disclosure embodiment provides, by the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
Fig. 2 is according to a kind of process flow diagram of controlling the method for Power supply shown in an exemplary embodiment, the method is applied to have the terminal of electric supply system, this electric supply system electric supply system as shown in Figure 1 above, the method that disclosure embodiment provides comprises the steps:
In step 201, obtain the current value of arbitrary charged power.
As a kind of optional embodiment, obtain the current value of arbitrary charged power, comprising:
By ADC corresponding to arbitrary charged power, obtain the voltage difference at the resistance two ends of connecting with arbitrary charged power;
According to the resistance of the voltage difference at the resistance two ends of connecting with arbitrary charged power and the series connection of arbitrary charged power, obtain the current value of arbitrary charged power.
In step 202, obtain the current threshold of arbitrary charged power.
In step 203, according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.
As a kind of optional embodiment, according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled, comprising:
The current threshold of the current value of arbitrary charged power and arbitrary charged power is compared;
According to comparative result, the power supply of arbitrary charged power is controlled.
As a kind of optional embodiment, according to comparative result, the power supply of arbitrary charged power is controlled, comprising:
If the current value of arbitrary charged power, higher than the current threshold of arbitrary charged power, is controlled arbitrary charged power by SPMI and is reduced delivery.
The method that disclosure embodiment provides, by the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
Fig. 3 is that the method is applied to have the terminal of electric supply system according to a kind of process flow diagram of controlling the method for Power supply shown in an exemplary embodiment, this electric supply system electric supply system as shown in Figure 1 above.The method of the control Power supply that as shown in Figure 3, disclosure embodiment provides comprises the steps.
In step 301, obtain the current value of arbitrary charged power.
In the electric supply system providing due to the present embodiment, PMU comprises a plurality of LDO and a plurality of DCDC, each LDO or DCDC all can be used as a road charged power and all can power to CPU, and each LDO and DCDC have rated current, again because each load in existing electric supply system is linked in the charged power of every road by mode in parallel, along with the application program of opening increases, load on the charged power of every road will increase, in this simultaneously, the current value of every road charged power also increases thereupon, and when the current value of arbitrary charged power surpasses the load current value that this charged power allows, this charged power cannot normally be worked, even can there is the danger of burning.Therefore, in order better charged power to be managed, avoid charged power to be burnt because electric current is excessive, CPU need to obtain the current value of arbitrary charged power in the present embodiment, and then according to the current value of the arbitrary charged power getting, the power supply of arbitrary charged power is controlled.
About obtaining the mode of the current value of arbitrary charged power, include but not limited to following steps:
The first step, obtains the voltage difference at the resistance two ends of connecting with arbitrary charged power by ADC corresponding to arbitrary charged power;
For the first step, because the applied electric supply system Zhong Mei of the present embodiment road charged power is all connected with the resistance of a definite resistance, an ADC all in parallel on the resistance of Qie Yumei road charged power series connection, therefore, by ADC corresponding to arbitrary charged power, can obtain the voltage difference at the resistance two ends of connecting with arbitrary charged power.Wherein, ADC is analog to digital converter, is the electronic component that is digital signal by analog-signal transitions.Common analog to digital converter is an input voltage signal to be converted to the digital signal of an output.Because digital signal itself does not have practical significance, only represent a relative size, therefore any one analog to digital converter all need one with reference to analog quantity the standard as conversion, in the present embodiment with GND (ground, ground connection) signal as with reference to analog quantity.Wherein, GND signal is ground signalling, and the magnitude of voltage of this characterization is 0 volt.
Particularly, when obtaining the voltage difference at the resistance two ends of connecting with arbitrary charged power by ADC corresponding to arbitrary charged power, include but not limited in the following way:
First, by ADC, obtain the voltage signal at the resistance two ends of connecting with arbitrary charged power;
Secondly, voltage signal and the GND signal at the resistance two ends of connecting with arbitrary charged power that get are compared, obtain the voltage difference at the resistance two ends of connecting with arbitrary charged power.
For example, arbitrary charged power is charged power 1, and the resistance of connecting with charged power 1 is R1, and the ADC of charged power 1 correspondence is ADC1.The voltage signal that gets resistance R 1 two ends by ADC1 is respectively voltage signal 1 and voltage signal 2, the voltage signal getting 1 and voltage signal 2 are compared with GND signal, the magnitude of voltage that obtains voltage signal 1 correspondence by comparison is 2 millivolts, the voltage signal of voltage signal 2 correspondences is 3 millivolts, by the magnitude of voltage subtraction at the two ends of the resistance R obtaining 1, the voltage difference that can obtain resistance R 1 two ends is 1 millivolt.
Second step, obtains the current value of arbitrary charged power according to the resistance of the voltage difference at the resistance two ends of connecting with arbitrary charged power and arbitrary charged power series connection.
Because the resistance of connecting with arbitrary charged power has definite resistance, and in the above-mentioned first step, by ADC corresponding to arbitrary charged power, get the voltage difference at the resistance two ends of connecting with arbitrary charged power, therefore, this step can obtain according to Ohm law the current value of arbitrary charged power on the basis of above-mentioned steps.For example, arbitrary charged power is charged power 1, if the resistance value of the resistance of connecting with charged power 1 is 3 milliohms, the voltage difference at the resistance two ends of connecting with charged power 1 is 6 millivolts, and the current value that can obtain charged power 1 according to Ohm law is 6 millivolts/3 milliohm=2 milliampere.
In step 302, obtain the current threshold of arbitrary charged power.
Wherein, the current threshold of arbitrary charged power is the maximum current that arbitrary charged power allows while normally working.The current threshold of arbitrary charged power can be 3 milliamperes, 6 milliamperes, 10 milliamperes etc., and the present embodiment is not done concrete restriction to the current threshold of arbitrary charged power.When the current value of arbitrary charged power is during lower than the current threshold of arbitrary charged power, this control power supply can normally be worked; When the current value of arbitrary charged power is during higher than the current threshold of arbitrary charged power, this charged power is cisco unity malfunction not only, but also may be burnt.
Definite method about the current threshold of arbitrary charged power, includes but not limited to the determination of property parameter according to arbitrary charged power.Wherein, the maximum temperature that the performance parameter of arbitrary charged power allows when comprising but not being limited to down the resistance of arbitrary charged power, the work of arbitrary charged power and load etc., the present embodiment is not done concrete restriction to the performance parameter of arbitrary charged power.
For the ease of arbitrary charged power is managed, the current threshold of arbitrary charged power is all stored in the storage medium of terminal in the present embodiment, and therefore, CPU, when obtaining the current threshold of arbitrary charged power, can obtain from the storage medium of terminal.Wherein, the storage medium of terminal includes but not limited to flash memory, internal memory etc., and the present embodiment is not done concrete restriction to the storage medium of terminal.
Alternatively, owing to comprising a plurality of LDO and DCDC in PMU in applied electric supply system in the present embodiment, and each LDO and DCDC all have corresponding current threshold, therefore, for the ease of CPU, get rapidly the current threshold of arbitrary charged power, when the current threshold of each charged power of storage, the power supply sign of the current threshold of each charged power and arbitrary charged power can be stored in the lump.Thereby can inquire about and obtain the current threshold that arbitrary charged power is corresponding according to the power supply sign of this arbitrary charged power.Wherein, power supply sign can be for the model of power supply, the numbering of power supply etc., the present embodiment is not done concrete restriction to power supply sign.
In step 303, the current threshold of the current value of arbitrary charged power and arbitrary charged power is compared.
The standard that can normally work for weighing arbitrary charged power due to the threshold current of arbitrary charged power, therefore, in order to ensure the arbitrary charged power in current electric supply system, all can normally work, after the current value of the arbitrary charged power getting by above-mentioned steps and the current threshold of arbitrary charged power, the current threshold of the current value of arbitrary charged power and arbitrary charged power can be compared.
In step 304, according to comparative result, the power supply of arbitrary charged power is controlled.
The current threshold of the current value of arbitrary charged power and arbitrary charged power is compared, and comparative result includes but not limited to several as follows: the current value of arbitrary charged power lower than the current threshold of arbitrary charged power, the current value of arbitrary charged power equals the current threshold of arbitrary charged power and the current value of arbitrary charged power higher than current threshold of arbitrary charged power etc.For above-mentioned several comparative results, when the current value of arbitrary charged power is during less than or equal to the threshold current of arbitrary charged power, because the current value of arbitrary charged power is no more than the maximum current that arbitrary charged power allows, therefore, this charged power can normally be worked, now without controlling this charged power, regulate delivery, this charged power can be powered to terminal according to original delivery; When the current value of arbitrary charged power is during higher than the current threshold of arbitrary charged power, because the current value of arbitrary charged power has surpassed the maximum current that arbitrary charged power allows, therefore, this charged power cisco unity malfunction, now needs to control this charged power and reduces delivery.
Particularly, when the current value of arbitrary charged power is during higher than the current threshold of arbitrary charged power, CPU can send by SPMI the power supply control instruction of the power supply sign of carrying arbitrary charged power to PMU, PMU is after receiving the power supply control instruction of CPU transmission, the power supply that arbitrary charged power is controlled in instruction according to power supply control identifies the application program that corresponding charged power is closed some unlatching, make this charged power reduce delivery, can normally work.Wherein, SPMI is a bus in power-supply management system in the present embodiment, is connecting PMU and CPU, can be used for transmitting the power supply control instruction that CPU sends to PMU.
For said process, for the ease of understanding, will at length explain with a concrete example below.
Take arbitrary charged power as charged power 1, and it is example that the current threshold of charged power 1 is 5 milliamperes.If it is 3 milliamperes that CPU gets the current value of charged power 1,5 milliamperes of the current thresholds of 3 milliamperes of the current values of charged power 1 and charged power 1 are compared, be less than 5 milliamperes due to 3 milliamperes, therefore, charged power 1 can normally be worked, and now without controlling charged power 1, regulates delivery, if it is 6 milliamperes that CPU gets the current value of charged power 1, 5 milliamperes of the current thresholds of 6 milliamperes of the current values of charged power 1 and charged power 1 are compared, be greater than 5 milliamperes due to 6 milliamperes, therefore, charged power 1 cisco unity malfunction, now CPU will send the power supply control instruction of the power supply sign of carrying charged power 1 to PMU by SPMI, PMU is after the power supply control instruction of the power supply sign of carrying charged power 1 that receives CPU transmission, according to power supply control instruction, control charged power 1 and close some application program, make the delivery that reduces of charged power 1, thereby can normally work.
The method that disclosure embodiment provides, by the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
Fig. 4 is according to a kind of device schematic diagram of controlling Power supply shown in an exemplary embodiment, for carrying out the method for the control Power supply described in the arbitrary embodiment of the embodiment shown in above-mentioned Fig. 2 and Fig. 3.This application of installation is in the terminal with electric supply system, this electric supply system electric supply system as shown in Figure 1 above.With reference to Fig. 4, this device comprises the first acquisition module 401, the second acquisition modules 402 and control module 403.
This first acquisition module 401 is configured to obtain the current value of arbitrary charged power;
This second acquisition module 402 is configured to obtain the current threshold of arbitrary charged power;
This control module 403 is configured to according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power be controlled.
With reference to Fig. 5, the first acquisition module 401 comprises the first acquiring unit 4011 and second acquisition unit 4012.
This first acquiring unit 4011 is configured to obtain by ADC corresponding to arbitrary charged power the voltage difference at the resistance two ends of connecting with arbitrary charged power;
This second acquisition unit 4012 is configured to obtain according to the resistance of the voltage difference at the resistance two ends of connecting with arbitrary charged power and the series connection of arbitrary charged power the current value of arbitrary charged power.
With reference to Fig. 6, second acquisition unit 4012 comprises comparison subelement 40121 and controls subelement 40122.
This comparison subelement 40121 is configured to the current threshold of the current value of arbitrary charged power and arbitrary charged power to compare;
This control subelement 40122 is configured to according to comparative result, the power supply of arbitrary charged power be controlled.
As a kind of optional embodiment, control subelement 40122 and be configured to, when the current value of arbitrary charged power is during higher than the current threshold of arbitrary charged power, by SPMI, control arbitrary charged power and reduce delivery.
The device that disclosure embodiment provides, by the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
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. 7 is a kind of for controlling the block diagram of the device 700 of Power supply according to shown in an exemplary embodiment.With reference to Fig. 7, device 700 can comprise following one or more assembly: processing components 702, storer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, the interface 712 of I/O (I/O), sensor module 714, and communications component 716.
The integrated operation of processing components 702 common control device 700, such as with demonstration, data communication, the operation that record operation is associated.Treatment element 702 can comprise that one or more processors 720 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 702 can comprise one or more modules, is convenient to mutual between processing components 702 and other assemblies.For example, processing element 702 can comprise multi-media module, to facilitate mutual between multimedia groupware 708 and processing components 702.
Storer 704 is configured to store various types of data to be supported in the operation of device 700.The example of these data comprises for any application program of operation on device 700 or the instruction of method, data etc.Storer 704 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 706 provides electric power for installing 700 various assemblies.Electric power assembly 706 can comprise power-supply management system, one or more power supplys, and other assemblies that generate, manage and distribute electric power to be associated for device 700.
Multimedia groupware 708 is included in the screen that an output interface is provided between described device 700 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 708 comprises a front-facing camera and/or post-positioned pick-up head.When device 700 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 710 is configured to output and/or input audio signal.For example, audio-frequency assembly 710 comprises a microphone (MIC), and when device 700 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 704 or be sent via communications component 716.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 712 is for providing interface between processing components 702 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 714 comprises one or more sensors, is used to device 700 that the state estimation of various aspects is provided.For example, sensor module 714 can detect the opening/closing state of equipment 700, the relative positioning of assembly, for example described assembly is display and the keypad of device 700, the position of all right pick-up unit 700 of sensor module 714 or 700 1 assemblies of device changes, user is with device 700 existence that contact or do not have the temperature variation of device 700 orientation or acceleration/deceleration and device 700.Sensor module 714 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 714 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 714 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to be convenient to the communication of wired or wireless mode between device 700 and other equipment.Device 700 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 716 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communication component 716 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 700 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.
The device that disclosure embodiment provides, by the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
Disclosure embodiment provides a kind of 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 Power supply, and described method comprises:
Obtain the current value of arbitrary charged power;
Obtain the current threshold of arbitrary charged power;
According to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.
The non-provisional computer-readable recording medium that disclosure embodiment provides, by the resistance of the definite resistance of connecting on each LDO and each DCDC, and by the ADC in parallel with each resistance, measure the voltage difference of each resistance, and then obtain the current value of arbitrary charged power, then according to the current threshold of the current value of arbitrary charged power and arbitrary charged power, the power supply of arbitrary charged power is controlled.Therefore, realized according to the current conditions of arbitrary charged power the power supply of arbitrary charged power has been controlled, thereby a kind of mode of more intelligent, control Power supply that dirigibility is higher is provided.
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. an electric supply system, is characterized in that, described electric supply system is applied to terminal, and described electric supply system at least comprises Power Management Unit PMU, central processor CPU, resistance, digital to analog converter ADC and IC bus IIC;
Wherein, described PMU comprises the first predetermined number low voltage difference line voltage stabilizer LDO and the second predetermined number direct current transducer DCDC, described LDO and described DCDC be for to the power supply of described terminal, and each LDO and each DCDC resistance with definite resistance value of all connecting;
The resistance that described ADC connects with each LDO and each DCDC is in parallel, for detection of the voltage difference of each resistance;
Described IIC connects described ADC and described CPU, for the voltage difference at each resistance two ends that described ADC is detected, is sent to described CPU.
2. electric supply system according to claim 1, is characterized in that, described electric supply system also comprises: power supply managing interface SPMI;
Described SPMI connects described PMU and described CPU, for described CPU, by described SPMI, obtains arbitrary LDO of described PMU and the magnitude of voltage of DCDC.
3. a method of controlling Power supply, is characterized in that, described method is applied to have the terminal of electric supply system, described electric supply system as described in electric supply system as described in claim 1 or 2; Described method comprises:
Obtain the current value of arbitrary charged power;
Obtain the current threshold of described arbitrary charged power;
According to the current threshold of the current value of described arbitrary charged power and described arbitrary charged power, the power supply of described arbitrary charged power is controlled.
4. method according to claim 3, is characterized in that, described in obtain the current value of arbitrary charged power, comprising:
By described arbitrary charged power, corresponding ADC obtains the voltage difference at the resistance two ends of connecting with described arbitrary charged power;
According to the resistance of the voltage difference at the resistance two ends of connecting with described arbitrary charged power and described arbitrary charged power series connection, obtain the current value of described arbitrary charged power.
5. method according to claim 3, is characterized in that, describedly according to the current threshold of the current value of described arbitrary charged power and described arbitrary charged power, the power supply of described arbitrary charged power is controlled, and comprising:
The current threshold of the current value of described arbitrary charged power and described arbitrary charged power is compared;
According to comparative result, the power supply of described arbitrary charged power is controlled.
6. method according to claim 5, is characterized in that, describedly according to comparative result, the power supply of described arbitrary charged power is controlled, and comprising:
If the current value of described arbitrary charged power, higher than the current threshold of described arbitrary charged power, is controlled described arbitrary charged power by described SPMI and is reduced delivery.
7. a device of controlling Power supply, is characterized in that, described application of installation is in the terminal with electric supply system, described electric supply system as described in electric supply system as described in claim 1 or 2; Described device comprises:
The first acquisition module, for obtaining the current value of arbitrary charged power;
The second acquisition module, for obtaining the current threshold of described arbitrary charged power;
Control module, for controlling the power supply of described arbitrary charged power according to the current threshold of the current value of described arbitrary charged power and described arbitrary charged power.
8. device according to claim 7, is characterized in that, described the first acquisition module, comprising:
The first acquiring unit, for obtaining the voltage difference at the resistance two ends of connecting with described arbitrary charged power by ADC corresponding to described arbitrary charged power;
Second acquisition unit, for obtaining the current value of described arbitrary charged power according to the resistance of the voltage difference at the resistance two ends of connecting with described arbitrary charged power and described arbitrary charged power series connection.
9. device according to claim 8, is characterized in that, described second acquisition unit, comprising:
Compare subelement, for the current threshold of the current value of described arbitrary charged power and described arbitrary charged power is compared;
Control subelement, for the power supply of described arbitrary charged power being controlled according to comparative result.
10. method according to claim 9, it is characterized in that, described control subelement,, controls described arbitrary charged power by described SPMI and reduces delivery during higher than the current threshold of described arbitrary charged power for the current value when described arbitrary charged power.
CN201410302890.1A 2014-06-27 2014-06-27 The method and apparatus of electric supply system, control Power supply Active CN104133512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410302890.1A CN104133512B (en) 2014-06-27 2014-06-27 The method and apparatus of electric supply system, control Power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410302890.1A CN104133512B (en) 2014-06-27 2014-06-27 The method and apparatus of electric supply system, control Power supply

Publications (2)

Publication Number Publication Date
CN104133512A true CN104133512A (en) 2014-11-05
CN104133512B CN104133512B (en) 2016-05-18

Family

ID=51806226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410302890.1A Active CN104133512B (en) 2014-06-27 2014-06-27 The method and apparatus of electric supply system, control Power supply

Country Status (1)

Country Link
CN (1) CN104133512B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589774A (en) * 2017-06-02 2018-01-16 江苏万邦微电子有限公司 It is a kind of based on the method for managing power supply without electric capacity LDO outside piece
CN112925577A (en) * 2021-01-25 2021-06-08 北京达佳互联信息技术有限公司 Application program processing method, device, equipment, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040230850A1 (en) * 2003-05-15 2004-11-18 International Business Machines Corporation Method and apparatus for implementing power-saving sleep mode in design with multiple clock domains
US7369815B2 (en) * 2003-09-19 2008-05-06 Qualcomm Incorporated Power collapse for a wireless terminal
CN101329597A (en) * 2008-07-28 2008-12-24 北京中星微电子有限公司 Portable on-chip processing system of multimedia processing platform and power supply management method
CN101923110A (en) * 2009-06-09 2010-12-22 比亚迪股份有限公司 Method and device for detecting abnormal current of circuit
CN103199593A (en) * 2013-04-26 2013-07-10 无锡中星微电子有限公司 Charging management circuit and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040230850A1 (en) * 2003-05-15 2004-11-18 International Business Machines Corporation Method and apparatus for implementing power-saving sleep mode in design with multiple clock domains
US7369815B2 (en) * 2003-09-19 2008-05-06 Qualcomm Incorporated Power collapse for a wireless terminal
CN101329597A (en) * 2008-07-28 2008-12-24 北京中星微电子有限公司 Portable on-chip processing system of multimedia processing platform and power supply management method
CN101923110A (en) * 2009-06-09 2010-12-22 比亚迪股份有限公司 Method and device for detecting abnormal current of circuit
CN103199593A (en) * 2013-04-26 2013-07-10 无锡中星微电子有限公司 Charging management circuit and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589774A (en) * 2017-06-02 2018-01-16 江苏万邦微电子有限公司 It is a kind of based on the method for managing power supply without electric capacity LDO outside piece
CN112925577A (en) * 2021-01-25 2021-06-08 北京达佳互联信息技术有限公司 Application program processing method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN104133512B (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN103885588B (en) Automatic switching method and device
CN105528151A (en) Brightness adjusting method and apparatus
CN104219383A (en) Terminal power information prompting method and device
CN104505879A (en) Charging method and device
CN107482710A (en) Wireless charging method and terminal
CN104899610A (en) Picture classification method and device
CN105720644A (en) Charging control method and device and terminal device
CN105516026A (en) Hot spot networking control method and device
CN105607818A (en) Application sorting method and apparatus
CN105530384A (en) Method and device for power reminding based on alarm clock
CN103944991A (en) Method and device for controlling data synchronization
CN104485713A (en) Charge control method and device
CN105356529A (en) Prompting method and apparatus for rapid charging state
CN104779420A (en) Battery charging method and device
CN106230066A (en) Charge prompting method and apparatus
CN106532367A (en) Power consumption warning method and device of smart socket
EP3614523B1 (en) Charging processing method and terminal device
CN104297542A (en) Reminding method and device based on electricity consumption
CN105337368A (en) Terminal charging method and device
CN105098882A (en) Input current distribution method and device
CN104968034A (en) Data transmission method and apparatus
CN104133512A (en) Power supply system, power supply control method and power supply control device
US9490643B2 (en) Method for operating an electronic appliance, charging apparatus for charging a battery for an electronic appliance, and motor vehicle
CN106455002A (en) Wireless search method and device, and terminal
CN104166692A (en) Method and device for adding labels on photos

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant