Charging switching circuit and smart wearable device
By introducing a charging switching circuit into the mobile terminal and using the charging switching module and the switch module to automatically switch the charging path, the problem of a single charging method of the mobile terminal is solved, the diversity and safety of forward and reverse charging are achieved, and the cost is reduced. .
Patent Information
- Application Number
- CN202011359233.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-26
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-11-26
AI Technical Summary
The charging method of mobile terminals is relatively simple, lacks diversity, and cannot meet users' needs for long-term use.
A charging switching circuit is designed, including a charging switching module, which can automatically switch the forward or reverse charging circuit according to the connection mode between the power supply device and the mobile terminal, and realize forward charging and reverse charging output. The circuit includes a switch module and a MOS tube, which triggers different charging paths through different connection methods to ensure charging safety and diversity.
It enriches the charging methods of mobile terminals, provides forward and reverse charging output, improves the flexibility and safety of charging, eliminates the need to add additional ports, reduces costs, and improves the reasonable utilization of power.
Smart Images

Figure CN114552688B
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a charging switching circuit and a smart wearable device. Background Art
[0002] With the rapid development of electronic technology, mobile terminals (mobile phones, smart wearable devices, etc.) have become an indispensable part of users' daily lives. In order to allow users to use mobile terminals for a longer period of time, the built-in battery capacity of mobile terminals is getting larger and larger to ensure the battery life of mobile terminals. Currently, mobile terminals can only be charged through power adapters compatible with them, and the charging method of mobile terminals is relatively simple. Summary of the invention
[0003] The embodiments of the present application disclose a charging switching circuit and a smart wearable device, which can provide two charging modes: forward charging and reverse charging output, thereby enriching the charging methods of mobile terminals.
[0004] The embodiment of the present application discloses a charging switching circuit, which is arranged in a mobile terminal and includes:
[0005] First port;
[0006] Second port;
[0007] a charging switching module, arranged between the first port and the second port, for, when the first port is connected to a power supply device, conducting a positive charging circuit between the first port and the second port corresponding to the connection mode according to the connection mode between the power supply device and the first port, so that a first current input by the power supply device passes through the positive charging circuit and conforms to the positive and negative directions of the second port, so as to supply power to the battery of the mobile terminal;
[0008] The charging switching module is further used to conduct a reverse charging circuit between the first port and the second port when the first port is connected to a device to be charged, so that the second current input by the battery through the second port supplies power to the device to be charged through the reverse charging circuit.
[0009] In one embodiment, the charging switching module includes a first switch module and a second switch module;
[0010] The second switch module is used to be in a conducting state when the first port is connected to a device to be charged, so as to trigger and turn on a switch in the first switch module to form a reverse charging loop between the first port and the second port.
[0011] In one embodiment, the first port includes a first pin and a second pin, the first pin is used to connect to the positive terminal of the device to be charged, and the second pin is used to connect to the negative terminal of the device to be charged;
[0012] The second port includes a third pin and a fourth pin, the third pin is connected to the positive terminal of the battery, and the fourth pin is connected to the negative terminal of the battery.
[0013] In one embodiment, the first switch module includes a first field effect MOS transistor, a second MOS transistor, a third MOS transistor, a fourth MOS transistor, a first resistor, a second resistor, a third resistor and a fourth resistor, and the second switch module includes a fifth MOS transistor and a fifth resistor; wherein,
[0014] The drain of the first MOS tube and the drain of the fourth MOS tube are respectively connected to the first pin;
[0015] The drain of the second MOS tube and the drain of the third MOS tube are respectively connected to the second pin;
[0016] The source of the first MOS tube and the source of the second MOS tube are respectively connected to the third pin;
[0017] The source of the third MOS tube and the source of the fourth MOS tube are respectively connected to the fourth pin;
[0018] The gate of the first MOS tube is connected to the second pin through the first resistor;
[0019] The gate of the second MOS tube is connected to the first pin through the second resistor;
[0020] The gate of the third MOS tube is connected to the first pin through the third resistor;
[0021] The gate of the fourth MOS tube is connected to the second pin through the fourth resistor;
[0022] The second switch module is also used to be in a conducting state when the first port is connected to a device to be charged, so as to trigger the first MOS tube and the third MOS tube to be turned on, thereby forming a reverse charging loop between the first port and the second port.
[0023] In one embodiment, the second switch module includes a fifth MOS tube, a fifth resistor and a voltage input terminal, the drain of the fifth MOS tube is connected to the second pin, the source of the fifth MOS tube is connected to the fourth pin, and the gate of the fifth MOS tube is connected to the voltage input terminal through the fifth resistor;
[0024] The fifth MOS transistor is used to be turned on when a first level is input to the voltage input terminal, and to be turned off when a second level is input to the voltage input terminal.
[0025] In one embodiment, the fifth MOS transistor is an N-type MOS transistor, the first level is a high level, the second level is a low level, or
[0026] The fifth MOS transistor is a P-type MOS transistor, the first level is a low level, and the second level is a high level;
[0027] The first MOS tube and the second MOS tube are P-type MOS tubes, and the third MOS tube and the fourth MOS tube are N-type MOS tubes.
[0028] In one embodiment, the second switch module is further configured to be in a disconnected state when the first port is connected to a power supply device;
[0029] The first switch module is used for, when the first port is connected to a power supply device, if the power supply device and the first port are in a first connection mode, turning on the switch corresponding to the first connection mode to form a first positive charging circuit between the first port and the second port; if the power supply device and the first port are in a second connection mode, turning on the switch corresponding to the second connection mode to form a second positive charging circuit between the first port and the second port.
[0030] In one embodiment, the first connection method is that the positive interface of the power supply device is connected to the first pin, and the negative interface is connected to the second pin; the second connection method is that the positive interface of the power supply device is connected to the second pin, and the positive interface is connected to the first pin.
[0031] In one embodiment, the first MOS transistor and the third MOS transistor are in a conducting state when the power supply device and the first port are in a first connection mode, and are in a disconnected state when the power supply device and the first port are in a second connection mode;
[0032] The second MOS transistor and the fourth MOS transistor are in a disconnected state when the power supply device and the first port are in a first connection mode, and are in a conductive state when the power supply device and the first port are in a second connection mode.
[0033] An embodiment of the present application discloses a smart wearable device, comprising a charging switching circuit and a battery as described in any of the above embodiments.
[0034] In one embodiment, the smart wearable device further includes a processor, and the processor is connected to the charging switching circuit and the battery respectively;
[0035] The processor is used to determine that the charging switching circuit is connected to a power supply device when a charging signal is received through the charging switching circuit, and determine that the working state of the charging switching circuit and the battery is a forward charging state;
[0036] The processor is further configured to determine that the working state of the charging switching circuit and the battery is a reverse charging state when it is detected that the charging switching circuit is connected to a device to be charged.
[0037] The charging switching circuit and the smart wearable device disclosed in the embodiments of the present application are arranged in a mobile terminal. The charging switching circuit includes a first port, a second port and a charging switching module. The charging switching module is arranged between the first port and the second port. When the first port is connected to a power supply device, according to the connection mode between the power supply device and the first port, the forward charging circuit between the first port and the second port corresponding to the connection mode is turned on, so that the first current input by the power supply device passes through the forward charging circuit and meets the positive and negative poles of the second port to power the battery of the mobile terminal. The mobile terminal can be charged normally under different connection modes between the power supply device and the first port, thereby ensuring the safety of charging. The charging switching module is also used for, when the first port is connected to a device to be charged, turning on the reverse charging circuit between the first port and the second port, so that the second current input by the battery through the second port passes through the reverse charging circuit to power the device to be charged, thereby realizing the reverse charging of the connected device to be charged by the mobile terminal. Two charging modes of forward charging and reverse charging output can be provided, thereby enriching the charging mode of the mobile terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 This is an application scenario diagram of a mobile terminal performing forward charging and reverse charging in one embodiment;
[0040] Figure 2 is a structural block diagram of a charging switching circuit in one embodiment;
[0041] Figure 3 It is a structural block diagram of a charging switching circuit in another embodiment;
[0042] Figure 4 It is a structural block diagram of a charging switching circuit in another embodiment;
[0043] Figure 5 A structural block diagram of a smart wearable device in an embodiment;
[0044] Figure 6 FIG. 4 is a flow chart of a charging switching method in one embodiment. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0047] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first port may be referred to as a second port, and similarly, a second port may be referred to as a first port. Both the first port and the second port are ports, but they are not the same port.
[0048] Figure 1 FIG. 1 is an application scenario diagram of a mobile terminal performing forward charging and reverse charging in an embodiment. Figure 1 As shown, when the mobile terminal 110 is connected to the power supply device 120, the power supply device 120 can output a charging current and / or a charging voltage that meets the charging requirements to the mobile terminal 110, so as to charge the mobile terminal 110 and realize forward charging of the mobile terminal 110. When the mobile terminal 110 is connected to the device to be charged 130, the mobile terminal 110 can output a charging current and / or a charging voltage that meets the charging requirements to the device to be charged 130, so as to charge the device to be charged 130 and realize reverse charging of the mobile terminal 110.
[0049] Optionally, the power supply device 120 may include but is not limited to an adapter, a mobile power supply, etc., the mobile terminal 110 may include but is not limited to a smart wearable device, a mobile phone, a tablet computer, etc., and the device to be charged 130 may include but is not limited to other smart wearable devices, mobile phones, tablet computers, and other terminal devices. The embodiment of the present application does not specifically limit the power supply device 120, the mobile terminal 110, and the device to be charged 130. The power supply device 120 can supply power to the mobile terminal 110 by wired charging or wireless charging, and the mobile terminal 110 can also supply power to the device to be charged 130 by wired charging or wireless charging.
[0050] In an embodiment of the present application, when the mobile terminal 110 is connected to the power supply device 120, the power supply device 120 can output a first current to the mobile terminal 110 to power the battery of the mobile terminal 110, and when the mobile terminal 110 is connected to the device to be charged 130, the battery of the mobile terminal 110 can output a second current to the device to be charged 130 to power the device to be charged 130.
[0051] like Figure 2 As shown, in one embodiment, a charging switching circuit 200 is provided, which can be arranged in a mobile terminal and coupled to a battery 300 in the mobile terminal. The charging switching circuit 200 may include a first port 210, a charging switching module 220 and a second port 230, and the charging switching module 220 may be arranged between the first port 210 and the second port 230, and connected to the first port 210 and the second port 230 respectively.
[0052] The charging switching module 220 is used to connect the positive charging circuit corresponding to the connection mode between the first port 210 and the second port 230 when the first port 210 is connected to the power supply device, according to the connection mode between the power supply device and the first port 210, so that the first current input by the power supply device passes through the positive charging circuit and conforms to the positive and negative directions of the second port, so as to power the battery 230 of the mobile terminal.
[0053] In some embodiments, a magnetic charging method may be used between the mobile terminal and the power supply device, and the magnetic charging method is to connect the charging cable to the magnetic charging interface for charging by attracting the male and female magnets. Optionally, the first port may include a pair of connection wire pads, which may be used to connect to the pads of the male magnet suction head to receive the charging current and charging voltage output by the magnetic power supply device.
[0054] Optionally, the magnetic power supply device may include a plug and a charging cable, wherein a male magnet head may be provided at one end of the charging cable, and the other end of the charging cable may be pluggable and connected to the plug. When the plug of the magnetic power supply device is plugged into the socket, it can receive AC voltage / current from the socket. The plug may include a power conversion module, which can convert the AC voltage / current to obtain a stable DC voltage / current, and transmit it to the connected first port through the charging cable. It should be noted that other charging methods besides magnetic charging may be used between the mobile terminal and the power supply device, such as plug-in charging, which is not limited here.
[0055] In some embodiments, the power supply device may include a positive interface and a negative interface, and the first port may include a first pin and a second pin. The first pin can be connected to the positive interface or the negative interface of the power supply device, and the second pin can be connected to another interface with opposite polarity in the power supply device. The first pin and the second pin are connected to interfaces with different polarities, which can correspond to different connection methods.
[0056] The charging switching module 220 can conduct the positive charging circuit corresponding to the connection mode between the first port 210 and the second port 230 according to the connection mode between the power supply device and the first port 210. Different connection modes can correspond to different positive charging circuits, so that the flow direction of the first current input by the power supply device can be switched to ensure that the flow direction of the first current is consistent with the positive and negative directions of the second port.
[0057] When the first port 210 is connected to the power supply device, the battery 300 of the mobile terminal can be in a charging state. Optionally, the second port may include a third pin and a fourth pin, wherein the third pin can be connected to the positive terminal of the battery 300, and the fourth pin can be connected to the negative terminal of the battery 300. Further, the fourth pin is a ground pin, which is connected to the ground terminal. The charging switching module 220 can control the flow direction of the first current input by the power supply device so that the flow direction of the first current conforms to the direction from the third pin-load (i.e., the above-mentioned battery 300)-fourth pin, thereby realizing charging of the battery 300. The mobile terminal can be charged normally under different connection modes between the power supply device and the first port, preventing the mobile terminal from being burned during charging, and ensuring the safety of charging.
[0058] The charging switching module 220 is also used to conduct the reverse charging loop between the first port 210 and the second port 230 when the first port 210 is connected to the device to be charged, so that the second current input by the battery 300 through the second port 230 can power the device to be charged through the reverse charging loop.
[0059] When the first port 210 is connected to the device to be charged, the battery 300 of the mobile terminal may be in a discharge state. The second current of the battery 300 outputs the second current to the charging switching module 220 through the second port 230, and after the reverse charging loop is turned on, it can be output to the device to be charged through the first port 210 to achieve reverse charging of the device to be charged.
[0060] In some embodiments, the charging switching circuit 200 can also be connected to the processor of the mobile terminal, which can control the device connected to the first port 210 to control the switching of the charging switching circuit 200 and the working state of the battery 300, wherein the working state may include a forward charging state and a reverse charging state.
[0061] When the first port 210 is connected to a power supply device, the power supply device can send a charging signal to the processor through the first port, and the processor can determine that the first port 210 is connected to the power supply device according to the charging signal, and control the charging switching circuit 200 and the battery 300 to be in a forward charging state, and the power supply device performs forward charging on the battery 300 through the charging switching circuit 200. When the processor detects that the first port 210 is connected to a device to be charged, it can control the charging switching circuit 200 and the battery 300 to be in a reverse charging state, and the battery 300 performs reverse charging on the device to be charged through the charging switching circuit 200.
[0062] Optionally, the user can also switch the working state of the charging switching circuit 200 and the battery 300 according to actual needs. If it is detected that the user switches to the reverse charging mode, the charging switching circuit 200 can be controlled to conduct the reverse charging circuit, and the battery 300 reversely charges the charging device through the charging switching circuit 200. If it is detected that the user switches to the forward charging module, the charging switching circuit 200 can be controlled to conduct the forward charging circuit, and the power supply device charges the battery 300 through the charging switching circuit 200.
[0063] It should be noted that the second port 230 and the battery 300 can be directly connected or indirectly connected, and other components such as capacitors, resistors, etc. can be arranged between the second port 230 and the battery 300. For example, a boost / buck circuit can be arranged between the second port 230 and the battery 300, and the voltage output by the second port 230 can be transformed by the boost / buck circuit to obtain a voltage that meets the charging requirements of the battery 300. The voltage output by the battery 300 can also be transformed by the boost / buck circuit, and the transformed voltage is then input into the charging switching circuit 200 through the second port 230, etc., which is not limited here.
[0064] In the embodiment of the present application, the mobile terminal can be charged normally in different connection modes between the power supply device and the first port, ensuring the safety of charging, and can reversely power the connected device to be charged, providing two charging modes of forward charging and reverse charging, enriching the charging mode of the mobile terminal. And the two charging modes of forward charging and reverse charging can be realized without adding additional ports, reducing the cost.
[0065] like Figure 3 As shown, in one embodiment, the charging switching module 220 may include a first switch module 222 and a second switch module 224, wherein the first switch module 222 may be connected to the first port 210 and the second port 230 respectively, and the second switch module 224 may be connected to the first port 210 and the second port 230 respectively.
[0066] The second switch module 224 is used to be in a conducting state when the first port 210 is connected to a device to be charged, so as to trigger the switch in the first switch module 222 to form a reverse charging loop between the first port 210 and the second port 230 .
[0067] When the first port 210 is connected to the device to be charged, the charging switching circuit 200 is in a reverse charging state, the first port 210 can be used as an output terminal, the second port 230 can be used as an input terminal, the first pin of the first port 210 can be used to connect to the positive terminal of the device to be charged, and the second pin of the first port 210 can be used to connect to the negative terminal of the device to be charged. The second switch module 224 can trigger the reverse charging loop between the first port 210 and the second port 230, and the second current output by the battery 300 can be transmitted in the direction of the third pin of the second port 230-the first pin of the first port 210-the device to be charged-the second pin of the first port 210-the fourth pin of the second port 230.
[0068] like Figure 4 As shown, in one embodiment, the first port 210 may include a first pin T1 and a second pin T2, and the second port 230 may include a third pin T3 and a fourth pin T4, wherein the third pin T3 may be connected to the positive terminal of the battery, and the fourth pin T4 may be connected to the negative terminal of the battery. When the first port 210 is connected to a device to be charged, the first pin T1 may be connected to the positive terminal of the device to be charged, and the second pin T2 may be connected to the negative terminal of the device to be charged.
[0069] The first switch module 222 includes a first MOS transistor (Metal-Oxide-Semiconductor Field-Effect Transistor) Q1, a second MOS transistor Q2, a third MOS transistor Q3, a fourth MOS transistor Q4, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4.
[0070] The drain of the first MOS transistor Q1 and the drain of the fourth MOS transistor Q4 are respectively connected to the first pin T1;
[0071] The drain of the second MOS transistor Q2 and the drain of the third MOS transistor Q3 are respectively connected to the second pin T2;
[0072] The source of the first MOS transistor Q1 and the source of the second MOS transistor Q2 are respectively connected to the third pin T3;
[0073] The source of the third MOS transistor Q3 and the source of the fourth MOS transistor Q4 are respectively connected to the fourth pin T4;
[0074] The gate of the first MOS tube Q1 is connected to the second pin T2 through the first resistor R1;
[0075] The gate of the second MOS tube Q2 is connected to the first pin T1 through the second resistor R2;
[0076] The gate of the third MOS tube Q3 is connected to the first pin T1 through the third resistor R3;
[0077] The gate of the fourth MOS transistor Q4 is connected to the second pin T2 via the fourth resistor R4.
[0078] The second switch module 224 is also used to be in a conducting state when the first port 210 is connected to a device to be charged, so as to trigger the first MOS transistor Q1 and the third MOS transistor Q3 to conduct, thereby forming a reverse charging loop between the first port 210 and the second port 230 .
[0079] After the first MOS tube Q1 and the third MOS tube Q3 are turned on, the flow direction of the second current output by the battery can be the positive terminal of the battery-the third pin T3-the first MOS tube Q1-the first pin T1-the positive terminal of the device to be charged-the negative terminal of the device to be charged-the second pin T2-the third MOS tube Q3-the fourth pin T4-the negative terminal of the battery, thereby realizing reverse charging of the device to be charged.
[0080] Please Figure 4As shown, in one embodiment, the second switch module 224 may include a fifth MOS transistor Q5, a fifth resistor R5 and a voltage input terminal VS1, wherein the drain of the fifth MOS transistor Q5 is connected to the second pin T2, the source of the fifth MOS transistor Q5 is connected to the fourth pin T4, and the gate of the fifth MOS transistor is connected to the voltage input terminal VS1 through the fifth resistor R5.
[0081] The fifth MOS tube Q5 is used to be turned on when the voltage input terminal VS1 inputs the first level, and to be turned off when the voltage input terminal VS1 inputs the second level. In one embodiment, the fifth MOS tube Q5 may be an N-type MOS tube, the first level may be a high level, and the second level may be a low level. When the first port 210 is connected to the device to be charged, the voltage input terminal VS1 may input a high level (e.g., 5V (volts) etc.) to the gate of the fifth MOS tube Q5. Based on the conduction principle of the N-type MOS tube, the fifth MOS tube Q5 may be turned on, and the second pin T2 and the fourth pin T4 are in a conduction state. Since the fourth pin T4 is a ground pin, the second pin T2 may be connected to the ground terminal, so that the second pin T2 is at a low level.
[0082] In another embodiment, the fifth MOS transistor Q5 may be a P-type MOS transistor, the first level may be a low level, and the second level may be a high level. When the first port 210 is connected to the device to be charged, the voltage input terminal VS1 may input a low level (e.g., 0V, etc.) to the gate of the fifth MOS transistor Q5. Based on the conduction principle of the P-type MOS transistor, the fifth MOS transistor Q5 may be turned on, and the second pin T2 and the fourth pin T4 are in a conducting state. Since the fourth pin T4 is a ground pin, the second pin T2 may be connected to the ground terminal, so that the second pin T2 is at a low level.
[0083] Optionally, the first MOS transistor Q1 and the second MOS transistor Q2 may be P-type MOS transistors, and the third MOS transistor Q3 and the fourth MOS transistor Q4 may be P-type MOS transistors. After the second pin T2 is connected to the ground terminal, the second pin T2 may input a low level to the gate of the first MOS transistor Q1. Based on the conduction principle of the P-type MOS transistor, the first MOS transistor Q1 is turned on, and the third pin T3 and the first pin T1 are in a conduction state. The third pin T3 may output a high level to the first pin T1, and the first pin T1 may input a high level to the gate of the third MOS transistor Q3. Based on the conduction principle of the N-type MOS transistor, the third MOS transistor Q3 is turned on.
[0084] The gate of the second MOS tube is connected to the first pin T1. When the first pin T1 outputs a high level, the second MOS tube Q2 is turned off. The gate of the fourth MOS tube Q4 is connected to the second pin. When the second pin T2 outputs a low level, the fourth MOS tube Q4 is turned off.
[0085] In some embodiments, when the fifth MOS tube Q5 is in the on state, the fifth MOS tube Q5 is connected in parallel with the third MOS tube Q3, and the second current output by the battery passes through the third pin T3, the first MOS tube Q1, the first pin T1, the device to be charged, and the second pin T2, and then flows to the path where the third MOS tube Q3 and the path where the fifth MOS tube Q5 are located, and then to the fourth pin T4.
[0086] The fifth MOS transistor Q5 triggers the first MOS transistor Q1 and the third MOS transistor Q3 to conduct, so as to form a reverse charging loop between the first port 210 and the second port 230, so that the gates of the first MOS transistor Q1 and the third MOS transistor Q3 are not suspended, and the MOS transistors are prevented from being broken down, thereby ensuring the safety of the circuit. Furthermore, the fifth MOS transistor Q5 can ensure that the output polarity of the first pin T1 and the second pin T2 is fixed, the first pin T1 is fixed to output the positive pole, and the second pin T2 is fixed to output the negative pole, thereby ensuring the stability of current transmission.
[0087] In some embodiments, when the load of the charging switching circuit 200 is established to be stable, that is, when the second port 230 and the first port 210 form a stable current transmission path, the second switch module 224 can be in a disconnected state. The voltage input terminal VS1 can input a second level to the gate of the fifth MOS tube Q5. If the fifth MOS tube Q5 is an N-type MOS tube, a low level can be input, and the fifth MOS tube Q5 is turned off. If the fifth MOS tube Q5 is a P-type MOS tube, a high level can be input, and the fifth MOS tube Q5 is turned off. The negative end current output by the second pin T2 can all flow through the third MOS tube Q3 and then to the fourth pin T4.
[0088] In some embodiments, the voltage input terminal VS1 can be controlled by a processor. After detecting that the first port 210 is connected to a device to be charged, the processor can control the voltage input terminal VS1 to output a first level. After detecting that the second port 230 and the first port 210 form a stable current transmission path, the processor can control the voltage input terminal VS1 to output a second level. When detecting that the first port 210 is connected to a power supply device, the processor can control the voltage input terminal VS1 to output a second level.
[0089] In other embodiments, the voltage input terminal VS1 may also be connected via a GPIO (General Purpose Input Output)
[0090] In the embodiment of the present application, through the first switch module and the second switch module, when the first port is connected to the device to be charged, the reverse charging circuit between the first port and the second port can be turned on, and the mobile terminal can reversely charge the device to be charged without adding additional ports, thereby reducing costs, enriching the charging methods of the mobile terminal, and improving the reasonable utilization rate of power in the mobile terminal.
[0091] In some embodiments, the second switch module 224 is further configured to be in a disconnected state when the first port 210 is connected to a power supply device.
[0092] The first switch module 222 is used for, when the first port 210 is connected to a power supply device, if the power supply device and the first port 210 are in a first connection mode, turning on the switch corresponding to the first connection mode to form a first positive charging circuit between the first port 210 and the second port 230; if the power supply device and the first port 210 are in a second connection mode, turning on the switch corresponding to the second connection mode to form a second positive charging circuit between the first port 210 and the second port 230.
[0093] Please Figure 4 As shown, in one embodiment, the first connection mode may be that the positive electrode interface of the power supply device is connected to the first pin T1 of the first port 210, and the negative electrode interface of the power supply device is connected to the second pin T2 of the first port 210. The second connection mode may be that the positive electrode interface of the power supply device is connected to the second pin T2 of the first port 210, and the negative electrode interface of the power supply device is connected to the first pin T1 of the first port 210.
[0094] The first MOS transistor Q1 and the third MOS transistor Q3 are in a conducting state when the power supply device and the first port 210 are in a first connection mode, and are in a disconnected state when the power supply device and the first port 210 are in a second connection mode. The second MOS transistor Q2 and the fourth MOS transistor Q4 are in a disconnected state when the power supply device and the first port 210 are in the first connection mode, and are in a conducting state when the power supply device and the first port 210 are in the second connection mode.
[0095] In the first connection mode, the first pin T1 is at a high level, the second pin T2 is at a low level, and the second pin T2 can be a ground pin. Based on the conduction principle of the P-type MOS tube, the first MOS tube Q1 is turned on, and the second MOS tube Q2 is turned off. Then, through the turned-on first MOS tube Q1, the first pin T1 can output a high level to the third pin T3. Based on the conduction principle of the N-type MOS tube, the third MOS tube Q3 is turned on, and the fourth MOS tube is turned off. Through the turned-on third MOS tube Q3, the second pin T2 can output a low level to the fourth pin T4, thereby satisfying the positive and negative poles of the third pin T3 and the fourth pin T4.
[0096] In the first connection mode, the flow direction of the first current output by the power supply device can be the positive electrode interface of the power supply device-the first pin T1-the first MOS tube Q1-the third pin T3-the battery-the fourth pin T4-the third MOS tube Q3-the second pin T2-the negative electrode interface of the power supply device.
[0097] In the second connection mode, the second pin T2 is at a high level, the first pin T1 is at a low level, and the first pin T1 can be a ground pin. Based on the conduction principle of the P-type MOS tube, the first MOS tube Q1 is turned off, and the second MOS tube Q2 is turned on. Then, through the turned-on second MOS tube Q2, the second pin T2 can output a high level to the third pin T3. Based on the conduction principle of the N-type MOS tube, the third MOS tube Q3 is turned off, and the fourth MOS tube is turned on. Through the turned-on fourth MOS tube Q4, the first pin T1 can output a low level to the fourth pin T4, thereby satisfying the positive and negative poles of the third pin T3 and the fourth pin T4.
[0098] In the second connection mode, the flow direction of the first current output by the power supply device can be the positive electrode interface of the power supply device-the second pin T2-the second MOS tube Q2-the third pin T3-the battery-the fourth pin T4-the fourth MOS tube Q4-the first pin T1-the negative electrode interface of the power supply device.
[0099] In the embodiment of the present application, regardless of whether the power supply device and the first port are plugged in forward or reverse, by switching the current flow direction so that the current flow direction conforms to the positive and negative directions of the second port, forward and reverse charging is achieved and charging safety is guaranteed.
[0100] It should be noted that the charging switching circuit 200 may also include Figure 2 , Figure 3 For example, a boost circuit may be provided between the second port 230 and the charging switching module 230, and the boost circuit may be used to boost the voltage output from the second port 230 so that the voltage input to the device to be charged meets the charging requirements of the device to be charged. Optionally, the boost circuit may also be provided between the first port 210 and the charging switching module 230, but is not limited thereto.
[0101] like Figure 5 As shown, in one embodiment, a smart wearable device 500 is provided, and the smart wearable device 500 may include the charging switching circuit 200 and the battery 300 described in the above embodiments. Through the charging switching circuit 200, the connected power supply device can be used to positively charge the battery 300, and the connected device to be charged can be reversely charged by the battery.
[0102] In some embodiments, the smart wearable device 500 may further include a processor, which may be connected to the charging switching circuit 200 and the battery 300 respectively.
[0103] The processor is also used to determine that the charging switching circuit 200 is connected to the power supply device when a charging signal is received through the charging switching circuit 200, and determine that the working state of the charging switching circuit and the battery is a forward charging state.
[0104] The processor is further configured to determine that the working state of the charging switching circuit and the battery is a reverse charging state when it is detected that the charging switching circuit 200 is connected to a device to be charged.
[0105] After determining that the working state of the charging switching circuit 200 and the battery 300 is the forward charging state, the processor can control the second switch module 224 in the charging switching circuit 200 to be in the disconnected state, and the connected power supply device can charge the battery 300 through the turned-on forward charging circuit. Further, the processor can control the voltage input end of the second switch module 224 to output the second level to the fifth MOS tube, and the fifth MOS tube is turned off.
[0106] After determining that the working state of the charging switching circuit 200 and the battery 300 is the reverse charging state, the processor can control the second switch module 224 in the charging switching circuit 200 to be in the on state, and the battery 300 can charge the connected device to be charged through the reverse charging circuit that is turned on. Further, the processor can control the voltage input end of the second switch module 224 to output the first level to the fifth MOS tube to trigger the fifth MOS tube to turn on. After the fifth MOS tube is turned on, the first MOS tube and the third MOS tube in the first switch module 222 can be triggered to turn on to form a reverse charging circuit.
[0107] In some embodiments, the processor is further configured to control the voltage input terminal of the second switch module 224 to output a second level to the fifth MOS transistor after detecting that a stable current transmission path is formed between the second port 230 and the first port 210, so that the fifth MOS transistor is turned off.
[0108] In the embodiment of the present application, the smart wearable device is provided with a charging switching circuit, which can charge the smart wearable device normally under different connection modes (positive and negative insertion) between the power supply device and the first port, ensuring the safety of charging, and can reversely supply power to the connected device to be charged, providing two charging modes of forward charging and reverse charging output, enriching the charging mode of the smart wearable device. And the two charging modes of forward charging and reverse charging can be realized without adding additional ports, reducing the cost.
[0109] like Figure 6As shown, in one embodiment, a charging switching method is provided, which can be applied to the above-mentioned smart wearable device, and the method may include the following steps:
[0110] Step 610: When the first port is connected to the power supply device, the positive charging circuit corresponding to the connection mode between the first port and the second port is turned on, the first current input by the power supply device is received through the first port, and the battery is powered through the turned-on positive charging circuit. The flow direction of the first current through the turned-on positive charging circuit is consistent with the positive and negative directions of the second port.
[0111] Step 620, when the first port is connected to the device to be charged, the reverse charging loop between the first port and the second port is turned on, the second current output by the battery is received through the second port, and the device to be charged is powered through the reverse charging loop.
[0112] In the embodiment of the present application, the smart wearable device can be charged normally in different connection modes (positive and negative insertion) between the power supply device and the first port, ensuring the safety of charging, and can reversely power the connected device to be charged, providing two charging modes of positive charging and reverse charging output, enriching the charging mode of the smart wearable device. And the two charging modes of positive charging and reverse charging can be realized without adding additional ports, reducing the cost.
[0113] In some embodiments, step 620 includes: when the first port is connected to a device to be charged, controlling the voltage input terminal to input a first level to the fifth MOS tube, triggering the fifth MOS tube to turn on, thereby triggering the first MOS tube and the third MOS tube to turn on, forming a reverse charging loop between the first port and the second port.
[0114] In some embodiments, when the first port is connected to a device to be charged, after the control voltage input terminal inputs a first level to the fifth MOS tube, the method further includes: if it is detected that a stable current transmission path is formed between the second port and the first port, the control voltage input terminal inputs a second level to the fifth MOS tube to trigger the fifth MOS tube to be cut off.
[0115] In an embodiment of the present application, when the first port is connected to a device to be charged, the reverse charging circuit between the first port and the second port can be turned on, and the mobile terminal can reversely charge the device to be charged without adding an additional port, thereby reducing costs, enriching the charging methods of the mobile terminal, and improving the reasonable utilization rate of power in the mobile terminal.
[0116] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.
[0117] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.
[0118] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM), etc.
[0119] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or Flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM), and direct memory bus dynamic RAM (DRDRAM).
[0120] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0121] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0122] The above is a detailed introduction to a charging switching circuit and a smart wearable device disclosed in the embodiment of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A charging switching circuit, characterized in that: The circuit is arranged in a mobile terminal, and comprises: First port; Second port; a charging switching module, arranged between the first port and the second port, for, when the first port is connected to a power supply device, conducting a positive charging circuit between the first port and the second port corresponding to the connection mode according to the connection mode between the power supply device and the first port, so that a first current input by the power supply device passes through the positive charging circuit and conforms to the positive and negative directions of the second port, so as to supply power to the battery of the mobile terminal; The charging switching module is further configured to, when the first port is connected to a device to be charged, conduct a reverse charging circuit between the first port and the second port, so that the second current input by the battery through the second port supplies power to the device to be charged through the reverse charging circuit; Wherein, the charging switching module includes a first switch module and a second switch module; The second switch module is used to be in a conducting state when the first port is connected to a device to be charged, so as to trigger and turn on a switch in the first switch module to form a reverse charging loop between the first port and the second port.
2. The circuit according to claim 1, characterized in that The first port includes a first pin and a second pin, the first pin is used to connect to the positive terminal of the device to be charged, and the second pin is used to connect to the negative terminal of the device to be charged; The second port includes a third pin and a fourth pin, the third pin is connected to the positive terminal of the battery, and the fourth pin is connected to the negative terminal of the battery.
3. The circuit according to claim 2, characterized in that The first switch module includes a first field effect MOS transistor, a second MOS transistor, a third MOS transistor, a fourth MOS transistor, a first resistor, a second resistor, a third resistor and a fourth resistor, and the second switch module includes a fifth MOS transistor and a fifth resistor; wherein, The drain of the first MOS tube and the drain of the fourth MOS tube are respectively connected to the first pin; The drain of the second MOS tube and the drain of the third MOS tube are respectively connected to the second pin; The source of the first MOS tube and the source of the second MOS tube are respectively connected to the third pin; The source of the third MOS tube and the source of the fourth MOS tube are respectively connected to the fourth pin; The gate of the first MOS tube is connected to the second pin through the first resistor; The gate of the second MOS tube is connected to the first pin through the second resistor; The gate of the third MOS tube is connected to the first pin through the third resistor; The gate of the fourth MOS tube is connected to the second pin through the fourth resistor; The second switch module is also used to be in a conducting state when the first port is connected to a device to be charged, so as to trigger the first MOS tube and the third MOS tube to be turned on, thereby forming a reverse charging loop between the first port and the second port.
4. The circuit according to claim 3, characterized in that The second switch module includes a fifth MOS tube, a fifth resistor and a voltage input terminal, the drain of the fifth MOS tube is connected to the second pin, the source of the fifth MOS tube is connected to the fourth pin, and the gate of the fifth MOS tube is connected to the voltage input terminal through the fifth resistor; The fifth MOS transistor is used to be turned on when a first level is input to the voltage input terminal, and to be turned off when a second level is input to the voltage input terminal.
5. The circuit according to claim 4, characterized in that The fifth MOS transistor is an N-type MOS transistor, the first level is a high level, the second level is a low level, or The fifth MOS transistor is a P-type MOS transistor, the first level is a low level, and the second level is a high level; The first MOS tube and the second MOS tube are P-type MOS tubes, and the third MOS tube and the fourth MOS tube are N-type MOS tubes.
6. The circuit according to any one of claims 2 to 5, characterized in that: The second switch module is further configured to be in a disconnected state when the first port is connected to a power supply device; The first switch module is used for, when the first port is connected to a power supply device, if the power supply device and the first port are in a first connection mode, turning on the switch corresponding to the first connection mode to form a first positive charging circuit between the first port and the second port; if the power supply device and the first port are in a second connection mode, turning on the switch corresponding to the second connection mode to form a second positive charging circuit between the first port and the second port.
7. The circuit according to claim 6, characterized in that The first connection method is that the positive interface of the power supply device is connected to the first pin, and the negative interface is connected to the second pin; the second connection method is that the positive interface of the power supply device is connected to the second pin, and the negative interface is connected to the first pin.
8. The circuit according to claim 7, characterized in that The first MOS transistor and the third MOS transistor are in a conducting state when the power supply device and the first port are in a first connection mode, and are in a disconnected state when the power supply device and the first port are in a second connection mode; The second MOS transistor and the fourth MOS transistor are in a disconnected state when the power supply device and the first port are in a first connection mode, and are in a conductive state when the power supply device and the first port are in a second connection mode.
9. A smart wearable device, characterized in that: It comprises a charging switching circuit and a battery as described in any one of claims 1 to 8.
10. The smart wearable device according to claim 9, characterized in that: The smart wearable device further includes a processor, and the processor is connected to the charging switching circuit and the battery respectively; The processor is used to determine that the charging switching circuit is connected to a power supply device when a charging signal is received through the charging switching circuit, and determine that the working state of the charging switching circuit and the battery is a forward charging state; The processor is further configured to determine that the working state of the charging switching circuit and the battery is a reverse charging state when it is detected that the charging switching circuit is connected to a device to be charged; Among them, the processor is also used to control the second switch module in the charging switching circuit to be in the on state after determining that the working state of the charging switching circuit and the battery is the reverse charging state, so as to trigger the switch in the first switch module in the charging switching circuit to be turned on, thereby forming a reverse charging loop, and the battery charges the connected device to be charged through the reverse charging circuit.
