Electronic device
By incorporating a first switching transistor and integrated circuit into the electronic device, and using a controller to adjust the voltage signal to control the switching transistor to disconnect the battery from the motherboard, the problem of continuous battery consumption during shipping mode is solved, thus improving the safety of the device.
Patent Information
- Application Number
- PCT/CN2025/104010
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-27
- Filing Date
- 2025-06-26
- Publication Date
- 2026-01-02
AI Technical Summary
In the shipping mode of electronic devices, the battery will continue to consume power, resulting in low power for a long time, increasing the risk of battery swelling and reducing safety during use.
In an electronic device, a first switching transistor and a first integrated circuit are set up. A signal is generated by adjusting the voltage of the first pin through a first controller, which controls the first switching transistor to disconnect the path between the battery and the motherboard, ensuring that the battery stops supplying power to all devices.
It reduces battery power consumption, lowers the risk of battery swelling, and improves the safety of electronic devices.
Smart Images

Figure CN2025104010_02012026_PF_FP_ABST
Abstract
Description
Electronic device
[0001] Cross Reference to Related Applications
[0002] The present application claims priority to the Chinese patent application No. 202410849560.8, filed on June 27, 2024, and entitled "Electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present application belongs to the technical field of batteries, and specifically relates to an electronic device. BACKGROUND
[0004] Generally, a ship mode is configured in an electronic device, so that the electronic device can be controlled to enter the ship mode in a case where the electronic device is not used, so that the battery of the electronic device can stop supplying power to part of devices of the electronic device, thereby reducing consumption of the power of the battery, reducing the case where the battery is low for a long time, and further reducing the phenomenon that the battery is bulging, and improving the use safety of the electronic device.
[0005] However, since the power of the battery of the electronic device is still consumed in the ship mode, the case where the battery is low for a long time still occurs in a case where the electronic device is not used for a long time, so that the phenomenon that the battery is bulging occurs, and thus the use safety of the electronic device is low. SUMMARY
[0006] An embodiment of the present application aims to provide an electronic device, which can solve the problem that the use safety of the electronic device is low.
[0007] In a first aspect, an embodiment of the present application provides an electronic device, which comprises a mainboard, a battery, and a first controller. The mainboard is provided with the first controller. The first pole of the battery is connected with the first end of the mainboard. The battery comprises a first switch tube and a first integrated circuit. The first end of the first switch tube is connected with the second pole of the battery. The second end of the first switch tube is connected with the second end of the mainboard. The first integrated circuit comprises a first pin. The first pin is connected with the signal generating end of the first controller. The first end of the first integrated circuit is connected with the third end of the first switch tube. The first controller is configured to adjust the voltage of the first pin to generate a first signal on the first pin in a case where the path between the battery and the mainboard is conducted. The first integrated circuit is configured to control the first switch tube to be disconnected to disconnect the path between the battery and the mainboard in a case where the first signal is detected on the first pin.
[0008] In a second aspect, the embodiments of the present application provide a control method applied to the electronic device of the first aspect, the method comprising: in a case where a path between a battery of the electronic device and a mainboard of the electronic device is conducted, controlling a first controller of the mainboard to adjust a voltage of a first pin of a first integrated circuit of the electronic device to generate a first signal on the first pin; and in a case where the first signal is detected on the first pin, controlling a first switch tube of the electronic device to be turned off to disconnect the path between the battery and the mainboard.
[0009] In a third aspect, the embodiments of the present application provide a control device, the control device comprising: a control module configured to, in a case where a path between a battery of the control device and a mainboard of the control device is conducted, control a first controller of the mainboard to adjust a voltage of a first pin of a first integrated circuit of the control device to generate a first signal on the first pin; and in a case where the first signal is detected on the first pin, control a first switch tube of the control device to be turned off to disconnect the path between the battery and the mainboard.
[0010] In a fourth aspect, the embodiments of the present application provide an electronic device, the electronic device comprising a processor and a memory, the memory storing programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method of the second aspect.
[0011] In a fifth aspect, the embodiments of the present application provide a readable storage medium, the readable storage medium storing programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the method of the second aspect.
[0012] In a sixth aspect, the embodiments of the present application provide a chip, the chip comprising a processor and a communication interface, the communication interface and the processor being coupled, and the processor being configured to run programs or instructions to implement the steps of the method of the second aspect.
[0013] In a seventh aspect, the embodiments of the present application provide a computer program product, the program product being stored in a storage medium, and the program product being executed by at least one processor to implement the steps of the method of the second aspect.
[0014] In the embodiment of the present application, the electronic device can include a mainboard provided with a first controller, and a battery having a first end connected to the first end of the mainboard, the battery including a first switch tube and a first integrated circuit, the first end of the first switch tube being connected to the second end of the battery, the second end of the first switch tube being connected to the second end of the mainboard, the first integrated circuit including a first pin connected to the signal generating end of the first controller, and the first end of the first integrated circuit being connected to the third end of the first switch tube; wherein the first controller is configured to adjust the voltage of the first pin to generate a first signal on the first pin in the case that the path between the battery and the mainboard is turned on; and the first integrated circuit is configured to control the first switch tube to be turned off to disconnect the path between the battery and the mainboard in the case that the first signal is detected on the first pin. Since the first switch tube and the first integrated circuit are arranged in the battery, and the first controller is arranged on the mainboard, the first controller can generate the first signal on the first pin by adjusting the voltage of the first pin in the case that the path between the battery and the mainboard is turned on, so as to trigger the first integrated circuit to control the first switch tube to be turned off by the first signal, thereby disconnecting the path between the battery and the mainboard, so that the battery can stop supplying power to all devices of the electronic device instead of stopping supplying power to part of the devices of the electronic device, and thus the number of devices supplied by the battery can be reduced to reduce the power consumption of the battery, so that the situation that the battery has low power for a long time in the case that the electronic device is not used for a long time can be reduced, and thus the phenomenon that the battery is bulged can be reduced, and thus the use safety of the electronic device can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0016] FIG. 1 is a schematic diagram of the circuit structure of the battery and the mainboard of the electronic device in the related art;
[0017] FIG. 2 is a schematic diagram of the circuit structure of the battery and the mainboard of the electronic device provided by the present application;
[0018] FIG. 3 is a schematic diagram of the circuit structure of the battery and the mainboard of the electronic device provided by the present application;
[0019] FIG. 4 is a schematic diagram of the circuit structure of the battery and the mainboard of the electronic device provided by the present application;
[0020] FIG. 5 is a schematic diagram of the electronic device entering the shipping mode provided by the present application;
[0021] Fig. 6 is a fourth circuit structure schematic diagram of a battery and a mainboard of an electronic device according to an embodiment of the present application;
[0022] Fig. 7 is a fifth circuit structure schematic diagram of a battery and a mainboard of an electronic device according to an embodiment of the present application;
[0023] Fig. 8 is a schematic diagram of the electronic device exiting a shipping mode according to an embodiment of the present application;
[0024] Fig. 9 is a flowchart of a control method according to an embodiment of the present application;
[0025] Fig. 10 is a structure schematic diagram of a control device according to an embodiment of the present application;
[0026] Fig. 11 is a first hardware structure schematic diagram of an electronic device according to an embodiment of the present application;
[0027] Fig. 12 is a second hardware structure schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme of the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0029] The terms "first", "second" in the description and claims of the present application can explicitly or implicitly include one or more features. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0030] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application.
[0031] In the description of the present application, it should be noted that unless specifically defined and limited otherwise, the terms "mount", "connect", "connect" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium, or it can be connected inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0032] The electronic device provided by the embodiments of the present application can be applied to the scenario that the electronic device enters the shipping mode, or the scenario that the electronic device is powered off.
[0033] For the scenario of shipping mode
[0034] In the related art, a battery is arranged in the battery pack 01 of the electronic device, the positive electrode of the battery is connected with the p+ end of the battery pack 01, the negative electrode of the battery is connected with the p- end of the battery pack 01, the p+ end of the battery pack 01 is connected with the VBAT pin of the Power Management Integrated Circuit (PMIC) 03 of the mainboard 02, the VBAT pin can be connected with the switch tube QBAT in the PMIC 03, the switch tube QBAT is also connected with the VPH_PWR pin of the PMIC 03, the VPH_PWR pin can be connected with a plurality of devices of the electronic device, which can include a central processing unit CPU, a memory, a screen driver, a screen, a speaker driver, a speaker, a radio frequency power management, a radio frequency module and other load modules, and the VBAT pin of the PMIC 03 can also be connected with the VBAT load of the electronic device, and the p- end of the battery pack 01 is connected with the GND pin of the PMIC 03. In this way, in the case that the electronic device is not used, the switch tube QBAT in the above-mentioned PMIC 03 can be controlled to be disconnected, so as to control the electronic device to enter the Ship Mode, so that the battery pack 01 of the electronic device can stop supplying power to the VPH_PWR pin of the mainboard 02 connected with the plurality of devices, thereby reducing the consumption of the battery in the battery pack 01, so as to reduce the situation that the battery is low for a long time, and further to reduce the phenomenon that the battery is bulging, and improve the use safety of the electronic device. However, since in the Ship Mode, the battery in the battery pack 01 still supplies power to the VBAT load connected with the VBAT pin, the power of the battery of the electronic device will still be consumed, so that in the case that the electronic device is not used for a long time, the situation that the battery is low for a long time will still occur, and further the phenomenon that the battery is bulging will occur, and therefore the use safety of the electronic device is low.
[0035] Scenarios for shutting down electronic devices
[0036] It should be noted that the description of the scenarios for shutting down electronic devices can refer to the specific description in the foregoing, and the embodiments of the present application will not be described here.
[0037] To solve the above technical problems, the embodiments of the present application provide an electronic device. FIG. 2 shows a circuit structure schematic diagram of an electronic device provided by the embodiments of the present application. As shown in FIG. 2, the electronic device provided by the embodiments of the present application can include: a mainboard 10, the mainboard 10 being provided with a first controller 11; a battery 12, a first pole of the battery 12 being connected with a first end of the mainboard 10, the battery 12 including a first switch tube 13 and a first integrated circuit 14, a first end of the first switch tube 13 being connected with a second pole of the battery 12, a second end of the first switch tube 13 being connected with a second end of the mainboard 10, the first integrated circuit 14 including a first pin 15, the first pin 15 being connected with a signal generating end of the first controller 11, a first end of the first integrated circuit 14 being connected with a third end of the first switch tube 13.
[0038] In some embodiments of the present application, the first controller 11 described above can be an application processor (AP). Of course, the first controller 11 can also be other processors, which are not limited by the embodiments of the present application.
[0039] In some embodiments of the present application, the mainboard 10 described above can also be provided with a power management integrated circuit (PMIC), the PMIC can be connected with at least one device of the electronic device, so that the PMIC can supply power to at least one device.
[0040] The PMIC described above can be connected with at least one device through a VPH_PWR pin.
[0041] In some embodiments of the present application, the battery 12 described above can be any one of the following: a lithium battery, a silicon negative electrode battery, a steel shell battery. Of course, the battery 12 described above can also be other batteries, which are not limited by the embodiments of the present application.
[0042] In some embodiments of the present application, the first pole of the battery 12 described above can be a positive pole or a negative pole. The second pole of the battery 12 described above can be a negative pole or a positive pole.
[0043] In some embodiments of the present application, the battery 12 described above can also include a protection integrated circuit, the first pole of the battery 12 can be connected with the first end of the mainboard 10 through the protection integrated circuit, and the second pole of the battery 12 can be connected with the second end of the mainboard 10 through the first switch tube 13 and the protection integrated circuit.
[0044] It should be noted that the structure and function of the protection integrated circuit can refer to the specific description in the related art, and the embodiments of the present application will not be described here.
[0045] In some embodiments of the present application, the first pole of the battery 12 can be connected with the VBAT pin of the PMIC of the mainboard 10. The second pole of the battery 12 can be connected with the GND pin of the PMIC of the mainboard 10 through the first switch tube 13 and the charging switch tube of the protection integrated circuit. It can be understood that the VBAT pin of the PMIC can be regarded as the first end of the mainboard 10. The GND pin of the PMIC can be regarded as the second end of the mainboard 10.
[0046] In some embodiments of the present application, the first switch tube 13 includes a metal oxide semiconductor field effect (MOS) tube. Of course, the first switch tube 13 can also be other devices, and the embodiments of the present application will not be limited here.
[0047] In some embodiments of the present application, the first integrated circuit 14 can be referred to as a shipping mode integrated circuit. The first pin 15 can be specifically a SWI pin. The first end of the first integrated circuit 14 can be specifically a PD pin.
[0048] In some embodiments of the present application, the first integrated circuit 14 can be powered by the battery 12, or can be powered by other power sources, and the embodiments of the present application will not be limited here.
[0049] In some embodiments of the present application, in the case that the first integrated circuit 14 is powered by the battery 12, in combination with FIG. 2, as shown in FIG. 3, the second end of the first integrated circuit 14 is connected with the first pole of the battery 12, and the third end of the first integrated circuit 14 is connected with the second pole of the battery 12.
[0050] It can be understood that the battery 12 can also power the first integrated circuit 14.
[0051] In some embodiments of the present application, the second end of the first integrated circuit 14 can be specifically a VDD end, and the third end of the first integrated circuit 14 can be specifically a VSS end.
[0052] As can be known, since the second end and the third end of the first integrated circuit can be connected with the first pole and the second pole of the battery respectively, the first integrated circuit can be directly powered by the battery, without the need to additionally set other power sources in the electronic device to power the first integrated circuit, so that the circuit complexity of the electronic device can be reduced, and the cost can be reduced.
[0053] In the embodiments of the present application, the first controller 11 is configured to adjust the voltage of the first pin 15 to generate a first signal on the first pin 15 when the path between the battery 12 and the mainboard 10 is turned on, and the first integrated circuit 14 is configured to control the first switch tube 13 to be turned off to disconnect the path between the battery 12 and the mainboard 10 when the first signal is detected on the first pin.
[0054] In some embodiments of the present application, the first signal can be a pulse signal.
[0055] In some embodiments of the present application, the first controller 11 can alternately control the first pin 15 to be grounded and not grounded to adjust the voltage of the first pin 15.
[0056] In the embodiments of the present application, when the first controller 11 controls the first pin 15 not to be grounded, the first pin 15 can be provided with a voltage by other power supply of the electronic device, so that the voltage of the first pin 15 is a voltage; when the first controller 11 controls the first pin 15 to be grounded, the first controller 11 can pull down the voltage of the first pin 15, so that the voltage of the first pin 15 is another voltage.
[0057] In the following, the PMIC is taken as an example of the other power supply.
[0058] In some embodiments of the present application, as shown in FIG. 4, the first controller 11 includes a second switch tube 16, a first end of the second switch tube 16 is connected with a signal generating end of the first controller 11, and a second end of the second switch tube 16 is grounded; a control module 17 connected with a third end of the second switch tube 16; wherein the voltage of the first pin 15 when the second switch tube 16 is turned off is different from the voltage of the first pin 15 when the second switch tube 16 is turned on.
[0059] In some embodiments of the present application, the second switch tube 16 can be a MOS tube, and a control end of the second switch tube 16 can be connected with the first controller 11, so that the first controller 11 can control the on-off of the second switch tube 16.
[0060] In some embodiments of the present application, the control module 17 can be any one of a central processing unit (CPU) and a micro control unit (MCU).
[0061] In some embodiments of the present application, the mainboard 10 further comprises a PMIC 18 connected with the first pin 15 through a diode 19. The PMIC 18 is connected with the positive pole of the diode 19, and the first pin 15 is connected with the negative pole of the diode 19. The PMIC 18 is used to provide voltage to the first pin 15 when the path between the battery 12 and the mainboard 10 is turned on.
[0062] In some embodiments of the present application, in combination with FIG. 4, the PMIC 18 can be connected with the first pin 15 and the signal generating end of the first controller 11 through the diode 19. The PMIC 18 is connected with the positive pole of the diode 19, and the first pin 15 and the signal generating end of the first controller 11 are connected with the negative pole of the diode 19. It can be understood that since the PMIC 18 is connected with the first pin 15 and the signal generating end of the first controller 11 through the diode 19, the voltage of the first pin 15 and / or the signal generating end of the first controller 11 can be avoided from affecting the PMIC 18 during use.
[0063] In some embodiments of the present application, the voltage of the first pin 15 when the second switch tube 16 is turned off can be 1.8 volts (v). The voltage of the first pin 15 when the second switch tube 16 is turned on can be 0v.
[0064] In some embodiments of the present application, when the second switch tube 16 is turned off, the first pin 15 is connected with the PMIC 18 to pull up the voltage of the first pin 15 through the PMIC 18. When the second switch tube 16 is turned on, the first pin 15 can be regarded as being grounded, so the voltage of the first pin 15 is pulled down to 0v.
[0065] In the embodiments of the present application, the control module 17 is specifically used to control the second switch tube 16 to be turned on and off for a first number of times within a first time length, and the duration of each time the second switch tube 16 is turned on is greater than or equal to a second time length, so as to generate a first signal meeting a first condition on the first pin 15. The first integrated circuit 14 is specifically used to control the first switch tube 13 to be turned off when the first signal meeting the first condition is detected on the first pin 15. The first condition includes that the number value of the pulses of the first signal within the first time length is the same as the number value of the first number of times, and the pulse length of each pulse is greater than or equal to the second time length.
[0066] In some embodiments of the present application, the first number of times can be 5. Of course, the first number of times can also be other numbers, which are not limited in the embodiments of the present application.
[0067] In some embodiments of the present application, when the path between the battery 12 and the mainboard 10 is turned on, the control module 17 can first control the second switch tube 16 to be turned off. Thus, when the control module 17 determines to access the shipping mode, the control module 17 can first control the second switch tube 16 to be turned on for a second duration within a first duration, at which time the first pin 15 is grounded, so that the voltage of the first pin 15 is pulled down to 0v. Then, the control module 17 can control the second switch tube 16 to be turned off for a fourth duration, so that the PMIC 18 can provide a voltage to the first pin 15, so that the voltage of the first pin 15 is pulled up. Then, the control module 17 can again control the second switch tube 16 to be turned on for a second duration, and so on, until the number of times of turning on the second switch tube 16 reaches a first number of times.
[0068] In the embodiments of the present application, the voltage of the first pin 15 may
[0069] Thus, it can be known that, when it is needed to turn off the path between the battery and the mainboard, the control module can control the second switch tube to be turned on and off for a first number of times within a first duration, and the duration of each time of turning on the second switch is greater than or equal to a second duration, so as to generate a first signal satisfying a first condition on the first pin. Thus, the first integrated circuit can turn off the path between the battery and the mainboard according to the first signal satisfying the first condition, instead of according to an arbitrary signal, so as to avoid the situation that the battery stops supplying power to the mainboard due to interference.
[0070] In some embodiments of the present application, the first integrated circuit 14 can delay for a fifth duration, output a low level to the third end of the first switch tube 13 to turn off the first switch tube 13, so as to turn off the path between the battery 12 and the mainboard 10, and thus the electronic device can enter the shipping mode, when the first signal is received and it is determined that the first signal satisfies the first condition.
[0071] The process of the electronic device entering the shipping mode will be illustrated by specific examples as follows.
[0072] As shown in FIG. 5, the electronic device is in a normal state, at this time, the second switch tube 16 is off, the PMIC 18 provides a voltage (for example, 1.8v) to the first pin 15, and the voltage of the first pin 15 is maintained at 1.8v. When it is needed to control the electronic device to enter the shipping mode, an operation can be performed in the electronic device, so that the first controller 11 can control the second switch tube 16 to be on and off for a first number of times (for example, 5) within a first time length (for example, T2), and each time the second switch tube 16 is on for a time length greater than or equal to a second time length (for example, T1), and each time the voltage of the first pin 15 changes from 1.8v to 0v, so as to generate a first signal (namely, SWI signal) on the first pin 15. Thus, when the number of low-level pulses in the first signal detected by the first integrated circuit 14 on the first pin 15 is 5, and each pulse time is greater than or equal to the second time length T1, and the total time of the 5 pulses is less than the first time length T2, the first integrated circuit 14 delays for a fifth time length (for example, T3), and outputs a low level to the third end of the first switch tube 13, so that the first switch tube 13 is off, thereby disconnecting the path between the battery 12 and the mainboard 10, and the electronic device can enter the shipping mode.
[0073] In the embodiment of the present application, if the first integrated circuit 14 receives the first signal, it can be considered that the shipping mode is needed, therefore, the first integrated circuit 14 can directly control the first switch tube 13 to be off, so as to disconnect the path between the battery 12 and the mainboard 10.
[0074] In the related art, when it is needed to disconnect the path between the battery 12 and the mainboard 10, only the switch tube QBAT in the PMIC is off, so that the device connected to the VPH_PWR pin of the PMIC 18 is powered off, but the device connected to the VBAT pin of the PMIC 18 is still in a working state, that is, the battery 12 still supplies power to the device connected to the VBAT pin of the PMIC 18, thus the power of the battery 12 is continuously consumed. However, in the embodiment of the present application, when it is needed to disconnect the path between the battery 12 and the mainboard 10, the first switch tube 13 can be off, so that the path between the battery 12 and the mainboard 10 is disconnected, at this time, the device connected to the VPH_PWR pin of the PMIC 18 and the device connected to the VBAT pin of the PMIC 18 are powered off, thus the consumption of the power of the battery can be reduced.
[0075] The electronic device can include a mainboard provided with a first controller, and a battery connected with a first end of the mainboard, the battery including a first switch tube and a first integrated circuit, a first end of the first switch tube connected with a second pole of the battery, a second end of the first switch tube connected with a second end of the mainboard, and the first integrated circuit including a first pin connected with a signal generating end of the first controller, and a first end of the first integrated circuit connected with a third end of the first switch tube; wherein the first controller is configured to adjust a voltage of the first pin to generate a first signal on the first pin in a case that a path between the battery and the mainboard is conducted; and the first integrated circuit is configured to control the first switch tube to be disconnected to disconnect the path between the battery and the mainboard in a case that the first signal is detected on the first pin. Since the first switch tube and the first integrated circuit are arranged in the battery, and the first controller is arranged on the mainboard, the first controller can generate the first signal on the first pin by adjusting the voltage of the first pin in the case that the path between the battery and the mainboard is conducted, so as to trigger the first integrated circuit to control the first switch tube to be disconnected by the first signal, thereby disconnecting the path between the battery and the mainboard, and the battery can stop supplying power to all devices of the electronic device instead of stopping supplying power to part of the devices of the electronic device, so that the number of devices supplied by the battery can be reduced to reduce the power consumption of the battery, and the situation that the battery has low power for a long time in the case that the electronic device is not used for a long time can be reduced, and the phenomenon that the battery is bulged can be reduced, so that the use safety of the electronic device can be improved.
[0076] Of course, in order to enable the user to normally use the electronic device, the first integrated circuit 14 can also conduct the path between the battery 12 and the mainboard 10 according to the signal detected on the first pin 15 after the path between the battery 12 and the mainboard 10 is disconnected.
[0077] In some embodiments of the present application, as shown in FIG. 6, the mainboard 10 is further provided with a third switch tube 20, a first end of the third switch tube 20 connected with a first end of the first pin 15, and a second end of the third switch tube 20 grounded. A third end of the first integrated circuit 14 is connected with the second end of the third switch tube 20 through a first resistor 21; wherein the voltage of the first pin 15 in the case that the third switch tube 20 is disconnected is different from the voltage of the first pin 15 in the case that the third switch tube 20 is conducted; the third switch tube 20 is configured to be conducted when pressed to generate a second signal on the first pin 15; and the first integrated circuit 14 is further configured to control the first switch tube 13 to be conducted to conduct the path between the battery 12 and the mainboard 10 in the case that the second signal is detected on the first pin 15.
[0078] In some embodiments of this application, the resistance value of the first resistor 21 is greater than or equal to a preset resistance value.
[0079] In some embodiments of this application, the preset resistance value can be 1000 ohms (Ω). Of course, the preset resistance value can also be other threshold values, and this application does not limit this.
[0080] It is understandable that since the resistance value of the first resistor can be set to a value greater than or equal to the preset resistance value, that is, the resistance value of the first resistor can be set to a larger value, the leakage current between the battery and the motherboard can be reduced when the circuit between the battery and the motherboard is broken.
[0081] Thus, it can be seen that when it is necessary to connect the battery and the motherboard, a second signal can be generated on the first pin by controlling the on / off state of the third switch. In this way, the first integrated circuit can connect the battery and the motherboard according to the second signal, thereby avoiding the situation where the battery cannot supply power to the motherboard.
[0082] In some embodiments of this application, referring to FIG6, the first integrated circuit 14 further includes a power supply device 22, which is connected to the first pin 15; wherein the power supply device 22 is used to provide voltage to the first pin 15 when the connection between the battery 12 and the motherboard 10 is broken.
[0083] Thus, since a power supply device can also be set in the first integrated circuit, when the connection between the battery and the motherboard is broken, the power supply device can provide voltage to the first pin, so that a second signal can be generated on the first pin by controlling the on and off of the third switch. In this way, the first integrated circuit can conduct the connection between the battery and the motherboard according to the second signal, thus avoiding the situation where the battery cannot supply power to the motherboard.
[0084] In some embodiments of this application, referring to FIG6 and FIG7, the power supply device 22 includes: a power supply unit 23 for providing voltage to the first pin 15; a fourth switch 24, the first end of which is connected to the power supply unit 23, and the second end of which is connected to the first pin 15 through a second resistor 25; wherein, when the path between the battery 12 and the motherboard 10 is broken, the fourth switch 24 is turned on; when the path between the battery 12 and the motherboard 10 is open, the fourth switch 24 is turned off.
[0085] In some embodiments of this application, the fourth switch 24 described above may specifically be a MOS transistor.
[0086] In some embodiments of the present application, since the voltage provided by the power supply unit 23 can be relatively high, the second resistor 25 can be configured to divide the voltage provided by the power supply unit 23 to reduce the voltage provided by the power supply unit 23 to the first pin 15.
[0087] As can be seen, since the power supply device can be provided with a power supply unit and a fourth switch tube, the power supply device can provide the first pin with a voltage by controlling the fourth switch tube to be conductive when the path between the battery and the mainboard is disconnected, so that the voltage of the first pin can be adjusted by pressing the third switch tube to accurately generate the second signal and trigger the first integrated circuit to conduct the path between the battery and the mainboard through the second signal. Alternatively, the fourth switch tube can be controlled to be non-conductive when the path between the battery and the mainboard is conductive, so that the first pin can avoid affecting the components connected thereto.
[0088] In some embodiments of the present application, the third switch tube 20 can be a press switch tube which can be conductive when pressed and non-conductive when pressed.
[0089] In some embodiments of the present application, the third switch tube 20 can be connected to a physical key (such as a power key) of an electronic device, so that when a user presses the power key, it can be regarded as pressing the third switch tube 20.
[0090] In the embodiments of the present application, the third switch tube 20 is used to be conductive when pressed to adjust the voltage of the first pin 15 to generate the second signal on the first pin 15.
[0091] In some embodiments of the present application, when the third switch tube 20 is not pressed, the third switch tube 20 is non-conductive, and the voltage of the first pin 15 can be the voltage provided by the power supply device 22 to the first pin 15. When the third switch tube 20 is pressed, the third switch tube 20 is conductive, and at this time, a current loop can be formed by the power supply device 22, the first pin 15, the third switch tube 20, the first resistor 21, the third end (such as the VSS end) of the first integrated circuit 14, and the second pole of the battery 12. Since the resistance value of the current loop increases (i.e. the first resistor 21 is added), the voltage of the first pin 15 will decrease. It can be understood that when the third switch tube 20 is conductive, the voltage of the first pin 15 will decrease, so it can be understood that the third switch tube 20 can adjust the voltage of the first pin 15 when pressed.
[0092] In some embodiments of the present application, the first pin 15 has different voltages when the third switch tube 20 is off and when the third switch tube 20 is on; when the third switch tube 20 is pressed for a third time duration, the first pin 15 generates a second signal satisfying a second condition; the first integrated circuit 14 is specifically configured to control the first switch tube 13 to be on when the first pin 15 detects the second signal satisfying the second condition; the second condition includes that the voltage corresponding to the second signal changes once and the voltage corresponding to the second signal does not change within the third time duration.
[0093] Therefore, when the path between the battery and the mainboard needs to be turned on, the third switch tube can be controlled to be on for a third time duration, so that the first pin generates a second signal satisfying a second condition, and the first integrated circuit can turn on the path between the battery and the mainboard according to the second signal satisfying the second condition, instead of turning on the path between the battery and the mainboard according to an arbitrary signal, thereby avoiding the situation that the battery continues to supply power to the mainboard due to interference.
[0094] The process of the electronic device exiting the shipping mode will be described below with specific examples.
[0095] As shown in FIG. 8, the electronic device enters the shipping mode, and at this time, the fourth switch tube 24 is on, and the power supply unit 23 provides a voltage (for example, Vpu) to the first pin 15 through the second resistor 25. If the user wants the electronic device to exit the shipping mode, the user can press the power key of the electronic device to press the third switch tube 20, so that the third switch tube 20 can be on, and at this time, the power supply device 22, the first pin 15, the third switch tube 20, the first resistor 21, the third end (for example, the VSS end) of the first integrated circuit 14, and the second pole of the battery 12 can form a current loop, and because the resistance value of the current loop increases (that is, the first resistor 21 is added), the voltage of the first pin 15 will decrease to Vpu*(R1 / (Rp+R1)), where R1 is the resistance of the first resistor 21, and Rp is the resistance of the second resistor 25, to form a second signal (that is, a SWI signal). Therefore, when the time duration of the user pressing the power key reaches a third time duration (for example, T4), the second signal can satisfy a second condition, that is, the voltage value corresponding to the second signal changes from Vpu to Vpu*(R1 / (Rp+R1)), and is maintained at Vpu*(R1 / (Rp+R1)) within the third time duration, and then the first integrated circuit 14 can turn on the path between the battery 12 and the mainboard 10, at this time, the fourth switch tube 24 is off, and the PMIC 18 on the mainboard 10 can provide a voltage (for example, Vpu) to the first pin 15, so that the voltage of the first pin 15 is maintained at Vpu.
[0096] In the embodiment of the present application, if the first integrated circuit 14 receives the second signal, it can be considered that the exit from the shipping mode is required, and thus the first integrated circuit 14 can directly control the first switch tube 13 to be turned on to turn on the path between the battery 12 and the mainboard 10.
[0097] As can be seen, since the third switch tube can be arranged on the mainboard and the power supply device is arranged in the first integrated circuit, the voltage can be provided for the first pin by the power supply device in the case that the path between the battery and the mainboard is disconnected, and the voltage of the first pin can be adjusted by pressing the third switch tube to accurately generate the second signal and trigger the first integrated circuit to turn on the path between the battery and the mainboard by the second signal.
[0098] FIG. 9 shows a flowchart of a control method according to an embodiment of the present application, which is applied to the electronic device in the above embodiment. As shown in FIG. 9, the control method according to an embodiment of the present application can include the following steps 101 and 102.
[0099] In step 101, in the case that the path between the battery and the mainboard of the electronic device is turned on, the first controller of the mainboard adjusts the voltage of the first pin of the first integrated circuit of the electronic device to generate the first signal on the first pin.
[0100] In some embodiments of the present application, in the case that the electronic device is completed, the predetermined configuration can be performed in the electronic device, so that after the configuration is completed, the electronic device can determine whether to enter the shipping mode, and in the case that it is determined to enter the shipping mode, the electronic device can control the first controller to adjust the voltage of the first pin of the first integrated circuit.
[0101] In some embodiments of the present application, in the case that the electronic device is completed, the predetermined configuration can be performed in the electronic device, so that after the configuration is completed, the electronic device can determine whether to enter the shipping mode, and in the case that it is determined to enter the shipping mode, the electronic device can control the first controller to adjust the voltage of the first pin of the first integrated circuit.
[0102] It should be noted that the adjustment of the voltage of the first pin of the first integrated circuit by the first controller can refer to the specific description in the above embodiment, which will not be described herein again.
[0103] In step 102, in the case that the first signal is detected on the first pin, the first switch tube of the electronic device is turned off by the first integrated circuit to disconnect the path between the battery and the mainboard.
[0104] In some embodiments of the present application, the electronic device can directly control the first switch tube of the electronic device to be turned off by the first integrated circuit to disconnect the path between the battery and the mainboard when the electronic device detects the first signal on the first pin. Alternatively, the electronic device can first determine whether the first signal meets a condition (for example, the first condition in the following embodiments) when the electronic device detects the first signal on the first pin, and only control the first switch tube of the electronic device to be turned off by the first integrated circuit to disconnect the path between the battery and the mainboard when the first signal meets the condition.
[0105] In some embodiments of the present application, the step 101 can be implemented by the following step 101a, and the step 102 can be implemented by the following step 102a.
[0106] The step 101a is that when the path between the battery of the electronic device and the mainboard of the electronic device is turned on, the electronic device controls the control module to control the second switch tube to be turned on and off for a first number of times within a first time length.
[0107] In the embodiments of the present application, the duration of each time the second switch tube is turned on is greater than or equal to the second time length.
[0108] The step 102a is that the electronic device controls the first switch tube to be turned off by the first integrated circuit when the electronic device detects a first signal meeting a first condition on the first pin.
[0109] In the embodiments of the present application, the voltage of the first pin when the second switch tube is turned off is different from the voltage of the first pin when the second switch tube is turned on. The first condition includes that the number of pulses of the first signal within the first time length is the same as the first number of times, and the pulse duration of each pulse is greater than or equal to the second time length.
[0110] In the embodiments of the present application, if the first signal meets the first condition, it can be considered that the ship mode is required to be entered, that is, it is necessary to disconnect the path between the battery and the mainboard. Therefore, the electronic device can directly control the first switch tube to be turned off by the first integrated circuit to disconnect the path between the battery and the mainboard, so that the electronic device enters the ship mode.
[0111] As can be seen, when it is necessary to disconnect the power supply between the battery and the mainboard, the control module can control the second switch tube to be turned on and off for a first number of times within a first time length, and the duration of each time the second switch is turned on is greater than or equal to a second time length, to generate a first signal meeting a first condition on the first pin. Therefore, the first integrated circuit can disconnect the path between the battery and the mainboard according to the first signal meeting the first condition, rather than according to any signal, so that the condition that the battery stops supplying power to the mainboard due to interference can be avoided.
[0112] The embodiment of the present application provides a control method. In the case that the path between the battery and the mainboard of the electronic device is conducted, the electronic device can control the first controller of the mainboard to adjust the voltage of the first pin of the first integrated circuit of the electronic device, so as to generate a first signal on the first pin; and in the case that the first signal is generated on the first pin, the first switch tube of the electronic device is controlled by the first integrated circuit to be turned off, so as to disconnect the path between the battery and the mainboard. Since in the case that the path between the battery and the mainboard is conducted, the electronic device can generate the first signal on the first pin by adjusting the voltage of the first pin through the first controller, so as to trigger the first integrated circuit to control the first switch tube to be turned off through the first signal, so as to disconnect the path between the battery and the mainboard, thereby the battery can stop supplying power to all devices of the electronic device instead of stopping supplying power to part of the devices of the electronic device, and therefore the number of devices supplied by the battery can be reduced, so as to reduce the power consumption of the battery, so that the situation that the battery has low power for a long time in the case that the electronic device is not used for a long time can be reduced, and then the phenomenon that the battery is swollen can be reduced, and therefore the use safety of the electronic device can be improved.
[0113] In some embodiments of the present application, after the step 102, the control method provided by the embodiment of the present application can further include the following steps 201 and 202.
[0114] In the step 201, in the case that the pressing input of the user to the third switch tube of the mainboard is received, the electronic device adjusts the voltage of the first pin through the third switch tube, so as to generate a second signal on the first pin.
[0115] In the embodiment of the present application, the pressing input is used to control the third switch tube to be conducted.
[0116] In the step 202, in the case that the second signal is detected on the first pin, the electronic device controls the first switch tube to be conducted through the first integrated circuit, so as to conduct the path between the battery and the mainboard.
[0117] In some embodiments of the present application, in the case that the second signal is detected on the first pin, the electronic device can directly control the first switch tube to be conducted through the first integrated circuit, so as to conduct the path between the battery and the mainboard. Alternatively, in the case that the second signal is detected on the first pin, the electronic device can first determine whether the second signal meets a condition (for example, the second condition in the following embodiment), and in the case that the second signal meets the condition, the first switch tube is controlled to be conducted through the first integrated circuit, so as to conduct the path between the battery and the mainboard.
[0118] Therefore, the electronic device can provide the first pin with a voltage through the power supply device when the path between the battery and the mainboard is disconnected, and adjust the voltage of the first pin by pressing the third switch tube, so as to accurately generate the second signal on the first pin and accurately trigger the first integrated circuit to turn on the path between the battery and the mainboard through the second signal.
[0119] In some embodiments of the present application, the input duration of the pressing input is a third duration. Optionally, the step 202 can be implemented by the following step 202a.
[0120] In the step 202a, the electronic device controls the first switch tube to turn on through the first integrated circuit when the second signal meeting the second condition is detected on the first pin.
[0121] In the embodiments of the present application, the voltage of the first pin when the third switch tube is disconnected is different from the voltage of the first pin when the third switch tube is turned on, and the second condition includes that the voltage corresponding to the second signal changes once and the voltage corresponding to the second signal does not change within the third duration.
[0122] In the embodiments of the present application, if the second signal meets the second condition, it can be considered that the ship mode may be needed to exit, that is, the path between the battery and the mainboard may need to be turned on for power supply. Therefore, the electronic device can directly control the first switch tube to turn on through the first integrated circuit to turn on the path between the battery and the mainboard, so that the electronic device exits the ship mode.
[0123] Therefore, when the path between the battery and the mainboard needs to be turned on, the second signal meeting the second condition can be generated by controlling the third switch tube to be turned on within the third duration. In this way, the first integrated circuit can turn on the path between the battery and the mainboard according to the second signal meeting the second condition, instead of turning on the path between the battery and the mainboard according to any signal. Therefore, the situation that the battery continues to supply power to the mainboard due to interference can be avoided.
[0124] The control method provided in the embodiments of the present application can be executed by the control device. In the embodiments of the present application, the control method executed by the control device is taken as an example to illustrate the control device provided in the embodiments of the present application.
[0125] FIG. 10 shows a structural schematic diagram of the control device provided in the embodiments of the present application. As shown in FIG. 10, the control device 50 provided in the embodiments of the present application can comprise a control module 51 configured to, in the case that a passage between a battery of the control device 50 and a mainboard of the control device 50 is conducted, control a first controller of the mainboard to adjust a voltage of a first pin of a first integrated circuit of the control device 50 to generate a first signal on the first pin, and in the case that the first signal is detected on the first pin, control a first switch tube of the control device 50 to be turned off by the first integrated circuit to disconnect the passage between the battery and the mainboard.
[0126] The embodiments of the present application provide a control device. In the case that a passage between a battery and a mainboard is conducted, the control device can generate a first signal on a first pin by adjusting the voltage of the first pin through a first controller, and trigger the first integrated circuit to control a first switch tube to be turned off through the first signal, so as to disconnect the passage between the battery and the mainboard. Therefore, the battery can stop supplying power to all devices of the control device instead of stopping supplying power to part of the devices of the control device, and thus the number of devices supplied by the battery can be reduced to reduce the power consumption of the battery. In this way, the situation that the battery has low power for a long time can be reduced in the case that the control device is not used for a long time, and thus the situation that the battery is swollen can be reduced. Therefore, the use safety of the control device can be improved.
[0127] In a possible implementation, the control module 51 is specifically configured to control the first controller to control the second switch tube to be turned on and off a first number of times within a first time length, and the duration of each time of turning on the second switch tube is greater than or equal to a second time length. The control module 51 is specifically configured to, in the case that the first signal detected on the first pin meets a first condition, control the first switch tube to be turned off by the first integrated circuit. The voltage of the first pin in the case that the second switch tube is turned off is different from the voltage of the first pin in the case that the second switch tube is turned on. The first condition comprises that the number of pulses of the first signal within the first time length is the first number, and the pulse duration of each pulse is greater than or equal to the second time length.
[0128] In a possible implementation, the control module 51 is further configured to, in the case that the first signal is detected on the first pin, control the first switch tube of the control device 50 to be turned off by the first integrated circuit to disconnect the passage between the battery and the mainboard, and in the case that a pressing input of a user on a third switch tube of the mainboard is received, adjust the voltage of the first pin through the third switch tube to generate a second signal on the first pin. The pressing input is used to control the third switch tube to be turned on. The control module 51 is further configured to, in the case that the second signal is detected on the first pin, control the first switch tube to be turned on by the first integrated circuit to conduct the passage between the battery and the mainboard.
[0129] In a possible implementation, the input duration of the pressing input is a third duration. The control module 51 is specifically configured to control the first switch tube to be turned on by the first integrated circuit in a case where the second signal detected on the first pin meets a second condition. The voltage of the first pin is different in a case where the third switch tube is turned off and in a case where the third switch tube is turned on. The second condition includes that the voltage corresponding to the second signal changes once and the voltage corresponding to the second signal does not change within the third duration.
[0130] The control device in the embodiments of the present application can be an electronic device or a component in an electronic device, for example, an integrated circuit or a chip. The electronic device can be a terminal or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like, and the embodiments of the present application are not limited in this regard.
[0131] The control device in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiments of the present application are not limited in this regard.
[0132] The control device provided in the embodiments of the present application can implement each process of the method embodiment of FIG. 9, and details are not described herein again to avoid repetition.
[0133] In some embodiments of the present application, as shown in FIG. 11, the embodiments of the present application further provide an electronic device 60, which includes a processor 61 and a memory 62. The memory 62 has a program or instructions stored thereon, which can be run on the processor 61. The program or instructions are executed by the processor 61 to implement each process step of the control method embodiments and achieve the same technical effects. Details are not described herein again to avoid repetition.
[0134] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device described above.
[0135] FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing the embodiments of the present application.
[0136] The electronic device 100 includes, but is not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, and the like.
[0137] Those skilled in the art can understand that the electronic device 100 can also include a power supply (such as a battery) for powering various components, and the power supply can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The electronic device structure shown in FIG. 12 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown, or combine certain components, or different component arrangements, which will not be described here.
[0138] The processor 110 is configured to, in a case where a path between the battery and the mainboard of the electronic device is conducted, control a first controller of the mainboard to adjust a voltage of a first pin of a first integrated circuit of the electronic device to generate a first signal on the first pin, and in a case where the first signal is detected on the first pin, control a first switch tube of the electronic device to be turned off by the first integrated circuit, so as to disconnect the path between the battery and the mainboard.
[0139] The embodiments of the present application provide an electronic device. In a case where a path between a battery and a mainboard is conducted, the electronic device can generate a first signal on a first pin by controlling a first controller to adjust a voltage of the first pin, so as to trigger a first integrated circuit to control a first switch tube to be turned off by the first signal, so as to disconnect the path between the battery and the mainboard. Thus, the battery can stop supplying power to all devices of the electronic device, instead of stopping supplying power to part of the devices of the electronic device. Therefore, the number of devices powered by the battery can be reduced, so as to reduce the consumption of the battery, which can reduce the situation that the battery has a low power for a long time in a case where the electronic device is not used for a long time, and further can reduce the phenomenon that the battery is swollen. Thus, the use safety of the electronic device can be improved.
[0140] In some embodiments of the present application, the processor 110 is specifically configured to control the first controller to control the second switch tube to be turned on and off a first number of times within a first time length, and a duration of each time the second switch tube is turned on is greater than or equal to a second time length.
[0141] The processor 110 is specifically configured to, in a case where the first signal detected on the first pin meets a first condition, control the first switch tube to be turned off by the first integrated circuit.
[0142] The first pin has different voltages in a case where the second switch tube is turned off and in a case where the second switch tube is turned on; and the first condition includes that the number of pulses of the first signal within a first time length is a first number and each pulse has a pulse time length greater than or equal to a second time length.
[0143] In some embodiments of the present application, the processor 110 is further configured to, in a case where the first signal is detected on the first pin, control the first switch tube of the electronic device to be turned off by the first integrated circuit, and then, in a case where a press input of a user on the third switch tube of the mainboard is received, adjust the voltage of the first pin by the third switch tube to generate a second signal on the first pin, the press input being used to control the third switch tube to be turned on; and in a case where the second signal is detected on the first pin, control the first switch tube to be turned on by the first integrated circuit to turn on the path between the battery and the mainboard.
[0144] In some embodiments of the present application, the press input has a third time length. The processor 110 is specifically configured to, in a case where the second signal detected on the first pin meets a second condition, control the first switch tube to be turned on by the first integrated circuit.
[0145] The first pin has different voltages in a case where the third switch tube is turned off and in a case where the third switch tube is turned on; and the second condition includes that the voltage corresponding to the second signal changes once and the voltage corresponding to the second signal does not change within the third time length.
[0146] It should be understood that in the embodiments of the present application, the input unit 104 can include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. 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 can include two parts of a touch detection device and a touch controller. The other input devices 1072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here.
[0147] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 109 can include a volatile memory or a non-volatile memory, or the memory 109 can include both a volatile memory and a non-volatile memory. The non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct rambus RAM (DRRAM). The memory 109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.
[0148] The processor 110 can include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.
[0149] The embodiments of the present application also provide a readable storage medium, the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned control method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0150] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0151] The embodiment of the application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, realizes various processes of the control method embodiments, and can achieve the same technical effects. To avoid repetition, details are not described here.
[0152] It should be understood that the chip mentioned in the embodiment of the application can also be referred to as a system chip, a system chip, a chip system or a system on chip, etc.
[0153] The embodiment of the application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to realize various processes of the control method embodiments and can achieve the same technical effects. To avoid repetition, details are not described here.
[0154] The device embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e. they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0155] As used herein, "one embodiment", "an embodiment", or "one or more embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Moreover, it is appreciated that the use of a term "in one embodiment" does not necessarily refer to the same embodiment.
[0156] In the specification provided herein, a large number of specific details are described. However, it can be understood that the embodiments of the application can be practiced without these specific details. In some examples, well-known methods, structures and techniques are not shown in detail in order not to obscure the understanding of the specification.
[0157] In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word comprising does not exclude the presence of elements or steps other than those listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of both hardware and software, and any combination thereof. In a unitary claim, several devices, apparatuses or means can be listed, comprising means for carrying out a certain task. The use of the term "means" does not limit the scope of the claim to only a device or apparatus. The word "comprising" does not exclude other elements or steps than those listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of both hardware and software, and any combination thereof. In a unitary claim, several devices, apparatuses or means can be listed, comprising means for carrying out a certain task. The use of the term "means" does not limit the scope of the claim to only a device or apparatus. The word "first", "second", "third", etc. does not necessarily indicate any order or precedence. The use of such terms is solely for the purpose of naming different elements.
[0158] Finally, it should be noted that the above-mentioned embodiments are merely intended for describing and illustrating, not limiting the technical solutions of the present application; even if the technical solutions of the present application have been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An electronic device, comprising: A motherboard, on which a first controller is mounted; A battery, wherein the first terminal of the battery is connected to the first terminal of the motherboard, the battery includes a first switching transistor and a first integrated circuit, the first terminal of the first switching transistor is connected to the second terminal of the battery, the second terminal of the first switching transistor is connected to the second terminal of the motherboard, the first integrated circuit includes a first pin, the first pin is connected to the signal generation terminal of the first controller, and the first terminal of the first integrated circuit is connected to the third terminal of the first switching transistor; The first controller is configured to adjust the voltage of the first pin to generate a first signal on the first pin when the path between the battery and the motherboard is open. The first integrated circuit is configured to control the first switch to turn off when the first signal is detected on the first pin, thereby disconnecting the path between the battery and the motherboard.
2. The electronic device according to claim 1, wherein, The second terminal of the first integrated circuit is connected to the first terminal of the battery, and the third terminal of the first integrated circuit is connected to the second terminal of the battery.
3. The electronic device according to claim 1, wherein, The first controller includes: The second switch has its first terminal connected to the first pin via the signal generation terminal of the first controller, and its second terminal grounded. A control module, wherein the control module is connected to the third terminal of the second switching transistor; The voltage at the first pin is different when the second switch is off and when the second switch is on. The control module is used to control the second switch to turn on and off for the first time within a first duration, and the duration of each time the second switch is turned on is greater than or equal to a second duration, so as to generate the first signal that satisfies the first condition on the first pin. The first integrated circuit is specifically used to control the first switch to turn off when a first signal satisfying the first condition is detected on the first pin. The first condition includes: the number of pulses of the first signal within the first duration is the same as the number of the first count, and the duration of each pulse is greater than or equal to the second duration.
4. The electronic device according to claim 3, wherein, The motherboard also includes: A power management integrated circuit (PMIC), wherein the PMIC is connected to the first pin via a diode; The PMIC is connected to the positive terminal of the diode, and the first pin is connected to the negative terminal of the diode. The PMIC is used to provide voltage to the first pin when the path between the battery and the motherboard is open.
5. The electronic device according to claim 1, wherein, The motherboard is also equipped with a third switching transistor, the first end of which is connected to the first pin, and the second end of which is grounded. The third terminal of the first integrated circuit is connected to the second terminal of the third switching transistor through a first resistor; The voltage at the first pin is different when the third switch is off and when the third switch is on. The third switch is turned on when pressed to generate a second signal on the first pin; The first integrated circuit is further configured to control the first switch to turn on when the second signal is detected on the first pin, so as to connect the battery and the motherboard.
6. The electronic device according to claim 5, wherein, The first integrated circuit also includes: A power supply device, wherein the power supply device is connected to the first pin; The power supply device is used to provide voltage to the first pin when the connection between the battery and the motherboard is broken.
7. The electronic device according to claim 6, wherein, The power supply device includes: A power supply unit, wherein the power supply unit is used to provide voltage to the first pin; The fourth switching transistor has its first terminal connected to the power supply unit and its second terminal connected to the first pin via a second resistor. Specifically, when the path between the battery and the motherboard is disconnected, the fourth switch is turned on; when the path between the battery and the motherboard is open, the fourth switch is turned off.
8. The electronic device according to claim 5, wherein, The voltage at the first pin is different when the third switch is off and when the third switch is on. When the third switch is pressed within a third time period, a second signal satisfying the second condition is generated on the first pin; The first integrated circuit is specifically used to control the first switch to turn on when a second signal satisfying the second condition is detected on the first pin; The second condition includes: the voltage corresponding to the second signal changes once, and the voltage corresponding to the second signal does not change within the third time period.
9. The electronic device according to claim 5, wherein, The resistance value of the first resistor is greater than or equal to a preset resistance value.
10. The electronic device according to claim 1, wherein, The first switching transistor includes a metal-oxide-semiconductor field-effect transistor.
11. A control method applied to an electronic device as described in any one of claims 1 to 10, the method comprising: When the circuit between the battery of the electronic device and the motherboard of the electronic device is connected, the first controller controlling the motherboard adjusts the voltage of the first pin of the first integrated circuit of the electronic device to generate a first signal on the first pin. When a first signal is detected on the first pin, the first switch of the control electronic device is turned off to disconnect the circuit between the battery and the motherboard.
12. A control device comprising: The control module is used to control a first controller on the motherboard to adjust the voltage of a first pin of a first integrated circuit of the control device to generate a first signal on the first pin when the path between the battery and the motherboard of the control device is open; and to control a first switch of the control device to turn off when the first signal is detected on the first pin, so as to disconnect the path between the battery and the motherboard.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of claim 11.
14. A readable storage medium on which a program or instructions are stored, wherein the program or instructions, when executed by a processor, implement the steps of the method of claim 11.
15. A chip comprising a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the method of claim 11.
16. A computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the method of claim 11.
Citation Information
Patent Citations
Electronic equipment, control method thereof and storage medium
CN111782028A
Leakage protection circuit and electronic equipment
CN114336531A
Electronic device
CN114928146A
Electronic device
CN118739493A
Battery pack
US20160164328A1