CN112711321A - Power management chip control method and device, intelligent terminal and storage medium - Google Patents

Power management chip control method and device, intelligent terminal and storage medium Download PDF

Info

Publication number
CN112711321A
CN112711321A CN202110030422.3A CN202110030422A CN112711321A CN 112711321 A CN112711321 A CN 112711321A CN 202110030422 A CN202110030422 A CN 202110030422A CN 112711321 A CN112711321 A CN 112711321A
Authority
CN
China
Prior art keywords
power management
chip
management chip
voltage
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110030422.3A
Other languages
Chinese (zh)
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110030422.3A priority Critical patent/CN112711321A/en
Publication of CN112711321A publication Critical patent/CN112711321A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit

Abstract

The invention discloses a power management chip control method, a device, an intelligent terminal and a storage medium, wherein the power management chip control method comprises the following steps: respectively acquiring the voltage and the current of each power management chip; selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started; and connecting the target working chip and disconnecting the target disconnection chip. According to the scheme of the invention, the power management chips which do not need to be started can be disconnected according to the voltage and the current of the power management chips, and the number of the working power management chips is dynamically adjusted according to actual needs, so that the reasonable control of the power management chips is realized, the consumption of extra energy is avoided, and the reduction of energy loss is facilitated.

Description

Power management chip control method and device, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of chip control, in particular to a power management chip control method, a power management chip control device, an intelligent terminal and a storage medium.
Background
With the progress of science and technology and the improvement of economic level of people, various mobile terminals (such as mobile phones, tablet computers and the like) are widely used, and intelligent mobile terminals such as mobile phones, tablet computers and the like become indispensable tools in work and life of people. At present, a mobile terminal is powered by a power management chip, and a number of modules requiring power supply in the mobile terminal are more, for example, a mobile phone may include a sensor, a fingerprint module, a camera, a display screen, a wireless module, an audio module, and the like, and these modules all require power supply output by each power management chip. At this time, one power management chip may not be enough, and thus a plurality of power management chips are provided to supply power.
The problem in the prior art is that when a plurality of power management chips are arranged to supply power, a reasonable control scheme for the power management chips is lacked, the number of the started power management chips cannot be adjusted, all the power management chips can only be started at the same time, and the simultaneous starting of all the power management chips may consume more extra energy, which is not beneficial to reducing energy loss.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention mainly aims to provide a power management chip control method, a power management chip control device, an intelligent terminal and a storage medium, and aims to solve the problems that when a plurality of power management chips are arranged for supplying power, a reasonable control scheme for the power management chips is lacked, the number of the started power management chips cannot be adjusted, all the power management chips can be started at the same time, and all the power management chips can consume more extra energy and are not beneficial to reducing energy loss when being started at the same time in the prior art.
In order to achieve the above object, a first aspect of the present invention provides a power management chip control method, where the method includes:
respectively acquiring the voltage and the current of each power management chip;
selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started;
and connecting the target working chip and disconnecting the target disconnection chip.
Optionally, before the obtaining the voltage and the current of each power management chip respectively, the method further includes:
and connecting each power management chip to a power supply end of a mainboard of the mobile terminal in a serial connection mode.
Optionally, the obtaining the voltage and the current of each power management chip respectively includes:
respectively acquiring voltage differences between the anode and the cathode of each power management chip, and determining the voltage of each power management chip;
and acquiring the current of each power management chip based on the voltage of each power management chip.
Optionally, the step of obtaining the current of each power management chip based on the voltage of each power management chip includes:
acquiring the voltage of each detection resistor;
acquiring the resistance value of each detection resistor;
and calculating the current of each power management chip based on the voltage and the resistance value of each detection resistor.
Optionally, the obtaining the resistance value of each detection resistor includes:
and respectively acquiring the environmental temperature of the area where each detection resistor is located, and respectively acquiring the resistance value of each detection resistor at the corresponding environmental temperature as the resistance value of each detection resistor.
Optionally, the selecting a target working chip and a target disconnecting chip based on the voltage and the current of each power management chip includes:
when the voltage of the power supply management chip exceeds a preset voltage threshold value or the current of the power supply management chip exceeds a preset current threshold value, taking the power supply management chip as a target to disconnect the chip;
and when the voltage of the power management chip does not exceed a preset voltage threshold and the current of the power management chip does not exceed a preset current threshold, taking the power management chip as a target working chip.
Optionally, the connecting the target operating chip and disconnecting the target disconnecting chip includes:
and connecting the target working chip to the power supply end of the mainboard of the mobile terminal in a serial connection mode, and disconnecting the target disconnecting chip.
A second aspect of the present invention provides a power management chip control apparatus, wherein the apparatus includes:
the data acquisition module is used for respectively acquiring the voltage and the current of each power management chip;
the chip selection module is used for selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started;
and the control module is used for connecting the target working chip and disconnecting the target disconnecting chip.
A third aspect of the present invention provides an intelligent terminal, where the intelligent terminal includes a memory, a processor, and a power management chip control program stored in the memory and executable on the processor, and the power management chip control program implements any one of the steps of the power management chip control method when executed by the processor.
A fourth aspect of the present invention provides a computer-readable storage medium, in which a power management chip control program is stored, and the power management chip control program, when executed by a processor, implements any one of the steps of the power management chip control method.
Therefore, the scheme of the invention respectively obtains the voltage and the current of each power management chip; selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started; and connecting the target working chip and disconnecting the target disconnection chip. According to the scheme of the invention, the power management chips which do not need to be started can be disconnected according to the voltage and the current of the power management chips, and the number of the working power management chips is dynamically adjusted according to actual needs, so that the reasonable control of the power management chips is realized, the consumption of extra energy is avoided, and the reduction of energy loss is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a power management chip control method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another control method for a power management chip according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the step S100 in FIG. 2 according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the step S102 in FIG. 3 according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating the step S200 in FIG. 2 according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a power management chip according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a power management chip control device according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted depending on the context to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
In modern society, with the progress of science and technology and the improvement of economic level of people, various mobile terminals (such as mobile phones, tablet computers and the like) are more and more widely used, and intelligent mobile terminals such as mobile phones, tablet computers and the like become indispensable tools in work and life of people. At present, a mobile terminal is powered by a power management chip, and a number of modules requiring power supply in the mobile terminal are more, for example, a mobile phone may include a sensor, a fingerprint module, a camera, a display screen, a wireless module, an audio module, and the like, and these modules all require power supply output by each power management chip. At this time, one power management chip may not be sufficient, and thus a plurality of power management chips are provided in the mobile terminal to supply power. However, in the prior art, when a plurality of power management chips are arranged to supply power, a reasonable control scheme for the power management chips is lacked, and when all the power management chips are not required to be started at the same time, all the power management chips are continuously started at the same time, which may consume more extra energy, and is not beneficial to reducing energy loss. Therefore, it is desirable to provide a power management chip control method for users to reduce unnecessary energy consumption.
In order to solve the problems in the prior art, embodiments of the present invention provide a method for controlling a power management chip, where in the embodiments of the present invention, a voltage and a current of each power management chip are respectively obtained; selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started; and connecting the target working chip and disconnecting the target disconnection chip. According to the scheme of the invention, the power management chips which do not need to be started can be disconnected according to the voltage and the current of the power management chips, and the number of the working power management chips is dynamically adjusted according to actual needs, so that the reasonable control of the power management chips is realized, the consumption of extra energy is avoided, and the reduction of energy loss is facilitated.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a method for controlling a power management chip, and specifically, the method includes the following steps:
step S100, respectively obtaining the voltage and the current of each power management chip.
The voltage and the current of each power management chip are the voltage value and the current value output by each power management chip, and can be obtained by measuring each power management chip.
And step S200, selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started.
And step S300, connecting the target working chip and disconnecting the target disconnecting chip.
The target working chip is a power management chip which is required to be started at the current using moment of the mobile terminal where each power management chip is located so as to maintain the normal work of the mobile terminal; on the contrary, the target disconnection chip is a power management chip which is not required to be started when the mobile terminal works normally, and at the moment, if the starting of all the power management chips is kept, unnecessary energy loss can be caused, so that part of the power management chips (namely the target disconnection chip) can be disconnected, the number of the working power management chips can be dynamically adjusted, the energy loss can be reduced, meanwhile, the service life of the corresponding power management chip can be prolonged, and the user experience can be improved.
Optionally, the target disconnection chip may also be a power management chip with excessive energy consumption in the mobile terminal, and at this time, the target disconnection chip is disconnected, so that energy consumption of the mobile terminal can be effectively reduced.
As can be seen from the above, the power management chip control method provided by the embodiment of the invention respectively obtains the voltage and the current of each power management chip; selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started; and connecting the target working chip and disconnecting the target disconnection chip. According to the scheme of the invention, the power management chips which do not need to be started can be disconnected according to the voltage and the current of the power management chips, and the number of the working power management chips is dynamically adjusted according to actual needs, so that the reasonable control of the power management chips is realized, the consumption of extra energy is avoided, and the reduction of energy loss is facilitated.
Optionally, the power management chip to be enabled or disabled may be selected again from all the enabled and disabled power management chips according to the rise and fall of the voltage and the current of the enabled power management chip.
Specifically, in this embodiment, as shown in fig. 2, before the step S100, the method further includes:
and step A100, connecting each power management chip to a power supply end of a mainboard of the mobile terminal in a serial connection mode.
Specifically, a plurality of interfaces are arranged in the mobile terminal in a serial connection mode, and when all power management chips are required to be started, the power management chips are connected into the corresponding interfaces in a serial connection mode, so that the power supply ends of the mobile main board are connected. Specifically, anodes of the power management chips are sequentially connected with cathodes for series connection, and anodes which are not connected with other power management chips after series connection are connected with a positive end of the mobile terminal mainboard, and cathodes which are not connected with other power management chips are connected with a negative end of the mobile terminal mainboard. For example, the positive electrode of the first power management chip is connected with the positive electrode end of the mobile terminal mainboard, the negative electrode of the first power management chip is connected with the positive electrode of the second power management chip, the negative electrode of the second power management chip is connected with the positive electrode of the third power management chip, and so on, until the last power management chip, the negative electrode of the last power management chip is connected with the negative electrode end of the mobile terminal mainboard, so that all the power management chips are started when necessary.
Specifically, in this embodiment, as shown in fig. 3, the step S100 includes:
step S101, respectively obtaining a voltage difference between the positive electrode and the negative electrode of each power management chip, and determining a voltage of each power management chip.
Step S102, obtaining the current of each power management chip based on the voltage of each power management chip.
Specifically, the voltage difference between the positive electrode and the negative electrode of each power management chip can be measured and obtained, and the voltage difference is used as the voltage of the corresponding power management chip, that is, the output voltage value of the power management chip. When the output current of the power management chip is inconvenient to be directly measured, the corresponding current can be obtained by calculating based on the voltage of the power management chip so as to obtain the current of the power management chip. Of course, when the current of the power management chip can be directly measured, the current of the corresponding power management chip can also be directly measured, and the current is not limited specifically herein.
Specifically, in this embodiment, a detection resistor is connected in series to the positive terminal or the negative terminal of each power management chip, as shown in fig. 4, the step S102 includes:
in step S1021, the voltage of each detection resistor is acquired.
In step S1022, the resistance values of the detection resistors are obtained.
In step S1023, the current of each power management chip is calculated based on the voltage and the resistance of each detection resistor.
Specifically, the detection resistor is a resistor with a small resistance value, so that when the detection resistor is connected in series to the positive terminal or the negative terminal of the power management chip, the influence of the detection resistor on the circuit can be ignored. Further, the voltage of the detection resistor may be obtained by obtaining a voltage difference between two ends of the detection resistor. The resistance value of the detection resistor is preset, and when the influence of temperature change on the resistance value of the resistor is not considered, the detected resistance value is fixed, so that the resistance value of the detection resistor can be directly obtained, and the current value of the detection resistor can be obtained and used as the current of the power management chip by dividing the detection voltage value by the resistance value.
Optionally, in this embodiment, when considering an influence of a temperature change on the resistance value of the resistor, the step S1022 may include: and respectively acquiring the environmental temperature of the area where each detection resistor is located, and respectively acquiring the resistance value of each detection resistor at the corresponding environmental temperature as the resistance value of each detection resistor.
Specifically, the obtained resistance value of the detection resistor at the corresponding ambient temperature may be obtained according to a pre-stored resistance value table of the corresponding detection resistor at different temperatures. For example, the resistance values of the corresponding detection resistors at different temperatures can be measured in advance and stored correspondingly. Specifically, the initial temperature and the termination temperature may be set according to actual requirements, and the resistance value of the detection resistor is gradually measured from the initial temperature at small temperature intervals (e.g., at intervals of 0.1 degree celsius). When the obtained ambient temperature has no corresponding measured value, the resistance value corresponding to the temperature value closest to the ambient temperature may be obtained as the resistance value of the detection resistor, or the resistance values corresponding to the two temperature values closest to the ambient temperature may be obtained and averaged to obtain the resistance value of the detection resistor. Optionally, a temperature-resistance curve of the detection resistor may be obtained by fitting based on a corresponding relationship between the measured temperature and the resistance value of the detection resistor, so as to obtain the resistance value at the corresponding ambient temperature according to the temperature-resistance curve, and other obtaining manners may be provided, which are not specifically limited herein.
Specifically, in this embodiment, as shown in fig. 5, the step S200 includes:
step S201, when the voltage of the power management chip exceeds a preset voltage threshold or the current of the power management chip exceeds a preset current threshold, turning off the power management chip as a target.
Step S202, when the voltage of the power management chip does not exceed a preset voltage threshold and the current of the power management chip does not exceed a preset current threshold, the power management chip is taken as a target working chip.
Specifically, the preset voltage threshold is a preset threshold of the output voltage of the power management chip, the preset current threshold is a preset threshold of the output current of the power management chip, and the voltage threshold and the current threshold may be set and adjusted according to actual requirements, which is not specifically limited herein.
Optionally, it may also be determined whether a product of the voltage and the current of the power management chip exceeds a preset power threshold, and if the product exceeds the preset power threshold, the corresponding power management chip is used as a target disconnection chip, otherwise, the corresponding power management chip is used as a target working chip, so as to simplify the comparison process.
Optionally, the step S300 specifically includes: and connecting the target working chip to the power supply end of the mainboard of the mobile terminal in a serial connection mode, and disconnecting the target disconnecting chip.
Specifically, the circuit connection relationship between the power management chips can be adjusted, so that the target working chip is connected to the power supply end of the main board of the mobile terminal in a serial connection manner, and the target disconnection chip is not connected. Fig. 6 is a schematic diagram of a power management chip according to an embodiment of the present invention, and fig. 6 illustrates 3 power management chips as an example. As shown in fig. 6, the connection relationship among the power management chip 1, the power management chip 2 and the power management chip 3 is controlled by controlling the switches 1 to 6, wherein the positive output terminal 601 is used for connecting with the positive terminal of the mobile terminal motherboard, and the negative output terminal 602 is used for connecting with the negative terminal of the mobile terminal motherboard. When the power management chip 1, the power management chip 2 and the power management chip 3 are all required to be started, the control switch 1, the switch 3, the switch 5 and the switch 6 are switched off, the switch 2 and the switch 4 are switched on, and the power management chip 1, the power management chip 2 and the power management chip 3 are connected with a power supply end of a mainboard of the mobile terminal in a serial connection mode. When the power management chip 1 and the power management chip 2 need to be started and the power management chip 3 needs to be disconnected, the control switch 2 and the switch 6 are closed, and other switches are controlled to be disconnected, so that the power management chip 3 is disconnected, and energy loss is reduced. By analogy, when the power management chip 1 and the power management chip 3 need to be started and the power management chip 2 needs to be disconnected, the control switch 2 and the switch 3 are closed, and the other switches are controlled to be disconnected; when the power management chip 2 and the power management chip 3 need to be started and the power management chip 1 needs to be disconnected, the control switch 1 and the switch 4 are closed, and the other switches are controlled to be disconnected; when only the power management chip 1 needs to be started, the control switch 5 is closed, and other switches are controlled to be opened; when only the power management chip 2 needs to be started, the control switch 1 and the switch 6 are closed, and the other switches are controlled to be disconnected; when only the power management chip 3 needs to be enabled, the switch 1 and the switch 3 are controlled to be closed, and the rest switches are controlled to be opened. When the number of the power management chips is more or less, the connection relationship can be set by referring to the connection relationship, which is not described herein again.
Exemplary device
As shown in fig. 7, corresponding to the power management chip control method, an embodiment of the present invention further provides a power management chip control apparatus, where the power management chip control apparatus includes:
and the data acquisition module 710 is configured to acquire the voltage and the current of each power management chip respectively.
The voltage and the current of each power management chip are the voltage value and the current value output by each power management chip, and can be obtained by measuring each power management chip.
And a chip selection module 720, configured to select a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, where the target working chip is a power management chip that needs to be activated, and the target disconnection chip is a power management chip that does not need to be activated.
And a control module 730, configured to connect the target working chip and disconnect the target disconnection chip.
The target working chip is a power management chip which is required to be started at the current using moment of the mobile terminal where each power management chip is located so as to maintain the normal work of the mobile terminal; on the contrary, the target disconnection chip is a power management chip which is not required to be started when the mobile terminal works normally, and at the moment, if the starting of all the power management chips is kept, unnecessary energy loss can be caused, so that part of the power management chips (namely the target disconnection chip) can be disconnected, the number of the working power management chips can be dynamically adjusted, the energy loss can be reduced, meanwhile, the service life of the corresponding power management chip can be prolonged, and the user experience can be improved.
Optionally, the target disconnection chip may also be a power management chip with excessive energy consumption in the mobile terminal, and at this time, the target disconnection chip is disconnected, so that energy consumption of the mobile terminal can be effectively reduced.
As can be seen from the above, the power management chip control apparatus provided in the embodiment of the present invention respectively obtains the voltage and the current of each power management chip through the data obtaining module 710; selecting a target working chip and a target disconnection chip by a chip selection module 720 based on the voltage and current of each power management chip, wherein the target working chip is a power management chip which needs to be started, and the target disconnection chip is a power management chip which does not need to be started; the target work chip is connected through the control module 730, and the target disconnection chip is disconnected. According to the scheme of the invention, the power management chips which do not need to be started can be disconnected according to the voltage and the current of the power management chips, and the number of the working power management chips is dynamically adjusted according to actual needs, so that the reasonable control of the power management chips is realized, the consumption of extra energy is avoided, and the reduction of energy loss is facilitated.
Optionally, the power management chip control device may further select a power management chip that needs to be enabled or disconnected from all the enabled and disconnected power management chips again according to the rise and fall of the voltage and the current of the enabled power management chip.
Specifically, in this embodiment, the power management chip control device is further configured to connect each power management chip to a power supply terminal of a motherboard of the mobile terminal in a serial connection manner.
Specifically, a plurality of interfaces are arranged in the mobile terminal in a serial connection mode, and when all power management chips are required to be started, the power management chips are connected into the corresponding interfaces in a serial connection mode, so that the power supply ends of the mobile main board are connected. Specifically, anodes of the power management chips are sequentially connected with cathodes for series connection, and anodes which are not connected with other power management chips after series connection are connected with a positive end of the mobile terminal mainboard, and cathodes which are not connected with other power management chips are connected with a negative end of the mobile terminal mainboard. For example, the positive electrode of the first power management chip is connected with the positive electrode end of the mobile terminal mainboard, the negative electrode of the first power management chip is connected with the positive electrode of the second power management chip, the negative electrode of the second power management chip is connected with the positive electrode of the third power management chip, and so on, until the last power management chip, the negative electrode of the last power management chip is connected with the negative electrode end of the mobile terminal mainboard, so that all the power management chips are started when necessary.
Specifically, the data obtaining module 710 is specifically configured to: respectively acquiring voltage differences between the anode and the cathode of each power management chip, and determining the voltage of each power management chip; and acquiring the current of each power management chip based on the voltage of each power management chip.
Specifically, the voltage difference between the positive electrode and the negative electrode of each power management chip can be measured and obtained, and the voltage difference is used as the voltage of the corresponding power management chip, that is, the output voltage value of the power management chip. When the output current of the power management chip is inconvenient to be directly measured, the corresponding current can be obtained by calculating based on the voltage of the power management chip so as to obtain the current of the power management chip. Of course, when the current of the power management chip can be directly measured, the current of the corresponding power management chip can also be directly measured, and the current is not limited specifically herein.
Specifically, in this embodiment, a detection resistor is connected in series to a positive terminal or a negative terminal of each of the power management chips, and the data obtaining module 710 is specifically configured to: acquiring the voltage of each detection resistor; acquiring the resistance value of each detection resistor; and calculating the current of each power management chip based on the voltage and the resistance value of each detection resistor.
Specifically, the detection resistor is a resistor with a small resistance value, so that when the detection resistor is connected in series to the positive terminal or the negative terminal of the power management chip, the influence of the detection resistor on the circuit can be ignored. Further, the voltage of the detection resistor may be obtained by obtaining a voltage difference between two ends of the detection resistor. The resistance value of the detection resistor is preset, and when the influence of temperature change on the resistance value of the resistor is not considered, the detected resistance value is fixed, so that the resistance value of the detection resistor can be directly obtained, and the current value of the detection resistor can be obtained and used as the current of the power management chip by dividing the detection voltage value by the resistance value.
Optionally, in this embodiment, when considering an influence of a temperature change on a resistance value of the resistor, the data obtaining module 710 may be specifically configured to: and respectively acquiring the environmental temperature of the area where each detection resistor is located, and respectively acquiring the resistance value of each detection resistor at the corresponding environmental temperature as the resistance value of each detection resistor.
Specifically, the obtained resistance value of the detection resistor at the corresponding ambient temperature may be obtained according to a pre-stored resistance value table of the corresponding detection resistor at different temperatures. For example, the resistance values of the corresponding detection resistors at different temperatures can be measured in advance and stored correspondingly. Specifically, the initial temperature and the termination temperature may be set according to actual requirements, and the resistance value of the detection resistor is gradually measured from the initial temperature at small temperature intervals (e.g., at intervals of 0.1 degree celsius). When the obtained ambient temperature has no corresponding measured value, the resistance value corresponding to the temperature value closest to the ambient temperature may be obtained as the resistance value of the detection resistor, or the resistance values corresponding to the two temperature values closest to the ambient temperature may be obtained and averaged to obtain the resistance value of the detection resistor. Optionally, a temperature-resistance curve of the detection resistor may be obtained by fitting based on a corresponding relationship between the measured temperature and the resistance value of the detection resistor, so as to obtain the resistance value at the corresponding ambient temperature according to the temperature-resistance curve, and other obtaining manners may be provided, which are not specifically limited herein.
Specifically, in this embodiment, the chip selection module 720 is configured to: when the voltage of the power supply management chip exceeds a preset voltage threshold value or the current of the power supply management chip exceeds a preset current threshold value, taking the power supply management chip as a target to disconnect the chip; and when the voltage of the power management chip does not exceed a preset voltage threshold and the current of the power management chip does not exceed a preset current threshold, taking the power management chip as a target working chip.
Specifically, the preset voltage threshold is a preset threshold of the output voltage of the power management chip, the preset current threshold is a preset threshold of the output current of the power management chip, and the voltage threshold and the current threshold may be set and adjusted according to actual requirements, which is not specifically limited herein.
Optionally, the chip selection module 720 may further determine whether a product of the voltage and the current of the power management chip exceeds a preset power threshold, and if the product exceeds the preset power threshold, take the corresponding power management chip as a target disconnection chip, otherwise, take the corresponding power management chip as a target working chip, so as to simplify the comparison process.
Optionally, the control module 730 is specifically configured to: and connecting the target working chip to the power supply end of the mainboard of the mobile terminal in a serial connection mode, and disconnecting the target disconnecting chip.
Specifically, the circuit connection relationship between the power management chips can be adjusted, so that the target working chip is connected to the power supply end of the main board of the mobile terminal in a serial connection manner, and the target disconnection chip is not connected. Fig. 6 is a schematic diagram of a power management chip according to an embodiment of the present invention, and fig. 6 illustrates 3 power management chips as an example. As shown in fig. 6, the connection relationship among the power management chip 1, the power management chip 2 and the power management chip 3 is controlled by controlling the switches 1 to 6, wherein the positive output terminal 601 is used for connecting with the positive terminal of the mobile terminal motherboard, and the negative output terminal 602 is used for connecting with the negative terminal of the mobile terminal motherboard. When the power management chip 1, the power management chip 2 and the power management chip 3 are all required to be started, the control switch 1, the switch 3, the switch 5 and the switch 6 are switched off, the switch 2 and the switch 4 are switched on, and the power management chip 1, the power management chip 2 and the power management chip 3 are connected with a power supply end of a mainboard of the mobile terminal in a serial connection mode. When the power management chip 1 and the power management chip 2 need to be started and the power management chip 3 needs to be disconnected, the control switch 2 and the switch 6 are closed, and other switches are controlled to be disconnected, so that the power management chip 3 is disconnected, and energy loss is reduced. By analogy, when the power management chip 1 and the power management chip 3 need to be started and the power management chip 2 needs to be disconnected, the control switch 2 and the switch 3 are closed, and the other switches are controlled to be disconnected; when the power management chip 2 and the power management chip 3 need to be started and the power management chip 1 needs to be disconnected, the control switch 1 and the switch 4 are closed, and the other switches are controlled to be disconnected; when only the power management chip 1 needs to be started, the control switch 5 is closed, and other switches are controlled to be opened; when only the power management chip 2 needs to be started, the control switch 1 and the switch 6 are closed, and the other switches are controlled to be disconnected; when only the power management chip 3 needs to be enabled, the switch 1 and the switch 3 are controlled to be closed, and the rest switches are controlled to be opened. When the number of the power management chips is more or less, the connection relationship can be set by referring to the connection relationship, which is not described herein again.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 8. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a power management chip control program. The internal memory provides an environment for the operation of the operating system and the power management chip control program in the nonvolatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The power management chip control program realizes the steps of any one of the power management chip control methods when being executed by the processor. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram of fig. 8 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, an intelligent terminal is provided, where the intelligent terminal includes a memory, a processor, and a power management chip control program stored in the memory and executable on the processor, and the power management chip control program performs the following operation instructions when executed by the processor:
respectively acquiring the voltage and the current of each power management chip;
selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started;
and connecting the target working chip and disconnecting the target disconnection chip.
The embodiment of the present invention further provides a computer-readable storage medium, where a power management chip control program is stored on the computer-readable storage medium, and when the power management chip control program is executed by a processor, the steps of any one of the power management chip control methods provided in the embodiments of the present invention are implemented.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical division, and the actual implementation may be implemented by another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the contents contained in the computer-readable storage medium can be increased or decreased as required by legislation and patent practice in the jurisdiction.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A power management chip control method is characterized by comprising the following steps:
respectively acquiring the voltage and the current of each power management chip;
selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started;
and connecting the target working chip and disconnecting the target disconnecting chip.
2. The power management chip control method according to claim 1, wherein before the separately obtaining the voltage and the current of each power management chip, the method further comprises:
and connecting each power management chip to a power supply end of a mainboard of the mobile terminal in a serial connection mode.
3. The method as claimed in claim 2, wherein the obtaining the voltage and the current of each power management chip respectively comprises:
respectively acquiring voltage differences between the anode and the cathode of each power management chip, and determining the voltage of each power management chip;
and acquiring the current of each power management chip based on the voltage of each power management chip.
4. The method according to claim 3, wherein a detection resistor is connected in series to a positive terminal or a negative terminal of each of the power management chips, and the obtaining of the current of each of the power management chips based on the voltage of each of the power management chips comprises:
acquiring the voltage of each detection resistor;
acquiring the resistance value of each detection resistor;
and calculating the current of each power management chip based on the voltage and the resistance value of each detection resistor.
5. The method according to claim 4, wherein the obtaining the resistance value of each of the detection resistors comprises:
and respectively obtaining the environmental temperature of the area where each detection resistor is located, and respectively obtaining the resistance value of each detection resistor at the corresponding environmental temperature as the resistance value of each detection resistor.
6. The method as claimed in claim 1, wherein the selecting a target operating chip and a target disconnecting chip based on the voltage and current of each power management chip comprises:
when the voltage of the power management chip exceeds a preset voltage threshold or the current of the power management chip exceeds a preset current threshold, taking the power management chip as a target disconnection chip;
and when the voltage of the power management chip does not exceed a preset voltage threshold and the current of the power management chip does not exceed a preset current threshold, taking the power management chip as a target working chip.
7. The power management chip control method according to claim 2, wherein the connecting the target operating chip and disconnecting the target disconnecting chip comprises:
and connecting the target working chip to a power supply end of a mainboard of the mobile terminal in a serial connection mode, and disconnecting the target disconnecting chip.
8. A power management chip control apparatus, the apparatus comprising:
the data acquisition module is used for respectively acquiring the voltage and the current of each power management chip;
the chip selection module is used for selecting a target working chip and a target disconnection chip based on the voltage and the current of each power management chip, wherein the target working chip is a power management chip needing to be started, and the target disconnection chip is a power management chip not needing to be started;
and the control module is used for connecting the target working chip and disconnecting the target disconnecting chip.
9. An intelligent terminal, characterized in that the intelligent terminal comprises a memory, a processor and a power management chip control program stored on the memory and operable on the processor, the power management chip control program, when executed by the processor, implementing the steps of the power management chip control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a power management chip control program, which when executed by a processor, implements the steps of the power management chip control method according to any one of claims 1 to 7.
CN202110030422.3A 2021-01-11 2021-01-11 Power management chip control method and device, intelligent terminal and storage medium Pending CN112711321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110030422.3A CN112711321A (en) 2021-01-11 2021-01-11 Power management chip control method and device, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110030422.3A CN112711321A (en) 2021-01-11 2021-01-11 Power management chip control method and device, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112711321A true CN112711321A (en) 2021-04-27

