WO2026002148A1 - 电子设备 - Google Patents

电子设备

Info

Publication number
WO2026002148A1
WO2026002148A1 PCT/CN2025/104002 CN2025104002W WO2026002148A1 WO 2026002148 A1 WO2026002148 A1 WO 2026002148A1 CN 2025104002 W CN2025104002 W CN 2025104002W WO 2026002148 A1 WO2026002148 A1 WO 2026002148A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery
pin
integrated circuit
motherboard
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2025/104002
Other languages
English (en)
French (fr)
Inventor
黄碧光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2026002148A1 publication Critical patent/WO2026002148A1/zh
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/60Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including safety or protection arrangements
    • H02J7/663Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including safety or protection arrangements using battery or load disconnect circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/18Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for batteries; for accumulators
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/80Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including monitoring or indicating arrangements
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/855Circuit arrangements for charging or discharging batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • Electronic devices are equipped with a Ship Mode. When the device is not in use, it can be controlled to enter Ship Mode, which allows the battery to stop supplying power to some components of the device. This reduces battery consumption, minimizes prolonged periods of low battery power, and reduces the risk of battery swelling, thus improving the safety of the electronic device.
  • control device which includes: a control module, configured to detect a first current passing through a first resistor by means of a detection module of a first integrated circuit of the control device when the connection between the battery of the control device and the motherboard of the control device is open; and to control the first switching transistor of the first integrated circuit to disconnect the connection between the battery and the motherboard when the current value of the first current is less than or equal to a preset current value.
  • embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the second aspect.
  • embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the method described in the second aspect.
  • the electronic device includes a motherboard, a battery connected to a first terminal of the motherboard, and a first integrated circuit.
  • the first integrated circuit includes a detection module.
  • the second terminal of the battery is connected to a second terminal of the motherboard via a first switching transistor.
  • the detection module detects a first current passing through a first resistor.
  • the first integrated circuit controls the first switching transistor to disconnect when the first current is less than or equal to a preset current value, thus breaking the connection between the battery and the motherboard. Because the electronic device includes a first integrated circuit with a detection module, the first integrated circuit can detect the first current passing through the first resistor (i.e., the current between the battery and the motherboard).
  • the first current is less than or equal to the preset current value (i.e., the current between the battery and the motherboard is low)
  • the preset current value i.e., the current between the battery and the motherboard is low
  • Figure 1 is one of the schematic diagrams of the circuit structure of the battery and motherboard of an electronic device in the related technology
  • Figure 2 is one of the circuit structure diagrams of the battery and motherboard of the electronic device provided in the embodiments of this application;
  • Figure 3 is a second schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiment of this application;
  • Figure 4 is a third schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application;
  • Figure 5 is a fourth schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application;
  • Figure 6 is the fifth schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application.
  • Figure 7 is a sixth schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application;
  • Figure 8 is the seventh schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application;
  • Figure 9 is the eighth schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application.
  • Figure 10 is a schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiment of this application;
  • FIG 11 is a schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiment of this application;
  • Figure 12 is an eleventh schematic diagram of the circuit structure of the battery and motherboard of the electronic device provided in the embodiments of this application;
  • Figure 13 is one of the schematic diagrams of an electronic device exiting the shipping mode according to an embodiment of this application.
  • Figure 14 is a second schematic diagram of the electronic device exiting the shipping mode according to an embodiment of this application.
  • FIG. 15 is a flowchart illustrating the control method provided in an embodiment of this application.
  • FIG 16 is a schematic diagram of the control device provided in an embodiment of this application.
  • Figure 17 is one of the hardware structure diagrams of the electronic device provided in the embodiments of this application.
  • Figure 18 is a second schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application.
  • first and second in the specification and claims of this application may explicitly or implicitly include one or more of the features.
  • multiple means two or more.
  • and/or in the specification and claims indicates at least one of the connected objects, and the character “/” generally indicates that the preceding and following objects are in an “or” relationship.
  • connection should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components.
  • connection should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components.
  • the electronic device provided in this application embodiment can be applied in scenarios where the electronic device enters transportation mode or in scenarios where the electronic device is turned off.
  • a battery pack 01 of an electronic device contains a battery.
  • the positive terminal of the battery is connected to the p+ terminal of the battery pack 01, and the negative terminal of the battery is connected to the p- terminal of the battery pack 01.
  • the p+ terminal of the battery pack 01 is connected to the VBAT pin of the power management integrated circuit (PMIC) 03 of the motherboard 02.
  • the VBAT pin can be connected to the switching transistor QBAT in the PMIC 03.
  • the switching transistor QBAT is also connected to the VPH_PWR pin of the PMIC 03.
  • the VPH_PWR pin can be connected to multiple devices of the electronic device, including a central processing unit (CPU), memory, screen driver, screen, speaker driver, speaker, RF power management, RF module, and other load modules.
  • the VBAT pin of the PMIC 03 can also be connected to the VBAT load of the electronic device.
  • the p- terminal of the battery pack 01 is connected to the GND pin of the PMIC 03. In this way, when the electronic device is not in use, the switching transistor QBAT in PMIC 03 can be turned off to control the electronic device to enter Ship Mode.
  • the battery pack 01 of the electronic device to stop supplying power to multiple devices connected to the VPH_PWR pin of the mainboard 02, thereby reducing the power consumption of the battery in battery pack 01 and minimizing prolonged periods of low battery power.
  • This can reduce battery swelling and improve the safety of the electronic device.
  • the battery in battery pack 01 still supplies power to the VBAT load connected to the VBAT pin. Therefore, the battery power of the electronic device will continue to be consumed, and even when the electronic device is not in use for a long time, the battery may still be low for an extended period, potentially leading to battery swelling. This results in a lower level of safety for the electronic device.
  • FIG. 2 shows a schematic diagram of the circuit structure of an electronic device provided in this application.
  • the electronic device provided in this application may include: a motherboard 10; a battery 11, the first terminal of which is connected to the first terminal of the motherboard 10, and the second terminal of which is connected to the second terminal of the motherboard 10 via a first switching transistor 12; a first resistor 13 is also provided in the path connecting the battery 11 and the motherboard 10; and a first integrated circuit 14, which includes a detection module 15 for detecting a first current passing through the first resistor 13.
  • the first integrated circuit 14 is configured to control the first switching transistor 12 to disconnect when the value of the first current is less than or equal to a preset current value, thereby disconnecting the path connecting the battery 11 and the motherboard 10.
  • the motherboard 10 may also be provided with a power management integrated circuit (PMIC), which can be connected to at least one device of the electronic device, thereby supplying power to at least one device through the PMIC.
  • PMIC power management integrated circuit
  • the aforementioned PMIC can be connected to at least one device via the VPH_PWR pin.
  • the battery 11 can be any of the following: a lithium battery, a silicon anode battery, or a steel-cased battery.
  • the battery 11 can also be other types of batteries, and this application does not limit the specific types of batteries described herein.
  • the first electrode of the battery 11 can be either a positive or a negative electrode.
  • the second electrode of the battery 11 can be either a negative or a positive electrode. It should be noted that Figure 2 illustrates the battery 11 with the first electrode being positive and the second electrode being negative.
  • the first integrated circuit 14 described above may specifically be a protection integrated circuit.
  • the first integrated circuit 14 may also be other circuits, and this application does not limit the specific embodiment.
  • the first switching transistor 12 may specifically be a MOSFET.
  • the first switching transistor 12 may also be other switching transistors, and this application does not limit the specific type of switching transistor.
  • the first integrated circuit 14 described above may include at least one pin.
  • This at least one pin may include at least one of the following: VDD pin, VSS pin, CS pin, DOUT pin, COUT pin, VM pin, and PS pin.
  • the VDD pin can be connected to the first terminal (e.g., positive terminal) of battery 11
  • the VSS pin can be connected to the second terminal (e.g., negative terminal) of battery 11
  • the CS pin can be connected to the second terminal of battery 11 and the first terminal of the first switching transistor 12
  • the DOUT pin can be connected to the third terminal of the first switching transistor 12
  • the COUT pin can be connected to the third terminal of the fifth switching transistor
  • the first terminal of the fifth switching transistor can be connected to the first terminal of the first switching transistor 12
  • the second terminal of the first switching transistor 12 can be connected to the second terminal of battery 11
  • the second terminal of the fifth switching transistor Q1 can be connected to the second terminal of motherboard 10.
  • first terminal of the first switching transistor 12 can be connected to the second terminal of motherboard 10 (i.e., the GND pin of the PMIC of motherboard 10 in the figure) through the fifth switching transistor Q1; the VM pin can be connected to the second terminal of the fifth switching transistor Q1; and the PS pin can be connected to motherboard 10.
  • the VDD pin can be connected to the second terminal (i.e., positive terminal) of battery 11
  • the VSS pin can be connected to the first terminal (i.e., negative terminal) of battery 11
  • the CS pin can be connected to the second terminal of battery 11 and the first terminal of the fifth switch Q1
  • the COUT pin can be connected to the third terminal of the fifth switch Q1
  • the first terminal of the fifth switch Q1 can be connected to the second terminal of battery 11
  • the second terminal of the fifth switch Q1 can be connected to the first terminal of the first switch 12
  • the second terminal of the first switch 12 can be connected to the second terminal of the motherboard 10 (i.e., the VBAT pin of the PMIC of the motherboard 10 in Figure 3)
  • the VM pin can be connected to the second terminal of the first switch 12
  • the PS pin can be connected to the motherboard 10.
  • the detection module 15 may include at least one of the following: a current sensor, a voltage sensor, etc.
  • the detection module 15 can acquire the voltage at different locations on the path between the battery 11 and the motherboard 10, and calculate the first current based on the voltage at different locations.
  • the following example illustrates the specific connection method of the detection module 15.
  • the first resistor 13 may be disposed on the path connecting the first terminal of the battery 11 and the first terminal of the motherboard 10, or disposed on the path connecting the second terminal of the battery 11 and the second terminal of the motherboard 10.
  • the first end of the detection module 15 is connected to the first end of the first resistor 13 through the first pin of the first integrated circuit 14, and the second end of the detection module 15 is connected to the second end of the first resistor 13 through the second pin of the first integrated circuit 14.
  • the first pin can be either the VDD pin or the VSS pin.
  • the second pin can be the CS pin.
  • the first and second pins can also be other pins, and this embodiment of the application does not limit them.
  • the aforementioned first resistor 13 can be positioned on the path connecting the second terminal of battery 11 and the second terminal (e.g., GND pin) of motherboard 10.
  • the first terminal of detection module 15 is connected to the first terminal of first resistor 13 via the first pin (e.g., VSS pin) of first integrated circuit 14, and the second terminal of detection module 15 is connected to the second terminal of first resistor 13 via the second pin (e.g., CS pin) of first integrated circuit 14.
  • the aforementioned first resistor 13 is disposed on the path connecting the first terminal (e.g., positive terminal) of battery 11 and the first terminal (e.g., VBAT pin) of motherboard 10.
  • the first terminal of detection module 15 is connected to the first terminal of first resistor 13 through the first pin (e.g., VDD pin) of first integrated circuit 14, and the second terminal of detection module 15 is connected to the second terminal of first resistor 13 through the second pin (e.g., CS pin) of first integrated circuit 14.
  • the first resistor 13 is disposed on the path connecting the second terminal (e.g., positive terminal) of battery 11 and the second terminal (e.g., VBAT pin) of motherboard 10.
  • the first terminal of detection module 15 is connected to the first terminal of first resistor 13 through the first pin (e.g., VDD pin) of first integrated circuit 14, and the second terminal of detection module 15 is connected to the second terminal of first resistor 13 through the second pin (e.g., CS pin) of first integrated circuit 14.
  • the first resistor 13 is disposed on the path connecting the first terminal (e.g., negative terminal) of battery 11 and the first terminal (e.g., GND pin) of motherboard 10.
  • the first terminal of detection module 15 is connected to the first terminal of first resistor 13 through the first pin (e.g., VSS pin) of first integrated circuit 14, and the second terminal of detection module 15 is connected to the second terminal of first resistor 13 through the second pin (e.g., CS pin) of first integrated circuit 14.
  • the resistance value of the first resistor 13 is greater than or equal to a preset resistance value.
  • the preset resistance value can be 1000 ohms ( ⁇ ).
  • the preset resistance value can also be other values, and this application does not limit this.
  • the resistance value of the first resistor can be set to be greater than or equal to the preset resistance value, that is, the resistance value of the first resistor can be set to be larger, the leakage current between the battery and the motherboard can be further reduced when the connection between the battery and the motherboard is broken, thereby further reducing the power consumption of the battery when the connection between the battery and the motherboard is broken.
  • the detection module 15 is specifically used to detect the current passing through the first resistor 13 and determine the current passing through the first resistor 13 as the first current.
  • the current passing through the first resistor 13 can be understood as the current between the battery 11 and the motherboard 10.
  • the detection module 15 when the detection module 15 includes a voltage sensor, the detection module 15 can obtain the voltage at the first end of the first resistor 13 through the first pin and the voltage at the second end of the first resistor 13 through the second pin. Thus, the detection module 15 can calculate the voltage difference between the voltage at the first end of the first resistor 13 and the voltage at the second end of the first resistor 13, and determine the ratio of the absolute value of the voltage difference to the resistance value of the first resistor 13 as the first current.
  • the detection module of the first integrated circuit can accurately calculate the current passing through the first resistor and accurately determine the current as the first current (i.e. the current between the battery and the motherboard), without the detection module needing to calculate the current between the battery and the motherboard through other complex methods. Therefore, the amount of calculation required for the detection module to detect the current between the battery and the motherboard can be reduced, thereby reducing the power consumption of the detection module.
  • the first integrated circuit 14 can control the first switch tube 12 to turn off, so as to disconnect the connection between the battery 11 and the motherboard 10, thereby enabling the electronic device to enter the ship mode.
  • the above-mentioned electronic device further includes: a first counter 28, which is connected to a first integrated circuit 14; wherein, the first integrated circuit 14 is specifically used to control the count value of the first counter 28 to increase by 1 when the current value of the first current is less than or equal to a preset current value, and to control the first switch 12 to turn off when the count value of the first counter 28 after the increase is greater than or equal to a preset design value.
  • the first integrated circuit can control the first switch to turn off only when the current value of the first current is less than or equal to the preset current value multiple times, instead of controlling the first switch to turn off only once when the current value of the first current is less than or equal to the preset current value. Therefore, it can avoid the situation where the connection between the battery and the motherboard is broken due to inaccurate measurement of the first current value.
  • This application provides an electronic device including a motherboard, a battery connected to a first terminal of the motherboard, and a first integrated circuit.
  • the first integrated circuit includes a detection module.
  • the second terminal of the battery is connected to a second terminal of the motherboard via a first switching transistor.
  • the detection module detects a first current passing through a first resistor.
  • the first integrated circuit controls the first switching transistor to disconnect when the first current is less than or equal to a preset current value, thus breaking the connection between the battery and the motherboard. Because the electronic device includes a first integrated circuit with a detection module, the first integrated circuit can detect the first current passing through the first resistor (i.e., the current between the battery and the motherboard).
  • the first current is less than or equal to the preset current value (i.e., the current between the battery and the motherboard is low)
  • the preset current value i.e., the current between the battery and the motherboard is low
  • the motherboard 10 is further provided with a second switch transistor 16.
  • the first end of the second switch transistor 16 is connected to the third pin 17 of the first integrated circuit 14, and the second end of the second switch transistor 16 is connected to the battery 11 through the first integrated circuit 14, or the second end of the second switch transistor 16 is connected to the battery 11.
  • the voltage of the third pin 17 when the second switch transistor 16 is off is different from the voltage when the second switch transistor 16 is on.
  • the second switch transistor 16 is used to be turned on when pressed to adjust the voltage of the third pin 17, thereby generating a first signal on the third pin 17.
  • the first integrated circuit 14 is also used to control the first switch transistor 12 to be turned on when the first signal is detected on the third pin 17, so as to connect the battery 11 and the motherboard 10.
  • the second switch tube 16 described above may specifically be a push-button switch tube, which can be turned on when pressed and turned off when the pressing ends.
  • the third pin 17 may specifically be a PS pin.
  • the second switch 16 can be connected to a physical button (e.g., a power button) of an electronic device, so that when a user presses the power button, it can be regarded as pressing the second switch 16.
  • a physical button e.g., a power button
  • the first integrated circuit 14 further includes a power supply device 19, which is connected to the third pin 17 and is used to provide voltage to the third pin 17 when the connection between the battery 11 and the motherboard 10 is disconnected.
  • the second terminal of the second switch 16 can be connected to the second terminal of the battery 11 via a resistor (e.g., the third resistor 18 in the embodiments below) and the first integrated circuit 14; or, the second terminal of the second switch 16 can be directly connected to the first terminal of the battery 11.
  • a resistor e.g., the third resistor 18 in the embodiments below
  • the first terminal of the second switch 16 is connected to the third pin 17 of the first integrated circuit 14, and the second terminal of the second switch 16 is connected to the VM pin (e.g., the fourth pin in the following embodiment) of the first integrated circuit 14 through the third resistor 18.
  • the VM pin can be connected to the VSS pin (e.g., the fifth pin in the following embodiment), which is connected to the second terminal of battery 11. That is, the second terminal of the second switch 16 can be connected to the second terminal of battery 11 through the third resistor 18 and the VM pin and VSS pin of the first integrated circuit 14.
  • the second switch 16 when the second switch 16 is not pressed, it is open, and the voltage at the third pin 17 can be supplied by the power supply device 19.
  • the second switch 16 When the second switch 16 is pressed, it is turned on. At this time, a current loop can be formed by the power supply device 19, the third pin 17, the third resistor 18, the VM pin, the VSS pin, and the second terminal of the battery 11. Due to the increased resistance value in this current loop (i.e., the addition of the third resistor 18), the voltage at the third pin 17 will decrease. It can be understood that when the second switch 16 is turned on, the voltage at the third pin 17 will decrease; therefore, it can be understood that the voltage at the third pin 17 can be adjusted when the second switch 16 is pressed.
  • the second terminal of the second switch tube 16 can be directly connected to the first terminal of battery 11.
  • the voltage at the third pin 17 can be the voltage provided by the power supply device 19.
  • the second switch 16 is pressed, it is turned on.
  • a current loop can be formed by the power supply device 19, the third pin 17, and the first terminal of the battery 11. Since the third pin 17 can be directly shorted to the first terminal of the battery 11, the voltage at the third pin 17 will decrease. It can be understood that when the second switch 16 is turned on, the voltage at the third pin 17 will decrease. Therefore, it can be understood that the voltage at the third pin 17 can be adjusted when the second switch 16 is pressed.
  • a power supply device can be set in the first integrated circuit, voltage can be supplied to the third pin through the power supply device when the connection between the battery and the motherboard is disconnected. This allows the voltage of the third pin to be adjusted when the second switching transistor is turned on, thereby accurately generating the first signal on the third pin.
  • the power supply device 19 includes: a power supply unit 24, which is used to provide voltage to the third pin 17; and a first voltage divider unit 25, the first end of which is connected to the power supply unit 24, the second end of which is connected to the third pin 17, and the first voltage divider unit 25 is used to adjust the voltage provided by the power supply unit 24 to the third pin 17.
  • the first voltage divider unit 25 described above can specifically be a resistor.
  • the power supply device can be equipped with a power supply unit and a first voltage divider unit, the voltage supplied by the power supply unit to the third pin can be adjusted by the first voltage divider unit so that the power supply unit provides a suitable voltage to the third pin. Therefore, it is possible to avoid the situation where the third pin and the devices connected to the third pin are damaged due to the large voltage supplied by the power supply unit to the third pin.
  • the second terminal of the second switch 16 is connected to the second terminal of the battery 11 through the first integrated circuit 14; optionally, referring to FIG11, the first integrated circuit 14 further includes: a second resistor 20, the first terminal of which is connected to the fourth pin 21 of the first integrated circuit 14; and a third switch 22, the first terminal of which is connected to the second terminal of the second resistor 20, and the second terminal of which is connected to the fifth pin 23 of the first integrated circuit 14.
  • the third switch 22 may specifically be a MOSFET.
  • the third switch 22 may also be other switches, and this application does not limit the specific type of switch.
  • the fourth pin 21 may specifically be a VM pin.
  • the fourth pin 21 may also be other pins, and this application does not limit the specific pins used.
  • the fifth pin 23 may specifically be the VSS pin.
  • the fifth pin 23 may also be other pins, and this application does not limit the specific pins used in the embodiments.
  • the third switch 22 when the connection between the battery 11 and the motherboard 10 is broken, the third switch 22 is turned on; the second end of the second switch 16 is connected to the fourth pin 21 through the third resistor 18 and the third pin 17, and the fifth pin 23 is connected to the second terminal of the battery 11.
  • the second terminal of the second switch 16 is connected to the second terminal of the battery 11 through the third resistor 18, the third pin 17, the fourth pin 21, the second resistor 20, the third switch 22, and the fifth pin 23.
  • a second resistor, a third resistor, and a third switch can be incorporated into the first integrated circuit, and the third switch only conducts when the connection between the battery and the motherboard is broken, this increases the resistance forming a current loop through the third pin, the second switch, the second resistor, the fourth pin, the third resistor, the third switch, the fifth pin, and the second terminal of the battery. This reduces leakage current in this current loop when the connection between the battery and the motherboard is broken, thus reducing battery power consumption. Furthermore, by only conducting the third switch when the connection between the battery and the motherboard is broken, the first integrated circuit can be prevented from being affected by the motherboard supplying voltage to the fourth pin when the connection is open. Thus, battery power consumption can be reduced when the connection between the battery and the motherboard is broken, while ensuring the first integrated circuit remains unaffected.
  • the power supply device 19 includes: a power supply unit 24 for providing voltage to the third pin 17; a fourth switching transistor 26, the first end of which is connected to the power supply unit 24; and a second voltage divider unit 27, the first end of which is connected to the second end of the fourth switching transistor 26, and the second end of which is connected to the third pin 17, for adjusting the voltage provided by the power supply unit 24 to the third pin 17.
  • the fourth switching transistor 26 is turned on when the connection between the battery 11 and the motherboard 10 is broken.
  • the second terminal of the second switch 16 is directly connected to the first terminal of the battery 11.
  • the fourth switch 26 may specifically be a MOSFET.
  • the fourth switch 26 may also be other switches, and this application does not limit the specific type of switch.
  • the second voltage divider unit 27 described above can specifically be a resistor.
  • the power supply device can include a power supply unit, a fourth switching transistor, and a second voltage divider unit, it can achieve two advantages.
  • the second voltage divider unit can adjust the voltage supplied by the power supply unit to the third pin, ensuring a suitable voltage is provided. This prevents damage to the third pin and connected devices caused by excessive voltage supplied by the power supply unit.
  • the fourth switching transistor only conducts when the connection between the battery and the motherboard is broken, it prevents damage to the motherboard caused by the power supply unit supplying voltage to the third pin when the connection is open. Thus, damage to electronic components can be reduced while ensuring the motherboard remains unaffected.
  • the first integrated circuit 14 is further used to control the first switch 12 to be turned on according to the first signal, so as to connect the battery 11 and the motherboard.
  • the first integrated circuit 14 may directly control the first switch 12 to turn on upon receiving the first signal; or, the first integrated circuit 14 may first determine whether the first signal meets a condition (e.g., the first condition in the following embodiments) upon receiving the first signal, and only control the first switch 12 to turn on if the condition is met.
  • a condition e.g., the first condition in the following embodiments
  • the first integrated circuit 14 can determine that the user needs to use the electronic device based on this first signal and control the first switch 12 to turn on, thus connecting the battery 11 and the motherboard 10, allowing the user to use the electronic device.
  • a first signal can be generated by controlling the conduction of the second switch.
  • the first integrated circuit can conduct the connection between the battery and the motherboard according to the first signal, and there will be no situation where the first integrated circuit cannot conduct the connection between the battery and the motherboard. Therefore, the situation where the user cannot use the electronic device can be avoided.
  • a first signal satisfying a first condition is generated on the third pin 17; the first integrated circuit 14 is specifically used to control the first switch 12 to turn on when the first signal satisfies the first condition; the first condition includes: the voltage corresponding to the first signal changes once, and the voltage corresponding to the first signal does not change within the first duration.
  • the voltage of the third pin 17 when the second switch 16 is off is different from the voltage when the second switch 16 is on; the second switch 16 is specifically used to be turned on when pressed to adjust the voltage of the third pin 17, thereby generating a first signal on the third pin 17 that satisfies the first condition.
  • the second switch 16 before the second switch 16 is pressed, the second switch 16 is open. At this time, the voltage of the third pin 17 can be the voltage supplied by the power supply unit 24 to the third pin 17, such as Vpu. When the second switch 16 is pressed during the first duration, the second switch 16 is turned on during the first duration. At this time, a current loop can be formed by the power supply unit 24, the first voltage divider unit 25, the third pin 17, the second switch 16, the third resistor 18, the fourth pin 21, the second resistor 20, the third switch 22, the fifth pin 23, and the second terminal (e.g., the negative terminal) of the battery 11.
  • the voltage of the third pin 17 will decrease.
  • the voltage at the lower end is Vpu*[(Rvm+R2)/(R1+Rvm+R2)], where R1 is the resistance of the first voltage divider unit 25, Rvm is the resistance of the third resistor 18, and R2 is the resistance of the second resistor 20.
  • the voltage at the third pin 17 will be maintained at Vpu*[(Rvm+R2)/(R1+Rvm+R2)], that is, the voltage corresponding to the first signal generated on the third pin 17 changes once, and the voltage corresponding to the first signal does not change during the first duration, that is, a first signal that satisfies the first condition is generated on the third pin 17.
  • the second switch 16 before the second switch 16 is pressed, the second switch 16 is open. At this time, the voltage of the third pin 17 can be the voltage provided by the power supply unit 24 to the third pin 17 through the fourth switch 26, such as Vpu. When the second switch 16 is pressed during the first duration, the second switch 16 is turned on during the first duration. At this time, a current loop can be formed by the power supply unit 24, the fourth switch 26, the second voltage divider unit 27, the third pin 17, the second switch 16, and the first terminal (e.g., the negative terminal) of the battery 11, which is equivalent to shorting the third pin 17 to the first terminal of the battery 11.
  • the voltage of the third pin 17 will drop to 0 volts V, and the voltage of the third pin 17 will remain at 0V during the first duration. That is, the voltage corresponding to the first signal generated on the third pin 17 changes once, and the voltage corresponding to the first signal does not change during the first duration. In other words, a first signal that satisfies the first condition is generated on the third pin 17.
  • the electronic device when the first integrated circuit 14 controls the first switch 12 to be turned on, the electronic device can exit the ship mode.
  • the following two specific examples illustrate the specific scheme for controlling the first switch transistor 12 to be turned on by the first integrated circuit 14.
  • the electronic device is in Ship Mode.
  • the third switch 22 is turned on, and the power supply unit 24 provides voltage Vpu to the third pin 17.
  • the user can continuously press the second switch 16 for a first duration, causing the second switch 16 to turn on within that first duration. This means the voltage at the third pin 17 will decrease from Vpu to Vpu*[(Rvm+R2)/(R1+Rvm+R2)] and remain at Vpu*[(Rvm+R2)/(R1+Rvm+R2)] for the first duration.
  • R1 is the resistance of the first voltage divider unit 25
  • Rvm is the resistance of the third resistor 18, and R2 is the resistance of the second resistor 20, thus generating...
  • a first signal (e.g., a PS signal) is generated, so that the first integrated circuit 14 can control the first switch 12 to conduct when the first signal satisfies a first condition, that is, when the voltage corresponding to the first signal changes once (i.e., decreases from Vpu to Vpu*[(Rvm+R2)/(R1+Rvm+R2)]), and the voltage corresponding to the first signal does not change within a first time period (e.g., remains at Vpu*[(Rvm+R2)/(R1+Rvm+R2)]), so that the electronic device can exit the shipping mode.
  • the third switch 22 can be turned off, at which time the motherboard 10 can provide voltage to the third pin 17 so that the voltage of the third pin 17 can increase, for example, increase to Vpu, and remain
  • the electronic device is in Ship Mode.
  • the fourth switch 26 is turned on, and the power supply unit 24 provides voltage Vpu to the third pin 17.
  • the user can continuously press the second switch 16 for a first duration, causing the second switch 16 to turn on within that first duration (e.g., T4).
  • This causes the voltage at the third pin 17 to drop from Vpu to 0V and remain at 0V within the first duration (e.g., T4), generating a first signal (e.g., a PS signal).
  • the first integrated circuit 14 can then control the first switch 12 to turn on when the first signal meets a first condition: the voltage corresponding to the first signal changes once (i.e., drops from Vpu to 0V), and the voltage corresponding to the first signal does not change within the first duration (e.g., remains at 0V). This allows the electronic device to exit Ship Mode. After the electronic device exits the shipping mode, the fourth switch 26 can be turned off. At this time, the motherboard 10 can provide voltage to the third pin 17 so that the voltage of the third pin 17 can be increased, for example, increased to Vpu, and maintained at Vpu.
  • a first signal that meets the first condition can be generated by controlling the second switch to conduct within a first duration.
  • the first integrated circuit can control the conduction of the connection between the battery and the motherboard based on the first signal that meets the first condition, rather than controlling the conduction of the connection between the battery and the motherboard based on an arbitrary signal. Therefore, it can avoid the situation where the battery continues to supply power to the motherboard due to interference.
  • Figure 15 shows a flowchart of a control method provided in an embodiment of this application, applied to the electronic device in the above embodiment.
  • the control method provided in this application embodiment may include the following steps 101 and 102.
  • Step 101 With the connection between the battery and the motherboard of the electronic device being made open, the electronic device detects the first current passing through the first resistor of the electronic device through the detection module of the first integrated circuit of the electronic device.
  • the channel connecting the battery and the motherboard is activated, allowing the battery to supply power to at least one device connected to the PMIC on the motherboard, thus enabling the user to use the electronic device.
  • the electronic device can detect the first current passing through the first resistor every second time interval via a detection module, thereby obtaining the first current through a single detection by the detection module.
  • the second duration can be 1 second.
  • the second duration can also be other durations, and this application embodiment does not limit this.
  • Step 102 When the current value of the first current is less than or equal to the preset current value, the electronic device controls the first switch of the first integrated circuit to turn off, thereby disconnecting the connection between the battery and the motherboard.
  • the electronic device can determine whether it is in a powered-off state by whether the current value of the first current is less than or equal to the preset current value, thereby determining whether to control the first switching transistor to turn off.
  • the preset current value can be 0.5 milliamperes (mA).
  • the preset current value can also be other current values, such as 0.3mA-0.7mA, which are not limited to the embodiments of this application.
  • the electronic device can directly control the first switch to turn off through the first integrated circuit when it is determined that the current value of the first current is less than or equal to the preset current value; or, the electronic device can make a further judgment when it is determined that the current value of the first current is less than or equal to the preset current value, in order to determine whether to control the first switch to turn off through the first integrated circuit.
  • control method provided in the embodiments of this application may also include the following step 201, and the above step 102 may be implemented by the following step 102a.
  • Step 201 When the current value of the first current is less than or equal to the preset current value, the electronic device controls the count value of the first counter to increase by 1.
  • the first counter is used to record the number of times the first current passing through the first resistor is less than or equal to a preset current value.
  • the count value of the first counter indicates the number of times the current of the first current is less than or equal to a preset current value.
  • Step 102a If the count value after the first counter increases is greater than or equal to the pre-designed value, the electronic device controls the first switch to turn off through the first integrated circuit.
  • the electronic device can first control the count value of the first counter to increase by 1 when the first current value is less than or equal to the preset current value, and then control the first switch to turn off only when the count value of the first counter after the increase is greater than or equal to the preset value, i.e., when the first current through the first resistor is less than or equal to the preset current value multiple times, in order to avoid the electronic device shutting down during user operation.
  • the electronic device can control the first switch to turn off instead of turning it off. Instead, it can control the count value of the first counter to increase by 1 and determine whether the increased count value of the first counter is greater than or equal to the preset value. This determines whether the current between the battery and the motherboard has been less than or equal to the preset current value multiple times, i.e., whether the electronic device has been unused for a long time. Therefore, the electronic device only controls the first switch to turn off when the increased count value of the first counter is greater than or equal to the preset value, i.e., when it is determined that the electronic device has been unused for a long time. Thus, the battery power consumption of the electronic device can be reduced while avoiding situations where the electronic device is turned off during user use.
  • This application provides a control method in which an electronic device, when the connection between the battery and the motherboard is open, can detect a first current passing through a first resistor via a detection module of a first integrated circuit. If the first current is less than or equal to a preset current value, the first integrated circuit controls a first switch to disconnect, thus breaking the connection between the battery and the motherboard. Since the electronic device can first detect the first current passing through the first resistor (i.e., the current between the battery and the motherboard), and then determine that the user is not using the electronic device when the first current is less than or equal to the preset current value (i.e., the current between the battery and the motherboard is low), it directly controls the first switch to disconnect, thus breaking the connection between the battery and the motherboard.
  • the first resistor i.e., the current between the battery and the motherboard
  • control method provided in the embodiments of this application may further include steps 301 and 302 as described below.
  • Step 301 When the electronic device receives a user's press input on the second switch transistor of the motherboard, it adjusts the voltage of the third pin of the first integrated circuit through the second switch transistor to generate a first signal on the third pin.
  • Step 302 The electronic device controls the first switch to turn on through the first integrated circuit according to the first signal, so as to connect the battery and the motherboard.
  • a first signal can be generated by controlling the second switch to turn on.
  • the first integrated circuit can connect the battery and the motherboard according to the first signal, and there will be no situation where the first integrated circuit cannot connect the battery and the motherboard. Therefore, it can avoid the situation where the user cannot use the electronic device.
  • step 302 when the second switch is pressed within a first duration, a first signal satisfying the first condition is generated on the third pin.
  • step 302 can be implemented specifically through step 302a as described below.
  • Step 302a When the first signal meets the first condition, the electronic device controls the first switch to be turned on through the first integrated circuit.
  • the first condition includes: the voltage corresponding to the first signal changes once, and the voltage corresponding to the first signal does not change within a first time period.
  • a first signal that meets the first condition can be generated by controlling the second switch to conduct within a first duration.
  • the first integrated circuit can conduct the connection between the battery and the motherboard based on the first signal that meets the first condition, rather than conducting the connection between the battery and the motherboard based on an arbitrary signal. Therefore, it can avoid the situation where the battery continues to supply power to the motherboard due to interference.
  • the control method provided in this application can be executed by a control device.
  • This application uses the example of a control device executing the control method to illustrate the control device provided in this application.
  • Figure 16 shows a schematic diagram of the control device provided in an embodiment of this application.
  • the control device 50 provided in this embodiment may include: a control module 51, used to detect a first current passing through a first resistor of the control device 50 through a detection module of a first integrated circuit when the connection between the battery and the motherboard of the control device 50 is open; and when the value of the first current is less than or equal to a preset current value, to control the first switching transistor of the first integrated circuit to disconnect the power supply to the battery and the motherboard.
  • the control device can first detect the first current passing through the first resistor (i.e., the current between the battery and the motherboard) via a detection module. Then, if the value of the first current is less than or equal to a preset current value (i.e., the current between the battery and the motherboard is low), it determines that the user is not using the control device and directly controls the first switching transistor to disconnect, thus breaking the connection between the battery and the motherboard.
  • a preset current value i.e., the current between the battery and the motherboard is low
  • control module 51 is further configured to increment the count value of the first counter by 1 before the first switch of the first integrated circuit is turned off via the first integrated circuit.
  • the count value of the first counter indicates the number of times the first current is less than or equal to a preset current value.
  • control module 51 is configured to turn off the first switch via the first integrated circuit when the count value of the first counter after incrementing is greater than or equal to a preset value.
  • control module 51 is further configured to, when the current value of the first current is less than or equal to a preset current value, control the first switch of the first integrated circuit to disconnect the connection between the battery and the motherboard, and then, upon receiving a user's press input on the second switch of the motherboard, adjust the voltage of the third pin of the first integrated circuit through the second switch to generate a first signal on the third pin; and control the first switch to turn on through the first integrated circuit according to the first signal to turn on the connection between the battery and the motherboard.
  • a first signal satisfying a first condition is generated on the third pin; the control module 51 is specifically used to control the first switch to turn on via the first integrated circuit when the first signal satisfies the first condition.
  • the first condition includes: the voltage corresponding to the first signal changes once, and the voltage corresponding to the first signal does not change within the first duration.
  • the control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or other devices besides a terminal.
  • the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR)/virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc.
  • NAS network attached storage
  • PC personal computer
  • TV television
  • ATM or self-service machine, etc.
  • This application embodiment does not specifically limit the scope of the device.
  • the control device in this application embodiment can be a device with an operating system.
  • This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
  • control device provided in this application embodiment can implement the various processes implemented in the method embodiment of FIG15. To avoid repetition, it will not be described again here.
  • this application also provides an electronic device 60, including a processor 61 and a memory 62.
  • the memory 62 stores a program or instructions that can run on the processor 61.
  • the program or instructions are executed by the processor 61, they implement the various process steps of the above-described control method embodiments and can achieve the same technical effect. To avoid repetition, they will not be described again here.
  • the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • Figure 18 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.
  • the electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
  • the electronic device 100 may also include a power supply (such as a battery) for powering various components.
  • the power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
  • the electronic device structure shown in Figure 18 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
  • the processor 110 is used to detect a first current passing through a first resistor through a detection module of a first integrated circuit when the connection between the battery and the motherboard of the electronic device is open; and when the value of the first current is less than or equal to a preset current value, to control the first switch of the first integrated circuit to disconnect the connection between the battery and the motherboard.
  • the electronic device can first detect the first current passing through the first resistor (i.e., the current between the battery and the motherboard) via a detection module. Then, if the value of this first current is less than or equal to a preset current value (i.e., the current between the battery and the motherboard is low), it determines that the user is not using the electronic device and directly controls the first switch to disconnect, thus breaking the connection between the battery and the motherboard.
  • a preset current value i.e., the current between the battery and the motherboard is low
  • the number of battery-powered devices can be reduced, thus reducing battery power consumption. This reduces the likelihood of the battery being low for extended periods when the electronic device is not used, thereby reducing the occurrence of battery bulging and other issues. This improves the safety of using the electronic device.
  • the processor 110 is further configured to control the count value of a first counter to increase by 1 before the first switch of the first integrated circuit is turned off by controlling the first integrated circuit, the count value of the first counter indicating the number of times the first current is less than or equal to a preset current value.
  • the processor 110 is specifically used to control the first switch to turn off via the first integrated circuit when the count value after the first counter is incremented is greater than or equal to a pre-designed value.
  • the processor 110 is further configured to, when the current value of the first current is less than or equal to a preset current value, control the first switch of the first integrated circuit to turn off, thereby disconnecting the path connecting the battery and the motherboard, and upon receiving a user's pressing input on the second switch of the motherboard, adjust the voltage of the third pin of the first integrated circuit through the second switch to generate a first signal on the first pin; and control the first switch to turn on through the first integrated circuit according to the first signal, thereby connecting the path connecting the battery and the motherboard for power supply.
  • a first signal satisfying a first condition is generated on the third pin.
  • the processor 110 is specifically used to control the first switch to be turned on via the first integrated circuit when the first signal meets the first condition.
  • the first condition includes: the voltage corresponding to the first signal changes once, and the voltage corresponding to the first signal does not change within a first time period.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like.
  • the user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data.
  • the first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.).
  • the memory 109 may include volatile memory or non-volatile memory, or both.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory.
  • Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM).
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • DRRAM direct rambus RAM
  • the memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
  • Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
  • This application also provides a readable storage medium storing a program or instructions.
  • the program or instructions When the program or instructions are executed by a processor, they implement the various processes of the above-described control method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
  • This application embodiment also provides a chip, which includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the various processes of the above control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
  • chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
  • This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the control method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
  • the device embodiments described above are merely illustrative.
  • the units described as separate components may or may not be physically separate.
  • the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
  • an embodiment means that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment of this application. Furthermore, please note that the examples of the phrase “in one embodiment” do not necessarily all refer to the same embodiment.
  • any reference signs placed between parentheses should not be construed as limiting the claims.
  • the word “comprising” does not exclude the presence of elements or steps not listed in the claims.
  • the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements.
  • This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware.
  • the use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请公开了一种电子设备,属于电池技术领域。其中,该电子设备包括:主板;电池,该电池的第一极与主板的第一端连接,该电池的第二极通过第一开关管与主板的第二端连接,在电池和主板连接的通路上还设置有第一电阻;第一集成电路,该第一集成电路包括检测模块,该检测模块用于检测经过第一电阻的第一电流。其中,上述第一集成电路,用于在第一电流的电流值小于或等于预设电流值的情况下,控制第一开关管断开,以断开电池和主板连接的通路。

Description

电子设备
相关申请的交叉引用
本申请要求在2024年06月26日提交中国专利局、申请号为202410839266.9、名称为“电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于电池技术领域,具体涉及一种电子设备。
背景技术
通常,在电子设备中配置有船运模式(Ship Mode),这样在不使用电子设备的情况下,可以控制电子设备进入船运模式,以使得电子设备的电池可以停止向电子设备的部分器件供电,从而可以减少电池的电量的消耗,以减少出现电池长时间电量较低的情况,进而可以减少电池出现鼓包等现象,提高电子设备的使用安全性。
但是,由于在船运模式下,电子设备的电池的电量仍会持续消耗,这样在长时间不使用电子设备的情况下,还是会出现电池长时间电量较低的情况,从而会出现电池鼓包等现象,因此,导致电子设备的使用安全性较低。
发明内容
本申请实施例的目的是提供一种电子设备,能够解决电子设备的使用安全性较低的问题。
第一方面,本申请实施例提供了一种电子设备,该电子设备包括:主板;电池,该电池的第一极与主板的第一端连接,该电池的第二极通过第一开关管与主板的第二端连接,在电池和主板连接的通路上还设置有第一电阻;第一集成电路,该第一集成电路包括检测模块,该检测模块用于检测经过第一电阻的第一电流。其中,上述第一集成电路,用于在第一电流的电流值小于或等于预设电流值的情况下,控制第一开关管断开,以断开电池和主板连接的通路。
第二方面,本申请实施例提供了一种控制方法,应用于如第一方面所述的电子设备,该方法包括:在电子设备的电池与电子设备的主板连接的通路导通的情况下,通过电子设备的第一集成电路的检测模块检测经过第一电阻的第一电流;在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池与主板连接的通路。
第三方面,本申请实施例提供了一种控制装置,该控制装置包括:控制模块,用于在控制装置的电池与控制装置的主板连接的通路导通的情况下,通过控制装置的第一集成电路的检测模块检测经过第一电阻的第一电流;并在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池与主板连接的通路。
第四方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第二方面所述的方法的步骤。
第五方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第二方面所述的方法的步骤。
第六方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第二方面所述的方法的步骤。
第七方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第二方面所述的方法的步骤。
在本申请实施例中,电子设备包括主板、第一极与主板的第一端连接的电池以及第一集成电路,该第一集成电路包括检测模块,该电池的第二极通过第一开关管与主板的第二端连接,该检测模块用于检测经过第一电阻的第一电流;其中,该第一集成电路,用于在第一电流的电流值小于或等于预设电流值的情况下,控制第一开关管断开,以断开电池与主板连接的通路。由于电子设备中设置有第一集成电路,且该第一集成电路包括检测模块,这样第一集成电路可以通过检测模块检测到经过第一电阻的第一电流,即电池和主板之间的电流,并在该第一电流的电流值小于或等于预设电流值的情况下,即在电池和主板之间的电流的电流值较小的情况下,确定用户不使用电子设备,并直接控制第一开关管断开,以断开电池与主板连接的通路,从而电池可以停止向电子设备的所有器件供电,而不是停止向电子设备的部分器件供电,因此,可以减少电池供电的器材的数量,以减少电池的电量消耗,这样可以减少出现在长时间不使用电子设备的情况下,电池长时间电量较低的情况,进而可以减少出现电池鼓包等现象,如此,可以提高电子设备的使用安全性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是相关技术中的电子设备的电池和主板的电路结构示意图之一;
图2是本申请实施例提供的电子设备的电池和主板的电路结构示意图之一;
图3是本申请实施例提供的电子设备的电池和主板的电路结构示意图之二;
图4是本申请实施例提供的电子设备的电池和主板的电路结构示意图之三;
图5是本申请实施例提供的电子设备的电池和主板的电路结构示意图之四;
图6是本申请实施例提供的电子设备的电池和主板的电路结构示意图之五;
图7是本申请实施例提供的电子设备的电池和主板的电路结构示意图之六;
图8是本申请实施例提供的电子设备的电池和主板的电路结构示意图之七;
图9是本申请实施例提供的电子设备的电池和主板的电路结构示意图之八;
图10是本申请实施例提供的电子设备的电池和主板的电路结构示意图之九;
图11是本申请实施例提供的电子设备的电池和主板的电路结构示意图之十;
图12是本申请实施例提供的电子设备的电池和主板的电路结构示意图之十一;
图13是本申请实施例提供的电子设备退出船运模式的示意图之一;
图14是本申请实施例提供的电子设备退出船运模式的示意图之二;
图15是本申请实施例提供的控制方法的流程示意图;
图16是本申请实施例提供的控制装置的结构示意图;
图17是本申请实施例提供的电子设备的硬件结构示意图之一;
图18是本申请实施例提供的电子设备的硬件结构示意图之二。
具体实施例
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
本申请实施例提供的电子设备可以应用于电子设备进入运输模式的场景中,或应用于电子设备关机的场景中。
针对运输模式的场景
在相关技术中,如图1所示,电子设备的电池包01中设置有电池,该电池的正极与电池包01的p+端连接,该电池的负极与电池包01的p-端连接,该电池包01的p+端与主板02的电源管理集成电路(Power Management Integrated Circuit,PMIC)03的VBAT引脚连接,该VBAT引脚可以与PMIC 03中的开关管QBAT连接,该开关管QBAT还与PMIC 03的VPH_PWR引脚连接,该VPH_PWR引脚可以与电子设备的多个器件连接,该多个器件可以包括中央处理器CPU、内存、屏幕驱动、屏幕、扬声器驱动、扬声器、射频电源管理、射频模块以及其他负载模块,且该PMIC 03的VBAT引脚还可以与电子设备的VBAT负载连接,该电池包01的p-端与PMIC 03的GND引脚连接。这样在不使用电子设备的情况下,可以控制上述PMIC 03中的开关管QBAT断开,以控制电子设备进入船运模式(Ship Mode),以使得电子设备的电池包01可以停止向电子设备的主板02的VPH_PWR引脚连接多个器件供电,从而可以减少电池包01中的电池的电量的消耗,以减少出现电池长时间电量较低的情况,进而可以减少电池出现鼓包等现象,提高电子设备的使用安全性。但是,由于在船运模式下,电池包01中的电池还是会向VBAT引脚连接的VBAT负载供电,这样电子设备的电池的电量仍会持续消耗,从而在长时间不使用电子设备的情况下,还是会出现电池长时间电量较低的情况,进而会出现电池鼓包等现象,因此,导致电子设备的使用安全性较低。
针对电子设备关机的场景
需要说明的是,针对电子设备关机的场景的说明,可以参考上文中的具体描述,本申请实施例在此不再赘述。
为了解决上述技术问题,本申请实施例提供了一种电子设备。图2示出了本申请实施例提供的一种电子设备的电路结构示意图。如图2所示,本申请实施例提供的电子设备可以包括:主板10;电池11,该电池11的第一极与主板10的第一端连接,该电池11的第二极通过第一开关管12与主板10的第二端连接,在电池11和主板10连接的通路上还设置有第一电阻13;第一集成电路14,该第一集成电路14包括检测模块15,该检测模块15用于检测经过第一电阻13的第一电流;其中,该第一集成电路14,用于在第一电流的电流值小于或等于预设电流值的情况下,控制第一开关管12断开,以断开电池11和主板10连接的通路。
在本申请的一些实施例中,上述主板10上还可以设置有电源管理集成电路(Power Management Integrated Circuit,PMIC),该PMIC可以与电子设备的至少一个器件连接,从而可以通过PMIC向至少一个器件供电。
其中,上述PMIC可以通过VPH_PWR引脚与至少一个器件连接。
在本申请的一些实施例中,上述电池11可以为以下任一项:锂电池、硅负极电池、钢壳电池。当然,上述电池11还可以为其他电池,本申请实施例在此不作限定。
在本申请的一些实施例中,上述电池11的第一极可以正极或负极。上述电池11的第二极可以为负极或正极。需要说明的是,图2中是以电池11的第一极为正极,电池11的第二极为负极进行示意的。
在本申请的一些实施例中,上述第一集成电路14具体可以为保护集成电路。当然,第一集成电路14还可以为其他电路,本申请实施例在此不作限定。
在本申请的一些实施例中,上述第一开关管12具体可以为MOS管。当然,上述第一开关管12还可以为其他开关管,本申请实施例在此不作限定。
在本申请的一些实施例中,上述第一集成电路14可以包括至少一个引脚。其中,该至少一个引脚可以包括以下至少一项:VDD引脚、VSS引脚、CS引脚、DOUT引脚、COUT引脚、VM引脚、PS引脚。
可选地,结合图2,上述VDD引脚可以与电池11的第一极(例如正极)连接,上述VSS引脚可以与电池11的第二极(例如负极)连接,上述CS引脚可以与电池11的第二极、第一开关管12的第一端连接,上述DOUT引脚可以与第一开关管12的第三端连接,COUT引脚可以与第五开关管的第三端连接,该第五开关管的第一端可以与第一开关管12的第一端连接,该第一开关管12的第二端可以与电池11的第二极连接,第五开关管Q1的第二端可以与主板10的第二端连接,可以理解,第一开关管12的第一端可以通过第五开关管Q1与主板10的第二端(即图中的主板10的PMIC的GND引脚)连接;VM引脚可以与第五开关管Q1的第二端连接;PS引脚可以与主板10连接。
可选地,在电池11的第一极为负极,电池11的第二极为正极的情况下,如图3所示,上述VDD引脚可以与电池11的第二极(即正极)连接,上述VSS引脚可以与电池11的第一极(即负极)连接,上述CS引脚可以与电池11的第二极、第五开关管Q1的第一端连接,COUT引脚可以与第五开关管Q1的第三端连接,该第五开关管Q1的第一端可以与电池11的第二极连接,第五开关管Q1的第二端可以与第一开关管12的第一端连接,该第一开关管12的第二端可以与主板10的第二端(即图3中的主板10的PMIC的VBAT引脚)连接;VM引脚可以与第一开关管12的第二端连接;PS引脚可以与主板10连接。
在本申请的一些实施例中,上述检测模块15可以包括以下至少一项:电流传感器、电压传感器等。
其中,在检测模块15包括电压传感器的情况下,检测模块15可以获取电池11和主板10之间的通路上的不同位置的电压,并根据不同位置的电压,计算得到第一电流。
下面将举例说明,检测模块15的具体连接方式。
在本申请的一些实施例中,上述第一电阻13可以设置于电池11的第一极和主板10的第一端连接的通路上,或设置于电池11的第二极和主板10的第二端连接的通路上。
本申请实施例中,上述检测模块15的第一端通过第一集成电路14的第一引脚与第一电阻13的第一端连接,该检测模块15的第二端通过第一集成电路14的第二引脚与第一电阻13的第二端连接。
其中,上述第一引脚可以为VDD引脚或VSS引脚。上述第二引脚可以为CS引脚。当然,第一引脚和第二引脚还可以为其他引脚,本申请实施例在此不作限定。
可选地,在电池11的第一极为正极,电池11的第二极为负极的情况下,结合图2,如图4所示,上述第一电阻13可以设置于电池11的第二极和主板10的第二端(例如GND引脚)连接的通路上。检测模块15的第一端通过第一集成电路14的第一引脚(例如VSS引脚)与第一电阻13的第一端连接,该检测模块15的第二端通过第一集成电路14的第二引脚(例如CS引脚)与第一电阻13的第二端连接。
可选地,在电池11的第一极为正极,电池11的第二极为负极的情况下,结合图2,如图5所示,上述第一电阻13设置于电池11的第一极(例如正极)和主板10的第一端(例如VBAT引脚)连接的通路上。检测模块15的第一端通过第一集成电路14的第一引脚(例如VDD引脚)与第一电阻13的第一端连接,该检测模块15的第二端通过第一集成电路14的第二引脚(例如CS引脚)与第一电阻13的第二端连接。
可选地,在电池11的第一极为负极,电池11的第二极为正极的情况下,结合图3,如图6所示,第一电阻13设置于电池11的第二极(例如正极)和主板10的第二端(例如VBAT引脚)连接的通路上。检测模块15的第一端通过第一集成电路14的第一引脚(例如VDD引脚)与第一电阻13的第一端连接,该检测模块15的第二端通过第一集成电路14的第二引脚(例如CS引脚)与第一电阻13的第二端连接。
可选地,在电池11的第一极为负极,电池11的第二极为正极的情况下,结合图3,如图7所示,第一电阻13设置于电池11的第一极(例如负极)和主板10的第一端(例如GND引脚)连接的通路上。检测模块15的第一端通过第一集成电路14的第一引脚(例如VSS引脚)与第一电阻13的第一端连接,该检测模块15的第二端通过第一集成电路14的第二引脚(例如CS引脚)与第一电阻13的第二端连接。
在本申请的一些实施例中,上述第一电阻13的阻值大于或等于预设阻值。
在本申请的一些实施例中,上述预设阻值可以为1000欧(Ω)。当然,上述预设阻值还可以为其他阻值,本申请实施例对此不作限定。
如此可知,由于可以将第一电阻的阻值设置为大于或等于预设阻值的值,即可以将第一电阻的阻值设置得较大,因此,在电池和主板连接的通路断开的情况下,可以进一步减少电池和主板之间存在的漏电流,从而可以进一步减少电池和主板连接的通路断开的情况下,电池的电量的消耗。
本申请实施例中,上述检测模块15,具体用于检测经过第一电阻13的电流,并将经过第一电阻13的电流确定为第一电流。其中,经过第一电阻13的电流可以理解为电池11和主板10之间的电流。
可选地,在检测模块15包括电压传感器的情况下,检测模块15可以通过第一引脚获取第一电阻13的第一端的电压,并通过第二引脚获取第一电阻13的第二端的电压,从而检测模块15可以计算第一电阻13的第一端的电压和第一电阻13的第二端的电压之间的电压差,并将该电压差的绝对值和第一电阻13的阻值的比值,确定为第一电流。
如此可知,由于在电池和主板连接的通路上还设置有第一电阻,这样第一集成电路的检测模块可以准确地计算经过该第一电阻的电流,并将该电流准确地确定为第一电流(即电池和主板之间的电流),而无需检测模块通过其他复杂方式计算得到电池和主板之间的电流,因此,可以减少检测模块检测的电池和主板之间的电流所需的计算量,从而可以减少检测模块的功耗。
本申请实施例中,若第一电流的电流值小于或等于预设电流值,则可以认为此时用户未使用电子设备,例如电子设备处于关机状态,因此,第一集成电路14可以控制第一开关管12断开,以断开电池11和主板10连接的通路,从而可以使得电子设备进入船运模式(Ship Mode)。
在本申请的一些实施例中,如图8所示,上述电子设备还包括:第一计数器28,该第一计数器28与第一集成电路14连接;其中,上述第一集成电路14,具体用于在第一电流的电流值小于或等于预设电流值的情况下,控制第一计数器28的计数值增加1,并在第一计数器28的增加后的计数值大于或等于预设计数值的情况下,控制第一开关管12断开。
如此可知,由于可以设置第一计数器,这样第一集成电路可以在第一电流的电流值小于或等于预设电流值的情况发生多次的情况下,才控制第一开关管断开,而不是在第一电流的电流值小于或等于预设电流值的情况发生一次的情况下,就控制第一开关管断开,因此,可以避免因测量的第一电流的电流值不准确,而导致电池和主板连接的通路断开的情况。
本申请实施例提供一种电子设备,该电子设备包括主板、第一极与主板的第一端连接的电池以及第一集成电路,该第一集成电路包括检测模块,该电池的第二极通过第一开关管与主板的第二端连接,该检测模块用于检测经过第一电阻的第一电流;其中,该第一集成电路,用于在第一电流的电流值小于或等于预设电流值的情况下,控制第一开关管断开,以断开电池与主板连接的通路。由于电子设备中设置有第一集成电路,且该第一集成电路包括检测模块,这样第一集成电路可以通过检测模块检测到经过第一电阻的第一电流,即电池和主板之间的电流,并在该第一电流的电流值小于或等于预设电流值的情况下,即在电池和主板之间的电流的电流值较小的情况下,确定用户不使用电子设备,并直接控制第一开关管断开,以断开电池与主板连接的通路,从而电池可以停止向电子设备的所有器件供电,而不是停止向电子设备的部分器件供电,因此,可以减少电池供电的器材的数量,以减少电池的电量消耗,这样可以减少出现在长时间不使用电子设备的情况下,电池长时间电量较低的情况,进而可以减少出现电池鼓包等现象,如此,可以提高电子设备的使用安全性。
在本申请的一些实施例中,结合图2,如图9所示,上述主板10上还设置有第二开关管16,该第二开关管16的第一端与第一集成电路14的第三引脚17连接,该第二开关管16的第二端通过第一集成电路14与电池11连接,或该第二开关管16的第二端与电池11连接;其中,上述第三引脚17在第二开关管16断开的情况下的电压和在第二开关管16导通的情况下的电压不同;上述第二开关管16,用于在被按压时导通,以调整第三引脚17的电压,从而在第三引脚17上产生第一信号;上述第一集成电路14,还用于在第三引脚17上检测到第一信号的情况下,控制第一开关管12导通,以导通电池11和主板10连接的通路。
在本申请的一些实施例中,上述第二开关管16具体可以为按压式开关管,该按压式开关管可以在被按压时导通,并在按压结束时断开。
在本申请的一些实施例中,上述第三引脚17具体可以为PS引脚。
在本申请的一些实施例中,上述第二开关管16可以与电子设备的物理按键(例如电源键)连接,从而用户对电源键进行按压,可以视作对第二开关管16进行按压。
在本申请的一些实施例中,结合图9,上述第一集成电路14还包括:电源装置19,该电源装置19与第三引脚17连接,该电源装置19用于在电池11和主板10连接的通路断开的情况下,向第三引脚17提供电压。
在本申请的一些实施例中,第二开关管16的第二端可以通过电阻(例如下述实施例中的第三电阻18)和第一集成电路14与电池11的第二极连接;或者,第二开关管16的第二端可以直接与电池11的第一极连接。
可选地,在电池11的第一极为正极,电池11的第二极为负极的情况下,结合图9,第二开关管16的第一端与第一集成电路14的第三引脚17连接,该第二开关管16的第二端通过第三电阻18与第一集成电路14的VM引脚(例如下述实施例中的第四引脚)连接,该VM引脚可以与VSS引脚(例如下述实施例中的第五引脚)连接,该VSS引脚与电池11的第二极连接。即第二开关管16的第二端可以通过第三电阻18和第一集成电路14的VM引脚和VSS引脚与电池11的第二极连接。
其中,结合图9,在第二开关管16未被按压时,第二开关管16断开,第三引脚17的电压可以为电源装置19提供的电压。在第二开关管16被按压时,第二开关管16导通,此时由电源装置19、第三引脚17、第三电阻18、VM引脚、VSS引脚以及电池11的第二极可以形成电流回路,由于该电流回路上的电阻值增大(即多了第三电阻18),第三引脚17的电压会降低。可以理解,在第二开关管16导通时,第三引脚17的电压会降低,因此,可以理解第二开关管16在被挤压时是可以调整第三引脚17的电压的。
可选地,在电池11的第一极为负极,电池11的第二极为正极的情况下,如图9所示,第二开关管16的第二端可以直接与电池11的第一极连接。
其中,如图10所示,在第二开关管16未被按压时,第二开关管16断开,第三引脚17的电压可以为电源装置19提供的电压。在第二开关管16被按压时,第二开关管16导通,此时由电源装置19、第三引脚17以及电池11的第一极可以形成电流回路,由于第三引脚17可以直接短接至电池11的第一极,第三引脚17的电压会降低。可以理解,在第二开关管16导通时,第三引脚17的电压会降低,因此,可以理解第二开关管17在被挤压时是可以调整第三引脚17的电压的。
如此可知,由于可以在第一集成电路中设置电源装置,这样可以在电池和主板连接的通路断开的情况下,通过电源装置向第三引脚提供电压,从而使得第二开关管在导通的情况下,可以调整第三引脚的电压,因此,可以准确地在第三引脚上产生第一信号。
在本申请的一些实施例中,如图11所示,上述电源装置19包括:电源单元24,该电源单元24用于向第三引脚17提供电压;第一分压单元25,该第一分压单元25的第一端与电源单元24连接,该第一分压单元25的第二端与第三引脚17连接,该第一分压单元25用于调整电源单元24向第三引脚17提供的电压。
在本申请的一些实施例中,上述第一分压单元25具体可以为电阻。
如此可知,由于电源装置中可以设置有电源单元和第一分压单元,这样可以通过第一分压单元来调整电源单元向第三引脚提供的电压,以使得电源单元向第三引脚提供合适的电压,因此,可以避免出现因电源单元向第三引脚提供的较大电压,而导致第三引脚和与第三引脚连接的器件受损的情况。
在本申请的一些实施例中,上述第二开关管16的第二端通过第一集成电路14与电池11的第二极连接;可选地,结合图11,上述第一集成电路14还包括:第二电阻20,该第二电阻20的第一端与第一集成电路14的第四引脚21连接;第三开关管22,该第三开关管22的第一端与第二电阻20的第二端连接,该第三开关管22的第二端与第一集成电路14的第五引脚23连接。
在本申请的一些实施例中,上述第三开关管22具体可以为MOS管。当然,第三开关管22还可以为其他开关管,本申请实施例在此不作限定。
在本申请的一些实施例中,上述第四引脚21具体可以为VM引脚。当然,第四引脚21还可以为其他引脚,本申请实施例在此不作限定。
在本申请的一些实施例中,上述第五引脚23具体可以为VSS引脚。当然,第五引脚23还可以为其他引脚,本申请实施例在此不作限定。
本申请实施例中,在电池11和主板10连接的通路断开的情况下,第三开关管22导通;上述第二开关管16的第二端通过第三电阻18和第三引脚17与第四引脚21连接,上述第五引脚23与电池11的第二极连接。
可以理解,第二开关管16的第二端通过第三电阻18、第三引脚17、第四引脚21、第二电阻20、第三开关管22以及第五引脚23与电池11的第二极连接。
如此可知,由于可以在第一集成电路中设置有第二电阻、第三电阻和第三开关管,且第三开关管在电池和主板连接的通路断开的情况下才导通,这样,一方面,可以增加在第三引脚、第二开关管、第二电阻、第四引脚、第三电阻、第三开关管、第五引脚以及电池的第二极形成电流回路的电阻,因此,可以减少在电池和主板连接的通路断开的情况下该电流回路中存在的漏电流,从而可以减少在电池和主板连接的通路断开的情况下,电池的电量的消耗;另一方面,在电池和主板连接的通路断开的情况下才导通第三开关管,这样可以避免在电池和主板连接的通路导通的情况下,因主板向第四引脚提供电压,而导致第一集成电路受到影响的情况。如此,可以在保证第一集成电路不受影响的前提下,减少在电池和主板连接的通路断开的情况下,电池的电量的消耗。
在本申请的一些实现方式中,结合图10,如图12所示,上述电源装置19包括:电源单元24,该电源单元24用于向第三引脚17提供电压;第四开关管26,该第四开关管26的第一端与电源单元24连接;第二分压单元27,该第二分压单元27的第一端与第四开关管26的第二端连接,该第二分压单元27的第二端与第三引脚17连接,该第二分压单元27用于调整电源单元24向第三引脚17提供的电压。其中,在电池11和主板10连接的通路断开的情况下,第四开关管26导通。
可以理解,第二开关管16的第二端直接与电池11的第一极连接。
在本申请的一些实施例中,上述第四开关管26具体可以为MOS管。当然,第四开关管26还可以为其他开关管,本申请实施例在此不作限定。
在本申请的一些实施例中,上述第二分压单元27具体可以为电阻。
如此可知,由于电源装置中可以设置有电源单元、第四开关管和第二分压单元,这样,一方面,可以通过第二分压单元来调整电源单元向第三引脚提供的电压,以使得电源单元可以向第三引脚提供合适的电压,因此,可以避免因电源单元向第三引脚提供较大的电压,而导致第三引脚和与第三引脚连接的器件受损的情况;另一方面,由于第四开关管在电池和主板连接的通路断开的情况下才导通,因此,可以避免在电池和主板连接的通路导通的情况下,因电源单元向第三引脚提供电压,而导致主板受到影响的情况。如此,可以在保证主板不受影响的前提下,减少电子设备的器件受损的情况。
本申请实施例中,上述第一集成电路14,还用于根据第一信号控制第一开关管12导通,以导通电池11和主板连接的通路。
在本申请的一些实施例中,第一集成电路14可以在接收到第一信号的情况下,直接控制第一开关管12导通;或者,第一集成电路14可以在接收到第一信号的情况下,先确定第一信号是否满足条件(例如下述实施例中的第一条件),并在满足该条件的情况下,才控制第一开关管12导通。
本申请实施例中,若用户需要使用电子设备,则用户可以对第二开关管16进行按压输入,以使得第二开关管16导通,从而产生第一信号。因此,第一集成电路14可以根据该第一信号,确定用户需要使用电子设备,并控制第一开关管12导通,以使得电池11和主板10连接的通路导通,从而用户可以使用电子设备。
如此可知,由于在需要控制电池和主板连接的通路导通时,可以通过控制第二开关管导通的方式生成第一信号,这样第一集成电路可以根据该第一信号来导通电池和主板连接的通路,而不会出现第一集成电路无法导通电池和主板连接的通路,因此,可以避免出现用户无法使用电子设备的情况。
在本申请的一些实施例中,在第二开关管16在第一时长内被按压的情况下,上述第三引脚17上产生满足第一条件的第一信号;上述第一集成电路14,具体用于在第一信号满足第一条件的情况下,控制第一开关管12导通;上述第一条件包括:第一信号对应的电压发生一次变化,且在第一时长内第一信号对应的电压未发生变化。
本申请实施例中,上述第三引脚17在第二开关管16断开的情况下的电压和在第二开关管16导通的情况下的电压不同;上述第二开关管16,具体用于在被按压时导通,以调整第三引脚17的电压,从而在第三引脚17上产生满足第一条件的第一信号。
在本申请的一些实施例中,结合图11,在第二开关管16被按压之前,第二开关管16是断开的,此时第三引脚17的电压可以为电源单元24向第三引脚17提供的电压,例如Vpu。在第二开关管16在第一时长内被按压的情况下,第二开关管16在第一时长内导通,此时由电源单元24、第一分压单元25、第三引脚17、第二开关管16、第三电阻18、第四引脚21、第二电阻20、第三开关管22、第五引脚23以及电池11的第二极(例如负极)可以形成电流回路,由于该电流回路上的电阻值增大(即相较于第二开关管16断开的情况多了第三电阻18和第二电阻20),因此,第三引脚17的电压会降低为Vpu*[(Rvm+R2)/(R1+Rvm+R2)],其中R1为第一分压单元25的阻值,Rvm为第三电阻18的阻值,R2为第二电阻20的阻值,并在第一时长内第三引脚17的电压会维持在Vpu*[(Rvm+R2)/(R1+Rvm+R2)],即在第三引脚17上产生的第一信号对应的电压发生一次变化,且在第一时长内第一信号对应的电压未发生变化,也即在第三引脚17上产生满足第一条件的第一信号。
在本申请的一些实施例中,结合图12,在第二开关管16被按压之前,第二开关管16是断开的,此时第三引脚17的电压可以为电源单元24通过第四开关管26向第三引脚17提供的电压,例如Vpu。在第二开关管16在第一时长内被按压的情况下,第二开关管16在第一时长内导通,此时由电源单元24、第四开关管26、第二分压单元27、第三引脚17、第二开关管16以及电池11的第一极(例如负极)可以形成电流回路,相当于将第三引脚17短接到电池11的第一极,因此,第三引脚17的电压会降低为0伏特v,并在第一时长内第三引脚17的电压会维持在0v,即在第三引脚17上产生的第一信号对应的电压发生一次变化,且在第一时长内第一信号对应的电压未发生变化,也即在第三引脚17上产生满足第一条件的第一信号。
在本申请的一些实施例中,在第一集成电路14控制第一开关管12导通的情况下,电子设备可以退出船运模式(Ship Mode)。
下面将以两种具体的示例,举例说明第一集成电路14控制第一开关管12导通的具体方案。
结合图11的电路结构,如图13所示,电子设备处于船运模式(Ship Mode),此时第三开关管22导通,电源单元24向第三引脚17提供电压Vpu。当用户想要使用电子设备时,用户可以对第二开关管16进行持续第一时长的按压输入,以使得第二开关管16可以在第一时长内导通,即第三引脚17的电压会由Vpu降低为Vpu*[(Rvm+R2)/(R1+Rvm+R2)],并在第一时长内维持在Vpu*[(Rvm+R2)/(R1+Rvm+R2)],其中R1为第一分压单元25的阻值,Rvm为第三电阻18的阻值,R2为第二电阻20的阻值,以生成第一信号(例如PS信号),从而第一集成电路14可以在该第一信号满足第一条件的情况下,即该第一信号对应的电压发生一次变化(即由Vpu降低为Vpu*[(Rvm+R2)/(R1+Rvm+R2)]),且在第一时长(例如T4)内第一信号对应的电压未发生变化(即维持在Vpu*[(Rvm+R2)/(R1+Rvm+R2)])的情况下,控制第一开关管12导通,以使得电子设备可以退出船运模式。在电子设备退出船运模式之后,第三开关管22可以断开,此时主板10可以向第三引脚17提供电压,以使得第三引脚17的电压可以升高,例如,升高为Vpu,并维持在Vpu。
结合图12的电路结构,如图14所示,电子设备处于船运模式(Ship Mode),此时第四开关管26导通,电源单元24向第三引脚17提供电压Vpu。当用户想要使用电子设备时,用户可以对第二开关管16进行持续第一时长的按压输入,以使得第二开关管16可以在第一时长(例如T4)内导通,即第三引脚17的电压会由Vpu降低为0v,并在第一时长(例如T4)内维持在0v,以生成第一信号(例如PS信号),从而第一集成电路14可以在该第一信号满足第一条件的情况下,即该第一信号对应的电压发生一次变化(即由Vpu降低为0v),且在第一时长(例如T4)内第一信号对应的电压未发生变化(即维持在0v)的情况下,控制第一开关管12导通,以使得电子设备可以退出船运模式。在电子设备退出船运模式之后,第四开关管26可以断开,此时主板10可以向第三引脚17提供电压,以使得第三引脚17的电压可以升高,例如,升高为Vpu,并维持在Vpu。
如此可知,由于在需要控制电池和主板连接的通路导通时,可以通过控制第二开关管在第一时长内导通的方式,生成满足第一条件的第一信号,这样第一集成电路可以根据满足第一条件的第一信号来控制电池和主板连接的通路导通,而不是根据任意的信号来控制电池和主板连接的通路导通,因此,可以避免因受到干扰,而导致电池继续向主板供电的情况。
图15示出了本申请实施例提供的一种控制方法的流程示意图,应用于上述实施例中的电子设备。如图15所示,本申请实施例提供的控制方法可以包括下述的步骤101和步骤102。
步骤101、在电子设备的电池和电子设备的主板连接的通路导通的情况下,电子设备通过电子设备的第一集成电路的检测模块检测经过电子设备的第一电阻的第一电流。
在本申请的一些实施例中,在电子设备处于开机状态的情况下,电池和主板连接的通道导通,以使得电池可以通过主板向主板的PMIC连接的至少一个器件供电,从而用户可以使用电子设备。这样,在电子设备处于开机状态的情况下,电子设备可以每隔第二时长通过检测模块检测一次经过第一电阻的第一电流,进而电子设备可以通过检测模块的一次检测,得到第一电流。
需要说明的是,针对电子设备通过电子设备的第一集成电路的检测模块检测经过第一电阻的第一电流的说明,可以参考上述实施例中的具体描述,本申请实施例在此不再赘述。
其中,上述第二时长具体可以为1秒。当然,第二时长还可以为其他时长,本申请实施例对此不作限定。
步骤102、在第一电流的电流值小于或等于预设电流值的情况下,电子设备通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池和主板连接的通路。
本申请实施例中,由于可能会出现用户不使用电子设备的情况,而在不使用电子设备的情况下,即在电子设备处于关机状态的情况下,电子设备的电池和主板之间的电流的电流值会小于或等于预设电流值,因此,电子设备可以通过第一电流的电流值是否小于或等于预设电流值,来确定电子设备是否处于关机状态,从而来确定是否控制第一开关管断开。
在本申请的一些实施例中,上述预设电流值可以为0.5毫安(mA)。当然,上述预设电流值还可以为其他电流值,例如0.3mA-0.7mA,本申请实施例在此不作限定。
在本申请的一些实施例中,电子设备可以在确定第一电流的电流值小于或等于预设电流值的情况下,直接通过第一集成电路控制第一开关管断开;或者,电子设备可以在确定第一电流的电流值小于或等于预设电流值的情况下,进行进一步地判断,以确定是否通过第一集成电路控制第一开关管断开。
需要说明的是,针对电子设备通过第一集成电路控制第一集成电路的第一开关管断开的说明,可以参考上述实施例中的具体描述,本申请实施例在此不再赘述。
在本申请的一些实施例中,在上述步骤102中的“电子设备通过第一集成电路控制第一集成电路的第一开关管断开”之前,本申请实施例提供的控制方法还可以包括下述的步骤201,且上述步骤102具体可以通过下述的步骤102a实现。
步骤201、在第一电流的电流值小于或等于预设电流值的情况下,电子设备控制第一计数器的计数值增加1。
本申请实施例中,上述第一计数器用于记录经过第一电阻的第一电流小于或等于预设电流值的次数。
本申请实施例中,上述第一计数器的计数值指示第一电流的电流小于或等于预设电流值的次数。
步骤102a、在第一计数器的增加后的计数值大于或等于预设计数值的情况下,电子设备通过第一集成电路控制第一开关管断开。
本申请实施例中,由于可能会出现因电子设备受到干扰,而导致测量的经过第一电阻的电流小于或等于预设电流值的情况,此时若直接控制第一开关管断开,则会出现用户在使用电子设备的过程中,电子设备关机的情况,因此,电子设备可以在第一电流的电流值小于或等于预设电流值的情况下,先控制第一计数器的计数值增加1,然后再在第一计数器的增加后的计数值大于或等于预设计数值的情况下,即多次出现经过第一电阻的第一电流小于或等于预设电流值的情况下,才控制第一开关管断开,以避免出现用户在使用电子设备的过程中,电子设备关机的情况。
如此可知,由于在第一电流的电流值小于或等于预设电流值的情况下,电子设备可以不控制第一开关管断开,而是控制第一计数器的计数值增加1,并确定该第一计数器的增加后的计数值是否大于或等于预设计数值,以确定是否多次出现电池和主板之间的电流小于或等于预设电流值的情况,即确定电子设备是否长时间未被使用的情况,因此,在确定第一计数器的增加后的计数值大于或等于预设计数值的情况下,即在确定电子设备长时间未被使用的情况,电子设备才控制第一开关管断开,因此,可以在避免出现用户在使用电子设备的过程中,电子设备关机的情况的前提下,可以减少电子设备的电池的电量消耗。
本申请实施例提供一种控制方法,电子设备可以在电子设备的电池和电子设备的主板连接的通路导通的情况下,通过电子设备的第一集成电路的检测模块检测经过电子设备的第一电阻的第一电流;并在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池和主板连接的通路。由于电子设备可以先通过检测模块检测到经过第一电阻的第一电流,即电池和主板之间的电流,然后再在该第一电流的电流值小于或等于预设电流值的情况下,即在电池和主板之间的电流的电流值较小的情况下,确定用户不使用电子设备,并直接控制第一开关管断开,以断开电池和主板连接的通路,从而电池可以停止向电子设备的所有器件供电,而不是停止向电子设备的部分器件供电,因此,可以减少电池供电的器材的数量,以减少电池的电量消耗,这样可以减少出现在长时间不使用电子设备的情况下,电池长时间电量较低的情况,进而可以减少出现电池鼓包等现象,如此,可以提高电子设备的使用安全性。
在本申请的一些实施例中,在上述步骤102之后,本申请实施例提供的控制方法还可以包括下述的步骤301和步骤302。
步骤301、电子设备在接收到用户对主板的第二开关管的按压输入的情况下,通过第二开关管调整第一集成电路的第三引脚的电压,以在第三引脚上产生第一信号。
需要说明的是,针对电子设备通过第二开关管调整第一集成电路的第三引脚的电压,以在第三引脚上产生第一信号的说明,可以参考上述实施例中的具体说明,本申请实施例在此不作限定。
步骤302、电子设备根据第一信号通过第一集成电路控制第一开关管导通,以导通电池和主板连接的通路。
如此可知,由于在需要导通电池和主板连接的通路时,可以通过控制第二开关管导通的方式生成第一信号,这样第一集成电路可以根据该第一信号来导通电池和主板连接的通路,而不会出现第一集成电路无法导通电池和主板连接的通路的情况,因此,可以避免出现用户无法使用电子设备的情况。
在本申请的一些实施例中,在第二开关管在第一时长内被按压的情况下,上述第三引脚上产生满足第一条件的第一信号。可选地,上述步骤302具体可以通过下述的步骤302a实现。
步骤302a、在第一信号满足第一条件的情况下,电子设备通过第一集成电路控制第一开关管导通。
本申请实施例中,上述第一条件包括:第一信号对应的电压发生一次变化,且在第一时长内第一信号对应的电压未发生变化。
如此可知,由于在需要导通电池和主板连接的通路时,可以通过控制第二开关管在第一时长内导通的方式,生成满足第一条件的第一信号,这样第一集成电路可以根据满足第一条件的第一信号来导通电池和主板连接的通路,而不是根据任意的信号来导通电池和主板连接的通路,因此,可以避免因受到干扰,而导致电池继续向主板供电的情况。
本申请实施例提供的控制方法,执行主体可以为控制装置。本申请实施例中以控制装置执行控制方法为例,说明本申请实施例提供的控制装置的。
图16示出了本申请实施例提供的控制装置的结构示意图。如图16所示,本申请实施例提供的控制装置50可以包括:控制模块51,用于在控制装置50的电池和控制装置50的主板连接的通路导通的情况下,通过控制装置50的第一集成电路的检测模块检测经过控制装置50的第一电阻的第一电流;并在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池和主板连接的通路供电。
本申请实施例提供一种控制装置,由于控制装置可以先通过检测模块检测到经过第一电阻的第一电流,即电池和主板之间的电流,然后再在该第一电流的电流值小于或等于预设电流值的情况下,即在电池和主板之间的电流的电流值较小的情况下,确定用户不使用控制装置,并直接控制第一开关管断开,以断开电池和主板连接的通路,从而电池可以停止向控制装置的所有器件供电,而不是停止向控制装置的部分器件供电,因此,可以减少电池供电的器材的数量,以减少电池的电量消耗,这样可以减少出现在长时间不使用控制装置的情况下,电池长时间电量较低的情况,进而可以减少出现电池鼓包等现象,如此,可以提高控制装置的使用安全性。
在一种可能的实现方式中,上述控制模块51,还用于在通过第一集成电路控制第一集成电路的第一开关管断开之前,控制第一计数器的计数值增加1,该第一计数器的计数值指示第一电流小于或等于预设电流值的次数。上述控制模块51,具体用于在第一计数器的增加后的计数值大于或等于预设计数值的情况下,通过第一集成电路控制第一开关管断开。
在一种可能的实现方式中,上述控制模块51,还用于在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池和主板连接的通路之后,在接收到用户对主板的第二开关管的按压输入的情况下,通过第二开关管调整第一集成电路的第三引脚的电压,以在第三引脚上产生第一信号;并根据第一信号通过第一集成电路控制第一开关管导通,以导通电池和主板连接的通路。
在一种可能的实现方式中,在第二开关管在第一时长内被按压的情况下,第三引脚上产生满足第一条件的第一信号;上述控制模块51,具体用于在第一信号满足第一条件的情况下,通过第一集成电路控制第一开关管导通。其中,上述第一条件包括:第一信号对应的电压发生一次变化,且在第一时长内第一信号对应的电压未发生变化
本申请实施例中的控制装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性地,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(mobile internet device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的控制装置能够实现图15的方法实施例实现的各个过程,为避免重复,这里不再赘述。
在本申请的一些实施例中,如图17所示,本申请实施例还提供一种电子设备60,包括处理器61和存储器62,存储器62上存储有可在所述处理器61上运行的程序或指令,该程序或指令被处理器61执行时实现上述控制方法实施例的各个过程步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图18为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图18中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器110,用于在电子设备的电池和电子设备的主板连接的通路导通的情况下,通过电子设备的第一集成电路的检测模块检测经过第一电阻的第一电流;并在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池和主板连接的通路。
本申请实施例提供一种电子设备,由于电子设备可以先通过检测模块检测到经过第一电阻的第一电流,即电池和主板之间的电流,然后再在该第一电流的电流值小于或等于预设电流值的情况下,即在电池和主板之间的电流的电流值较小的情况下,确定用户不使用电子设备,并直接控制第一开关管断开,以断开电池和主板连接的通路,从而电池可以停止向电子设备的所有器件供电,而不是停止向电子设备的部分器件供电,因此,可以减少电池供电的器材的数量,以减少电池的电量消耗,这样可以减少出现在长时间不使用电子设备的情况下,电池长时间电量较低的情况,进而可以减少出现电池鼓包等现象,如此,可以提高电子设备的使用安全性。
在本申请的一些实施例中,处理器110,还用于在通过第一集成电路控制第一集成电路的第一开关管断开之前,控制第一计数器的计数值增加1,该第一计数器的计数值指示第一电流小于或等于预设电流值的次数。
处理器110,具体用于在第一计数器的增加后的计数值大于或等于预设计数值的情况下,通过第一集成电路控制第一开关管断开。
在本申请的一些实施例中,处理器110,还用于在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池和主板连接的通路之后,在接收到用户对主板的第二开关管的按压输入的情况下,通过第二开关管调整第一集成电路的第三引脚的电压,以在第一引脚上产生第一信号;并根据第一信号通过第一集成电路控制第一开关管导通,以导通电池和主板连接的通路供电。
在本申请的一些实施例中,在第二开关管在第一时长内被按压的情况下,第三引脚上产生满足第一条件的第一信号。
处理器110,具体用于在第一信号满足第一条件的情况下,通过第一集成电路控制第一开关管导通。
其中,上述第一条件包括:第一信号对应的电压发生一次变化,且在第一时长内第一信号对应的电压未发生变化。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(doubledata rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器110可包括一个或多个处理单元;可选地,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本申请的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本申请的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本申请可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (16)

  1. 一种电子设备,包括:
    主板;
    电池,所述电池的第一极与所述主板的第一端连接,所述电池的第二极通过第一开关管与所述主板的第二端连接,在所述电池和所述主板连接的通路上还设置有第一电阻;
    第一集成电路,所述第一集成电路包括检测模块,所述检测模块用于检测经过所述第一电阻的第一电流;
    其中,所述第一集成电路,用于在所述第一电流的电流值小于或等于预设电流值的情况下,控制所述第一开关管断开,以断开电池和所述主板连接的通路。
  2. 根据权利要求1所述的电子设备,其中,所述第一电阻设置于所述电池的第一极和所述主板的第一端连接的通路上,或设置于所述电池的第二极和所述主板的第二端连接的通路上;
    其中,所述检测模块的第一端通过所述第一集成电路的第一引脚与所述第一电阻的第一端连接,所述检测模块的第二端通过所述第一集成电路的第二引脚与所述第一电阻的第二端连接。
  3. 根据权利要求1所述的电子设备,其中,所述主板上还设置有第二开关管,所述第二开关管的第一端与所述第一集成电路的第三引脚连接,所述第二开关管的第二端通过所述第一集成电路与所述电池连接,或所述第二开关管的第二端与所述电池连接;
    其中,所述第三引脚在所述第二开关管断开的情况下的电压和在所述第二开关管导通的情况下的电压不同;
    所述第二开关管,用于在被按压时导通,以调整所述第三引脚的电压,从而在所述第三引脚上产生第一信号;
    所述第一集成电路,还用于在所述第三引脚上检测到所述第一信号的情况下,控制所述第一开关管导通,以导通所述电池和所述主板连接的通路。
  4. 根据权利要求3所述的电子设备,其中,所述第一集成电路还包括:
    电源装置,所述电源装置与所述第三引脚连接,所述电源装置用于在所述电池和所述主板连接的通路断开的情况下,向所述第三引脚提供电压。
  5. 根据权利要求4所述的电子设备,其中,所述电源装置包括:
    电源单元,所述电源单元用于向所述第三引脚提供电压;
    第一分压单元,所述第一分压单元的第一端与所述电源单元连接,所述第一分压单元的第二端与所述第三引脚连接,所述第一分压单元用于调整所述电源单元向所述第三引脚提供的电压。
  6. 根据权利要求4所述的电子设备,其中,所述电源装置包括:
    电源单元,所述电源单元用于向所述第三引脚提供电压;
    第四开关管,所述第四开关管的第一端与所述电源单元连接;
    第二分压单元,所述第二分压单元的第一端与所述第四开关管的第二端连接,所述第二分压单元的第二端与所述第三引脚连接,所述第二分压单元用于调整所述电源单元向所述第三引脚提供的电压;
    其中,在所述电池和所述主板连接的通路断开的情况下,所述第四开关管导通。
  7. 根据权利要求3所述的电子设备,其中,所述第二开关管的第二端通过所述第一集成电路与所述电池的第二极连接;
    所述第一集成电路还包括:
    第二电阻,所述第二电阻的第一端与所述第一集成电路的第四引脚连接;
    第三开关管,所述第三开关管的第一端与所述第二电阻的第二端连接,所述第三开关管的第二端与所述第一集成电路的第五引脚连接;
    其中,在所述电池和所述主板连接的通路断开的情况下,所述第三开关管导通;
    所述第二开关管的第二端通过第三电阻和第三引脚与所述第四引脚连接,所述第五引脚与所述电池的第二极连接。
  8. 根据权利要求3所述的电子设备,其中,在所述第二开关管在第一时长内被按压的情况下,所述第三引脚上产生满足第一条件的所述第一信号;
    所述第一集成电路,具体用于在所述第三引脚上检测到满足所述第一条件的所述第一信号的情况下,控制所述第一开关管导通;
    所述第一条件包括:所述第一信号对应的电压发生一次变化,且在所述第一时长内所述第一信号对应的电压未发生变化。
  9. 根据权利要求1所述的电子设备,其中,所述电子设备还包括:
    第一计数器,所述第一计数器与所述第一集成电路连接;
    其中,所述第一集成电路,具体用于在所述第一电流的电流值小于或等于所述预设电流值的情况下,控制所述第一计数器的计数值增加1,并在所述第一计数器的增加后的计数值大于或等于所述预设计数值的情况下,控制所述第一开关管断开。
  10. 根据权利要求1所述的电子设备,其中,所述第一电阻的阻值大于或等于预设阻值。
  11. 一种控制方法,应用于如权利要求1至10任一项所述的电子设备,该方法包括:在电子设备的电池与电子设备的主板连接的通路导通的情况下,通过电子设备的第一集成电路的检测模块检测经过第一电阻的第一电流;在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池与主板连接的通路。
  12. 一种控制装置,该控制装置包括:控制模块,用于在控制装置的电池与控制装置的主板连接的通路导通的情况下,通过控制装置的第一集成电路的检测模块检测经过第一电阻的第一电流;并在第一电流的电流值小于或等于预设电流值的情况下,通过第一集成电路控制第一集成电路的第一开关管断开,以断开电池与主板连接的通路。
  13. 一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求11所述的方法的步骤。
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求11所述的方法的步骤。
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求11所述的方法的步骤。
  16. 一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如权利要求11所述的方法的步骤。
PCT/CN2025/104002 2024-06-26 2025-06-26 电子设备 Pending WO2026002148A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410839266.9 2024-06-26
CN202410839266.9A CN118944218A (zh) 2024-06-26 2024-06-26 电子设备

Publications (1)

Publication Number Publication Date
WO2026002148A1 true WO2026002148A1 (zh) 2026-01-02

Family

ID=93359060

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/104002 Pending WO2026002148A1 (zh) 2024-06-26 2025-06-26 电子设备

Country Status (2)

Country Link
CN (1) CN118944218A (zh)
WO (1) WO2026002148A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118944218A (zh) * 2024-06-26 2024-11-12 维沃移动通信有限公司 电子设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355837A (ja) * 2003-05-27 2004-12-16 Sanyo Electric Co Ltd 過電流保護回路を備えるパック電池
CN102593898A (zh) * 2012-02-17 2012-07-18 江苏博强新能源科技有限公司 一种锂电池管理系统
CN111782028A (zh) * 2020-06-22 2020-10-16 北京小米移动软件有限公司 电子设备及其控制方法、存储介质
CN111987772A (zh) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 一种片上系统、电池组件及电子装置
CN114221420A (zh) * 2020-08-27 2022-03-22 西安稳先半导体科技有限责任公司 一种电池保护芯片、电池组件及电子装置
CN219436644U (zh) * 2022-12-30 2023-07-28 无锡市稳先微电子有限公司 电池保护电路、电池组件和电子设备
CN118739491A (zh) * 2024-06-27 2024-10-01 维沃移动通信有限公司 电子设备
CN118944218A (zh) * 2024-06-26 2024-11-12 维沃移动通信有限公司 电子设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355837A (ja) * 2003-05-27 2004-12-16 Sanyo Electric Co Ltd 過電流保護回路を備えるパック電池
CN102593898A (zh) * 2012-02-17 2012-07-18 江苏博强新能源科技有限公司 一种锂电池管理系统
CN111782028A (zh) * 2020-06-22 2020-10-16 北京小米移动软件有限公司 电子设备及其控制方法、存储介质
CN111987772A (zh) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 一种片上系统、电池组件及电子装置
CN114221420A (zh) * 2020-08-27 2022-03-22 西安稳先半导体科技有限责任公司 一种电池保护芯片、电池组件及电子装置
CN219436644U (zh) * 2022-12-30 2023-07-28 无锡市稳先微电子有限公司 电池保护电路、电池组件和电子设备
CN118944218A (zh) * 2024-06-26 2024-11-12 维沃移动通信有限公司 电子设备
CN118739491A (zh) * 2024-06-27 2024-10-01 维沃移动通信有限公司 电子设备

Also Published As

Publication number Publication date
CN118944218A (zh) 2024-11-12

Similar Documents

Publication Publication Date Title
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
WO2026002151A1 (zh) 电子设备
US7582987B2 (en) Double power sources switching circuit
WO2026002148A1 (zh) 电子设备
CN112701751B (zh) 供电电路、供电方法和电子设备
US11790821B2 (en) Driving control circuit for detecting power-down time period, driving control method, and display device
WO2023061333A1 (zh) 泄放电路的控制方法及装置、泄放器件及电子设备
US20250260077A1 (en) Charging control method and apparatus, and electronic device
CN112713629A (zh) 充电方法、装置及电子设备
WO2026002153A1 (zh) 电子设备
CN111884303B (zh) 充电控制电路、充电控制方法和电子设备
CN112286338B (zh) 芯片的控制方法、芯片的控制装置、电子设备及存储介质
US20100036991A1 (en) Apparatus and method for docking of mobile device supporting docking station
US11048314B2 (en) System loading detecting device and method
TWI579686B (zh) 具有電源控制功能之電子裝置
WO2024001941A1 (zh) 双电池串联电路、电路控制方法和电子设备
WO2023193731A1 (zh) 信号获取方法和电子设备
CN112997239B (zh) 栅极驱动方法、栅极驱动电路和显示装置
EP4557561A1 (en) Power supply method, readable medium and electronic device
CN112378331A (zh) 电子设备、电池形变检测方法及可读存储介质
CN115882569A (zh) 充电电路、充电控制方法和电子设备
US9419312B2 (en) Disablement of connection between connection module and battery
US11228194B2 (en) Motherboard with a smart charging function
CN115706428A (zh) 保护电路板、充放电系统、确定电池状态的方法及装置
US20200373693A1 (en) Electronic device and control method thereof

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: 25826175

Country of ref document: EP

Kind code of ref document: A1