WO2020063113A1 - Electronic device, control method and computer storage medium therefor - Google Patents

Electronic device, control method and computer storage medium therefor Download PDF

Info

Publication number
WO2020063113A1
WO2020063113A1 PCT/CN2019/099306 CN2019099306W WO2020063113A1 WO 2020063113 A1 WO2020063113 A1 WO 2020063113A1 CN 2019099306 W CN2019099306 W CN 2019099306W WO 2020063113 A1 WO2020063113 A1 WO 2020063113A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
voltage
transformer
temperature
battery protection
Prior art date
Application number
PCT/CN2019/099306
Other languages
French (fr)
Chinese (zh)
Inventor
曹世伟
Original Assignee
西安中兴新软件有限责任公司
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 西安中兴新软件有限责任公司 filed Critical 西安中兴新软件有限责任公司
Publication of WO2020063113A1 publication Critical patent/WO2020063113A1/en

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/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • 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
    • 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/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • 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/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • G06F1/305Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations

Definitions

  • the present invention relates to the field of electronics and information technology, and in particular, to an electronic device, a control method, and a computer storage medium thereof.
  • the electronic equipment supplies power to different components or modules in the electronic equipment through a transformer circuit provided inside the electronic equipment.
  • the power supply scheme adopted by the terminal in the related technology is that the battery core outputs a voltage of 4V to a plurality of transformer circuits on the motherboard, and the plurality of transformer circuits convert the 4V voltage into a voltage matching the load and output the voltage to the load.
  • the battery core outputs a voltage of 4V to a plurality of transformer circuits on the motherboard
  • the plurality of transformer circuits convert the 4V voltage into a voltage matching the load and output the voltage to the load.
  • the heat generated by the transformer circuit during work may cause the temperature of the motherboard to be too high.
  • the embodiments of the present invention are expected to provide an electronic device, a control method thereof, and a computer storage medium, which solve the problem that the heat generated by the transformer circuit on the motherboard during operation in the related art may cause the motherboard to be overheated.
  • An electronic device includes: at least one battery protection board, the battery protection board is provided with a battery protection board circuit, and the battery protection board circuit includes at least one first voltage transformation circuit, the first transformer The voltage transformer circuit is used to increase or decrease the voltage input to the first voltage transformer circuit; a motherboard, the motherboard is provided with a motherboard circuit, the motherboard circuit includes at least one second voltage transformer circuit, and the second voltage transformer circuit And configured to increase or decrease the voltage input to the second transformer circuit; a processor is configured to obtain a voltage requirement of the electronic device, and control a state of each of the first transformer circuits based on the voltage requirement and A state of each of the second transformer circuits.
  • a control method applied to an electronic device comprising: obtaining a first transformer parameter of each of the first transformer circuits and a second transformer parameter of each of the second transformer circuits;
  • the first transformer parameter determines that the first transformer circuit meets the voltage requirement, controls that the first transformer circuit that meets the voltage requirement is in an operating state, and controls each of the second transformer circuits to be turned off. status.
  • a computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the control method as described above.
  • a computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause the computer to execute The methods described above.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a battery protection circuit according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of still another electronic device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a control method according to an embodiment of the present invention.
  • an embodiment of the present invention or “the foregoing embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, "in the embodiments of the present invention” or “in the foregoing embodiments” appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the size of the serial numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not deal with the implementation process of the embodiments of the present invention. Constitute any limitation.
  • the sequence numbers of the foregoing embodiments of the present invention are merely for description, and do not represent the superiority or inferiority of the embodiments.
  • the electronic device 1 includes at least one battery protection board 11, a main board 12, and a processor 13, wherein the battery protection board 11 is provided with a battery protection board circuit and a battery
  • the protection board circuit includes at least one first transformer circuit, and the first transformer circuit is used to increase or decrease the voltage input to the first transformer circuit.
  • the electronic device 1 described in the present invention may be, for example, a mobile phone, a tablet computer, a notebook computer, a handheld computer, a personal digital assistant (PDA), a portable media player (Portable Media Player, PMP), a navigation device, Wearable devices, smart bracelets, pedometers and other mobile terminals, as well as digital TVs or desktop computers.
  • PDA personal digital assistant
  • PMP portable media player
  • PMP portable Media Player
  • PMP Portable Media Player
  • navigation device wearable devices, smart bracelets, pedometers and other mobile terminals, as well as digital TVs or desktop computers.
  • the first transformer circuit described in the embodiment of the present invention may be a DC-DC converter circuit (DC-DC circuit), an AC-DC converter circuit (AC-DC circuit), a DC-AC converter circuit (DC-AC circuit), and At least one of an AC-AC conversion circuit (AC-AC circuit).
  • the first transformer circuit is a DC-DC converter circuit (DC-DC circuit)
  • the first transformer circuit may be a boost circuit or a buck circuit.
  • the electronic device 1 may be provided with one battery or at least two batteries, and the number of the batteries may be selected according to actual conditions, which is not limited in the present invention.
  • the number of batteries corresponds to the number of battery protection plates.
  • the electronic device 1 includes a battery protection board 11, and at least one first voltage conversion circuit on a battery protection board may be represented by A1... An.
  • the electronic device 1 includes at least two battery protection boards 11, wherein at least one first voltage conversion circuit on the at least two battery protection boards can use A1... An,..., B1... Bn said.
  • at least one first voltage transformation circuit may be represented by A1 ... An, B1 ...
  • At least one of the first battery protection board A first transformer circuit can be represented by A1 ... An
  • at least one first transformer circuit on the second battery protection board can be represented by B1 ... Bn.
  • at least one first voltage transformation circuit may be represented by A1 ... An, C1 ... Cn, B1 ... Bn
  • at least one first transformer circuit on the first battery protection board may be represented by A1 ... An
  • at least one first transformer circuit on the second battery protection board may be represented by B1 ... Bn
  • the third battery At least one first transformer circuit on the protection board can be represented by C1 ... Cn.
  • the value of n is a positive integer. It should be understood that when the electronic device 1 includes other battery protection boards 11, the representation manner of the at least one first voltage transformation circuit may be deduced by analogy, and details are not described herein again.
  • the battery in the electronic device 1 includes a battery cell and a battery protection board 11.
  • the battery protection board 11 is provided with a battery protection board circuit.
  • the battery protection board circuit includes a battery protection circuit and at least one first voltage transformation circuit.
  • the battery protection circuit is mainly composed of a maintenance IC (overvoltage maintenance) and a MOS tube (overcurrent maintenance). It is a circuit used to protect the safety of lithium battery cells.
  • Lithium batteries are widely used because they have large discharge current, low internal resistance, long life, and no memory effect. Lithium-ion batteries are prohibited from overcharging, overdischarging, and short-circuiting during use, otherwise they will cause fire, blasting and other fatal defects Therefore, the use of rechargeable lithium batteries will have a battery protection circuit to maintain the safety of the battery cells.
  • the protection function of a lithium battery is usually completed by a Positive Temperature Coefficient (PTC) and other electronic components in order to accurately monitor the voltage of the battery cell and the current of the charge and discharge circuit in an environment of -40 ° C to + 85 ° C. , And timely control the on-off of the current loop; the main role of positive temperature coefficient resistor is to protect in high temperature environment to prevent the battery from burning, explosion and other vicious accidents.
  • PTC Positive Temperature Coefficient
  • the input voltage Vbat + of the battery protection circuit is provided by the battery core.
  • the battery protection circuit has four output terminals, which are a positive voltage output terminal P +, a negative voltage output terminal P-, a temperature detection terminal TH and a ground terminal ID, among which the temperature detection terminal TH Connected in series to the temperature acquisition resistor RT.
  • the resistance of the temperature acquisition resistor RT decreases as the temperature rises.
  • the temperature detection terminal TH is electrically connected to the processor to determine the battery protection board 11 through the processor to obtain the resistance of the temperature acquisition resistor RT. On the first temperature.
  • the input terminal of at least one first transformer circuit on each battery protection board can be electrically connected to the positive voltage output terminal P + of the battery protection circuit, and the output terminal of at least one first transformer circuit can be electrically connected to the load 14,
  • the load 14 may include a processor, a radio frequency module, a flashlight, a display module, and the like, which are not listed here one by one. It should be understood that the load in the embodiment of the present invention is all components or modules in the electronic device that need to consume power. In this embodiment, the positive voltage output terminal P + outputs an output voltage of + 4V.
  • the voltage transformation parameters of at least one first voltage transformation circuit on a battery protection board are all different. In another embodiment, at least two first voltage transformation circuits may have the same voltage transformation parameters on a battery protection board.
  • the voltage transformation parameters of all the first voltage transformation circuits on the at least one battery protection board are different.
  • an electronic device includes a first battery protection board and a second battery protection board.
  • the first battery protection board may be provided with two first voltage transformation circuits having voltage transformation parameters of A and B, and the second battery board may be provided with
  • the transformer parameters are two first transformer circuits of C and D, and the transformer parameters corresponding to A, B, C and D are all different.
  • at least two of the voltage transformation parameters of all the first voltage transformation circuits on the at least one battery protection board may be the same.
  • an electronic device includes a first battery protection board and a second battery protection board.
  • the first battery protection board may be provided with two first voltage transformation circuits having voltage transformation parameters of A and B, and the second battery board may be Two first voltage transformation circuits with voltage transformation parameters A and C are provided.
  • the transformation parameter is specifically a transformation ratio, and the transformation ratio is a ratio between an input voltage and an output voltage.
  • the first voltage transformation circuit provided on the battery protection board can output a stable voltage or an output voltage value that does not change.
  • the main board 12 is provided with a main board circuit.
  • the main board circuit includes at least one second transformer circuit.
  • the second transformer circuit is used to increase or decrease the voltage input to the second transformer circuit.
  • at least one second transformer circuit can be represented by D1 ... Dn.
  • the second transformer circuit described in the present invention may be a DC-DC converter circuit (DC-DC circuit), an AC-DC converter circuit (AC-DC circuit), a DC-AC converter circuit (DC-AC circuit), and an AC- At least one of an alternating current conversion circuit (AC-AC circuit).
  • the second transformer circuits are all DC-DC converter circuits (DC-DC circuits).
  • the second transformer circuit may be a boost circuit or a buck circuit.
  • the voltage transformation parameters of the second voltage transformation circuit on the main board 12 may be completely different from the voltage transformation parameters of the first voltage transformation circuit on at least one battery protection board, and may also be partially the same or completely the same.
  • the transformation parameters of all the first transformer circuits on at least one battery protection board are P (i)
  • the transformation parameters of at least one second transformer circuit on the main board 12 are Q (j)
  • the input of at least one second transformer circuit can be electrically connected to the positive voltage output terminal P + of the battery protection circuit; the output of at least one second transformer circuit can be electrically connected to a load 14, wherein the load 14 may include a processor , RF module, flashlight, or display module, etc., are not listed here one by one.
  • the processor 13 is configured to obtain a voltage requirement of the electronic device 1 and control a state of each first voltage transformation circuit and a state of each second voltage transformation circuit based on the voltage demand.
  • the voltage requirement in the embodiment of the present application may be the voltage requirement of the load 14 in the electronic device, such as a flashlight, a radio frequency module, or a display module in the electronic device; it may also be a voltage requirement of the battery.
  • the battery supplies power to the load; when the voltage demand is the battery in the electronic device, the external power supply supplies power to the battery.
  • the processor 13 is configured to obtain a first voltage transformation parameter of each first voltage transformation circuit and a second voltage transformation parameter of each second voltage transformation circuit;
  • the transformer parameter determines that the first transformer circuit meets the voltage demand, controls the first transformer circuit that meets the voltage demand to be in a working state, and controls each second transformer circuit to be in a closed state.
  • the electronic device 1 requires voltages of 3V, 2.5V, and 2V.
  • the three first voltage transformer circuits on at least one battery protection board 11 can provide voltages of 3V, 2.5V, and 2V.
  • the second voltage transformer circuit on the motherboard 12 If the voltages of 3V, 2.5V and 2V can be provided, the processor 13 controls the first transformer circuit capable of providing 3V, 2.5V and 2V to be in a working state, and controls each second transformer circuit to be in a closed state.
  • the processor 13 is configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit; if based on the first transformer parameter and the first transformer parameter Two transformer parameters to determine that some of the first transformer circuits in the battery protection board circuit and some of the second transformer circuits in the motherboard circuit meet the voltage requirements, and the first transformer circuit that meets the voltage requirements is controlled to work, and in addition to meeting the voltage requirements
  • the first external transformer circuit is in a closed state
  • the second secondary transformer circuit that controls to meet the voltage requirement is in an operating state
  • the second secondary circuit that is in addition to meeting the voltage requirement is in a closed state.
  • the electronic device 1 requires 3V, 2.5V, and 2V voltages.
  • the first transformer circuit on at least one battery protection board 11 can provide 3V and 2V voltages
  • the second transformer circuit on the motherboard 12 can provide 3V, 2.5V. V and 2V voltage
  • the processor 13 controls the two first transformer circuits capable of providing 3V and 2V to be in an operating state, and controls the three second transformer circuits capable of providing 3V, 2.5V, and 2V to also be in an operating state.
  • the battery protection board 11 or the main board 12 is provided with a voltage transformer circuit capable of other voltages, for example, 4.5V or 3.5V, etc.
  • the voltage transformer circuit controlled to provide a voltage of 4.5V or 3.5V etc. is located at Disabled.
  • the processor 13 is configured to obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit; if based on the first transformation parameter and the first transformation parameter, Two transformer parameters to determine that some of the first transformer circuits in the battery protection board circuit and some of the second transformer circuits in the motherboard circuit meet the voltage requirements, and the first transformer circuit that meets the voltage requirements is controlled to work, and in addition to meeting the voltage requirements
  • the first external transformer circuit is in the off state; the second transformer circuit that controls the second transformer circuit that meets the voltage demand is in the working state, and the second transformer parameter that controls the second transformer circuit and meets the voltage demand
  • the second transformer circuit has the same first transformer parameter and the second transformer circuit except that the voltage requirement is met, is in a closed state.
  • the electronic device 1 requires voltages of 3V, 2.5V, and 2V.
  • the first transformer circuit on at least one of the battery protection boards 11 can provide 3V and 2V
  • the second transformer circuit on the motherboard 12 can provide 3V.
  • the processor 13 controls the two first transformer circuits capable of providing 3V and 2V to be in operation
  • the second transformer circuit capable of providing 2.5V is also in operation
  • the control can The two second transformer circuits providing 3V and 2V are closed.
  • the processor 13 is configured to obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit; based on the voltage demand, the first transformation parameter As well as the second voltage transformation parameter, the first voltage transformation circuit and the second voltage transformation circuit corresponding to the voltage transformation parameters that meet the voltage demand and that the first voltage transformation parameter and the second voltage transformation parameter are the same are both in a working state.
  • the electronic device 1 requires 3V, 2.5V, and 2V voltages.
  • the first transformer circuit on at least one battery protection board 11 can provide 3V and 2V voltages
  • the second transformer circuit on the motherboard 12 can provide 3V, 2.5V. V and 2V voltage
  • the processor 13 controls the two first transformer circuits capable of providing 3V and 2V in the first half of a cycle in a working state, and controls the two second transformer circuits capable of providing 3V and 2V between The second half of a cycle is in the working state, and a second transformer circuit that controls to provide 2.5V is always in the working state.
  • the processor is used to control the state of each first transformer circuit and each second transformer circuit in at least one first transformer circuit with different transformer parameters. status. In this way, the control method of the processor can be made simple.
  • the processor can control the state of the first voltage transformation circuit located on the battery protection board and the second voltage transformation on the main board according to the voltage demand.
  • the state of the circuit so that both the motherboard and the battery protection board can supply power to the load, instead of only supplying power to the load through the transformer circuit on the motherboard, to avoid the phenomenon of excessive temperature of the motherboard;
  • the voltage circuit is arranged on the battery protection board, and there is no need to change the structure of the motherboard circuit, and the structure of the electronic device is simple.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device 2 includes at least one battery protection board 21, a main board 22, and a processor 23.
  • the battery protection board 21 is provided with a battery protection board circuit
  • the main board 22 is provided with a main board circuit.
  • the battery protection board circuit further includes a first temperature detection circuit, and the first temperature detection circuit is electrically connected to at least one first transformer circuit.
  • the processor 23 is further configured to obtain a first circuit parameter of the first temperature detection circuit, and obtain a first temperature of the battery protection board corresponding to the first temperature detection circuit based on the first circuit parameter; the processor 23 is further configured to The voltage demand and the first temperature of the battery protection board control the state of each first transformer circuit and the state of each second transformer circuit.
  • the first circuit parameter may be a resistance value.
  • the first temperature detection circuit may be a temperature acquisition resistor RT in the battery protection circuit, and is electrically connected to the processor 23 through the temperature detection terminal TH of the battery protection circuit, and the processor 23 obtains the resistance of the temperature acquisition resistor RT. Value to determine the first temperature on the battery protection plate 21. It should be understood that the number of the first circuit parameters received by the processor 23 corresponds to the number of the battery protection boards 21.
  • the processor 23 Receive k first circuit parameters, and obtain k first temperatures according to the k first circuit parameters.
  • the first circuit parameter may also be a capacitance value, an inductance value, a conductivity, or a temperature value, which is not limited herein.
  • the electronic device 20 includes a battery protection board 21; the processor 23 is further configured to obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit The processor 23 is further configured to control the state of each first transformer circuit and each of the first transformer circuits based on the first transformer parameter, the second transformer parameter, and the voltage demand if the first temperature of the battery protection board is less than the first preset temperature. A state of a second transformer circuit.
  • the first preset temperature ranges from 40 ° C to 50 ° C.
  • the first preset temperature may be 40 ° C, 45 ° C, or 50 ° C.
  • the first preset temperature is 45 ° C.
  • the processor 23 is further configured to determine that the first transformer circuit meets the voltage requirement based on the first transformer parameter of the first transformer circuit on a battery protection board if the temperature is less than the first temperature and less than the first preset temperature, and the control meets The first transformer circuit with a voltage requirement is in a working state, and each second transformer circuit is controlled to be in a closed state.
  • the processor 23 is further configured to determine the battery protection board circuit based on the first voltage transformation parameter and the second voltage transformation parameter of the first voltage transformation circuit on a battery protection board if the temperature is less than the first temperature and less than the first preset temperature.
  • the first transformer circuit in the middle part and the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that controls the voltage demand is controlled to be in an operating state, and the first transformer circuit other than the voltage demand is turned off. ; Controlling the second transformer circuit that satisfies the voltage demand is in a working state, and the second transformer circuit except that the voltage demand is met is in a closed state.
  • the processor 23 is further configured to determine the battery protection board circuit based on the first voltage transformation parameter and the second voltage transformation parameter of the first voltage transformation circuit on a battery protection board if the temperature is less than the first temperature and less than the first preset temperature.
  • the first transformer circuit in the middle part and the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that controls the voltage demand is controlled to be in an operating state, and the first transformer circuit other than the voltage demand is turned off. ; Control the second transformer circuit, the second transformer circuit that meets the voltage demand is in an operating state, and control the first transformer circuit in the second transformer circuit, the second transformer parameter and the first transformer circuit that meets the voltage demand of the first transformer
  • the second transformer circuit which has the same voltage parameters and meets the voltage requirements, is closed.
  • the electronic device 20 includes at least two battery protection boards 21; the processor 23 is further configured to obtain second transformation parameters of each second voltage transformation circuit and each of the battery protection boards 21 A first transformation parameter of the first transformation circuit; the processor 23 is further configured to obtain a target battery protection board with a first temperature less than a first preset temperature in at least two battery protection boards, and based on the second transformation parameter and voltage The demand and the first transformation parameter of the first transformer circuit on the target battery protection board control the state of each second transformer circuit and the state of the first transformer circuit on the target battery protection board.
  • the processor 23 is further configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit of the target battery protection board; if determined based on the first transformer parameter The first transformer circuit satisfies the voltage demand, controls the first transformer circuit that satisfies the voltage demand to be in an operating state, and controls each second transformer circuit to be in a closed state.
  • the processor 23 is further configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit of the target battery protection board; if based on the first transformer parameter and The second transformer parameter determines that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled to work, and The first transformer circuit that is not required is in a closed state; the second transformer circuit that controls to meet the voltage requirement is in a working state, and the second transformer circuit except that meets the voltage demand is in a closed state.
  • the processor 23 is further configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit of the target battery protection board; if based on the first transformer parameter and The second transformer parameter determines that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled to work, and The first transformer circuit outside the demand is in a closed state; in the second transformer circuit, the second transformer circuit that meets the voltage demand is in a working state, and in the second transformer circuit, the second transformer parameter and the satisfied voltage are controlled
  • the first voltage transformation parameter of the first voltage transformer circuit that is required is the same and the second voltage transformer circuit except that it meets the voltage requirement is in a closed state.
  • the case where the first transformer circuit is in the working state and the closed state is exemplified. It should be understood that the number of the battery protection plates 21 defined in the following examples is two, but when the number of the battery protection plates 21 is another one, for example, In the case of one, three, four, and so on, reference may also be made to the following method, which is not described in the embodiment of the present invention.
  • the electronic device 2 includes a first battery protection board 21 and a second battery protection board 21, and at least one first voltage transformation circuit on the first battery protection board 21 can provide voltages of 3V, 2.5V, and 2V, At least one first transformer circuit on the second battery protection board 21 can also provide 3V, 2.5V, and 2V.
  • the electronic device 2 requires 3V, 2.5V, and 2V, and the first battery obtained by the processor 23
  • the first temperature of the protection board 21 is lower than the first preset temperature, and the first temperature of the second battery protection board 21 is greater than or equal to the second preset temperature, that is, the processor 23 controls the first battery protection board 21 to provide 3V
  • the first transformer circuit with a voltage of 2.5V and 2V is in an operating state.
  • the processor 23 can control the first battery protection board 21 to provide 3V,
  • the first transformer circuit with a voltage of 2.5V and 2V is in a working state;
  • the first transformer circuit capable of providing the voltages of 3V, 2.5V, and 2V on the second battery protection board 21 can also be controlled in a working state; or it can also control
  • the first transformer circuit capable of providing 3V, 2.5V, and 2V on the first battery protection board 21 and the first transformer circuit capable of providing 3V, 2.5V, and 2V on the second battery protection board 21 are both in operation status.
  • the electronic device 2 includes a first battery protection board 21 and a second battery protection board 21, and at least one first transformer circuit on the first battery protection board 21 can provide a voltage of 3V and 2.5V. At least one first transformer circuit on the two battery protection boards 21 can also provide 3V and 2V voltages, and at least one second transformer circuit on the motherboard 22 can provide 3V, 2.5V, and 2V voltages.
  • the processor 23 controls the first voltage transformation circuit on the first battery protection board 21 capable of providing 3V and 2.5V voltages to work, and controls the second voltage transformation circuit on the main board 22 capable of providing voltages of 2V to work. State, or the second transformer circuit on the main board 22 capable of providing 3V, 2.5V, and 2V voltages is in an operating state.
  • the electronic device 2 includes a first battery protection board 21 and a second battery protection board 21, and at least one first voltage transformation circuit on the first battery protection board 21 can provide a voltage of 1.5 V, and the second battery At least one first transformer circuit on the protection board 21 can provide voltages of 3V, 2.5V, and 2V, and at least one second transformer circuit on the main board can provide voltages of 3V, 2.5V, 2V, and 1.5V.
  • the electronic device is 2 requires voltages of 3V, 2.5V, and 2V
  • the first temperature of the first battery protection board 21 obtained by the processor 23 is less than the first preset temperature
  • the first temperature of the second battery protection board 21 is greater than or equal to the second preset temperature. It is assumed that the temperature is controlled, that is, the processor 23 controls the second voltage transformation circuit on the main board 22 capable of providing voltages of 3V, 2.5V, and 2V to be in an operating state.
  • the electronic device 2 may further include at least one first switch 25 and at least one second switch 26.
  • At least one first switch 25 is connected in series corresponding to at least one first transformer circuit, and each first switch 25 is also electrically connected to the processor 23, so that the processor 23 is used to control the first switch 25 to control the first switch 25. State of the first series transformer circuit.
  • At least one second switch 26 is connected in series corresponding to at least one second transformer circuit, and each second switch 26 is also electrically connected to the processor 23, so that the processor 23 is used to control the second switch 26 to control the second switch 26. State of the second series transformer circuit.
  • both the first switch 25 and the second switch 26 may be MOS transistors or thyristors.
  • the first terminal of the first switch 25 is electrically connected to the first voltage transformation circuit, and the second terminal of the first switch 25 is electrically connected to the load 24.
  • the load 24 may include a processor 23, a radio frequency module, a flashlight or a display module, and the first switch.
  • the control end of 25 is electrically connected to the processor 23 to control the on / off of the first switch 25 through the processor 23 outputting a voltage to the first switch 25 and then to control the state of the first transformer circuit connected in series with the first switch 25.
  • a first terminal of the second switch 26 is electrically connected to the second voltage transformation circuit, a second terminal of the second switch 26 is electrically connected to the load 24, and a control terminal of the second switch 26 is electrically connected to the processor 23, so that the processor 23 is connected to the first
  • the two switches 26 output voltage to control the on / off of the second switch 26 and then control the state of the second transformer circuit connected in series with the second switch 26.
  • the first voltage transformation circuit on the battery protection board when the temperature of the battery protection board is lower than the first preset temperature and the first voltage transformation circuit on the battery protection board can meet the voltage requirement, the first voltage transformation circuit on the battery protection board is preferentially turned on. This can reduce the operation of the second transformer circuit on the motherboard, thereby reducing the temperature on the motherboard, and avoiding excessive temperature on the motherboard. In addition, when the ambient temperature of the electronic device is too low, it will lead to a decrease in the battery's activity. By selecting the first transformer circuit that meets the voltage requirements of the battery protection board to work, it can increase the battery temperature and ensure that the battery operates at A reasonable temperature range.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device 3 includes at least one battery protection board 31, a main board 32, and a processor 33.
  • the electronic device further includes a first switch 35 and a second switch 36.
  • the first switch 35 and the second switch 36 may be the same as the first switch 25 and the second switch 26 in the above embodiment.
  • the first terminal of the first switch 35 is electrically connected to the first voltage transformation circuit, the second terminal of the first switch 35 is electrically connected to the load 34, and the control terminal of the first switch 35 is electrically connected to the processor; the first terminal of the second switch 36 is electrically connected The second transformer circuit is connected, the second terminal of the second switch 36 is electrically connected to the load 34, and the control terminal of the second switch 36 is electrically connected to the processor.
  • the electronic device 3 may be provided with one battery or at least two batteries, and the number of the batteries may be selected according to actual conditions, which is not limited in the present invention.
  • the electronic device 3 includes a battery, that is, the electronic device 3 includes a battery protection plate 31.
  • the electronic device 3 includes at least two batteries, that is, the electronic device 3 includes at least two battery protection plates 31.
  • the motherboard circuit further includes a second temperature detection circuit, the second temperature detection circuit is electrically connected to at least one second transformer circuit, and the second temperature detection circuit is configured to obtain a second temperature on the motherboard; the processor 33 is further configured to receive the first temperature Two temperatures, and based on the voltage demand, the second temperature, and the first temperature, controlling the state of each first transformer circuit and the state of each second transformer circuit.
  • the second temperature detection circuit may be a temperature sensor provided on the main board 32, the second circuit parameter is a temperature value, and the processor obtains the second temperature on the main board 32 based on the temperature value.
  • the second temperature detection circuit may be a thermistor, a capacitor, or an inductor, and the second circuit parameter may also be a resistance, a capacitor, or an inductance.
  • the processor 33 is further configured to control the second temperature satisfying the voltage requirement if the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is less than the second preset temperature.
  • the transformer circuits are in a working state, and each first transformer circuit is controlled to be in a closed state.
  • the electronic device 3 includes a first battery protection board 31 and a second battery protection board 31, at least one first voltage transformation circuit on the first battery protection board 31, and at least one first voltage transformation on the second battery protection board 31.
  • the circuit and at least one second transformer circuit on the motherboard 32 can provide voltages of 3V, 2.5V, and 2V.
  • the control on the main board 32 can provide 3V,
  • the second voltage transformation circuit with a voltage of 2.5V and 2V is in an operating state. At least one first voltage transformation circuit on the first battery protection plate 31 and at least one first voltage transformation circuit on the second battery protection plate 31 are both in a closed state.
  • the second preset temperature ranges from 60 ° C to 80 ° C.
  • the second preset temperature may be 60 ° C, 70 ° C, or 80 ° C.
  • the second preset temperature may be 70 ° C.
  • the processor 33 is further configured to control to meet the voltage requirement if the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is greater than or equal to the second preset temperature.
  • the first transformer circuit and the second transformer circuit that meet the voltage requirements are in an operating state.
  • the electronic device 3 includes a first battery protection board 31 and a second battery protection board 31, at least one first voltage transformation circuit on the first battery protection board 31, and at least one first voltage transformation on the second battery protection board 31.
  • the circuit and at least one second transformer circuit on the motherboard 32 can provide voltages of 3V, 2.5V, and 2V.
  • the first battery protection board obtained by the processor 33
  • both the first temperature of 31 and the first temperature of the second battery protection board 31 are greater than or equal to the second preset temperature, and the second temperature on the main board 32 is greater than or equal to the second preset temperature
  • the first battery protection board 31 is controlled.
  • the first transformer circuit on the second battery protection board 31 capable of providing 3V, 2.5V and 2V voltages is in a working state and the second transformer on the main board 32 capable of providing 3V, 2.5V and 2V voltages The circuit is working.
  • the processor controls the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand, the second temperature, and at least one first temperature.
  • the second transformer circuit on the motherboard is preferentially placed in a working state to avoid excessive temperature on the battery protection board. Phenomenon occurs; when the first temperature on the battery protection board is greater than or equal to the first preset temperature and the second temperature on the motherboard is greater than or equal to the second preset temperature, the first voltage transformation circuit on the battery protection board that meets the voltage requirements It works with the second transformer circuit that meets the voltage requirements on the motherboard. Because the first transformer circuit and the second transformer circuit are in parallel, the current through the first transformer circuit and the second circuit can be reduced at the same time. Can reduce the heat generation on the battery protection board and the motherboard at the same time.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the electronic device includes a main board and at least one battery protection board.
  • the battery board protection board is provided with a battery protection board circuit.
  • the battery protection board circuit includes at least one A first transformer circuit; a motherboard circuit is provided on the motherboard, and the motherboard circuit includes at least one second transformer circuit.
  • the method includes the following steps:
  • Step 401 Obtain a voltage requirement of the electronic device.
  • Step 402 Control the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 501 Obtain a voltage requirement of the electronic device.
  • Step 502 Acquire a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit.
  • the embodiment of the present invention does not limit the sequence of steps 501 and 502.
  • Step 503 If it is determined based on the first voltage transformation parameter that the first voltage transformation circuit meets the voltage demand, control the first voltage transformation circuit that meets the voltage demand to be in an operating state, and control each second voltage transformation circuit to be in an off state.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 601 Obtain a voltage requirement of the electronic device.
  • Step 602 Acquire a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit.
  • Step 603 if it is determined based on the first transformer parameter and the second transformer parameter that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the motherboard circuit meet the voltage demand, and The voltage transformer circuit is in a working state, and the first voltage transformer circuit is in a closed state except for meeting a voltage requirement.
  • Step 604 Control that the second transformer circuit that meets the voltage demand is in an operating state, and the second transformer circuit that is in addition to meeting the voltage demand is in a closed state.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 701 Obtain a voltage requirement of the electronic device.
  • Step 702 Obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit.
  • Step 703 If it is determined based on the first voltage transformation parameter and the second voltage transformation parameter, part of the first voltage transformation circuit in the battery protection board circuit and part of the second voltage transformation circuit in the motherboard circuit meet the voltage demand, and control the first The voltage transformer circuit is in a working state, and the first voltage transformer circuit is in a closed state except for meeting a voltage requirement.
  • Step 704 controlling the second transformer circuit in which the second transformer circuit that meets the voltage requirement is in an operating state, and controlling the second transformer circuit in which the second transformer parameter and the first transformer circuit that meets the voltage requirement A second transformer circuit with the same transformer parameters and except meeting the voltage requirements is in a closed state.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 801 Obtain at least one first temperature corresponding to at least one battery protection plate.
  • Step 802 Obtain a voltage requirement of the electronic device.
  • the embodiment of the present invention does not limit the sequence of steps 801 and 802.
  • Step 803 Control the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand and at least one first temperature.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the electronic device includes a battery protection board.
  • the method includes the following steps:
  • Step 901 Obtain at least one first temperature corresponding to at least one battery protection plate.
  • Step 902 Obtain a voltage requirement of the electronic device.
  • the present invention does not limit the sequence of steps 901 and 902.
  • Step 903 Obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit.
  • Step 904 if the first temperature of the battery protection board is lower than the first preset temperature, based on the first voltage transformation parameter, the second voltage transformation parameter and the voltage demand, control the state of each first voltage transformation circuit and each second voltage transformation Voltage circuit status.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the electronic device includes at least two battery protection boards.
  • the method includes the following steps:
  • Step 1001 Obtain at least one first temperature corresponding to at least one battery protection plate.
  • Step 1002 Obtain the voltage requirement of the electronic device.
  • the present invention does not limit the sequence of steps 1001 and 1002.
  • Step 1003 Acquire a second voltage transformation parameter of each second voltage transformation circuit and a first voltage transformation parameter of each first voltage transformation circuit on each battery protection board.
  • Step 1004 Obtain a target battery protection board with a first temperature lower than the first preset temperature in at least two battery protection boards, and based on the second voltage transformation parameter, the voltage demand, and the first transformer circuit of the target battery protection board.
  • a transformer parameter controls the state of each second transformer circuit and the state of the first transformer circuit on the target battery protection board.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 1101 Obtain at least one first temperature corresponding to at least one battery protection plate.
  • Step 1102 Obtain the voltage requirements of the electronic device.
  • Step 1103 Obtain a second temperature corresponding to the motherboard.
  • the embodiment of the present invention does not limit the sequence between steps 1101, 1102, and 1103.
  • Step 1104 Control the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand, the second temperature, and at least one first temperature.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 1201 Obtain at least one first temperature corresponding to at least one battery protection plate.
  • Step 1202 Obtain the voltage requirement of the electronic device.
  • Step 1203 Obtain a second temperature corresponding to the motherboard.
  • the embodiment of the present invention does not limit the sequence between steps 1201, 1202, and 1203.
  • Step 1204 if the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is less than the second preset temperature, controlling the second transformer circuit that meets the voltage requirements is in the working state, and Each first transformer circuit is in a closed state.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 1301 Obtain at least one first temperature corresponding to at least one battery protection plate.
  • Step 1302 Obtain the voltage requirement of the electronic device.
  • Step 1303 Obtain a second temperature corresponding to the motherboard.
  • the embodiment of the present invention does not limit the sequence between steps 1301, 1302, and 1303.
  • Step 1304 If the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is greater than or equal to the second preset temperature, control the first transformer circuit that meets the voltage demand and the voltage demand The second transformer circuit is in a working state.
  • an embodiment of the present invention provides a control method applied to an electronic device.
  • the method includes the following steps:
  • Step 1401 The mobile phone startup software is initialized. During the startup process, the motherboard-side circuit is powered by default, and the battery-side circuit is disconnected.
  • the main board-side circuit is at least one second transformer circuit on the main board;
  • the battery-side circuit is at least one first transformer circuit on at least one battery protection board.
  • Step 1402 After the mobile phone is started, the battery side temperature detection value and the motherboard side temperature detection value are detected and reported in real time.
  • the battery-side temperature detection value is the first temperature, the number of the first temperature corresponds to the number of the battery protection board, and the motherboard-side temperature detection value is the second temperature.
  • Step 1403 The processor obtains the temperature value of the motherboard and the temperature value of the battery side, and controls the on / off of the two switches by controlling the voltage status of the general-purpose input / output pins.
  • the processor controls the on and off of the first switch and the second switch through the output voltage.
  • Step 1404 If the temperature of the motherboard is lower than the second preset temperature and the battery-side temperature is lower than the first preset temperature, the battery-side circuit is preferentially operated and the motherboard-side circuit is disconnected.
  • Step 1405 If the temperature on the motherboard side is greater than or equal to the second preset temperature and the temperature on the battery side is less than the first preset temperature, the circuit on the motherboard side is disconnected and the battery side circuit is operated.
  • Step 1406 If the temperature on the motherboard side is lower than the second preset temperature and the temperature on the battery side is greater than or equal to the first preset temperature, the circuit on the motherboard side is operated, and the circuit on the battery side is disconnected.
  • Step 1407 If the temperature of the motherboard is greater than or equal to the second preset temperature and the battery-side temperature is greater than or equal to the first preset temperature, the motherboard-side circuit and the battery-side circuit work simultaneously.
  • the state of the battery-side circuit is controlled by a first switch
  • the state of the motherboard-side circuit is controlled by a second switch.
  • Table 1 is a relationship table between the circuit temperature and the switching state.
  • T1 is a first preset temperature
  • T2 is a second preset temperature
  • the motherboard switch is the second switch
  • the battery switch is the first switch
  • an embodiment of the present invention provides a computer-readable storage medium.
  • the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement The following steps:
  • first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit if it is determined based on the first transformer parameter that the first transformer circuit meets the voltage demand, control meets the voltage demand
  • the first transformer circuit is in a working state, and each second transformer circuit is controlled to be in a closed state.
  • the one or more programs may be executed by one or more processors to implement the following steps:
  • the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the motherboard circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled It is in a working state, and the first transformer circuit except for satisfying the voltage demand is in a closed state; the second transformer circuit for controlling the voltage demand is in a working state, and the second transformer circuit except for satisfying the voltage demand is in a shutdown state.
  • the one or more programs may be executed by one or more processors to implement the following steps:
  • the first transformation parameter and the second transformation parameter it is determined that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the motherboard circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled Is in a working state, and the first transformer circuit except for meeting the voltage requirement is in a closed state; in controlling the second transformer circuit, the second transformer circuit that meets the voltage requirement is in a working state, and controls the second transformer circuit,
  • the second voltage transformation parameter is the same as the first voltage transformation parameter of the first voltage transformation circuit that meets the voltage demand, and the second voltage transformation circuit except that it meets the voltage demand is in a closed state.
  • the one or more programs may be executed by one or more processors to implement the following steps:
  • the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each second transformer based on the voltage demand and a first temperature.
  • the state of the circuit to achieve the following steps:
  • the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each second transformer based on the voltage demand and a first temperature.
  • the state of the circuit to achieve the following steps:
  • the one or more programs may be executed by one or more processors to implement the following steps:
  • the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each of the first transformer circuits based on the voltage demand, the second temperature, and at least one first temperature.
  • the state of a second transformer circuit to achieve the following steps:
  • the second transformer circuit that controls the voltage requirement is controlled to work, and each first transformer circuit is controlled to be turned off status.
  • the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each of the first transformer circuits based on the voltage demand, the second temperature, and at least one first temperature.
  • the state of a second transformer circuit to achieve the following steps:
  • both the first transformer circuit that satisfies the voltage demand and the second transformer circuit that satisfies the voltage demand are in operation. .
  • An embodiment of the present invention provides a computer program product.
  • the computer program product includes a computer program stored on a non-transitory computer-readable storage medium.
  • the computer program includes program instructions. When the program instructions are executed by a computer, To cause the computer to execute the method in any of the foregoing method embodiments.
  • the computer storage medium may be read-only memory (ROM), programmable read-only memory (PROM), and erasable programmable read-only memory (Erasable Programmable Read- Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory
  • ROM read-only memory
  • PROM programmable read-only memory
  • EPROM erasable programmable read-only memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • FRAM Magnetic Random Access Memory
  • flash memory Flash memory
  • magnetic surface memory compact disc
  • CD-ROM Compact Disc-Read-Only Memory
  • other memories it can also include one of the above-mentioned memories Or any combination of various electronic devices, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
  • the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better.
  • Implementation Based on such an understanding, the technical solution of the present invention, in essence, or a part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

An electronic device, a control method and a computer storage medium, the electronic device (1, 2, 3) comprising at least one battery protection board (11, 21, 31), a motherboard (12, 22, 32) and a processor (13, 23, 33), wherein the battery protection board (11, 21, 31) is provided thereon with a battery protection board circuit, and the battery protection board circuit comprises at least one first transformer circuit, the first transformer circuit being used to increase or decrease the voltage inputted to the first transformer circuit. The motherboard (12, 22, 32) is provided with a motherboard circuit, and the motherboard circuit comprises at least one second transformer circuit, the second transformer circuit being used to increase or decrease the voltage inputted to the second transformer circuit; and the processor (13, 23, 33) is used to obtain voltage requirements of the electronic device (1, 2, 3) and control the state of each of the first transformer circuits and each of the second transformer circuits on the basis of the voltage requirements.

Description

一种电子设备、控制方法及其计算机存储介质Electronic equipment, control method and computer storage medium thereof
交叉引用cross reference
本发明要求在2018年9月27日提交至中国专利局、申请号为201811131143.0、发明名称为“一种电子设备、控制方法及其计算机存储介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 27, 2018, with an application number of 201811131143.0, and the invention name is "an electronic device, a control method, and a computer storage medium thereof". The contents are incorporated in the present invention by reference.
技术领域Technical field
本发明涉及电子与信息技术领域,尤其涉及一种电子设备、控制方法及其计算机存储介质。The present invention relates to the field of electronics and information technology, and in particular, to an electronic device, a control method, and a computer storage medium thereof.
背景技术Background technique
随着科学技术飞速的发展,手机和平板电脑等电子设备已经成为人们生活或工作中不可或缺的一部分。电子设备的是通过设置在电子设备内部的变压电路,来向电子设备中不同的元件或模块供电的。With the rapid development of science and technology, electronic devices such as mobile phones and tablet computers have become an integral part of people's lives or work. The electronic equipment supplies power to different components or modules in the electronic equipment through a transformer circuit provided inside the electronic equipment.
相关技术中终端采用的供电方案为:电芯输出4V的电压给主板上的多个变压电路,多个变压电路将4V电压变换成与负载匹配的电压并将该电压输出至负载。但是相关技术的终端在工作时,由于所有的电压变换都需设在主板上的变压电路来完成,该变压电路在工作时发出的热量会导致主板的温度过高。The power supply scheme adopted by the terminal in the related technology is that the battery core outputs a voltage of 4V to a plurality of transformer circuits on the motherboard, and the plurality of transformer circuits convert the 4V voltage into a voltage matching the load and output the voltage to the load. However, when a terminal of the related art is working, since all voltage conversions need to be completed by a transformer circuit provided on the motherboard, the heat generated by the transformer circuit during work may cause the temperature of the motherboard to be too high.
发明内容Summary of the Invention
有鉴于此,本发明实施例期望提供一种电子设备及其控制方法、计算机存储介质,解决了相关技术中主板上的变压电路在工作时发出的热量会导致主板的温度过高的问题。In view of this, the embodiments of the present invention are expected to provide an electronic device, a control method thereof, and a computer storage medium, which solve the problem that the heat generated by the transformer circuit on the motherboard during operation in the related art may cause the motherboard to be overheated.
为达到上述目的,本发明的技术方案是这样实现的:To achieve the above object, the technical solution of the present invention is implemented as follows:
一种电子设备,所述电子设备包括:至少一个电池保护板,所述电池保护板上设有电池保护板电路,所述电池保护板电路包括至少一个第一变压电路,所述第一变压电路用于增高或者降低输入至所述第一变压电路的电压;主板,所述主板上设有主板电路,所述主板电路包括至少一个第二变压电路,所述第二变压电路用于增高或者降低输入至所述第二变压电路的电压;处理器,用于获取所述电子设备的电压需求,并基于所述电压需求控制每一所述第一 变压电路的状态和每一所述第二变压电路的状态。An electronic device includes: at least one battery protection board, the battery protection board is provided with a battery protection board circuit, and the battery protection board circuit includes at least one first voltage transformation circuit, the first transformer The voltage transformer circuit is used to increase or decrease the voltage input to the first voltage transformer circuit; a motherboard, the motherboard is provided with a motherboard circuit, the motherboard circuit includes at least one second voltage transformer circuit, and the second voltage transformer circuit And configured to increase or decrease the voltage input to the second transformer circuit; a processor is configured to obtain a voltage requirement of the electronic device, and control a state of each of the first transformer circuits based on the voltage requirement and A state of each of the second transformer circuits.
一种控制方法,应用于电子设备,所述方法包括:获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数;若基于所述第一变压参数确定所述第一变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,并控制每一所述第二变压电路处于关闭状态。A control method applied to an electronic device, the method comprising: obtaining a first transformer parameter of each of the first transformer circuits and a second transformer parameter of each of the second transformer circuits; The first transformer parameter determines that the first transformer circuit meets the voltage requirement, controls that the first transformer circuit that meets the voltage requirement is in an operating state, and controls each of the second transformer circuits to be turned off. status.
一种计算机存储介质,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上述控制方法的步骤。A computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the control method as described above.
一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行以上各个方面所述的方法。A computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause the computer to execute The methods described above.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图2为本发明实施例提供的另一种电子设备的结构示意图;2 is a schematic structural diagram of another electronic device according to an embodiment of the present invention;
图3为本发明实施例提供的电池保护电路的结构示意图;3 is a schematic structural diagram of a battery protection circuit according to an embodiment of the present invention;
图4为本发明实施例提供的又一种电子设备的结构示意图;4 is a schematic structural diagram of still another electronic device according to an embodiment of the present invention;
图5为本发明另一实施例提供的一种电子设备的结构示意图;5 is a schematic structural diagram of an electronic device according to another embodiment of the present invention;
图6为本发明又一实施例提供的一种电子设备的结构示意图;6 is a schematic structural diagram of an electronic device according to another embodiment of the present invention;
图7为本发明实施例提供的控制方法的流程示意图。FIG. 7 is a schematic flowchart of a control method according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
应理解,说明书通篇中提到的“本发明实施例”或“前述实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“本发明实施例中”或“在前述实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中应。在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。上述 本发明实施例序号仅仅为了描述,不代表实施例的优劣。It should be understood that “an embodiment of the present invention” or “the foregoing embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, "in the embodiments of the present invention" or "in the foregoing embodiments" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In various embodiments of the present invention, the size of the serial numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not deal with the implementation process of the embodiments of the present invention. Constitute any limitation. The sequence numbers of the foregoing embodiments of the present invention are merely for description, and do not represent the superiority or inferiority of the embodiments.
本发明实施例提供一种电子设备,如图1所示,该电子设备1包括至少一个电池保护板11,主板12以及处理器13,其中:电池保护板11上设有电池保护板电路,电池保护板电路包括至少一个第一变压电路,第一变压电路用于增高或者降低输入至第一变压电路的电压。An embodiment of the present invention provides an electronic device. As shown in FIG. 1, the electronic device 1 includes at least one battery protection board 11, a main board 12, and a processor 13, wherein the battery protection board 11 is provided with a battery protection board circuit and a battery The protection board circuit includes at least one first transformer circuit, and the first transformer circuit is used to increase or decrease the voltage input to the first transformer circuit.
本发明中描述的电子设备1可以为诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV或者台式计算机等。The electronic device 1 described in the present invention may be, for example, a mobile phone, a tablet computer, a notebook computer, a handheld computer, a personal digital assistant (PDA), a portable media player (Portable Media Player, PMP), a navigation device, Wearable devices, smart bracelets, pedometers and other mobile terminals, as well as digital TVs or desktop computers.
本发明实施例中描述的第一变压电路可以为直流-直流变换电路(DC-DC电路)、交流-直流变换电路(AC-DC电路)、直流-交流变换电路(DC-AC电路)以及交流-交流变换电路(AC-AC电路)中的至少一种。在本实施例中,第一变压电路均为直流-直流变换电路(DC-DC电路)且第一变压电路可以为升压电路或者降压电路。The first transformer circuit described in the embodiment of the present invention may be a DC-DC converter circuit (DC-DC circuit), an AC-DC converter circuit (AC-DC circuit), a DC-AC converter circuit (DC-AC circuit), and At least one of an AC-AC conversion circuit (AC-AC circuit). In this embodiment, the first transformer circuit is a DC-DC converter circuit (DC-DC circuit), and the first transformer circuit may be a boost circuit or a buck circuit.
电子设备1中可以设置一个电池,也可以设置至少两个电池,设置的个数可根据实际情况作出选择,本发明对此不作限定。电池的数量和电池保护板的数量相对应。在图1的实施例中,在电子设备1包括一个电池保护板11,其中,一个电池保护板上的至少一个第一变压电路可以用A1……An表示。在图2的实施例中,电子设备1包括至少两个电池保护板11,其中,至少两个电池保护板上的至少一个第一变压电路可以用A1……An、……、B1……Bn表示。例如,当电子设备1包括第一电池保护板和第二电池保护板时,至少一个第一变压电路可以用A1……An、B1……Bn表示,其中,第一电池保护板上的至少一个第一变压电路可以用A1……An表示,第二电池保护板上的至少一个第一变压电路可以用B1……Bn表示。再例如,当电子设备1包括第一电池保护板、第二电池保护板以及第三保护板时,至少一个第一变压电路可以用A1……An、C1……Cn、B1……Bn表示,其中,第一电池保护板上的至少一个第一变压电路可以用A1……An表示,第二电池保护板上的至少一个第一变压电路可以用B1……Bn表示;第三电池保护板上的至少一个第一变压电路可以用C1……Cn表示。其中,n的取值为正整数。应理解,当电子设备1包括其它个电池保护板11时,至少一个第一变压电路的表示方式可以以此类推,此处不再赘述。The electronic device 1 may be provided with one battery or at least two batteries, and the number of the batteries may be selected according to actual conditions, which is not limited in the present invention. The number of batteries corresponds to the number of battery protection plates. In the embodiment of FIG. 1, the electronic device 1 includes a battery protection board 11, and at least one first voltage conversion circuit on a battery protection board may be represented by A1... An. In the embodiment of FIG. 2, the electronic device 1 includes at least two battery protection boards 11, wherein at least one first voltage conversion circuit on the at least two battery protection boards can use A1... An,..., B1... Bn said. For example, when the electronic device 1 includes a first battery protection board and a second battery protection board, at least one first voltage transformation circuit may be represented by A1 ... An, B1 ... Bn, where at least one of the first battery protection board A first transformer circuit can be represented by A1 ... An, and at least one first transformer circuit on the second battery protection board can be represented by B1 ... Bn. As another example, when the electronic device 1 includes a first battery protection board, a second battery protection board, and a third protection board, at least one first voltage transformation circuit may be represented by A1 ... An, C1 ... Cn, B1 ... Bn Wherein, at least one first transformer circuit on the first battery protection board may be represented by A1 ... An, and at least one first transformer circuit on the second battery protection board may be represented by B1 ... Bn; the third battery At least one first transformer circuit on the protection board can be represented by C1 ... Cn. The value of n is a positive integer. It should be understood that when the electronic device 1 includes other battery protection boards 11, the representation manner of the at least one first voltage transformation circuit may be deduced by analogy, and details are not described herein again.
电子设备1中的电池包括电芯和电池保护板11,电池保护板11上设有电池保护板电路,电池保护板电路包括电池保护电路和至少一个第一变压电路。The battery in the electronic device 1 includes a battery cell and a battery protection board 11. The battery protection board 11 is provided with a battery protection board circuit. The battery protection board circuit includes a battery protection circuit and at least one first voltage transformation circuit.
电池保护电路的结构请参阅图3。电池保护电路主要由维护IC(过压维护)和MOS管(过流维护)构成,是用来保护锂电池电芯安全的电路。锂电池具有放电电流大、内阻低、寿数长、无回忆效应等被人们广泛运用,锂离子电池在运用中禁止过充电、过放电、短路,不然将会使电池起火、爆破等丧命缺陷,所以,在运用可充锂电池都会带有一个电池保护电路来维护电芯的安全。锂电池的保护功能通常由正温度系数电阻(PositiveTemperature Coefficient,PTC)和其它电子元件协同完成,以在-40℃~+85℃的环境下时刻准确地监视电芯的电压和充放电回路的电流,并及时控制电流回路的通断;正温度系数电阻的主要作用是在高温环境下进行保护,防止电池发生燃烧、爆炸等恶性事故。Refer to Figure 3 for the structure of the battery protection circuit. The battery protection circuit is mainly composed of a maintenance IC (overvoltage maintenance) and a MOS tube (overcurrent maintenance). It is a circuit used to protect the safety of lithium battery cells. Lithium batteries are widely used because they have large discharge current, low internal resistance, long life, and no memory effect. Lithium-ion batteries are prohibited from overcharging, overdischarging, and short-circuiting during use, otherwise they will cause fire, blasting and other fatal defects Therefore, the use of rechargeable lithium batteries will have a battery protection circuit to maintain the safety of the battery cells. The protection function of a lithium battery is usually completed by a Positive Temperature Coefficient (PTC) and other electronic components in order to accurately monitor the voltage of the battery cell and the current of the charge and discharge circuit in an environment of -40 ° C to + 85 ° C. , And timely control the on-off of the current loop; the main role of positive temperature coefficient resistor is to protect in high temperature environment to prevent the battery from burning, explosion and other vicious accidents.
电池保护电路的输入电压Vbat+由电芯提供,电池保护电路具有四个输出端,分别为正电压输出端P+、负电压输出端P-、温度检测端TH以及接地端ID,其中温度检测端TH串联于温度采集电阻RT,温度采集电阻RT的阻值随着温度的升高而降低,温度检测端TH电联接处理器,以通过处理器获取温度采集电阻RT的阻值来确定电池保护板11上的第一温度。每一电池保护板上的至少一个第一变压电路的输入端均可以电联接在电池保护电路的正电压输出端P+上,至少一个第一变压电路的输出端均可以电联接负载14,其中,负载14可以包括处理器、射频模块、手电筒或者显示模块等等,此处不一一列举,应理解,本发明实施例中的负载为电子设备中所有需要消耗电量的元件或模块。在本实施例中,正电压输出端P+输出+4V的输出电压。The input voltage Vbat + of the battery protection circuit is provided by the battery core. The battery protection circuit has four output terminals, which are a positive voltage output terminal P +, a negative voltage output terminal P-, a temperature detection terminal TH and a ground terminal ID, among which the temperature detection terminal TH Connected in series to the temperature acquisition resistor RT. The resistance of the temperature acquisition resistor RT decreases as the temperature rises. The temperature detection terminal TH is electrically connected to the processor to determine the battery protection board 11 through the processor to obtain the resistance of the temperature acquisition resistor RT. On the first temperature. The input terminal of at least one first transformer circuit on each battery protection board can be electrically connected to the positive voltage output terminal P + of the battery protection circuit, and the output terminal of at least one first transformer circuit can be electrically connected to the load 14, The load 14 may include a processor, a radio frequency module, a flashlight, a display module, and the like, which are not listed here one by one. It should be understood that the load in the embodiment of the present invention is all components or modules in the electronic device that need to consume power. In this embodiment, the positive voltage output terminal P + outputs an output voltage of + 4V.
在一实施例中,一个电池保护板上的至少一个第一变压电路的变压参数均不同。在另一实施例中,一个电池保护板上可以有至少两个第一变压电路的变压参数相同。In one embodiment, the voltage transformation parameters of at least one first voltage transformation circuit on a battery protection board are all different. In another embodiment, at least two first voltage transformation circuits may have the same voltage transformation parameters on a battery protection board.
另外,在一实施例中,至少一个电池保护板上的所有的第一变压电路的变压参数均不同。例如,电子设备包括第一电池保护板和第二电池保护板,第一电池保护板上可以设有变压参数为A和B的两个第一变压电路,第二电池板上可以设有变压参数为C和D的两个第一变压电路,A、B、C以及D对应的变压参数均不同。在另一实施例中,至少一个电池保护板上的所有的第一变压电路的变压参数可以有至少两个相同。例如,例如,电子设备包括第一电池保护板和第二电池保护板,第一电池保护板上可以设有变压参数为A 和B的两个第一变压电路,第二电池板上可以设有变压参数为A和C的两个第一变压电路。In addition, in one embodiment, the voltage transformation parameters of all the first voltage transformation circuits on the at least one battery protection board are different. For example, an electronic device includes a first battery protection board and a second battery protection board. The first battery protection board may be provided with two first voltage transformation circuits having voltage transformation parameters of A and B, and the second battery board may be provided with The transformer parameters are two first transformer circuits of C and D, and the transformer parameters corresponding to A, B, C and D are all different. In another embodiment, at least two of the voltage transformation parameters of all the first voltage transformation circuits on the at least one battery protection board may be the same. For example, for example, an electronic device includes a first battery protection board and a second battery protection board. The first battery protection board may be provided with two first voltage transformation circuits having voltage transformation parameters of A and B, and the second battery board may be Two first voltage transformation circuits with voltage transformation parameters A and C are provided.
其中,变压参数具体为变压比,变压比为输入电压和输出电压之间的比值。The transformation parameter is specifically a transformation ratio, and the transformation ratio is a ratio between an input voltage and an output voltage.
其中,设置在电池保护板上的第一变压电路能够输出稳定电压或者输出的不产生变化电压值。The first voltage transformation circuit provided on the battery protection board can output a stable voltage or an output voltage value that does not change.
主板12上设有主板电路,主板电路包括至少一个第二变压电路,第二变压电路用于增高或者降低输入至第二变压电路的电压。其中,至少一个第二变压电路可以用D1……Dn表示。The main board 12 is provided with a main board circuit. The main board circuit includes at least one second transformer circuit. The second transformer circuit is used to increase or decrease the voltage input to the second transformer circuit. Among them, at least one second transformer circuit can be represented by D1 ... Dn.
本发明中描述的第二变压电路可以为直流-直流变换电路(DC-DC电路)、交流-直流变换电路(AC-DC电路)、直流-交流变换电路(DC-AC电路)以及交流-交流变换电路(AC-AC电路)中的至少一种。在本实施例中,第二变压电路均为直流-直流变换电路(DC-DC电路)。第二变压电路可以为升压电路或者降压电路。The second transformer circuit described in the present invention may be a DC-DC converter circuit (DC-DC circuit), an AC-DC converter circuit (AC-DC circuit), a DC-AC converter circuit (DC-AC circuit), and an AC- At least one of an alternating current conversion circuit (AC-AC circuit). In this embodiment, the second transformer circuits are all DC-DC converter circuits (DC-DC circuits). The second transformer circuit may be a boost circuit or a buck circuit.
主板12上的第二变压电路的变压参数可以和至少一个电池保护板上的第一变压电路的变压参数完全不同,也可以部分相同或者完全相同。在本实施例中,至少一个电池保护板上所有的第一变压电路的变压参数为P(i),主板12上的至少一个第二变压电路变压参数为Q(j),其中
Figure PCTCN2019099306-appb-000001
The voltage transformation parameters of the second voltage transformation circuit on the main board 12 may be completely different from the voltage transformation parameters of the first voltage transformation circuit on at least one battery protection board, and may also be partially the same or completely the same. In this embodiment, the transformation parameters of all the first transformer circuits on at least one battery protection board are P (i), and the transformation parameters of at least one second transformer circuit on the main board 12 are Q (j), where
Figure PCTCN2019099306-appb-000001
至少一个第二变压电路的输入端均可以电联接在电池保护电路的正电压输出端P+;至少一个第二变压电路的输出端均可以电联接负载14,其中,负载14可以包括处理器、射频模块、手电筒或者显示模块等等,此处不一一列举。The input of at least one second transformer circuit can be electrically connected to the positive voltage output terminal P + of the battery protection circuit; the output of at least one second transformer circuit can be electrically connected to a load 14, wherein the load 14 may include a processor , RF module, flashlight, or display module, etc., are not listed here one by one.
处理器13用于获取电子设备1的电压需求,并基于电压需求控制每一第一变压电路的状态和每一第二变压电路的状态。The processor 13 is configured to obtain a voltage requirement of the electronic device 1 and control a state of each first voltage transformation circuit and a state of each second voltage transformation circuit based on the voltage demand.
应理解,本申请实施例中的电压需求可以是电子设备中负载14的电压需求,例如电子设备中的手电筒、射频模块或者显示模块等;也可以是电池的电压需求。当电压需求为电子设备中负载14的电压需求时,电池向负载供电;当电压需求为电子设备中的电池时,外部电源向电池供电。It should be understood that the voltage requirement in the embodiment of the present application may be the voltage requirement of the load 14 in the electronic device, such as a flashlight, a radio frequency module, or a display module in the electronic device; it may also be a voltage requirement of the battery. When the voltage demand is the voltage demand of the load 14 in the electronic device, the battery supplies power to the load; when the voltage demand is the battery in the electronic device, the external power supply supplies power to the battery.
在一个实施例中,处理器13用于获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;处理器13还用于若基于第一变压参数确定第一变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,并控制每一第二变压电路处于关闭状态。例如,电子设备1需要3V、2.5V以及2V的电压,至少一个电池保护板11上的三个第一变压电路能够提 供3V、2.5V以及2V的电压,主板12上的第二变压电路能够提供3V、2.5V以及2V的电压,则处理器13控制能够提供3V、2.5V以及2V的第一变压电路处于工作状态,并控制每一第二变压电路处于关闭状态。In an embodiment, the processor 13 is configured to obtain a first voltage transformation parameter of each first voltage transformation circuit and a second voltage transformation parameter of each second voltage transformation circuit; The transformer parameter determines that the first transformer circuit meets the voltage demand, controls the first transformer circuit that meets the voltage demand to be in a working state, and controls each second transformer circuit to be in a closed state. For example, the electronic device 1 requires voltages of 3V, 2.5V, and 2V. The three first voltage transformer circuits on at least one battery protection board 11 can provide voltages of 3V, 2.5V, and 2V. The second voltage transformer circuit on the motherboard 12 If the voltages of 3V, 2.5V and 2V can be provided, the processor 13 controls the first transformer circuit capable of providing 3V, 2.5V and 2V to be in a working state, and controls each second transformer circuit to be in a closed state.
在另一实施例中,处理器13用于获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制满足电压需求的第二变压电路处于工作状态,且除满足电压需求外的第二变压电路处于关闭状态。应理解,若电池保护板11或者主板12上的变压电路全部都能满足电压需求,则不必关闭任一个第一变压电路或者任一个第二变压电路。In another embodiment, the processor 13 is configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit; if based on the first transformer parameter and the first transformer parameter Two transformer parameters to determine that some of the first transformer circuits in the battery protection board circuit and some of the second transformer circuits in the motherboard circuit meet the voltage requirements, and the first transformer circuit that meets the voltage requirements is controlled to work, and in addition to meeting the voltage requirements The first external transformer circuit is in a closed state; the second secondary transformer circuit that controls to meet the voltage requirement is in an operating state, and the second secondary circuit that is in addition to meeting the voltage requirement is in a closed state. It should be understood that if all the voltage transformation circuits on the battery protection board 11 or the main board 12 can meet the voltage requirements, it is not necessary to turn off any of the first voltage transformation circuits or any of the second voltage transformation circuits.
例如,电子设备1需要3V、2.5V以及2V的电压,至少一个电池保护板11上的第一变压电路能够提供3V和2V的电压,主板12上的第二变压电路能够提供3V、2.5V以及2V的电压,则处理器13控制能够提供3V和2V的两个第一变压电路处于工作状态,控制能够提供3V、2.5V以及2V的三个第二变压电路也处于工作状态。应理解,若电池保护板11或主板12上设有能够其它电压的变压电路,例如,4.5V或3.5V等等,则控制能够提供4.5V或3.5V等等的电压的变压电路处于关闭状态。For example, the electronic device 1 requires 3V, 2.5V, and 2V voltages. The first transformer circuit on at least one battery protection board 11 can provide 3V and 2V voltages, and the second transformer circuit on the motherboard 12 can provide 3V, 2.5V. V and 2V voltage, the processor 13 controls the two first transformer circuits capable of providing 3V and 2V to be in an operating state, and controls the three second transformer circuits capable of providing 3V, 2.5V, and 2V to also be in an operating state. It should be understood that if the battery protection board 11 or the main board 12 is provided with a voltage transformer circuit capable of other voltages, for example, 4.5V or 3.5V, etc., the voltage transformer circuit controlled to provide a voltage of 4.5V or 3.5V etc. is located at Disabled.
在又一实施例中,处理器13用于获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制第二变压电路中,满足电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足电压需求的第一变压电路的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。In another embodiment, the processor 13 is configured to obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit; if based on the first transformation parameter and the first transformation parameter, Two transformer parameters to determine that some of the first transformer circuits in the battery protection board circuit and some of the second transformer circuits in the motherboard circuit meet the voltage requirements, and the first transformer circuit that meets the voltage requirements is controlled to work, and in addition to meeting the voltage requirements The first external transformer circuit is in the off state; the second transformer circuit that controls the second transformer circuit that meets the voltage demand is in the working state, and the second transformer parameter that controls the second transformer circuit and meets the voltage demand The second transformer circuit has the same first transformer parameter and the second transformer circuit except that the voltage requirement is met, is in a closed state.
例如,例如,电子设备1需要3V、2.5V以及2V的电压,至少一个电池保护板11上的第一变压电路能够提供3V和2V的电压,主板12上的第二变压电路能够提供3V、2.5V以及2V的电压,则处理器13控制能够提供3V和2V的两个第一变压电路处于工作状态,控制能够提供2.5V的一个第二变压电路也处于工作状态,且控制能够提供3V和2V的两个第二变压电路处于关闭状态。For example, for example, the electronic device 1 requires voltages of 3V, 2.5V, and 2V. The first transformer circuit on at least one of the battery protection boards 11 can provide 3V and 2V, and the second transformer circuit on the motherboard 12 can provide 3V. , 2.5V and 2V, the processor 13 controls the two first transformer circuits capable of providing 3V and 2V to be in operation, and the second transformer circuit capable of providing 2.5V is also in operation, and the control can The two second transformer circuits providing 3V and 2V are closed.
在又一实施例中,处理器13用于获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;基于电压需求、第一变压参数以及第二变压参数,周期性地控制满足电压需求且第一变压参数和第二变压参数相同的变压参数对应的第一变压电路和第二变压电路均处于工作状态。In another embodiment, the processor 13 is configured to obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit; based on the voltage demand, the first transformation parameter As well as the second voltage transformation parameter, the first voltage transformation circuit and the second voltage transformation circuit corresponding to the voltage transformation parameters that meet the voltage demand and that the first voltage transformation parameter and the second voltage transformation parameter are the same are both in a working state.
例如,电子设备1需要3V、2.5V以及2V的电压,至少一个电池保护板11上的第一变压电路能够提供3V和2V的电压,主板12上的第二变压电路能够提供3V、2.5V以及2V的电压,则处理器13控制能够提供3V和2V的两个第一变压电路在一个周期的前半周期内处于工作状态,控制能够提供3V和2V的两个第二变压电路在一个周期的后半周期内处于工作状态,且控制能够提供2.5V的一个第二变压电路一直处于工作状态。For example, the electronic device 1 requires 3V, 2.5V, and 2V voltages. The first transformer circuit on at least one battery protection board 11 can provide 3V and 2V voltages, and the second transformer circuit on the motherboard 12 can provide 3V, 2.5V. V and 2V voltage, the processor 13 controls the two first transformer circuits capable of providing 3V and 2V in the first half of a cycle in a working state, and controls the two second transformer circuits capable of providing 3V and 2V between The second half of a cycle is in the working state, and a second transformer circuit that controls to provide 2.5V is always in the working state.
为了避免开启多个变压参数相同的第一变压电路,处理器用于控制变压参数不同的至少一个第一变压电路中每一第一变压电路的状态和每一第二变压电路的状态。通过这种方式,可以使处理器的控制方式简单。In order to avoid opening multiple first transformer circuits with the same transformer parameters, the processor is used to control the state of each first transformer circuit and each second transformer circuit in at least one first transformer circuit with different transformer parameters. status. In this way, the control method of the processor can be made simple.
在本发明实施例中,由于在电池保护板和主板上均设有变压电路,处理器能够根据电压需求控制位于电池保护板上的第一变压电路的状态和主板上的第二变压电路的状态,如此,可使主板和电池保护板均能够向负载供电,而不是只通过主板上的变压电路向负载供电的情况,避免主板温度过高的现象发生;另外,由于第一变压电路设置在电池保护板上,并不需要改变主板电路的结构,电子设备的结构简单。In the embodiment of the present invention, because the battery protection board and the main board are provided with a voltage transformation circuit, the processor can control the state of the first voltage transformation circuit located on the battery protection board and the second voltage transformation on the main board according to the voltage demand. The state of the circuit, so that both the motherboard and the battery protection board can supply power to the load, instead of only supplying power to the load through the transformer circuit on the motherboard, to avoid the phenomenon of excessive temperature of the motherboard; In addition, due to the first change The voltage circuit is arranged on the battery protection board, and there is no need to change the structure of the motherboard circuit, and the structure of the electronic device is simple.
基于前述实施例,本发明实施例提供一种电子设备,如图4所示,该电子设备2包括至少一个电池保护板21,主板22以及处理器23。电池保护板21上设有电池保护板电路,主板22上设有主板电路,其中:电池保护板电路,还包括第一温度检测电路,第一温度检测电路与至少一个第一变压电路电联接,处理器23还用于获取第一温度检测电路的第一电路参数,并基于第一电路参数,获取与第一温度检测电路对应的电池保护板的第一温度;处理器23还用于基于电压需求和电池保护板的第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态。Based on the foregoing embodiments, an embodiment of the present invention provides an electronic device. As shown in FIG. 4, the electronic device 2 includes at least one battery protection board 21, a main board 22, and a processor 23. The battery protection board 21 is provided with a battery protection board circuit, and the main board 22 is provided with a main board circuit. The battery protection board circuit further includes a first temperature detection circuit, and the first temperature detection circuit is electrically connected to at least one first transformer circuit. The processor 23 is further configured to obtain a first circuit parameter of the first temperature detection circuit, and obtain a first temperature of the battery protection board corresponding to the first temperature detection circuit based on the first circuit parameter; the processor 23 is further configured to The voltage demand and the first temperature of the battery protection board control the state of each first transformer circuit and the state of each second transformer circuit.
在一实施例中,第一电路参数可以为阻值。在本实施例中,第一温度检测电路可以为电池保护电路中的温度采集电阻RT,并通过电池保护电路的温度检测端TH电联接至处理器23,处理器23获取温度采集电阻RT的阻值来确定电池保护板21上的第一温度。应理解,处理器23接收到的第一电路参数的个数和电池保护板21的个数对应。例如,当电池保护板21的个数为k 个时,由于每一电池保护板21上均设有第一温度检测电路,因此,第一温度检测电路的个数也为k个,处理器23接收k个第一电路参数,根据k个第一电路参数获取k个第一温度。在另一实施例中,第一电路参数还可以为电容值、电感值、导电率或者温度值等,此处不作限定。In one embodiment, the first circuit parameter may be a resistance value. In this embodiment, the first temperature detection circuit may be a temperature acquisition resistor RT in the battery protection circuit, and is electrically connected to the processor 23 through the temperature detection terminal TH of the battery protection circuit, and the processor 23 obtains the resistance of the temperature acquisition resistor RT. Value to determine the first temperature on the battery protection plate 21. It should be understood that the number of the first circuit parameters received by the processor 23 corresponds to the number of the battery protection boards 21. For example, when the number of the battery protection boards 21 is k, since each battery protection board 21 is provided with a first temperature detection circuit, the number of the first temperature detection circuits is also k, and the processor 23 Receive k first circuit parameters, and obtain k first temperatures according to the k first circuit parameters. In another embodiment, the first circuit parameter may also be a capacitance value, an inductance value, a conductivity, or a temperature value, which is not limited herein.
在一实施例中,电子设备20包括一个电池保护板21;处理器23还用于获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;处理器23还用于若电池保护板的第一温度小于第一预设温度,基于第一变压参数、第二变压参数以及电压需求,控制每一第一变压电路的状态和每一第二变压电路的状态。In an embodiment, the electronic device 20 includes a battery protection board 21; the processor 23 is further configured to obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit The processor 23 is further configured to control the state of each first transformer circuit and each of the first transformer circuits based on the first transformer parameter, the second transformer parameter, and the voltage demand if the first temperature of the battery protection board is less than the first preset temperature. A state of a second transformer circuit.
可选地,第一预设温度的范围为40℃至50℃。例如,第一预设温度可以为40℃、45℃或者50℃。在本实施例中,第一预设温度为45℃。Optionally, the first preset temperature ranges from 40 ° C to 50 ° C. For example, the first preset temperature may be 40 ° C, 45 ° C, or 50 ° C. In this embodiment, the first preset temperature is 45 ° C.
进一步,处理器23还用于若小于第一温度小于第一预设温度,基于一个电池保护板上的第一变压电路的第一变压参数确定第一变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,并控制每一第二变压电路处于关闭状态。Further, the processor 23 is further configured to determine that the first transformer circuit meets the voltage requirement based on the first transformer parameter of the first transformer circuit on a battery protection board if the temperature is less than the first temperature and less than the first preset temperature, and the control meets The first transformer circuit with a voltage requirement is in a working state, and each second transformer circuit is controlled to be in a closed state.
进一步,处理器23还用于若小于第一温度小于第一预设温度,基于一个电池保护板上的第一变压电路的第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制满足电压需求的第二变压电路处于工作状态,且除满足电压需求外的第二变压电路处于关闭状态。Further, the processor 23 is further configured to determine the battery protection board circuit based on the first voltage transformation parameter and the second voltage transformation parameter of the first voltage transformation circuit on a battery protection board if the temperature is less than the first temperature and less than the first preset temperature. The first transformer circuit in the middle part and the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that controls the voltage demand is controlled to be in an operating state, and the first transformer circuit other than the voltage demand is turned off. ; Controlling the second transformer circuit that satisfies the voltage demand is in a working state, and the second transformer circuit except that the voltage demand is met is in a closed state.
进一步,处理器23还用于若小于第一温度小于第一预设温度,基于一个电池保护板上的第一变压电路的第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制第二变压电路中,满足电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足电压需求的第一变压电路的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。Further, the processor 23 is further configured to determine the battery protection board circuit based on the first voltage transformation parameter and the second voltage transformation parameter of the first voltage transformation circuit on a battery protection board if the temperature is less than the first temperature and less than the first preset temperature. The first transformer circuit in the middle part and the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that controls the voltage demand is controlled to be in an operating state, and the first transformer circuit other than the voltage demand is turned off. ; Control the second transformer circuit, the second transformer circuit that meets the voltage demand is in an operating state, and control the first transformer circuit in the second transformer circuit, the second transformer parameter and the first transformer circuit that meets the voltage demand of the first transformer The second transformer circuit, which has the same voltage parameters and meets the voltage requirements, is closed.
在另一实施例中,电子设备20包括至少两个电池保护板21;处理器23还用于获取每个第二变压电路的第二变压参数和每个电池保护板21上的每个第一变压电路的第一变压参数;处理器23还用于获取至少两个电池保护板 中第一温度小于第一预设温度的目标电池保护板,并基于第二变压参数、电压需求以及目标电池保护板上的第一变压电路的第一变压参数,控制每一第二变压电路的状态和目标电池保护板上的第一变压电路的状态。In another embodiment, the electronic device 20 includes at least two battery protection boards 21; the processor 23 is further configured to obtain second transformation parameters of each second voltage transformation circuit and each of the battery protection boards 21 A first transformation parameter of the first transformation circuit; the processor 23 is further configured to obtain a target battery protection board with a first temperature less than a first preset temperature in at least two battery protection boards, and based on the second transformation parameter and voltage The demand and the first transformation parameter of the first transformer circuit on the target battery protection board control the state of each second transformer circuit and the state of the first transformer circuit on the target battery protection board.
进一步,处理器23还用于获取目标电池保护板的每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若基于第一变压参数确定第一变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,并控制每一第二变压电路处于关闭状态。Further, the processor 23 is further configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit of the target battery protection board; if determined based on the first transformer parameter The first transformer circuit satisfies the voltage demand, controls the first transformer circuit that satisfies the voltage demand to be in an operating state, and controls each second transformer circuit to be in a closed state.
进一步,处理器23还用于获取目标电池保护板的每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制满足电压需求的第二变压电路处于工作状态,且除满足电压需求外的第二变压电路处于关闭状态。Further, the processor 23 is further configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit of the target battery protection board; if based on the first transformer parameter and The second transformer parameter determines that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled to work, and The first transformer circuit that is not required is in a closed state; the second transformer circuit that controls to meet the voltage requirement is in a working state, and the second transformer circuit except that meets the voltage demand is in a closed state.
进一步,处理器23还用于获取目标电池保护板的每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制第二变压电路中,满足电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足电压需求的第一变压电路的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。Further, the processor 23 is further configured to obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit of the target battery protection board; if based on the first transformer parameter and The second transformer parameter determines that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the main board circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled to work, and The first transformer circuit outside the demand is in a closed state; in the second transformer circuit, the second transformer circuit that meets the voltage demand is in a working state, and in the second transformer circuit, the second transformer parameter and the satisfied voltage are controlled The first voltage transformation parameter of the first voltage transformer circuit that is required is the same and the second voltage transformer circuit except that it meets the voltage requirement is in a closed state.
以下对第一变压电路处于工作状态和关闭状态的情况进行举例说明,应理解,下述例子中限定的电池保护板21的数量为两个,但是当电池保护板21的数量为其它个例如一个、三个、四个等等的情况下,也可以参阅下述的方法,本发明实施例不作赘述。In the following, the case where the first transformer circuit is in the working state and the closed state is exemplified. It should be understood that the number of the battery protection plates 21 defined in the following examples is two, but when the number of the battery protection plates 21 is another one, for example, In the case of one, three, four, and so on, reference may also be made to the following method, which is not described in the embodiment of the present invention.
在一种情况下,电子设备2包括第一电池保护板21和第二电池保护板21,第一电池保护板21上的至少一个第一变压电路能够提供3V、2.5V以及2V的电压,第二电池保护板21上的至少一个第一变压电路也能够提供3V、2.5V以及2V的电压,当电子设备2需要3V、2.5V以及2V的电压,且处理器23获取的第一电池保护板21的第一温度小于第一预设温度,而第二电池保护板21的第一温度大于等于第二预设温度,即处理器23控制第一电池保护板21 上的能够提供3V、2.5V以及2V的电压的第一变压电路处于工作状态。应理解,若第一电池保护板21的第一温度和第二电池保护板21的第一温度均小于第一预设温度,处理器23既可以控制第一电池保护板21上能够提供3V、2.5V以及2V的电压的第一变压电路处于工作状态;也可以控制第二电池保护板21上能够提供3V、2.5V以及2V的电压的第一变压电路处于工作状态;或者还可以控制第一电池保护板21上能够提供3V、2.5V以及2V的电压的第一变压电路和第二电池保护板21上能够提供3V、2.5V以及2V的电压的第一变压电路均处于工作状态。In one case, the electronic device 2 includes a first battery protection board 21 and a second battery protection board 21, and at least one first voltage transformation circuit on the first battery protection board 21 can provide voltages of 3V, 2.5V, and 2V, At least one first transformer circuit on the second battery protection board 21 can also provide 3V, 2.5V, and 2V. When the electronic device 2 requires 3V, 2.5V, and 2V, and the first battery obtained by the processor 23 The first temperature of the protection board 21 is lower than the first preset temperature, and the first temperature of the second battery protection board 21 is greater than or equal to the second preset temperature, that is, the processor 23 controls the first battery protection board 21 to provide 3V, The first transformer circuit with a voltage of 2.5V and 2V is in an operating state. It should be understood that if the first temperature of the first battery protection board 21 and the first temperature of the second battery protection board 21 are both lower than the first preset temperature, the processor 23 can control the first battery protection board 21 to provide 3V, The first transformer circuit with a voltage of 2.5V and 2V is in a working state; the first transformer circuit capable of providing the voltages of 3V, 2.5V, and 2V on the second battery protection board 21 can also be controlled in a working state; or it can also control The first transformer circuit capable of providing 3V, 2.5V, and 2V on the first battery protection board 21 and the first transformer circuit capable of providing 3V, 2.5V, and 2V on the second battery protection board 21 are both in operation status.
在另一种情况下,电子设备2包括第一电池保护板21和第二电池保护板21,第一电池保护板21上的至少一个第一变压电路能够提供3V和2.5V的电压,第二电池保护板21上的至少一个第一变压电路也能够提供3V和2V的电压,主板22上的至少一个第二变压电路能够提供3V、2.5V以及2V的电压,当电子设备2需要3V、2.5V以及2V的电压,且处理器23获取的第一电池保护板21的第一温度小于第一预设温度,而第二电池保护板21的第一温度大于等于第二预设温度,即处理器23控制第一电池保护板21上的能够提供3V和2.5V的电压的第一变压电路处于工作状态,控制主板22上的能够提供2V的电压的第二变压电路处于工作状态,或者控制主板22上的能够提供3V、2.5V以及2V的电压的第二变压电路均处于工作状态。In another case, the electronic device 2 includes a first battery protection board 21 and a second battery protection board 21, and at least one first transformer circuit on the first battery protection board 21 can provide a voltage of 3V and 2.5V. At least one first transformer circuit on the two battery protection boards 21 can also provide 3V and 2V voltages, and at least one second transformer circuit on the motherboard 22 can provide 3V, 2.5V, and 2V voltages. When the electronic device 2 requires 3V, 2.5V, and 2V, and the first temperature of the first battery protection board 21 obtained by the processor 23 is less than the first preset temperature, and the first temperature of the second battery protection board 21 is greater than or equal to the second preset temperature That is, the processor 23 controls the first voltage transformation circuit on the first battery protection board 21 capable of providing 3V and 2.5V voltages to work, and controls the second voltage transformation circuit on the main board 22 capable of providing voltages of 2V to work. State, or the second transformer circuit on the main board 22 capable of providing 3V, 2.5V, and 2V voltages is in an operating state.
在又一种情况下,电子设备2包括第一电池保护板21和第二电池保护板21,第一电池保护板21上的至少一个第一变压电路能够提供1.5V的电压,第二电池保护板21上的至少一个第一变压电路能够提供3V、2.5V以及2V的电压,主板上的至少一个第二变压电路能够提供3V、2.5V、2V以及1.5V的电压,当电子设备2需要3V、2.5V以及2V的电压,且处理器23获取的第一电池保护板21的第一温度小于第一预设温度,而第二电池保护板21的第一温度大于等于第二预设温度,即处理器23控制主板22上的能够提供3V、2.5V以及2V的电压的第二变压电路处于工作状态。In yet another case, the electronic device 2 includes a first battery protection board 21 and a second battery protection board 21, and at least one first voltage transformation circuit on the first battery protection board 21 can provide a voltage of 1.5 V, and the second battery At least one first transformer circuit on the protection board 21 can provide voltages of 3V, 2.5V, and 2V, and at least one second transformer circuit on the main board can provide voltages of 3V, 2.5V, 2V, and 1.5V. When the electronic device is 2 requires voltages of 3V, 2.5V, and 2V, and the first temperature of the first battery protection board 21 obtained by the processor 23 is less than the first preset temperature, and the first temperature of the second battery protection board 21 is greater than or equal to the second preset temperature. It is assumed that the temperature is controlled, that is, the processor 23 controls the second voltage transformation circuit on the main board 22 capable of providing voltages of 3V, 2.5V, and 2V to be in an operating state.
在本申请实施例中,电子设备2还可以包括至少一个第一开关25和至少一个第二开关26。In the embodiment of the present application, the electronic device 2 may further include at least one first switch 25 and at least one second switch 26.
至少一个第一开关25与至少一个第一变压电路对应串联,每一第一开关25还与处理器23电联接,以使处理器23用于控制第一开关25来控制与第一开关25串联的第一变压电路的状态。At least one first switch 25 is connected in series corresponding to at least one first transformer circuit, and each first switch 25 is also electrically connected to the processor 23, so that the processor 23 is used to control the first switch 25 to control the first switch 25. State of the first series transformer circuit.
至少一个第二开关26与至少一个第二变压电路对应串联,每一第二开关 26还与处理器23电联接,以使处理器23用于控制第二开关26来控制与第二开关26串联的第二变压电路的状态。At least one second switch 26 is connected in series corresponding to at least one second transformer circuit, and each second switch 26 is also electrically connected to the processor 23, so that the processor 23 is used to control the second switch 26 to control the second switch 26. State of the second series transformer circuit.
在一实施例中,第一开关25和第二开关26均可以为MOS管或者可控硅开关。第一开关25的第一端电联接第一变压电路,第一开关25的第二端电联接负载24,负载24可以包括处理器23、射频模块、手电筒或者显示模块等,以及第一开关25的控制端电联接处理器23,以通过处理器23向第一开关25输出电压来控制第一开关25的通断进而控制与第一开关25串联的第一变压电路的状态。第二开关26的第一端电连接第二变压电路,第二开关26的第二端电联接负载24,以及第二开关26的控制端电联接处理器23,以通过处理器23向第二开关26输出电压来控制第二开关26的通断进而控制与第二开关26串联的第二变压电路的状态。In one embodiment, both the first switch 25 and the second switch 26 may be MOS transistors or thyristors. The first terminal of the first switch 25 is electrically connected to the first voltage transformation circuit, and the second terminal of the first switch 25 is electrically connected to the load 24. The load 24 may include a processor 23, a radio frequency module, a flashlight or a display module, and the first switch. The control end of 25 is electrically connected to the processor 23 to control the on / off of the first switch 25 through the processor 23 outputting a voltage to the first switch 25 and then to control the state of the first transformer circuit connected in series with the first switch 25. A first terminal of the second switch 26 is electrically connected to the second voltage transformation circuit, a second terminal of the second switch 26 is electrically connected to the load 24, and a control terminal of the second switch 26 is electrically connected to the processor 23, so that the processor 23 is connected to the first The two switches 26 output voltage to control the on / off of the second switch 26 and then control the state of the second transformer circuit connected in series with the second switch 26.
在本发明实施例中,通过在电池保护板的温度低于第一预设温度且电池保护板上的第一变压电路能够满足电压需求时,优先开启电池保护板上的第一变压电路,如此可以减少主板上的第二变压电路工作,从而降低主板上的温度,避免主板上的温度过高。另外,在电子设备所处的环境温度过低时,将会导致电池的活性降低,通过优选选取电池保护板上满足电压需求的第一变压电路工作,能够使电池温度上升,保证电池工作在一个合理的温度范围内。In the embodiment of the present invention, when the temperature of the battery protection board is lower than the first preset temperature and the first voltage transformation circuit on the battery protection board can meet the voltage requirement, the first voltage transformation circuit on the battery protection board is preferentially turned on. This can reduce the operation of the second transformer circuit on the motherboard, thereby reducing the temperature on the motherboard, and avoiding excessive temperature on the motherboard. In addition, when the ambient temperature of the electronic device is too low, it will lead to a decrease in the battery's activity. By selecting the first transformer circuit that meets the voltage requirements of the battery protection board to work, it can increase the battery temperature and ensure that the battery operates at A reasonable temperature range.
基于前述实施例,本发明实施例提供一种电子设备,如图5所示,该电子设备3包括至少一个电池保护板31,主板32以及处理器33。此外电子设备还包括第一开关35和第二开关36,第一开关35和第二开关36可以与上述实施例的第一开关25和第二开关26相同。第一开关35的第一端电联接第一变压电路,第一开关35的第二端电联接负载34,第一开关35的控制端电联接处理器;第二开关36的第一端电联接第二变压电路,第二开关36的第二端电联接负载34,第二开关36的控制端电联接处理器。Based on the foregoing embodiments, an embodiment of the present invention provides an electronic device. As shown in FIG. 5, the electronic device 3 includes at least one battery protection board 31, a main board 32, and a processor 33. In addition, the electronic device further includes a first switch 35 and a second switch 36. The first switch 35 and the second switch 36 may be the same as the first switch 25 and the second switch 26 in the above embodiment. The first terminal of the first switch 35 is electrically connected to the first voltage transformation circuit, the second terminal of the first switch 35 is electrically connected to the load 34, and the control terminal of the first switch 35 is electrically connected to the processor; the first terminal of the second switch 36 is electrically connected The second transformer circuit is connected, the second terminal of the second switch 36 is electrically connected to the load 34, and the control terminal of the second switch 36 is electrically connected to the processor.
电子设备3中可以设置一个电池,也可以设置至少两个电池,设置的个数可根据实际情况作出选择,本发明对此不作限定。例如,在图5的实施例中,电子设备3包括一个电池,即电子设备3包括一个电池保护板31。在图6的实施例中,电子设备3包括至少两个电池,即电子设备3包括至少两个电池保护板31。The electronic device 3 may be provided with one battery or at least two batteries, and the number of the batteries may be selected according to actual conditions, which is not limited in the present invention. For example, in the embodiment of FIG. 5, the electronic device 3 includes a battery, that is, the electronic device 3 includes a battery protection plate 31. In the embodiment of FIG. 6, the electronic device 3 includes at least two batteries, that is, the electronic device 3 includes at least two battery protection plates 31.
主板电路,还包括第二温度检测电路,第二温度检测电路与至少一个第二变压电路电联接,第二温度检测电路用于获取主板上的第二温度;处理器33还用于接收第二温度,并基于电压需求、第二温度以及第一温度,控制每一 第一变压电路的状态和每一第二变压电路的状态。The motherboard circuit further includes a second temperature detection circuit, the second temperature detection circuit is electrically connected to at least one second transformer circuit, and the second temperature detection circuit is configured to obtain a second temperature on the motherboard; the processor 33 is further configured to receive the first temperature Two temperatures, and based on the voltage demand, the second temperature, and the first temperature, controlling the state of each first transformer circuit and the state of each second transformer circuit.
在一实施例中,第二温度检测电路可以是设置在主板32上的温度传感器,第二电路参数为温度值,处理器基于温度值获取主板32上的第二温度。在另一实施例中,第二温度检测电路可以为热敏电阻、电容或者电感等,第二电路参数也可以为阻值、电容值或者电感值等。In an embodiment, the second temperature detection circuit may be a temperature sensor provided on the main board 32, the second circuit parameter is a temperature value, and the processor obtains the second temperature on the main board 32 based on the temperature value. In another embodiment, the second temperature detection circuit may be a thermistor, a capacitor, or an inductor, and the second circuit parameter may also be a resistance, a capacitor, or an inductance.
在一实施例中,处理器33还用于若每一电池保护板上的第一温度均大于或等于第一预设温度且第二温度小于第二预设温度,控制满足电压需求的第二变压电路处于工作状态,且控制每一第一变压电路处于关闭状态。In an embodiment, the processor 33 is further configured to control the second temperature satisfying the voltage requirement if the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is less than the second preset temperature. The transformer circuits are in a working state, and each first transformer circuit is controlled to be in a closed state.
例如,电子设备3包括第一电池保护板31和第二电池保护板31,第一电池保护板31上的至少一个第一变压电路、第二电池保护板31上的至少一个第一变压电路以及主板32上的至少一个第二变压电路均能够提供3V、2.5V以及2V的电压,当电子设备3需要3V、2.5V以及2V的电压,且处理器33获取的第一电池保护板31的第一温度和第二电池保护板31的第一温度均大于等于第二预设温度,且主板32上的第二温度小于第二预设温度时,控制主板32上的能够提供3V、2.5V以及2V的电压的第二变压电路处于工作状态。第一电池保护板31上的至少一个第一变压电路和第二电池保护板31上的至少一个第一变压电路均处于关闭状态。For example, the electronic device 3 includes a first battery protection board 31 and a second battery protection board 31, at least one first voltage transformation circuit on the first battery protection board 31, and at least one first voltage transformation on the second battery protection board 31. The circuit and at least one second transformer circuit on the motherboard 32 can provide voltages of 3V, 2.5V, and 2V. When the electronic device 3 requires voltages of 3V, 2.5V, and 2V, and the first battery protection board obtained by the processor 33 When the first temperature of 31 and the first temperature of the second battery protection board 31 are both greater than or equal to the second preset temperature, and the second temperature on the main board 32 is less than the second preset temperature, the control on the main board 32 can provide 3V, The second voltage transformation circuit with a voltage of 2.5V and 2V is in an operating state. At least one first voltage transformation circuit on the first battery protection plate 31 and at least one first voltage transformation circuit on the second battery protection plate 31 are both in a closed state.
可选地,第二预设温度的范围为60℃至80℃,例如,第二预设温度可以为60℃、70℃或者80℃。在本实施例中,第二预设温度可以为70℃。Optionally, the second preset temperature ranges from 60 ° C to 80 ° C. For example, the second preset temperature may be 60 ° C, 70 ° C, or 80 ° C. In this embodiment, the second preset temperature may be 70 ° C.
在另一实施例中,处理器33还用于若每一电池保护板上的第一温度均大于或等于第一预设温度且第二温度大于或等于第二预设温度,控制满足电压需求的第一变压电路和满足电压需求的第二变压电路处于工作状态。In another embodiment, the processor 33 is further configured to control to meet the voltage requirement if the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is greater than or equal to the second preset temperature. The first transformer circuit and the second transformer circuit that meet the voltage requirements are in an operating state.
例如,电子设备3包括第一电池保护板31和第二电池保护板31,第一电池保护板31上的至少一个第一变压电路、第二电池保护板31上的至少一个第一变压电路以及主板32上的至少一个第二变压电路均能够提供3V、2.5V以及2V的电压,当电子设备3需要3V、2.5V以及2V的电压,且处理器33获取的第一电池保护板31的第一温度和第二电池保护板31的第一温度均大于等于第二预设温度,且主板32上的第二温度大于等于第二预设温度时,控制第一电池保护板31上和/或第二电池保护板31上的能够提供3V、2.5V以及2V的电压的第一变压电路处于工作状态以及主板32上的能够提供3V、2.5V以及2V的电压的第二变压电路处于工作状态。For example, the electronic device 3 includes a first battery protection board 31 and a second battery protection board 31, at least one first voltage transformation circuit on the first battery protection board 31, and at least one first voltage transformation on the second battery protection board 31. The circuit and at least one second transformer circuit on the motherboard 32 can provide voltages of 3V, 2.5V, and 2V. When the electronic device 3 requires voltages of 3V, 2.5V, and 2V, and the first battery protection board obtained by the processor 33 When both the first temperature of 31 and the first temperature of the second battery protection board 31 are greater than or equal to the second preset temperature, and the second temperature on the main board 32 is greater than or equal to the second preset temperature, the first battery protection board 31 is controlled. And / or the first transformer circuit on the second battery protection board 31 capable of providing 3V, 2.5V and 2V voltages is in a working state and the second transformer on the main board 32 capable of providing 3V, 2.5V and 2V voltages The circuit is working.
在本实施例中,处理器基于电压需求、第二温度以及至少一个第一温度, 控制每一第一变压电路的状态和每一第二变压电路的状态,可以在电池保护板上的第一温度大于等于第一预设温度,而主板上的第二温度小于第二预设温度时,优先使主板上的第二变压电路处于工作状态,避免电池保护板上的温度过高的现象发生;在电池保护板上的第一温度大于等于第一预设温度且主板上的第二温度大于等于第二预设温度时,使电池保护板上的满足电压需求的第一变压电路和主板上满足电压需求的第二变压电路同时工作,由于第一变压电路和第二变压电路是并联关系,因此能够同时减小通过第一变压电路和第二电路的电流,故而能够同时降低电池保护板上和主板上的发热量。In this embodiment, the processor controls the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand, the second temperature, and at least one first temperature. When the first temperature is greater than or equal to the first preset temperature, and the second temperature on the motherboard is lower than the second preset temperature, the second transformer circuit on the motherboard is preferentially placed in a working state to avoid excessive temperature on the battery protection board. Phenomenon occurs; when the first temperature on the battery protection board is greater than or equal to the first preset temperature and the second temperature on the motherboard is greater than or equal to the second preset temperature, the first voltage transformation circuit on the battery protection board that meets the voltage requirements It works with the second transformer circuit that meets the voltage requirements on the motherboard. Because the first transformer circuit and the second transformer circuit are in parallel, the current through the first transformer circuit and the second circuit can be reduced at the same time. Can reduce the heat generation on the battery protection board and the motherboard at the same time.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,电子设备包括主板和至少一个电池保护板,电池板保护板上设有电池保护板电路,电池保护板电路包括至少一个第一变压电路;主板上设有主板电路,主板电路包括至少一个第二变压电路。该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The electronic device includes a main board and at least one battery protection board. The battery board protection board is provided with a battery protection board circuit. The battery protection board circuit includes at least one A first transformer circuit; a motherboard circuit is provided on the motherboard, and the motherboard circuit includes at least one second transformer circuit. The method includes the following steps:
步骤401:获取电子设备的电压需求。Step 401: Obtain a voltage requirement of the electronic device.
步骤402:基于电压需求控制每一第一变压电路的状态和每一第二变压电路的状态。Step 402: Control the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤501:获取电子设备的电压需求。Step 501: Obtain a voltage requirement of the electronic device.
步骤502:获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数。Step 502: Acquire a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit.
本发明实施例不限定步骤501和步骤502的先后顺序。The embodiment of the present invention does not limit the sequence of steps 501 and 502.
步骤503:若基于第一变压参数确定第一变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,并控制每一第二变压电路处于关闭状态。Step 503: If it is determined based on the first voltage transformation parameter that the first voltage transformation circuit meets the voltage demand, control the first voltage transformation circuit that meets the voltage demand to be in an operating state, and control each second voltage transformation circuit to be in an off state.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤601:获取电子设备的电压需求。Step 601: Obtain a voltage requirement of the electronic device.
步骤602:获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数。Step 602: Acquire a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit.
步骤603:若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电 路处于关闭状态。Step 603: if it is determined based on the first transformer parameter and the second transformer parameter that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the motherboard circuit meet the voltage demand, and The voltage transformer circuit is in a working state, and the first voltage transformer circuit is in a closed state except for meeting a voltage requirement.
步骤604:控制满足电压需求的第二变压电路处于工作状态,且除满足电压需求外的第二变压电路处于关闭状态。Step 604: Control that the second transformer circuit that meets the voltage demand is in an operating state, and the second transformer circuit that is in addition to meeting the voltage demand is in a closed state.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤701:获取电子设备的电压需求。Step 701: Obtain a voltage requirement of the electronic device.
步骤702:获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数。Step 702: Obtain a first transformation parameter of each first transformation circuit and a second transformation parameter of each second transformation circuit.
步骤703:若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态。Step 703: If it is determined based on the first voltage transformation parameter and the second voltage transformation parameter, part of the first voltage transformation circuit in the battery protection board circuit and part of the second voltage transformation circuit in the motherboard circuit meet the voltage demand, and control the first The voltage transformer circuit is in a working state, and the first voltage transformer circuit is in a closed state except for meeting a voltage requirement.
步骤704:控制第二变压电路中,满足电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足电压需求的第一变压电路的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。Step 704: controlling the second transformer circuit in which the second transformer circuit that meets the voltage requirement is in an operating state, and controlling the second transformer circuit in which the second transformer parameter and the first transformer circuit that meets the voltage requirement A second transformer circuit with the same transformer parameters and except meeting the voltage requirements is in a closed state.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤801:获取与至少一个电池保护板对应的至少一个第一温度。Step 801: Obtain at least one first temperature corresponding to at least one battery protection plate.
步骤802:获取电子设备的电压需求。Step 802: Obtain a voltage requirement of the electronic device.
本发明实施例不限定步骤801和步骤802的先后顺序。The embodiment of the present invention does not limit the sequence of steps 801 and 802.
步骤803:基于电压需求和至少一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态。Step 803: Control the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand and at least one first temperature.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该电子设备包括一个电池保护板,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The electronic device includes a battery protection board. The method includes the following steps:
步骤901:获取与至少一个电池保护板对应的至少一个第一温度。Step 901: Obtain at least one first temperature corresponding to at least one battery protection plate.
步骤902:获取电子设备的电压需求。Step 902: Obtain a voltage requirement of the electronic device.
本发明不限定步骤901和步骤902的先后顺序。The present invention does not limit the sequence of steps 901 and 902.
步骤903:获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数。Step 903: Obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit.
步骤904:若电池保护板的第一温度小于第一预设温度,基于第一变压参数、第二变压参数以及电压需求,控制每一第一变压电路的状态和每一第二变压电路的状态。Step 904: if the first temperature of the battery protection board is lower than the first preset temperature, based on the first voltage transformation parameter, the second voltage transformation parameter and the voltage demand, control the state of each first voltage transformation circuit and each second voltage transformation Voltage circuit status.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该电子设备包括至少两个电池保护板,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The electronic device includes at least two battery protection boards. The method includes the following steps:
步骤1001:获取与至少一个电池保护板对应的至少一个第一温度。Step 1001: Obtain at least one first temperature corresponding to at least one battery protection plate.
步骤1002:获取电子设备的电压需求。Step 1002: Obtain the voltage requirement of the electronic device.
本发明不限定步骤1001和步骤1002的先后顺序。The present invention does not limit the sequence of steps 1001 and 1002.
步骤1003:获取每个第二变压电路的第二变压参数和每个电池保护板上的每个第一变压电路的第一变压参数。Step 1003: Acquire a second voltage transformation parameter of each second voltage transformation circuit and a first voltage transformation parameter of each first voltage transformation circuit on each battery protection board.
步骤1004:获取至少两个电池保护板中第一温度小于第一预设温度的目标电池保护板,并基于第二变压参数、电压需求以及目标电池保护板上的第一变压电路的第一变压参数,控制每一第二变压电路的状态和目标电池保护板上的第一变压电路的状态。Step 1004: Obtain a target battery protection board with a first temperature lower than the first preset temperature in at least two battery protection boards, and based on the second voltage transformation parameter, the voltage demand, and the first transformer circuit of the target battery protection board. A transformer parameter controls the state of each second transformer circuit and the state of the first transformer circuit on the target battery protection board.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤1101:获取与至少一个电池保护板对应的至少一个第一温度。Step 1101: Obtain at least one first temperature corresponding to at least one battery protection plate.
步骤1102:获取电子设备的电压需求。Step 1102: Obtain the voltage requirements of the electronic device.
步骤1103:获取与主板对应的第二温度。Step 1103: Obtain a second temperature corresponding to the motherboard.
本发明实施例不限定步骤1101、步骤1102以及步骤1103之间的先后顺序。The embodiment of the present invention does not limit the sequence between steps 1101, 1102, and 1103.
步骤1104:基于电压需求、第二温度以及至少一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态。Step 1104: Control the state of each first transformer circuit and the state of each second transformer circuit based on the voltage demand, the second temperature, and at least one first temperature.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤1201:获取与至少一个电池保护板对应的至少一个第一温度。Step 1201: Obtain at least one first temperature corresponding to at least one battery protection plate.
步骤1202:获取电子设备的电压需求。Step 1202: Obtain the voltage requirement of the electronic device.
步骤1203:获取与主板对应的第二温度。Step 1203: Obtain a second temperature corresponding to the motherboard.
本发明实施例不限定步骤1201、步骤1202以及步骤1203之间的先后顺序。The embodiment of the present invention does not limit the sequence between steps 1201, 1202, and 1203.
步骤1204:若每一电池保护板上的第一温度均大于或等于第一预设温度且第二温度小于第二预设温度,控制满足电压需求的第二变压电路处于工作状态,且控制每一第一变压电路处于关闭状态。Step 1204: if the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is less than the second preset temperature, controlling the second transformer circuit that meets the voltage requirements is in the working state, and Each first transformer circuit is in a closed state.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤1301:获取与至少一个电池保护板对应的至少一个第一温度。Step 1301: Obtain at least one first temperature corresponding to at least one battery protection plate.
步骤1302:获取电子设备的电压需求。Step 1302: Obtain the voltage requirement of the electronic device.
步骤1303:获取与主板对应的第二温度。Step 1303: Obtain a second temperature corresponding to the motherboard.
本发明实施例不限定步骤1301、步骤1302以及步骤1303之间的先后顺序。The embodiment of the present invention does not limit the sequence between steps 1301, 1302, and 1303.
步骤1304:若每一电池保护板上的第一温度均大于或等于第一预设温度且第二温度大于或等于第二预设温度,控制满足电压需求的第一变压电路和满足电压需求的第二变压电路处于工作状态。Step 1304: If the first temperature on each battery protection board is greater than or equal to the first preset temperature and the second temperature is greater than or equal to the second preset temperature, control the first transformer circuit that meets the voltage demand and the voltage demand The second transformer circuit is in a working state.
基于前述实施例,本发明实施例提供一种控制方法,应用于电子设备,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a control method applied to an electronic device. The method includes the following steps:
步骤1401:手机开机软件初始化,启动过程中默认由主板侧电路供电,电池侧电路断开。Step 1401: The mobile phone startup software is initialized. During the startup process, the motherboard-side circuit is powered by default, and the battery-side circuit is disconnected.
其中,主板侧电路为主板上的至少一个第二变压电路;电池侧电路为至少一个电池保护板上的至少一个第一变压电路。Wherein, the main board-side circuit is at least one second transformer circuit on the main board; the battery-side circuit is at least one first transformer circuit on at least one battery protection board.
步骤1402:手机启动后实时检测并上报电池侧温度检测值、主板侧温度检测值。Step 1402: After the mobile phone is started, the battery side temperature detection value and the motherboard side temperature detection value are detected and reported in real time.
其中,电池侧温度检测值为第一温度,第一温度的个数与电池保护板的个数对应,主板侧温度检测值为第二温度。The battery-side temperature detection value is the first temperature, the number of the first temperature corresponds to the number of the battery protection board, and the motherboard-side temperature detection value is the second temperature.
步骤1403:处理器获取主板温度值、电池侧温度值,通过控制通用输入/输出引脚的电压状态控制两路开关的通断。Step 1403: The processor obtains the temperature value of the motherboard and the temperature value of the battery side, and controls the on / off of the two switches by controlling the voltage status of the general-purpose input / output pins.
处理器通过输出电压来控制第一开关和第二开关的通断。The processor controls the on and off of the first switch and the second switch through the output voltage.
步骤1404:如果主板温度小于第二预设温度,电池侧温度小于第一预设温度,则优先让电池侧电路工作,主板侧电路断开。Step 1404: If the temperature of the motherboard is lower than the second preset temperature and the battery-side temperature is lower than the first preset temperature, the battery-side circuit is preferentially operated and the motherboard-side circuit is disconnected.
步骤1405:如果主板侧温度大于等于第二预设温度,电池侧温度小于第一预设温度,则使主板侧电路断开,电池侧电路工作。Step 1405: If the temperature on the motherboard side is greater than or equal to the second preset temperature and the temperature on the battery side is less than the first preset temperature, the circuit on the motherboard side is disconnected and the battery side circuit is operated.
步骤1406:如果主板侧温度小于第二预设温度,电池侧温度大于等于第一预设温度,则使主板侧电路工作,电池侧电路断开。Step 1406: If the temperature on the motherboard side is lower than the second preset temperature and the temperature on the battery side is greater than or equal to the first preset temperature, the circuit on the motherboard side is operated, and the circuit on the battery side is disconnected.
步骤1407:如果主板温度大于等于第二预设温度,电池侧温度大于等于第一预设温度,则主板侧电路和电池侧电路同时工作。Step 1407: If the temperature of the motherboard is greater than or equal to the second preset temperature and the battery-side temperature is greater than or equal to the first preset temperature, the motherboard-side circuit and the battery-side circuit work simultaneously.
在本实施例中,通过第一开关来控制电池侧电路的状态,通过第二开关来控制主板侧电路的状态。其中,电池侧电路的第一温度、主板侧电路的第二温度与第一开关状态、第二开关状态的关系请参阅表1,表1为电路温度和 开关状态的关系表。In this embodiment, the state of the battery-side circuit is controlled by a first switch, and the state of the motherboard-side circuit is controlled by a second switch. For the relationship between the first temperature of the battery-side circuit and the second temperature of the motherboard-side circuit and the first switching state and the second switching state, please refer to Table 1. Table 1 is a relationship table between the circuit temperature and the switching state.
Figure PCTCN2019099306-appb-000002
Figure PCTCN2019099306-appb-000002
其中,T1为第一预设温度,T2为第二预设温度。主板开关为第二开关,电池开关为第一开关。T1 is a first preset temperature, and T2 is a second preset temperature. The motherboard switch is the second switch, and the battery switch is the first switch.
基于前述实施例,本发明的实施例提供一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium. The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement The following steps:
获取每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若基于第一变压参数确定第一变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,并控制每一第二变压电路处于关闭状态。Obtain a first transformer parameter of each first transformer circuit and a second transformer parameter of each second transformer circuit; if it is determined based on the first transformer parameter that the first transformer circuit meets the voltage demand, control meets the voltage demand The first transformer circuit is in a working state, and each second transformer circuit is controlled to be in a closed state.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to implement the following steps:
若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制满足电压需求的第二变压电路处于工作状态,且除满足电压需求外的第二变压电路处于关闭状态。If it is determined based on the first transformation parameter and the second transformation parameter, it is determined that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the motherboard circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled It is in a working state, and the first transformer circuit except for satisfying the voltage demand is in a closed state; the second transformer circuit for controlling the voltage demand is in a working state, and the second transformer circuit except for satisfying the voltage demand is in a shutdown state.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to implement the following steps:
若基于第一变压参数和第二变压参数,确定电池保护板电路中部分第一变压电路和主板电路中部分第二变压电路满足电压需求,控制满足电压需求的第一变压电路处于工作状态,且除满足电压需求外的第一变压电路处于关闭状态;控制第二变压电路中,满足电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足电压需求的第一变压电路的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。If it is determined based on the first transformation parameter and the second transformation parameter, it is determined that part of the first transformer circuit in the battery protection board circuit and part of the second transformer circuit in the motherboard circuit meet the voltage demand, and the first transformer circuit that meets the voltage demand is controlled Is in a working state, and the first transformer circuit except for meeting the voltage requirement is in a closed state; in controlling the second transformer circuit, the second transformer circuit that meets the voltage requirement is in a working state, and controls the second transformer circuit, The second voltage transformation parameter is the same as the first voltage transformation parameter of the first voltage transformation circuit that meets the voltage demand, and the second voltage transformation circuit except that it meets the voltage demand is in a closed state.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器 执行,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to implement the following steps:
获取与至少一个电池保护板对应的至少一个第一温度;基于电压需求和至少一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态。Acquire at least one first temperature corresponding to at least one battery protection board; and based on the voltage demand and the at least one first temperature, control the state of each first transformer circuit and the state of each second transformer circuit.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于电压需求和一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each second transformer based on the voltage demand and a first temperature. The state of the circuit to achieve the following steps:
获取电池保护板上的每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;若电池保护板的第一温度小于第一预设温度,基于第一变压参数、第二变压参数以及电压需求,控制每一第一变压电路的状态和每一第二变压电路的状态。Obtain a first voltage transformation parameter of each first voltage transformation circuit and a second voltage transformation parameter of each second voltage transformation circuit on the battery protection board; if the first temperature of the battery protection board is less than the first preset temperature, based on The first transformer parameter, the second transformer parameter, and the voltage demand control the state of each first transformer circuit and the state of each second transformer circuit.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于电压需求和一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each second transformer based on the voltage demand and a first temperature. The state of the circuit to achieve the following steps:
获取至少两个电池保护板上的每个第一变压电路的第一变压参数和每个第二变压电路的第二变压参数;获取至少两个电池保护板的第一温度小于第一预设温度的目标电池保护板;并基于目标电池保护板上的第一变压电路的第一变压参数、第二变压参数以及电压需求,控制目标电池保护板上的第一变压电路的状态和每一第二变压电路的状态。Acquire first transformation parameters of each first transformer circuit and second transformation parameters of each second transformer circuit on at least two battery protection boards; obtain first temperatures of at least two battery protection boards less than A target battery protection board with a preset temperature; and controlling the first voltage transformation on the target battery protection board based on the first voltage transformation parameter, the second voltage transformation parameter and the voltage demand of the first voltage transformation circuit on the target battery protection board The state of the circuit and the state of each second transformer circuit.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to implement the following steps:
获取与主板对应的第二温度;基于电压需求、第二温度以及至少一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态。Acquire a second temperature corresponding to the motherboard; and based on the voltage demand, the second temperature, and at least one first temperature, control the state of each first transformer circuit and the state of each second transformer circuit.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于电压需求、第二温度以及至少一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each of the first transformer circuits based on the voltage demand, the second temperature, and at least one first temperature. The state of a second transformer circuit to achieve the following steps:
若至少一个第一温度均大于等于第一预设温度且第二温度小于第二预设温度,控制满足电压需求的第二变压电路处于工作状态,且控制每一第一变压电路处于关闭状态。If at least one of the first temperatures is greater than or equal to the first preset temperature and the second temperature is less than the second preset temperature, the second transformer circuit that controls the voltage requirement is controlled to work, and each first transformer circuit is controlled to be turned off status.
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于电压需求、第二温度以及至少一个第一温度,控制每一第一变压电路的状态和每一第二变压电路的状态,以实现以下步骤:In other embodiments of the present invention, the one or more programs may be executed by one or more processors to control the state of each first transformer circuit and each of the first transformer circuits based on the voltage demand, the second temperature, and at least one first temperature. The state of a second transformer circuit to achieve the following steps:
若至少一个第一温度均大于等于第一预设温度且第二温度大于等于第二 预设温度,控制满足电压需求的第一变压电路和满足电压需求的第二变压电路均处于工作状态。If at least one of the first temperature is greater than or equal to the first preset temperature and the second temperature is greater than or equal to the second preset temperature, both the first transformer circuit that satisfies the voltage demand and the second transformer circuit that satisfies the voltage demand are in operation. .
本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意方法实施例中的方法。An embodiment of the present invention provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, To cause the computer to execute the method in any of the foregoing method embodiments.
需要说明的是,上述计算机存储介质可以是只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性随机存取存储器It should be noted that the computer storage medium may be read-only memory (ROM), programmable read-only memory (PROM), and erasable programmable read-only memory (Erasable Programmable Read- Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory
(Ferromagnetic Random Access Memory,FRAM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM)等存储器;也可以是包括上述存储器之一或任意组合的各种电子设备,如移动电话、计算机、平板设备、个人数字助理等。(Ferromagnetic Random Access Memory (FRAM)), flash memory (Flash memory), magnetic surface memory, compact disc, or read-only compact disc (Compact Disc-Read-Only Memory (CD-ROM)) and other memories; it can also include one of the above-mentioned memories Or any combination of various electronic devices, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,从语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited from the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The sequence numbers of the foregoing embodiments of the present invention are only for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所描述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of the present invention, in essence, or a part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present invention.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可从计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方 框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented from computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate instructions Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and thus do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or directly or indirectly used in other related technical fields All are included in the patent protection scope of the present invention.

Claims (20)

  1. 一种电子设备,其中,所述电子设备包括:An electronic device, wherein the electronic device includes:
    至少一个电池保护板,所述电池保护板上设有电池保护板电路,所述电池保护板电路包括至少一个第一变压电路,所述第一变压电路用于增高或者降低输入至所述第一变压电路的电压;At least one battery protection board, the battery protection board is provided with a battery protection board circuit, and the battery protection board circuit includes at least one first voltage transformation circuit for increasing or reducing the input to the The voltage of the first transformer circuit;
    主板,所述主板上设有主板电路,所述主板电路包括至少一个第二变压电路,所述第二变压电路用于增高或者降低输入至所述第二变压电路的电压;A main board, which is provided with a main board circuit, the main board circuit including at least one second transformer circuit, the second transformer circuit is used to increase or decrease the voltage input to the second transformer circuit;
    处理器,用于获取所述电子设备的电压需求,并基于所述电压需求控制每一所述第一变压电路的状态和每一所述第二变压电路的状态以及用于控制变压参数不同的至少两个所述第一变压电路中每一所述第一变压电路的状态和每一所述第二变压电路的状态。A processor, configured to obtain a voltage requirement of the electronic device, and control a state of each of the first transformer circuits and a state of each of the second transformer circuits based on the voltage requirement and to control a transformer A state of each of the first transformer circuits and a state of each of the second transformer circuits in at least two of the first transformer circuits with different parameters.
  2. 根据权利要求1所述的电子设备,其中,The electronic device according to claim 1, wherein:
    所述处理器,还用于获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数;The processor is further configured to obtain a first transformer parameter of each of the first transformer circuits and a second transformer parameter of each of the second transformer circuits;
    所述处理器,还用于若基于所述第一变压参数确定所述第一变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,并控制每一所述第二变压电路处于关闭状态。The processor is further configured to, if it is determined based on the first transformation parameter, that the first transformation circuit meets the voltage requirement, control the first transformation circuit that meets the voltage requirement to be in an operating state, and control each One said second transformer circuit is in a closed state.
  3. 根据权利要求2所述的电子设备,其中,所述处理器还用于:The electronic device according to claim 2, wherein the processor is further configured to:
    若基于所述第一变压参数和第二变压参数,确定所述电池保护板电路中部分第一变压电路和所述主板电路中部分第二变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,且除满足所述电压需求外的第一变压电路处于关闭状态;If it is determined based on the first voltage transformation parameter and the second voltage transformation parameter, that part of the first voltage transformation circuit in the battery protection board circuit and part of the second voltage transformation circuit in the main board circuit meet the voltage demand, and the control meets The first transformer circuit required by the voltage is in a working state, and the first transformer circuit except that the voltage requirement is met is in a closed state;
    控制满足所述电压需求的第二变压电路处于工作状态,且除满足所述电压需求外的第二变压电路处于关闭状态。The second transformer circuit that controls to meet the voltage demand is in a working state, and the second transformer circuit that is in addition to meeting the voltage demand is in a closed state.
  4. 根据权利要求2所述的电子设备,其中,所述处理器还用于:The electronic device according to claim 2, wherein the processor is further configured to:
    若基于所述第一变压参数和第二变压参数,确定所述电池保护板电路中部分第一变压电路和所述主板电路中部分第二变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,且除满足所述电压需求外的第一变压电路处于关闭状态;If it is determined based on the first voltage transformation parameter and the second voltage transformation parameter, that part of the first voltage transformation circuit in the battery protection board circuit and part of the second voltage transformation circuit in the main board circuit meet the voltage demand, and the control meets The first transformer circuit required by the voltage is in a working state, and the first transformer circuit except that the voltage requirement is met is in a closed state;
    控制第二变压电路中,满足所述电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足所述电压需求的第一变压电路 的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。In the second transformer circuit, the second transformer circuit that meets the voltage requirement is in an operating state, and in the second transformer circuit, the second transformer parameter and the voltage of the first transformer circuit that meets the voltage requirement are controlled. The second transformer circuit having the same first transformer parameter and except meeting the voltage requirement is in a closed state.
  5. 根据权利要求1至4任一项所述的电子设备,其中,所述电池保护板电路还包括第一温度检测电路,其中:The electronic device according to any one of claims 1 to 4, wherein the battery protection board circuit further comprises a first temperature detection circuit, wherein:
    所述第一温度检测电路与所述至少一个第一变压电路电联接;The first temperature detection circuit is electrically coupled with the at least one first voltage transformation circuit;
    所述处理器,还用于获取所述第一温度检测电路的第一电路参数,并基于所述第一电路参数,获取与所述第一温度检测电路对应的所述电池保护板的第一温度;The processor is further configured to obtain a first circuit parameter of the first temperature detection circuit, and obtain a first of the battery protection board corresponding to the first temperature detection circuit based on the first circuit parameter. temperature;
    所述处理器,还用于基于所述电压需求和所述电池保护板的第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态。The processor is further configured to control a state of each of the first transformer circuits and a state of each of the second transformer circuits based on the voltage demand and the first temperature of the battery protection board.
  6. 根据权利要求5所述的电子设备,其中,所述电子设备包括一个电池保护板;The electronic device according to claim 5, wherein the electronic device includes a battery protection board;
    所述处理器,还用于获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数;The processor is further configured to obtain a first transformer parameter of each of the first transformer circuits and a second transformer parameter of each of the second transformer circuits;
    所述处理器,还用于若所述电池保护板的第一温度小于第一预设温度,基于所述第一变压参数、所述第二变压参数以及所述电压需求,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态。The processor is further configured to control each of the battery protection board based on the first voltage transformation parameter, the second voltage transformation parameter, and the voltage demand if the first temperature of the battery protection board is less than a first preset temperature. A state of the first transformer circuit and a state of each of the second transformer circuits.
  7. 根据权利要求5所述的电子设备,其中,所述电子设备包括至少两个电池保护板;The electronic device according to claim 5, wherein the electronic device includes at least two battery protection plates;
    所述处理器,还用于获取每个所述第二变压电路的第二变压参数和每个所述电池保护板上的每个所述第一变压电路的第一变压参数;The processor is further configured to obtain a second voltage transformation parameter of each of the second voltage transformation circuits and a first voltage transformation parameter of each of the first voltage transformation circuits on each of the battery protection boards;
    所述处理器,还用于获取所述至少两个电池保护板中第一温度小于第一预设温度的目标电池保护板,并基于所述第二变压参数、所述电压需求以及所述目标电池保护板上的第一变压电路的第一变压参数,控制每一所述第二变压电路的状态和所述目标电池保护板上的第一变压电路的状态。The processor is further configured to obtain a target battery protection board with a first temperature lower than a first preset temperature in the at least two battery protection boards, and based on the second voltage transformation parameter, the voltage demand, and the The first voltage transformation parameter of the first voltage transformation circuit on the target battery protection board controls the state of each of the second voltage transformation circuits and the state of the first voltage transformation circuit on the target battery protection board.
  8. 根据权利要求5所述的电子设备,其中,所述主板电路还包括第二温度检测电路,其中:The electronic device according to claim 5, wherein the motherboard circuit further comprises a second temperature detection circuit, wherein:
    所述第二温度检测电路与所述至少一个第二变压电路电联接,所述第二温度检测电路用于获取所述主板上的第二温度;The second temperature detection circuit is electrically connected to the at least one second voltage transformation circuit, and the second temperature detection circuit is configured to obtain a second temperature on the motherboard;
    所述处理器,还用于接收所述第二温度,并基于所述电压需求、所述第二温度以及所述第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态。The processor is further configured to receive the second temperature, and control the state of each of the first transformer circuits and each of the voltage transformers based on the voltage demand, the second temperature, and the first temperature. The state of the second transformer circuit will be described.
  9. 根据权利要求8所述的电子设备,其中,The electronic device according to claim 8, wherein:
    所述处理器,还用于若每一所述电池保护板上的第一温度均大于或等于第一预设温度且所述第二温度小于第二预设温度,控制满足所述电压需求的第二变压电路处于工作状态,且控制每一所述第一变压电路处于关闭状态。And the processor is further configured to control the battery that meets the voltage requirement if the first temperature on each of the battery protection boards is greater than or equal to the first preset temperature and the second temperature is less than the second preset temperature. The second transformer circuit is in an operating state, and each of the first transformer circuits is controlled to be in a closed state.
  10. 根据权利要求8所述的电子设备,其中,The electronic device according to claim 8, wherein:
    所述处理器,还用于若每一所述电池保护板上的第一温度均大于或等于第一预设温度且所述第二温度大于或等于第二预设温度,控制满足所述电压需求的第一变压电路和满足所述电压需求的第二变压电路处于工作状态。The processor is further configured to: if the first temperature of each of the battery protection boards is greater than or equal to a first preset temperature and the second temperature is greater than or equal to a second preset temperature, control to satisfy the voltage The required first transformer circuit and the second transformer circuit that meets the voltage requirement are in an operating state.
  11. 根据权利要求1所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 1, wherein the electronic device further comprises:
    至少一个第一开关,所述至少一个第一开关与所述至少一个第一变压电路对应串联,每一所述第一开关还与所述处理器电联接;At least one first switch, said at least one first switch corresponding to said at least one first voltage transformation circuit in series, and each said first switch being further electrically connected to said processor;
    所述处理器,还用于控制所述第一开关的通断来控制与所述第一开关串联的第一变压电路的状态;The processor is further configured to control the on / off of the first switch to control a state of a first transformer circuit connected in series with the first switch;
    至少一个第二开关,所述至少一个第二开关与所述至少一个第二变压电路对应串联,每一所述第二开关还与所述处理器电联接;At least one second switch, said at least one second switch being correspondingly connected in series with said at least one second transformer circuit, and each said second switch is also electrically connected to said processor;
    所述处理器,还用于控制所述第二开关的通断来控制与所述第二开关串联的所述第二变压电路的状态。The processor is further configured to control the on / off of the second switch to control a state of the second transformer circuit connected in series with the second switch.
  12. 一种控制方法,应用于电子设备,所述电子设备包括主板和至少一个电池保护板,所述电池板保护板上设有电池保护板电路,所述电池保护板电路包括至少一个第一变压电路;所述主板上设有主板电路,所述主板电路包括至少一个第二变压电路,其中,所述方法包括:A control method applied to an electronic device, the electronic device comprising a main board and at least one battery protection board, the battery board protection board is provided with a battery protection board circuit, and the battery protection board circuit includes at least one first transformer Circuit; a motherboard circuit is provided on the motherboard, and the motherboard circuit includes at least one second transformer circuit, wherein the method includes:
    获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数;Acquiring a first transformation parameter of each of the first transformation circuits and a second transformation parameter of each of the second transformation circuits;
    若基于所述第一变压参数确定所述第一变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,并控制每一所述第二变压电路处于关闭状态。If it is determined based on the first voltage transformation parameter that the first voltage transformation circuit meets the voltage demand, control the first voltage transformation circuit that meets the voltage demand to be in an operating state, and control each of the second voltage transformation circuits Is off.
  13. 根据权利要求12所述的方法,其中,所述获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数之后,所述方法还包括:The method according to claim 12, wherein after the obtaining the first transformation parameter of each of the first transformer circuits and the second transformation parameter of each of the second transformer circuits, the method Also includes:
    若基于所述第一变压参数和第二变压参数,确定所述电池保护板电路中部分第一变压电路和所述主板电路中部分第二变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,且除满足所述电压需求外的第一变压电路处于关闭状态;If it is determined based on the first voltage transformation parameter and the second voltage transformation parameter, that part of the first voltage transformation circuit in the battery protection board circuit and part of the second voltage transformation circuit in the main board circuit meet the voltage demand, and the control meets The first transformer circuit required by the voltage is in a working state, and the first transformer circuit except that the voltage requirement is met is in a closed state;
    控制满足所述电压需求的第二变压电路处于工作状态,且除满足所述电压需求外的第二变压电路处于关闭状态。The second transformer circuit that controls to meet the voltage demand is in a working state, and the second transformer circuit that is in addition to meeting the voltage demand is in a closed state.
  14. 根据权利要求12所述的方法,其中,所述获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数之后,所述方法还包括:The method according to claim 12, wherein after the obtaining the first transformation parameter of each of the first transformer circuits and the second transformation parameter of each of the second transformer circuits, the method Also includes:
    若基于所述第一变压参数和第二变压参数,确定所述电池保护板电路中部分第一变压电路和所述主板电路中部分第二变压电路满足所述电压需求,控制满足所述电压需求的第一变压电路处于工作状态,且除满足所述电压需求外的第一变压电路处于关闭状态;If it is determined based on the first voltage transformation parameter and the second voltage transformation parameter, that part of the first voltage transformation circuit in the battery protection board circuit and part of the second voltage transformation circuit in the main board circuit meet the voltage demand, and control meets The first transformer circuit required by the voltage is in a working state, and the first transformer circuit except that the voltage requirement is met is in a closed state;
    控制第二变压电路中,满足所述电压需求的第二变压电路处于工作状态,且控制第二变压电路中,第二变压参数与满足所述电压需求的第一变压电路的第一变压参数相同和除满足电压需求外的第二变压电路,处于关闭状态。In the second transformer circuit, the second transformer circuit that meets the voltage requirement is in an operating state, and in the second transformer circuit, the second transformer parameter and the voltage of the first transformer circuit that meets the voltage requirement are controlled. The second transformer circuit having the same first transformer parameter and except meeting the voltage requirement is in a closed state.
  15. 根据权利要求12所述的方法,其中,所述方法还包括:The method according to claim 12, wherein the method further comprises:
    获取与所述至少一个电池保护板对应的至少一个第一温度;Acquiring at least one first temperature corresponding to the at least one battery protection plate;
    基于所述电压需求和所述至少一个第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态。Based on the voltage demand and the at least one first temperature, a state of each of the first transformer circuits and a state of each of the second transformer circuits are controlled.
  16. 根据权利要求15所述的方法,其中,所述电子设备包括一个电池保护板,所述基于所述电压需求和所述一个第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态,包括:The method according to claim 15, wherein the electronic device comprises a battery protection board, and the state of each of the first transformer circuits and each of the first transformer circuits are controlled based on the voltage demand and the one first temperature. A state of the second transformer circuit includes:
    获取每个所述第一变压电路的第一变压参数和每个所述第二变压电路的第二变压参数;Acquiring a first transformation parameter of each of the first transformation circuits and a second transformation parameter of each of the second transformation circuits;
    若所述电池保护板的第一温度小于第一预设温度,基于所述第一变压参数、所述第二变压参数以及所述电压需求,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态。If the first temperature of the battery protection board is lower than the first preset temperature, based on the first voltage transformation parameter, the second voltage transformation parameter, and the voltage demand, control the A state and a state of each of the second transformer circuits.
  17. 根据权利要求15所述的方法,其中,所述电子设备包括至少两个电池保护板,所述基于所述电压需求和所述一个第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态,包括:The method according to claim 15, wherein the electronic device includes at least two battery protection boards, and the state of each of the first transformer circuits is controlled based on the voltage demand and the one first temperature And the state of each said second transformer circuit, including:
    获取每个所述第二变压电路的第二变压参数和每个所述电池保护板上的每个所述第一变压电路的第一变压参数;Acquiring a second transformation parameter of each of the second transformation circuits and a first transformation parameter of each of the first transformation circuits on each of the battery protection boards;
    获取所述至少两个电池保护板中第一温度小于第一预设温度的目标电池保护板,并基于所述第二变压参数、所述电压需求以及所述目标电池保护板上的第一变压电路的第一变压参数,控制每一所述第二变压电路的状态和所 述目标电池保护板上的第一变压电路的状态。Obtaining a target battery protection board whose first temperature is less than a first preset temperature in the at least two battery protection boards, and based on the second voltage transformation parameter, the voltage demand, and the first battery protection board The first voltage transformation parameter of the voltage transformation circuit controls the state of each of the second voltage transformation circuits and the state of the first voltage transformation circuit on the target battery protection board.
  18. 根据权利要求15所述的方法,其中,所述获取与所述至少一个电池保护板对应的至少一个第一温度之后,所述方法还包括:The method according to claim 15, wherein after the obtaining at least one first temperature corresponding to the at least one battery protection plate, the method further comprises:
    获取与所述主板对应的第二温度;Obtaining a second temperature corresponding to the motherboard;
    基于所述电压需求、所述第二温度以及所述至少一个第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态,若所述至少一个第一温度均大于等于第一预设温度且所述第二温度大于等于第二预设温度,控制满足所述电压需求的所述第一变压电路和满足所述电压需求的所述第二变压电路均处于工作状态。Controlling the state of each of the first transformer circuits and the state of each of the second transformer circuits based on the voltage demand, the second temperature, and the at least one first temperature, if the at least one The first temperature is greater than or equal to the first preset temperature and the second temperature is greater than or equal to the second preset temperature, and controls the first transformer circuit that satisfies the voltage demand and the second temperature transformer that meets the voltage demand. The transformer circuits are all in working condition.
  19. 根据权利要求18所述的方法,其中,所述基于所述电压需求、所述第二温度以及所述至少一个第一温度,控制每一所述第一变压电路的状态和每一所述第二变压电路的状态,还包括:The method according to claim 18, wherein, based on the voltage demand, the second temperature, and the at least one first temperature, controlling a state of each of the first transformer circuits and each of the The state of the second transformer circuit further includes:
    若所述至少一个第一温度均大于等于第一预设温度且所述第二温度小于第二预设温度,控制满足所述电压需求的所述第二变压电路处于工作状态,且控制每一所述第一变压电路处于关闭状态。If the at least one first temperature is greater than or equal to a first preset temperature and the second temperature is less than a second preset temperature, controlling the second transformer circuit that meets the voltage demand is in an operating state, and controlling each A said first transformer circuit is in a closed state.
  20. 一种计算机存储介质,其中,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求12至19任一项所述的控制方法的步骤。A computer storage medium, wherein the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the method according to any one of claims 12 to 19. The steps of the control method described above.
PCT/CN2019/099306 2018-09-27 2019-08-05 Electronic device, control method and computer storage medium therefor WO2020063113A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811131143.0A CN110955315B (en) 2018-09-27 2018-09-27 Electronic equipment, control method and computer storage medium thereof
CN201811131143.0 2018-09-27

Publications (1)

Publication Number Publication Date
WO2020063113A1 true WO2020063113A1 (en) 2020-04-02

Family

ID=69950317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/099306 WO2020063113A1 (en) 2018-09-27 2019-08-05 Electronic device, control method and computer storage medium therefor

Country Status (2)

Country Link
CN (1) CN110955315B (en)
WO (1) WO2020063113A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781967B (en) * 2020-06-30 2022-02-22 深圳市有方科技股份有限公司 Terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201742109U (en) * 2009-11-30 2011-02-09 成都林海电子有限责任公司 Portable mobile terminal power supply
CN202142299U (en) * 2011-07-29 2012-02-08 深圳市阿龙电子有限公司 Power supply management integrated circuit (IC) of portable digital video disk (DVD) player and DVD player
CN204886223U (en) * 2015-06-10 2015-12-16 西安海导信息技术有限公司 Device and smart machine of controlgear power supply
US20160006283A1 (en) * 2014-07-03 2016-01-07 Dake Liu Portable charging device
CN105449730A (en) * 2014-09-18 2016-03-30 联想(北京)有限公司 Power supply circuit, battery and electronic equipment
CN206481074U (en) * 2016-12-30 2017-09-08 维沃移动通信有限公司 A kind of charge-discharge circuit and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3312422B2 (en) * 1993-06-15 2002-08-05 ソニー株式会社 Secondary battery protection device and secondary battery pack
CN205029381U (en) * 2015-09-28 2016-02-10 新源国宏科技(北京)有限公司 Digit BMS protection shield with secondary protect function
CN107332208B (en) * 2016-04-29 2019-08-27 华为技术有限公司 A kind of protection circuit, mainboard guard method and terminal
CN206460446U (en) * 2016-11-30 2017-09-01 中国船舶重工集团公司第七一六研究所 A kind of supervising device for ruggedized computer mainboard
CN207098681U (en) * 2017-07-24 2018-03-13 杭州萤石网络有限公司 A kind of lithium battery charge and discharge protective circuit
CN108039757A (en) * 2017-12-29 2018-05-15 吉林大学 A kind of lithium ion battery charging save set and its control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201742109U (en) * 2009-11-30 2011-02-09 成都林海电子有限责任公司 Portable mobile terminal power supply
CN202142299U (en) * 2011-07-29 2012-02-08 深圳市阿龙电子有限公司 Power supply management integrated circuit (IC) of portable digital video disk (DVD) player and DVD player
US20160006283A1 (en) * 2014-07-03 2016-01-07 Dake Liu Portable charging device
CN105449730A (en) * 2014-09-18 2016-03-30 联想(北京)有限公司 Power supply circuit, battery and electronic equipment
CN204886223U (en) * 2015-06-10 2015-12-16 西安海导信息技术有限公司 Device and smart machine of controlgear power supply
CN206481074U (en) * 2016-12-30 2017-09-08 维沃移动通信有限公司 A kind of charge-discharge circuit and mobile terminal

Also Published As

Publication number Publication date
CN110955315A (en) 2020-04-03
CN110955315B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
JP2021093907A (en) Battery, terminal, and charging system
EP2897249A1 (en) Quick charging terminal
CA3122842C (en) Methods and apparatus for controlling charge current in a battery pack containing cells of disparate types
US10250059B2 (en) Charging circuit for battery-powered device
US20150123620A1 (en) Charging Device with Auto-On Circuit and System
US11837887B2 (en) Charging integrated circuit and operating method
US20210376643A1 (en) Adaptive Power Systems and Techniques
CN111900769A (en) Charging control circuit and electronic equipment
WO2021018272A1 (en) Charging/discharging protection circuit, terminal device, and battery discharging control method
US9431897B2 (en) Electric device
CN105098871A (en) Portable device and method for controlling charging current thereof
WO2020063113A1 (en) Electronic device, control method and computer storage medium therefor
TW201741812A (en) Electronic device
US20120143534A1 (en) Power management module and power supply apparatus
US20160094058A1 (en) External battery apparatus and control method thereof
TWI491141B (en) System and method for charging battery
TW201945750A (en) Method of accurately displaying battery percentage using multiple judging conditions and related battery management unit
CN110352531B (en) Energy level conversion circuit for portable energy storage device
KR102186971B1 (en) Sunlight charge power supply apparatus of notebook type
JP6993286B2 (en) Power storage device, control device of power storage device, control method of power storage device
CN210404765U (en) Lithium battery protection circuit
KR101973049B1 (en) External battery
CN217159347U (en) Charging control circuit for handheld mobile equipment and handheld mobile equipment
CN203911530U (en) An alternating current type intelligent mobile power supply
TW201527940A (en) Integrated power bank

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19865508

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19865508

Country of ref document: EP

Kind code of ref document: A1