Family

ID=75548720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110030422.3A Pending CN112711321A (en) 2021-01-11 2021-01-11 Power management chip control method and device, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112711321A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114967903A (en) * 2022-07-26 2022-08-30 南京芯驰半导体科技有限公司 Power management method, system, electronic device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572437A (en) * 2008-04-28 2009-11-04 台达电子工业股份有限公司 Power management system
US20120072743A1 (en) * 2010-09-20 2012-03-22 Samsung Electronics Co., Ltd. Hierarchical Power Management Circuit, Power Management Method Using the Same, and System on Chip Including the Hierarchical Power Management Circuit
CN103576814A (en) * 2012-07-18 2014-02-12 鸿富锦精密工业(深圳)有限公司 Power supply circuit
US20140312855A1 (en) * 2013-03-19 2014-10-23 Richtek Technology Corporation Multi-purpose power management chip and power path control circuit
CN104865833A (en) * 2015-04-23 2015-08-26 青岛海尔智能家电科技有限公司 Household electrical appliance power supply management method and apparatus
CN107734613A (en) * 2017-10-17 2018-02-23 北京小米移动软件有限公司 Method for managing power supply and device
CN110268367A (en) * 2017-02-13 2019-09-20 苹果公司 System and method for coherent power source management
CN111433709A (en) * 2017-09-28 2020-07-17 英特尔公司 Hierarchical power management unit for low power and low duty cycle devices
CN111857310A (en) * 2020-07-24 2020-10-30 杭州迪普信息技术有限公司 Power supply system and method for components
CN211859585U (en) * 2020-04-01 2020-11-03 广东美的智能科技有限公司 Overcurrent detection circuit and flyback switching power supply

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572437A (en) * 2008-04-28 2009-11-04 台达电子工业股份有限公司 Power management system
US20120072743A1 (en) * 2010-09-20 2012-03-22 Samsung Electronics Co., Ltd. Hierarchical Power Management Circuit, Power Management Method Using the Same, and System on Chip Including the Hierarchical Power Management Circuit
CN103576814A (en) * 2012-07-18 2014-02-12 鸿富锦精密工业(深圳)有限公司 Power supply circuit
US20140312855A1 (en) * 2013-03-19 2014-10-23 Richtek Technology Corporation Multi-purpose power management chip and power path control circuit
CN104865833A (en) * 2015-04-23 2015-08-26 青岛海尔智能家电科技有限公司 Household electrical appliance power supply management method and apparatus
CN110268367A (en) * 2017-02-13 2019-09-20 苹果公司 System and method for coherent power source management
CN111433709A (en) * 2017-09-28 2020-07-17 英特尔公司 Hierarchical power management unit for low power and low duty cycle devices
CN107734613A (en) * 2017-10-17 2018-02-23 北京小米移动软件有限公司 Method for managing power supply and device
CN211859585U (en) * 2020-04-01 2020-11-03 广东美的智能科技有限公司 Overcurrent detection circuit and flyback switching power supply
CN111857310A (en) * 2020-07-24 2020-10-30 杭州迪普信息技术有限公司 Power supply system and method for components

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114967903A (en) * 2022-07-26 2022-08-30 南京芯驰半导体科技有限公司 Power management method, system, electronic device and storage medium
CN114967903B (en) * 2022-07-26 2022-11-04 南京芯驰半导体科技有限公司 Power management method, system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN110380461B (en) Line concentration device and power supply method thereof
US9141141B2 (en) Portable device and peripheral extension dock
CN109888885B (en) Charging control method, charging control device, storage medium and electronic equipment
EP2781989B1 (en) Current switch control device and electronic device
US20130254571A1 (en) Power management method and apparatus for network access module
EP3349325B1 (en) Charging method, charging device and terminal
CN112540304B (en) Battery power management method, electronic device and computer storage medium
CN110265739B (en) Battery management method, system, terminal device and storage medium
EP3706007B1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
CN112711321A (en) Power management chip control method and device, intelligent terminal and storage medium
US20130205140A1 (en) Electronic apparatus and driving control method thereof
CN109687922B (en) Signal monitoring method and device of wireless network, storage medium and mobile terminal
CN111008090A (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN116545045A (en) Power receiving device and power supply path control method
CN112214433B (en) Terminal device, control method thereof, auxiliary device, and storage medium
CN111399618A (en) Output current adjusting method and device, mobile terminal and storage medium
CN111987764B (en) Discharge control method and device, storage medium and mobile terminal
CN110994052A (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN109474925B (en) Clock setting method based on SIM module, mobile terminal and storage medium
CN113241835B (en) Charging module, electronic equipment and charging control method
CN110474310B (en) Control method, first electronic device and second electronic device
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN215580480U (en) Decoder charging circuit
US20230258696A1 (en) Voltage monitoring system, voltage monitoring device and voltage monitoring method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination