A charging method, device, terminal and storage medium

By introducing a switching circuit and a controlled switch module into the charging device, the problem of reduced charging speed caused by main charging chip malfunctions is solved, and efficient charging under abnormal conditions is achieved.

CN114844135BActive Publication Date: 2025-12-12BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110145988.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-02
Publication Date
2025-12-12
Estimated Expiration
2041-02-02

AI Technical Summary

Technical Problem

In existing technologies, when the main charging chip malfunctions, the charging device cannot switch to the secondary charging chip to continue charging, resulting in a significant reduction in charging speed and a poor user experience.

Method used

Design a charging device comprising N charging modules and a switching circuit, capable of switching to a slave charging module for charging when the main charging module malfunctions. The switching of charging states is achieved through a controlled switch module and a control module, ensuring the continuity and efficiency of the charging process.

Benefits of technology

When the main charging module malfunctions, it can replace the main charging module for charging, thereby improving charging efficiency, reducing charging time, and ensuring the continuity and efficiency of the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114844135B_ABST
    Figure CN114844135B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a charging device, a charging method and a storage medium. The charging device comprises a charging circuit comprising N charging modules, wherein the N charging modules at least comprise a first charging module and a second charging module; N is an integer greater than 1; a switching circuit is connected to the first charging module and the second charging module, and is used for controlling the first charging module to enter a charging state when the first charging module charging is normal, or controlling the second charging module to enter the charging state together with the first charging module; or, when the first charging module charging is abnormal, controlling the second charging module to enter the charging state. The charging device of the embodiment of the present disclosure can make the second charging module replace the first charging module to charge when the first charging module is abnormal, thereby improving the charging efficiency and reducing the charging time.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to, but is not limited to, the technical field of charging, and in particular to a charging method, device, terminal and storage medium. BACKGROUND

[0002] In the related art, electronic devices such as mobile phones and tablets support high-power (for example, greater than 30W) charging, and the requirement for charging speed is increasingly high. However, slow charging often occurs at present. For example, when a charging architecture including a Power Management Integrated Circuit (PMIC) charging chip and a slave charger is adopted, when an abnormality occurs in the slave charger in the slave charger in the master charging chip, the slave charger cannot be switched to continue charging, and only the PMIC charger can be converted to perform charging; and the charging power supported by the PMIC charger itself is not high, which greatly reduces the charging speed of the electronic device and brings a poor experience to the user. SUMMARY

[0003] The present disclosure provides a charging method, device, terminal and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a charging device is provided, comprising:

[0005] A charging circuit, comprising: N charging modules; wherein the N charging modules at least include a first charging module and a second charging module; wherein N is an integer greater than 1;

[0006] A switching circuit connected to the first charging module and the second charging module;

[0007] The switching circuit is configured to control the first charging module to enter a charging state or control the second charging module and the first charging module to enter the charging state when the first charging module charging is normal, or control the second charging module to enter the charging state when the first charging module charging is abnormal.

[0008] In the above solution, the switching circuit comprises:

[0009] A controlled switch module connected to the first charging module and the second charging module;

[0010] The control module is connected with the controlled switch module, and is configured to switch the controlled switch module from the first switch state to the second switch state when the first charging module has the charging abnormality, so that the second charging module enters the charging state.

[0011] When the controlled switch module is in the first switch state and the first charging module has the charging abnormality, the second charging module enters the non-charging state.

[0012] In the scheme, the charging device further comprises the switching circuit, which comprises:

[0013] The controlled switch module is connected with the first charging module and the second charging module.

[0014] The control module is connected with the controlled switch module, and is configured to switch the controlled switch module from the first switch state to the second switch state when the first charging module has the charging abnormality, so that the second charging module enters the charging state.

[0015] When the controlled switch module is in the first switch state and the first charging module has the charging abnormality, the second charging module enters the non-charging state.

[0016] In the scheme, the charging device further comprises an overvoltage protection circuit.

[0017] The controlled switch module at least comprises a first controlled switch.

[0018] The overvoltage protection end of the first charging module is connected with the input end of the overvoltage protection circuit.

[0019] The overvoltage protection end of the second charging module is connected with the first end of the first controlled switch, the second end of the first controlled switch is connected with the input end of the overvoltage protection circuit, and the third end of the first controlled switch is connected with the output end of the overvoltage protection circuit.

[0020] When the first charging module has the charging abnormality, the connection between the first end and the second end of the first controlled switch is conducted, and the second charging module enters the charging state.

[0021] In the scheme, when the first charging module has the charging normality, the connection between the first end and the third end of the first controlled switch is conducted, and the second charging module enters the non-charging state.

[0022] In the scheme, the controlled switch module further comprises a second controlled switch and a third controlled switch.

[0023] The first end of the second controlled switch is used for connecting with the positive pole of the battery, the second end of the second controlled switch is connected with the positive pole of the battery of the second charging module, and the third end of the second controlled switch is connected with the positive pole of the battery of the first charging module.

[0024] The first end of the third controlled switch is used for connecting with the negative pole of the battery, the second end of the third controlled switch is used for connecting with the negative pole of the battery of the second charging module, and the third end of the third controlled switch is connected with the negative pole of the battery of the first charging module.

[0025] When the first charging module appears charging abnormality, the connection between the first end and the second end of the second controlled switch is conducted, the connection between the first end and the second end of the third controlled switch is conducted, and the second charging module detects the charging voltage of the battery.

[0026] In the above scheme, the controlled switch module further comprises a fourth controlled switch and a fifth controlled switch; wherein,

[0027] The first end of the fourth controlled switch is connected with the second charging module, the second end of the fourth controlled switch is suspended, and the third end of the fourth controlled switch is used for connecting with the first resistor.

[0028] The first end of the fifth controlled switch is connected with the first charging module, and the second end of the fifth controlled switch is suspended.

[0029] When the first charging module appears charging abnormality, the connection between the first end and the second end of the fourth controlled switch is conducted, the connection between the first end and the second end of the fifth controlled switch is conducted, or the connection between the first end and the third end of the fourth controlled switch is conducted, and the connection between the first end and the second end of the fifth controlled switch is conducted.

[0030] In the above scheme, the control module is used for sending a first control signal to the controlled switch module if the first charging module appears charging abnormality.

[0031] The controlled switch module conducts the connection between the first end and the second end of at least one of the first controlled switch, the second controlled switch, the third controlled switch, the fourth controlled switch and the fifth controlled switch based on the first control signal.

[0032] In the above scheme, the control module is used for sending a second control signal to the controlled switch module if the first charging module appears charging normality.

[0033] The controlled switch module turns on the connection between the first end and the third end of the first controlled switch, the second controlled switch and the third controlled switch, and turns on the connection between the first end and the second end of the fourth controlled switch and the fifth controlled switch based on the second control signal.

[0034] In the scheme, the switching circuit is configured to switch the controlled switch module from the second switch state to the first switch state when the first charging module is in normal charging, so as to enable the second charging module to enter a non-charging state.

[0035] According to a second aspect of the embodiments of the present disclosure, a charging method is provided, which is applied to a charging device, the charging device comprising: a charging circuit; the charging circuit comprising: N charging modules; wherein the N charging modules at least comprise: a first charging module and a second charging module; wherein N is an integer greater than 1; the method comprising:

[0036] obtaining charging information according to the first charging module;

[0037] in response to the charging information indicating that the first charging module charging is abnormal, switching to charging according to the second charging module.

[0038] In the scheme, in response to the charging information indicating that the first charging module charging is abnormal, switching to charging according to the second charging module, comprising:

[0039] in response to the charging information indicating that the first charging module charging is abnormal, generating a first control signal;

[0040] controlling the second charging module to charge based on the first control signal.

[0041] In the scheme, the charging device comprises: an overvoltage protection circuit;

[0042] controlling the second charging module to charge based on the first control signal, comprising:

[0043] if the first charging module is abnormal, switching the second charging module to be connected to the input end of the overvoltage protection circuit, so that the second charging module enters a charging state to charge.

[0044] In the scheme, the method further comprises:

[0045] in response to the charging information indicating that the first charging module charging is normal, generating a second control signal;

[0046] control the second charging module to stop charging based on the second control signal.

[0047] In the scheme, the second charging module is controlled to stop charging based on the second notification signal, including:

[0048] The second charging module is controlled to switch to the output end of the overvoltage protection circuit based on the second control signal, so that the second charging module enters a non-charging state to stop charging.

[0049] According to a third aspect of the embodiments of the present disclosure, a terminal is provided, including:

[0050] a processor;

[0051] a memory for storing processor-executable instructions;

[0052] The processor is configured to implement the charging method of any of the embodiments of the present disclosure when executing the executable instructions.

[0053] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores an executable program, wherein the executable program is executed by a processor to implement the charging method of any of the embodiments of the present disclosure.

[0054] The technical scheme provided by the embodiments of the present disclosure can include the following beneficial effects:

[0055] In the embodiments of the present disclosure, when the first charging module charging is normal, the first charging module can be controlled to enter a charging state, or the second charging module can be controlled to enter a charging state together with the first charging module; that is, the second charging module is a slave charging module of the first charging module, and when the first charging module is normally charged, the second charging module can be charged according to the first charging module or the first charging module can be charged alone; and when the first charging module charging is abnormal, the second charging module can be controlled to charge; that is, when the first charging module cannot charge, the second charging module can also be charged. In this way, when the first charging module is abnormal, the second charging module can replace the first charging module to become a master charging module to charge, so that the charging efficiency of the charging device is not high and the charging time is too slow due to the second charging module stopping working when the first charging module is abnormal, and the charging efficiency can be greatly improved and the charging time can be reduced.

[0056] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0057] The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate exemplary embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles of the present disclosure.

[0058] Figure 1 is a block diagram of a charging device according to an exemplary embodiment.

[0059] Figure 2 is a block diagram of a charging device according to an exemplary embodiment.

[0060] Figure 3 is a block diagram of a charging device according to an exemplary embodiment.

[0061] Figure 4 is a block diagram of a charging device according to an exemplary embodiment.

[0062] Figure 5 is a block diagram of a charging device according to an exemplary embodiment.

[0063] Figure 6 is a block diagram of a charging device according to an exemplary embodiment.

[0064] Figure 7 is a block diagram of a charging device according to an exemplary embodiment.

[0065] Figure 8 is a logic control diagram of a charging device according to an exemplary embodiment.

[0066] Figure 9 is a flowchart of a charging method according to an exemplary embodiment.

[0067] Figure 10 is a block diagram of a charging device according to an exemplary embodiment. DETAILED DESCRIPTION

[0068] The exemplary embodiments will be described in detail herein below with reference to the drawings. In the following description, the same drawings reference numbers are used to denote the same elements throughout the several several views. The embodiments described in the following exemplary embodiments are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0069] As Figure 1As shown, a charging architecture is disclosed; the charging architecture comprises a PMIC charging chip and a master-slave charging chip, the master-slave charging chip comprises a master charging chip and a slave charging chip; the master charging chip, the slave charging chip and the PMIC charging chip are connected in parallel between a charger and a battery. Here, the charging power of the PMIC charging chip per unit time is less than the charging efficiency of the master charging chip or the slave charging chip per unit time. During the charging process, the master-slave charging chip can charge the battery in the constant current (CC) charging phase; the PMIC charging chip can charge the battery in the constant voltage (CV) charging phase.

[0070] However, due to the fixed peripheral configuration circuit of the master-slave charging chip, when the master charging chip stops working, the slave charging chip also stops working. If the master-slave charging chip stops working at the same time when the master charging chip fails or the like during the CC charging phase, the charging power will be low and the charging speed will be slow if the PMIC charging chip is switched to charge.

[0071] In the embodiment of the present disclosure, a charging device is provided, which can automatically enter the charging state and charge when the first charging module (such as the master charging chip) fails to charge, so that the charging device can also charge based on one charging module, thereby speeding up the charging.

[0072] Figure 2 A block diagram of a charging device according to an exemplary embodiment is shown as follows, Figure 2 As shown, the charging device comprises:

[0073] The charging circuit 11 comprises N charging modules; wherein the N charging modules at least comprise a first charging module 111 and a second charging module 112.

[0074] The switching circuit 12 is connected to the first charging module 111 and the second charging module 112.

[0075] The switching circuit 12 is configured to control the first charging module 111 to enter the charging state or control the second charging module 112 and the first charging module 111 to enter the charging state when the first charging module 111 charges normally; or control the second charging module 112 to enter the charging state when the first charging module 111 charges abnormally.

[0076] The charging device described in this embodiment can be applied to a terminal, which can be a mobile terminal or a fixed terminal. For example, the terminal can be a mobile phone, computer, laptop, or a wireless charging receiver or transmitter.

[0077] In this embodiment, both the first charging module and the second charging module can be any type of charging chip or a module with charging functionality. The first charging module and the second charging module may be of the same or different types.

[0078] In one embodiment, the first charging module may be a main charging module, and the second charging module may be a slave charging module.

[0079] like Figure 3 As shown, in another embodiment, the first charging module can be a master charging chip, and the second charging module can be a slave charging chip.

[0080] In one embodiment, the switching circuit is used to control the second charging module to charge and control the first charging module to stop charging when a charging abnormality occurs in the first charging module.

[0081] In some embodiments, the N charging modules can also be three or more charging modules; when one charging module experiences a charging abnormality, at least one of the other N-1 charging modules will enter the charging state. Thus, in this embodiment, when one charging module among the N charging modules experiences a charging abnormality, one or more of the other N-1 charging modules can be charged, maintaining continuous charging of the wireless charging device and improving charging efficiency.

[0082] For example, there may be one first charging module and one second charging module; or one first charging module and multiple second charging modules; or multiple first charging modules and one second charging module; or multiple first charging modules and multiple second charging modules. Here, one first charging module corresponds to one second charging module, or one first charging module corresponds to multiple second charging modules.

[0083] In this embodiment, when the first charging module is charging normally, the first charging module can be controlled to enter the charging state, or the second charging module can be controlled to enter the charging state together with the first charging module. That is, the second charging module is a slave charging module of the first charging module. When the first charging module is charging normally, the second charging module can charge according to the first charging module or the first charging module can charge independently. And when the first charging module is charging abnormally, the second charging module can be controlled to charge. That is, when the first charging module cannot charge, it can also charge according to the second charging module.

[0084] Thus, in this embodiment, when the first charging module malfunctions, the second charging module can replace the first charging module to form the main charging module 2 for charging. This reduces the possibility of the second charging module also stopping working when the first charging module malfunctions, resulting in low charging efficiency and slow charging time. This can greatly improve charging efficiency and reduce charging time.

[0085] like Figure 4 As shown, the switching circuit 12 includes:

[0086] The controlled switch module 121 is connected to the first charging module 112 and the second charging module 112;

[0087] The control module 122 is connected to the controlled switch module 121 and is used to switch the controlled switch module 121 from a first switch state to a second switch state when the first charging module 111 experiences a charging abnormality, so that the second charging module 112 enters the charging state.

[0088] If the controlled switch module 121 is in the first switch state, and the first charging module 111 experiences a charging abnormality, the second charging module 112 enters a non-charging state.

[0089] In one embodiment, when the first charging module experiences a charging abnormality, the controlled switch module is in a first switching state; only when the control module of the switching circuit receives a first control signal will the switching state of the controlled switch module be switched to a second switching state.

[0090] The control module 122 here typically controls the charging device's charging operations, for example, controlling the connection switching between the terminals of the controlled switch module. The control module can be a module including one or more processing chips or processors. Alternatively, the control module can also be a control circuit with signal processing capabilities; the control circuit may include a control chip or controller, etc.

[0091] The control signal sent by the control module herein can be a high-level signal or a low-level signal. For example, the first control signal sent is a high-level signal, or the second control signal sent is a low-level signal. The high-level signal and the low-level signal are relative.

[0092] In the embodiments of the present disclosure, the switching circuit can be used to switch the switch state of the controlled switch module, so that when the first charging module has a charging abnormality, the second charging module that cannot be charged originally is changed to be able to charge the wireless charging device, thereby realizing that the wireless charging device charges according to the second charging module, and improving the charging efficiency of the wireless charging device and reducing the charging time.

[0093] Of course, in other embodiments, the control module can also switch the switch state of the controlled switch module to the first switch state based on the second control signal.

[0094] As shown in Figure 5 The charging device further includes an overvoltage protection circuit 13.

[0095] The controlled switch module 121 includes a first controlled switch 1211.

[0096] The overvoltage protection end of the first charging module 111 is connected to the input end of the overvoltage protection circuit 13.

[0097] The overvoltage protection end of the second charging module 112 is connected to the first end of the first controlled switch 1211, the second end of the first controlled switch 1211 is connected to the input end of the overvoltage protection circuit 13, and the third end of the first controlled switch 1211 is connected to the output end of the overvoltage protection circuit 13.

[0098] When the first charging module 111 has a charging abnormality, the connection between the first end and the second end of the first controlled switch 1211 is turned on, and the second charging module 112 enters a charging state.

[0099] In one embodiment, when the controlled switch module is in the second switch state, at least the connection between the first end and the second end of the first controlled switch is turned on.

[0100] In one embodiment, when the overvoltage protection end of the first charging module is connected to the input end of the overvoltage protection circuit and the overvoltage protection end of the second charging module is connected to the output end of the overvoltage protection circuit, the first charging module is a master charging module, and the second charging module is a slave charging module.

[0101] The overvoltage protection circuit herein is used to stabilize the input voltage value within a predetermined range and output.

[0102] In one embodiment, as shown in Figure 3 the overvoltage protection circuit includes a metal oxide semiconductor field effect (MOS) tube and a diode; the anode of the diode is connected to the drain of the MOS tube, and the cathode of the diode is connected to the source of the MOS tube; the source of the MOS tube is the input end of the overvoltage protection circuit, and the drain of the MOS tube is the output end of the overvoltage protection circuit. When the output voltage of the overvoltage protection circuit is higher than a predetermined value, the diode is turned on, and the output voltage is clamped, so that the output voltage is limited within a predetermined range. Of course, in other embodiments, the overvoltage protection circuit can be in any circuit form, as long as it can stabilize the input voltage within a predetermined range and output it. Here, the components included in the overvoltage protection circuit and the connection mode of each component are not limited.

[0103] In one application scenario, the input end of the overvoltage protection circuit is the front stage of the overvoltage protection circuit, and the output end of the overvoltage protection circuit is the rear stage of the overvoltage protection circuit.

[0104] The overvoltage protection end here is used for overvoltage protection of the input voltage of the first charging module or the second charging module. In one embodiment, as shown in Figure 3 the overvoltage protection end is the VAC pin of the charging chip; the VAC pin is used to detect the size of the input alternating current.

[0105] Here, the first controlled switch is a single-pole double-throw switch. The first controlled switch includes at least three terminals. Of course, in other embodiments, the first controlled switch can also be other types of switches, as long as it can switch between the input end or the output end of the overvoltage protection circuit.

[0106] Here, the second charging module enters a charging state, that is, the second charging module charges the connected battery.

[0107] Here, the overvoltage protection end of the second charging module is connected to the first terminal of the first controlled switch, the second terminal of the first controlled switch is connected to the input end of the overvoltage protection circuit, and the third terminal of the first controlled switch is connected to the output end of the overvoltage protection circuit. When the connection between the first terminal and the second terminal of the first controlled switch is turned on, the connection between the overvoltage protection end of the second charging module and the input end of the overvoltage protection circuit is turned on; when the connection between the first terminal and the third terminal of the first controlled switch is turned on, the connection between the overvoltage protection end of the second charging module and the output of the overvoltage protection circuit is turned on.

[0108] In related technologies, as shown in Figure 3As shown, if the second charging module is directly connected to the output end of the overvoltage protection circuit, when the first charging module has charging abnormality, the second charging module will also stop working; thus, the charging efficiency is greatly reduced.

[0109] In the embodiments of the present disclosure, when the first charging module has charging abnormality, the first end and the second end of the first controlled switch are connected, and the connection between the overvoltage protection end of the second charging module and the input end of the overvoltage protection circuit is turned on, so that the second charging module replaces the first charging module to charge, thereby reducing the situation that the second charging module also stops working due to the charging abnormality of the first charging module in the related art, and the charging efficiency of the charging device is not high and the charging time is too slow, greatly improving the charging efficiency and reducing the charging time.

[0110] In some embodiments, when the first charging module has charging normality, the connection between the first end and the third end of the first controlled switch is turned on, and the second charging module enters a non-charging state. Here, the controlled switch module is in a second switch state.

[0111] Here, the connection between the first end and the third end of the first controlled switch is turned on, that is, the connection between the overvoltage protection end of the second charging module and the output end of the overvoltage protection circuit is turned on. At this time, in the charging circuit, the first charging module mainly charges the battery connected thereto.

[0112] Thus, in the embodiments of the present disclosure, whether the first charging module or the second charging module is used for charging can be selected according to whether the first charging module has abnormal charging. For example, when the first charging module has charging abnormality, the charging circuit switches to the second charging module for charging; for another example, when the first charging module has charging normality, the charging circuit switches to the first charging module for charging. Thus, when one of the first and second charging modules in the charging circuit has charging abnormality such as damage or communication abnormality, the charging efficiency of the charging device can be basically maintained.

[0113] In other embodiments, when the first charging module has charging normality, the connection between the first end and the third end of the first controlled switch is turned on, and the second charging module maintains a charging state. Here, if the first charging module does not have charging abnormality, and the second charging module is also not damaged, the second charging module can still be used for charging; only the charging power of the second charging module is determined based on the charging power of the first charging module.

[0114] For example, in one embodiment, when the first charging module is in normal charging, the first controlled switch is turned on between the first end and the third end, and the second charging module maintains the charging state but reduces the charging power of the second charging module. At this time, as shown in Figure 3 the synchronization signal output end (such as the SYNC_OUT pin) of the first charging module is connected to the synchronization signal input end (such as the SYNC_IN pin) of the second charging module.

[0115] Here, the charging information of the first charging module can be sent to the second charging module based on the connection between the synchronization signal output end and the synchronization signal input end; in this way, the second charging module can be informed of the charging state or the current charging power of the first charging module.

[0116] For example, the charging information can be a high-level signal or a low-level signal; wherein the high-level signal is used to indicate that the first charging module is in normal charging, and the low-level signal is used to indicate that the first charging module is in abnormal charging. Here, the high level and the low level are relative, and the voltage of the high level is higher than the voltage of the low level.

[0117] For example, the charging information can be a predetermined level signal; wherein the predetermined level signal is used to indicate the charging power of the first charging module.

[0118] In some embodiments, as shown in Figure 6 the controlled switch module 121 further comprises a second controlled switch 1212 and a third controlled switch 1213; wherein,

[0119] the first end of the second controlled switch 1212 is used to connect with the positive electrode of the battery, the second end of the second controlled switch 1212 is connected with the positive electrode end of the battery of the second charging module 112, and the third end of the second controlled switch 1212 is connected with the positive electrode end of the battery of the first charging module 111;

[0120] the first end of the third controlled switch 1213 is used to connect with the negative electrode of the battery, the second end of the third controlled switch 1213 is used to connect with the negative electrode end of the battery of the second charging module 112, and the third end of the third controlled switch 1213 is connected with the negative electrode end of the battery of the first charging module 111;

[0121] when the first charging module 111 is in abnormal charging, the first end and the second end of the second controlled switch 1212 are connected, and the first end and the second end of the third controlled switch 1213 are connected, and the second charging module 112 detects the charging voltage of the battery.

[0122] In one embodiment, the controlled switch module is in the second switch state, at least including: the connection between the first end and the second end of the second controlled switch is conducted and the connection between the first end and the second end of the third controlled switch is conducted.

[0123] The second controlled switch and the third controlled switch herein can be single-pole double-throw switches. The second controlled switch and the third controlled switch include at least three terminals. Of course, in other embodiments, the second controlled switch and the third controlled switch can also be other types of switches, as long as the second controlled switch can switch between the positive electrode of the battery of the first switch module and the positive electrode of the battery of the second switch module, and as long as the third controlled switch can switch between the negative electrode of the battery of the first switch module and the negative electrode of the battery of the second switch module.

[0124] The positive electrode terminal and the negative electrode terminal herein are used to detect the charging voltage of the battery. In one embodiment, as shown in FIG. 1, the positive electrode terminal is the BATP pin of the charging chip, and the negative electrode terminal is the BATN pin of the charging chip. Figure 3 Or Figure 6 As shown in FIG. 1, the positive electrode terminal is the BATP pin of the charging chip, and the negative electrode terminal is the BATN pin of the charging chip.

[0125] The battery herein is the battery of the first charging module or the second charging module; the first charging module or the second charging module is connected to the battery based on the VBAT pin. In an actual application, the first charging module enters the charging state, that is, the first charging module charges the battery; the second charging module enters the charging state, that is, the second charging module charges the battery.

[0126] The connection between the first end and the second end of the second controlled switch and the connection between the first end and the second end of the third controlled switch herein are the connection between the positive electrode terminal of the second charging module and the positive electrode of the battery and the connection between the negative electrode terminal of the second charging module and the negative electrode of the battery; and the second switch module can be used to detect the charging voltage of the battery.

[0127] In the embodiments of the present disclosure, when the first charging module has a charging abnormality, the connection between the first end and the second end of the second controlled switch and the connection between the first end and the second end of the third controlled switch are conducted, so that the second switch module can detect the charging voltage of the battery; thereby the safety of charging the battery by the second charging module can be improved.

[0128] In other embodiments, if the first charging module has a charging normality, the connection between the first end and the third end of the second controlled switch and the connection between the first end and the third end of the third controlled switch are conducted, and the first charging module detects the charging voltage of the battery.

[0129] The connection between the first end and the third end of the second controlled switch and the connection between the first end and the third end of the third controlled switch are in conduction, that is, the connection between the positive electrode end of the first charging module and the positive electrode of the battery and the connection between the negative electrode end of the first charging module and the negative electrode of the battery are in conduction; and the first switch module can be used to detect the charging voltage of the battery.

[0130] In the embodiment of the present disclosure, when the first charging module is in normal charging, the connection between the first end and the third end of the second controlled switch and the connection between the first end and the third end of the third controlled switch are in conduction, so that the first charging module can detect the charging voltage of the battery; thereby the safety of the battery charging by the first charging module can be improved.

[0131] Please refer again to Figure 6 In some embodiments, the controlled switch module 121 further comprises a fourth controlled switch 1214 and a fifth controlled switch 1215; wherein,

[0132] The first end of the fourth controlled switch 1214 is connected with the second charging module 112, the second end of the fourth controlled switch 1214 is suspended, and the third end of the fourth controlled switch 1214 is used to be connected with the first resistor;

[0133] The first end of the fifth controlled switch 1215 is connected with the first charging module 111, and the second end of the fifth controlled switch 1215 is suspended.

[0134] When the first charging module 111 is in charging abnormality, the connection between the first end and the second end of the fourth controlled switch 1214 and the connection between the first end and the second end of the fifth controlled switch 1215 are in conduction; or, the connection between the first end and the third end of the fourth controlled switch 1214 and the connection between the first end and the second end of the fifth controlled switch 1215 are in conduction.

[0135] In one embodiment, the controlled switch module is in the second switch state, at least comprising:

[0136] The connection between the first end and the second end of the fourth controlled switch and the connection between the first end and the second end of the fifth controlled switch are in conduction; or, the connection between the first end and the third end of the fourth controlled switch and the connection between the first end and the second end of the fifth controlled switch are in conduction.

[0137] The first end of the fourth controlled switch 1214 is connected with the second charging module 112, that is, the first end of the fourth controlled switch 1214 is connected with a predetermined end of the second charging module 112; when the predetermined end of the second charging module is connected with resistors of different resistance values in conduction, the different I2C addresses of the second charging module are configured. Here, the I2C address is used to identify whether the second charging module is a master charging module or a slave charging module.

[0138] The first end of the fifth controlled switch 1215 is connected with the first charging module 111, that is, the first end of the fifth controlled switch 1215 is connected with a predetermined end of the first charging module 111; when the predetermined end of the first charging module is connected with resistors of different resistance values in conduction, the different I2C addresses of the first charging module are configured. Here, the I2C address is used to identify whether the first charging module is a master charging module or a slave charging module.

[0139] In an embodiment, as shown in Figure 3 The predetermined end is CDRVL_ADDRMS of the charging chip.

[0140] The connection between the first end and the second end of the fourth controlled switch is in conduction, and the connection between the first end and the second end of the fifth controlled switch is in conduction, that is, the predetermined end of the second charging module is suspended and the predetermined end of the first charging module is suspended. In this way, the charging device is in a single charging module charging state; the single charging module is only one charging module in all charging modules of the charging device for charging. In the example, the single charging module charging is charging according to the second charging module.

[0141] The connection between the first end and the third end of the fourth controlled switch is in conduction, and the connection between the first end and the second end of the fifth controlled switch is in conduction, that is, the predetermined end of the second charging module is connected with the first resistor and the predetermined end of the first charging module is suspended. In this way, the charging device is in a single charging module charging state of the second charging module. Here, the first resistor is used to configure the I2C address of the second charging module as a master charging module.

[0142] In the embodiments of the present disclosure, the charging device can be in a single charging module charging state by suspending the predetermined ends of the first charging module and the second charging module; or, by suspending the first charging module and connecting the second charging module with a predetermined impedance first resistor, the single charging module charging state of the second charging module charging is determined. In this way, the peripheral configuration of switching the second charging module to a master charging module when the first charging module appears abnormal charging can be improved.

[0143] Of course, in other embodiments, the charging device further comprises a second resistor;

[0144] The third terminal of the fifth controlled switch is connected with the second resistor;

[0145] When the first charging module is in normal charging, the connection between the first terminal and the third terminal of the fourth controlled switch is turned on, and the connection between the first terminal and the third terminal of the fifth controlled switch is turned on;

[0146] Or,

[0147] When the first charging module is in normal charging, the connection between the first terminal and the second terminal of the fourth controlled switch is turned on, and the connection between the first terminal and the second terminal of the fifth controlled switch is turned on;

[0148] Or,

[0149] When the first charging module is in normal charging, the connection between the first terminal and the second terminal of the fourth controlled switch is turned on, and the connection between the first terminal and the third terminal of the fifth controlled switch is turned on.

[0150] Here, the connection between the first terminal and the third terminal of the fourth controlled switch and the connection between the first terminal and the third terminal of the fifth controlled switch are that the predetermined terminal of the second charging module is connected with the first resistor and the predetermined terminal of the first charging module is connected with the second resistor. In this way, in the present example, the first charging module and the second charging module are used for charging together; the first charging module is the master charging module, and the second charging module is the slave charging module. Here, the predetermined terminal of the first charging module is connected with the first resistor to configure the identity of the first charging module as the master charging module, and the predetermined terminal of the second charging module is connected with the first resistor to configure the identity of the second charging module as the slave charging module.

[0151] Here, the connection between the first terminal and the second terminal of the fourth controlled switch and the connection between the first terminal and the second terminal of the fifth controlled switch are that the predetermined terminal of the second charging module is suspended and the predetermined terminal of the first charging module is suspended. In this way, the charging device is in a single charging module charging state. In the present example, the single charging module charging is charging according to the first charging module.

[0152] Here, the connection between the first terminal and the second terminal of the fourth controlled switch and the connection between the first terminal and the third terminal of the fifth controlled switch are that the predetermined terminal of the second charging module is suspended and the predetermined terminal of the first charging module is connected with the second resistor. In this way, the charging device is in a single charging module charging state of the first charging module. Here, the second resistor is used to configure the I2C address of the first charging module as the master charging module.

[0153] Here, the resistance of the first resistor is different from the resistance of the second resistor. For example, as shown in Figure 3 , the resistance of the first resistor is 39 kilo-ohms, and the resistance of the second resistor is 18 kilo-ohms.

[0154] In this way, in the embodiments of the present disclosure, when the first charging module is in normal charging, the charging diversification configuration can be realized through different configuration modes of the predetermined end of the first charging module and the second charging module. For example, whether the predetermined end of the first charging module and the second charging module is suspended determines whether only the first charging module is used for charging or the first charging module and the second charging module are used for charging together; for another example, the identity of the master and slave charging modules when the first charging module and the second charging module are used for charging together is determined by connecting different resistors to the predetermined end of the first charging module and the second charging module.

[0155] Please refer again to Figure 7 In some embodiments, the synchronization signal output end of the first charging module 111 is connected with the synchronization signal input end of the second charging module 112.

[0156] In the embodiments of the present disclosure, if the first charging module and the second charging module are both used for charging, the first charging module can send a synchronization signal to the second charging module through the synchronization signal input end, wherein the synchronization signal is used to indicate the power consumption of the second charging module for charging the battery. Here, the second charging module receives the synchronization signal based on the synchronization signal input end. Alternatively, if one of the first charging module and the second charging module is used for charging, the first charging module does not need to send a synchronization signal to the second charging module.

[0157] Please refer again to Figure 4 In some embodiments, the switching circuit 12 is configured to switch the controlled switch module 121 from the second switch state to the first switch state when the first charging module 111 is in normal charging, so as to make the charging module enter the non-charging state.

[0158] In one embodiment, the controlled switch module in the first switch state at least includes one of the following:

[0159] The connection between the first end and the third end of the first controlled switch is conducted;

[0160] The connection between the first end and the third end of the second controlled switch is conducted, and the connection between the first end and the third end of the third controlled switch is conducted;

[0161] The connection between the first end and the third end of the fourth controlled switch is conducted, and the connection between the first end and the second end of the fifth controlled switch is conducted.

[0162] In the embodiments of the present disclosure, when the first charging module is normal, it is considered that the first charging module recovers to normal charging. At this time, the second charging module stops charging the wireless charging device, and the first charging module is used for single charging again.

[0163] Please refer to Figure 6 In some embodiments, the control module 122 is configured to send a first control signal to the controlled switch module 121 if the first charging module 111 is abnormal.

[0164] The controlled switch module 121 conducts the connection between the first end and the second end of at least one of the first controlled switch 1211, the second controlled switch 1212, the third controlled switch 1213, the fourth controlled switch 1214 and the fifth controlled switch 1215 based on the first control signal.

[0165] Alternatively,

[0166] The controlled switch module 121 conducts the connection between the first end and the second end of at least one of the first controlled switch 1211, the second controlled switch 1212, the third controlled switch 1212 and the fifth controlled switch 1215, and conducts the connection between the first end and the third end of the fourth controlled switch 1214 based on the first control signal.

[0167] For example, in an embodiment, the first control signal is a high-level signal, which is used to control the connection between the first end and the second end of each controlled switch.

[0168] The first controlled switch, the second controlled switch, the third controlled switch, the fourth controlled switch and the fifth controlled switch all include four terminals.

[0169] For example, in an embodiment, the fourth terminal of the first controlled switch is connected with the control module, the fourth terminal of the second controlled switch is connected with the control module, the fourth terminal of the third controlled switch is connected with the control module, the fourth terminal of the fourth controlled switch is connected with the control module, and the fourth terminal of the fifth controlled switch is connected with the control module.

[0170] For example, in another embodiment, as Figure 7As shown, the fourth end of the first controlled switch, the fourth end of the second controlled switch, the fourth end of the third controlled switch, the fourth end of the fourth controlled switch, and the fourth end of the fifth controlled switch are respectively used for connecting with a general input and output interface (GPIO) of the charging device. The GPIO interface herein is connected with the control module. In this way, in the present example, the switching of each end of the first controlled switch, the second controlled switch, the third controlled switch, the fourth controlled switch, and the fifth controlled switch can be controlled by the control signal received through the GPIO interface.

[0171] The GPIO interface herein can include a first pin and a second pin. In one embodiment, as shown in FIG. 6, the first pin (GPIO_0) of the GPIO interface is connected with the first controlled switch, the second controlled switch, the third controlled switch, and the fourth controlled switch; and the second pin (GPIO_1) of the GPIO interface is connected with the fifth controlled switch. Figure 5 As shown, the first controlled switch, the second controlled switch, the third controlled switch, and the fourth controlled switch are respectively connected with the first pin (GPIO_0) of the GPIO interface; and the fifth controlled switch is connected with the second pin (GPIO_1) of the GPIO interface. In this way, the first controlled switch, the second controlled switch, the third controlled switch, and the fourth controlled switch together can be controlled respectively from the fifth controlled switch.

[0172] In the embodiments of the present disclosure, when the first charging module has a charging abnormality, the first control signal sent by the control module can be used to control the connection between the first end and the second end of the first controlled switch to be conductive, so that the second charging module is connected to the input end of the overvoltage protection circuit to enable the second charging module to charge; or the first control signal sent by the control module can be used to control the connection between the first end and the second end of the second controlled switch and the third controlled switch to be conductive, so that the second charging module detects the charging voltage of the battery; or the first control signal sent by the control module can be used to control the connection between the first end and the second end of the third controlled switch and the fourth controlled switch to be conductive, so as to perfect the peripheral configuration of the second charging module for charging. In this way, the second charging module can replace the first charging module to continue charging, thereby improving the charging efficiency of the charging module and reducing the charging time.

[0173] For example, in an application scenario, the first controlled switch, the second controlled switch, the third controlled switch, and the fourth controlled switch are respectively connected with the first pin (GPIO_0) of the GPIO interface, and the fifth controlled switch is connected with the second pin (GPIO_1) of the GPIO interface; in this application scenario, a specific control logic of the charging device is disclosed. As shown in FIG. 7, the steps of the control logic are as follows: Figure 8

[0174] Step S601: Determine whether the first charging module and the second charging module have normal communication; if yes, execute step S602; if no, execute step S604;

[0175] Step S602: Set GPIO_0 to output low voltage and GPIO_1 to output low voltage;​

[0176] Here, the high level is used to control the connection between the first end and the third end of each controlled switch to be conductive, and the low level is used to control the connection between the first end and the second end of each controlled switch to be conductive

[0177] In an optional embodiment, the GPIO_0=0 and the GPIO_1=1.

[0178] Step S603: Determine whether the first charging module and the second charging module are normally charging.

[0179] Step S604: Determine whether the first charging module is normally charging; if yes, execute step S605; if no, execute step S607.

[0180] Step S605: Set the GPIO_0 to output a high level and the GPIO_1 to output a low level.

[0181] In an optional embodiment, the GPIO_0=1 and the GPIO_1=0.

[0182] Step S606: Determine that the first charging module is normally charging and the second charging module is stopped charging.

[0183] Step S607: Determine whether the second charging module is normally communicating; if yes, execute step S608; if no, execute step S610.

[0184] Step S608: Set the GPIO_0 to output a low level and the GPIO_1 to output a high level.

[0185] In an optional embodiment, the GPIO_0=0 and the GPIO_1=1.

[0186] Step S609: Determine that the second charging module replaces the first charging module to charge.

[0187] Step S610: Set the GPIO_0 to output a low level and the GPIO_1 to output a low level.

[0188] In an optional embodiment, the GPIO_0=0 and the GPIO_1=0.

[0189] Step S611: Determine that the first charging module and the second charging module are charging simultaneously.

[0190] In this way, in the present example, different level signals output by the first pin and the second pin of the GPIO can be set to control the switching between the ends of each controlled switch, thereby controlling the charging device to be in different charging states.

[0191] In some embodiments, the control module 122 is further configured to send a second control signal to the controlled switch module 121 when the first charging module 111 is in normal charging state;

[0192] The controlled switch module 121 is configured to turn on the connection between the first end and the third end of the first controlled switch 1211, the second controlled switch 1212 and the third controlled switch 1213, and turn on the connection between the first end and the second end of the fourth controlled switch 1214 and the fifth controlled switch 1215 based on the second control signal;

[0193] Alternatively,

[0194] The controlled switch module 121 is configured to turn on the connection between the first end and the third end of at least one of the first controlled switch 1211, the second controlled switch 1212, the third controlled switch 1212 and the fifth controlled switch 1215, and turn on the connection between the first end and the second end of the fourth controlled switch 1214 based on the second control signal.

[0195] In one embodiment, the control module includes a first sub-control module and a second sub-control module, and the first control signal includes a high-level signal and a low-level signal; the first sub-control module is connected with the first controlled switch, the second controlled switch and the third controlled switch respectively, and is configured to send the low-level signal to the first controlled switch, the second controlled switch and the third controlled switch; the second sub-control module is connected with the fourth controlled switch and the fifth controlled switch respectively, and is configured to send the high-level signal to the fourth controlled switch and the fifth controlled switch.

[0196] The high-level signal herein is used to control the connection between the first end and the third end of each controlled switch to be turned on, and the low-level signal herein is used to control the connection between the first end and the second end of each controlled switch to be turned on.

[0197] In the embodiments of the present disclosure, when the first charging module is in normal charging state, the connection between the first end and the third end of the first controlled switch, the second controlled switch and the third controlled switch can be turned on, and when the second charging module is in loss or communication abnormality, the charging can still be performed through the first charging module, so as to basically maintain the charging efficiency of the charging device. Moreover, the connection between the first end and the second end of the fourth controlled switch and the fifth controlled switch can be turned on to indicate that the charging device is for charging of a single charging module.

[0198] In other embodiments, the control module is further configured to send a third control signal to the controlled switch module when the first charging module is in normal charging state and it is determined that the second charging module can work normally;

[0199] The controlled switch module turns on the connection between the first end and the third end of the first controlled switch, the second controlled switch, the third controlled switch, the fourth controlled switch and the fifth controlled switch based on the third control signal.

[0200] In an embodiment, the third control signal is a low-level signal.

[0201] In the embodiments of the present disclosure, the first charging module and the second charging module work in parallel for charging, so that the charging efficiency of the charging module can be greatly improved and the charging time can be reduced.

[0202] The following provides an example of a specific charging device in combination with any of the above charging device embodiments; please refer again to Figure 7 , the charging device comprises:

[0203] The charging circuit 11 comprises a first charging module 111 and a second charging module 112.

[0204] The switching circuit 12 comprises:

[0205] The controlled switch module 121 comprises a first controlled switch 1211, a second controlled switch 1212, a third controlled switch 1213, a fourth controlled switch 1214 and a fifth controlled switch 1215.

[0206] The control module 122 is connected with the fifth controlled switch 1215 through the first pin (GPIO_0) of the GPIO, and is connected with the first controlled switch 1211, the second controlled switch 1212, the third controlled switch 1213 and the fourth controlled switch 1214 through the second pin (GPIO_1) of the GPIO respectively.

[0207] The overvoltage protection circuit 13.

[0208] The overvoltage protection end of the first charging module 111 is connected with the input end of the overvoltage protection circuit 13.

[0209] The first end of the first controlled switch 1211 is connected with the overvoltage protection end of the second charging module 1212, the second end of the first controlled switch 1211 is connected with the input end of the overvoltage protection circuit 13, and the third end of the first controlled switch 1211 is connected with the output end of the overvoltage protection circuit 13.

[0210] The first end of the second controlled switch 1212 is used for connecting with the positive electrode of the battery, the second end of the second controlled switch 1212 is connected with the positive electrode end of the battery of the second charging module 112, and the third end of the second controlled switch 1212 is connected with the positive electrode end of the battery of the first charging module 111.

[0211] a first end of the third controlled switch 1213 is configured to be connected with a negative electrode of the battery, a second end of the third controlled switch 1213 is configured to be connected with a negative electrode of the battery of the second charging module 112, and a third end of the third controlled switch 1213 is configured to be connected with a negative electrode of the battery of the first charging module 111;

[0212] a first end of the fourth controlled switch 1214 is connected with the second charging module 112, a second end of the fourth controlled switch 1214 is suspended, and a third end of the fourth controlled switch 1214 is configured to be connected with the first resistor;

[0213] a first end of the fifth controlled switch 1215 is connected with the first charging module 111, a second end of the fifth controlled switch 1215 is suspended, and a third end of the fifth controlled switch 1215 is configured to be connected with the second resistor;

[0214] The control module 122 is configured to send a first control signal to the controlled switch module 121 when the first charging module 111 has a charging abnormality, so as to control the connection between the first end and the second end of the first controlled switch 1211, the second controlled switch 1212, the third controlled switch 1213, the fourth controlled switch 1214 and the fifth controlled switch 1215 to be conductive.

[0215] The control module 122 is configured to send a second control signal to the controlled switch module 121 when the first charging module 111 has a charging normality, so as to control the connection between the first end and the third end of the first controlled switch 1211, the second controlled switch 1212 and the third controlled switch 1213 to be conductive, and the connection between the first end and the second end of the fourth controlled switch 1214 and the fifth controlled switch 1215 to be conductive.

[0216] Thus, in the embodiment of the present disclosure, without changing the charging architecture of the original charging device, by adding five controlled switches and a control module or other module for controlling the switching of the first end of the five controlled switches to be conductive, the charging according to any one of the first charging module and the second charging module can be freely switched, that is, when any one of the first charging module and the second charging module is damaged and cannot be charged, the charging according to the other one can be continued, so that the charging efficiency of the charging device can be basically maintained, and the probability of significant decrease of the charging performance of the charging device is reduced. The structure of the charging device provided in the embodiment of the present disclosure is not changed much, and the compatibility of the PCB of the hardware design is strong.

[0217] For example, for a 4500mAn battery of a smart device: when both the first charging module and the second charging module are used for charging, it takes about 45 minutes to fully charge the battery; when only one charging module is used for charging, i.e., one of the first charging module and the second charging module is used for charging, it takes about 56 minutes to fully charge the battery; and if the first charging is directly charged according to the PMIC charging chip according to the related art, it takes about 110 minutes to fully charge the battery. It can be understood that in the embodiments of the present disclosure, when the first charging module has a charging abnormality, charging is performed according to the second charging module, and the charging efficiency does not decrease significantly; and if the first charging module has a charging abnormality and charging is performed according to the PMIC charging chip according to the related art, the charging efficiency decreases significantly.

[0218] It should be noted that: the description of the following charging method corresponds to the description of the above charging device. For technical details of the charging method embodiments in the present disclosure that are not disclosed, please refer to the description of the charging device embodiments described in the present disclosure, which will not be described in detail here.

[0219] As shown in Figure 9 A charging method is provided, which is applied to a charging device, the charging device includes a charging circuit, the charging circuit includes N charging modules; wherein the N charging modules include a first charging module and a second charging module; the method includes:

[0220] Step S71: obtaining charging information according to the first charging module;

[0221] Step S72: in response to the charging information indicating that the first charging module charging has a charging abnormality, switching to charging according to the second charging module.

[0222] The switching to charging according to the second charging module in the above step S72 can be switching to charging using the second charging module.

[0223] Here, if the charging information indicates that the first charging module charging has a charging abnormality, the first charging module is controlled to stop charging and the second charging module is controlled to charge.

[0224] Here, the charging information indicates that the first charging module charging has a charging normality, charging is performed according to the first charging module, or charging is performed according to the first charging module and the second charging module together.

[0225] The first charging module here is a master charging module, and the second charging is a slave charging module.

[0226] In some embodiments, the step S72 includes:

[0227] in response to the charging information indicating that the first charging module charging has a charging abnormality, generating a first control signal;

[0228] based on the first control signal, controlling the second charging module to charge.

[0229] In some embodiments, the charging device comprises an overvoltage protection circuit.

[0230] The control of the second charging module to charge based on the first control signal comprises:

[0231] based on the first control signal, controlling the second charging module to switch to be connected with the input end of the overvoltage protection circuit, so that the second charging module enters a charging state to charge.

[0232] In other embodiments, the control of the second charging module to charge based on the first control signal comprises at least one of:

[0233] based on the first control signal, controlling the positive electrode end of the battery of the second charging module to be connected with the positive electrode of the battery in the wireless charging device, and controlling the negative electrode end of the battery of the second charging module to be connected with the negative electrode of the battery, so that the second charging module enters a charging state to charge.

[0234] based on the first control signal, controlling the predetermined end of the second charging module to be suspended and the predetermined end of the first charging module to be suspended, so that the second charging module enters a charging state to charge.

[0235] based on the first control signal, controlling the predetermined end of the second charging module to be connected with a resistor and the predetermined end of the first charging module to be suspended, so that the second charging module enters a charging state to charge.

[0236] In one embodiment, the resistor connected with the predetermined end of the first charging module can be a first resistor.

[0237] Here, when the second charging module is connected with the input end of the overvoltage protection circuit, the second charging module enters a charging state.

[0238] In some embodiments, the method further comprises:

[0239] in response to the charging information indicating that the first charging module charging has a charging abnormality, switching to charge according to the first charging module again.

[0240] In some embodiments, the method further comprises:

[0241] generating a second control signal in response to the charging information indicating that the first charging module charging is normal;

[0242] controlling the second charging module to stop charging based on the second control signal.

[0243] In some embodiments, the controlling the second charging module to stop charging based on the second control signal comprises:

[0244] controlling the second charging module to switch to connect with the output terminal of the overvoltage protection circuit based on the second control signal, so that the second charging module enters a non-charging state to stop charging.

[0245] Here, when the second charging module is connected with the output terminal of the overvoltage circuit, the second charging module enters a non-charging state.

[0246] In yet some embodiments, the controlling the second charging module to stop charging based on the second control signal comprises at least one of:

[0247] In other embodiments, the controlling the second charging module to charge based on the first control signal comprises at least one of:

[0248] controlling the positive electrode terminal of the battery of the first charging module to connect with the positive electrode of the battery in the wireless charging device and controlling the negative electrode terminal of the battery of the first charging module to connect with the negative electrode of the battery based on the first control signal, so that the second charging module enters a charging state to charge;

[0249] controlling the predetermined terminal of the second charging module to be suspended and the predetermined terminal of the first charging module to connect with a resistor based on the first control signal, so that the second charging module enters a charging state to charge.

[0250] In one embodiment, the resistor connected with the predetermined terminal of the first charging module can be a second resistor.

[0251] In some embodiments, the step S71 comprises:

[0252] generating a first control signal if the first charging module charging is abnormal;

[0253] controlling the second charging module to switch to connect with the input terminal of the overvoltage protection circuit based on the first control signal.

[0254] In some embodiments, the method further comprises detecting the charging voltage when the second charging module is charging. Thus, in the embodiments of the present disclosure, the charging voltage of the second charging module can also be monitored in real time to know the charging condition of the second charging module according to the wireless charging device.

[0255] In some embodiments, if the first charging module is normal, the second charging module is switched to be connected to the output terminal of the overvoltage protection circuit, comprising:

[0256] If the first charging module is normal, a second control signal is generated;

[0257] Based on the second control signal, the second charging module is switched to be connected to the output terminal of the overvoltage protection circuit.

[0258] The embodiments of the present disclosure also provide a terminal, comprising:

[0259] a memory for storing processor executable instructions;

[0260] The processor is configured to implement the charging method of any of the embodiments of the present disclosure when executing the executable instructions.

[0261] Here, the terminal is a terminal comprising a charging device.

[0262] The memory can include various types of storage media, which is a non-transitory computer storage medium capable of continuing to store information stored thereon after the communication device is powered off.

[0263] The processor can be connected with the memory through a bus or the like, for reading the executable program stored on the memory, for example, at least one of the methods shown in Figure 8- Figure 9

[0264] As to the device in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the charging device, which will not be described in detail here.

[0265] Figure 10 is a block diagram of a charging device 800 according to an exemplary embodiment. For example, the device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0266] Referring to Figure 10 ​The device 800 can include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0267] The processing component 802 generally controls the overall operation of the device 800 such as the operation of the display, the telephone call, the data communication, the camera operation and the recording operation. The processing component 802 can include one or more processors 820 to execute instructions to complete the steps of the methods described above. Furthermore, the processing component 802 can include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0268] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of these data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and so on. The memory 804 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0269] The power supply component 806 supplies the various components of the device 800 with power. The power supply component 806 can include a power management system, one or more power supplies, and other components associated with generating, managing and distributing power for the device 800.

[0270] The multimedia component 808 includes a screen providing an output interface between the device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide and a gesture on the touch panel. The touch sensors can not only sense a boundary of a touching or a sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 808 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the device 800 is in an operation mode, such as a shooting mode or a video mode. Each of the front and back cameras can be a fixed optical lens system or have a focal length and optical zoom capability.

[0271] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0272] The I / O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0273] The sensor component 814 includes one or more sensors for providing status assessments of various aspects of the device 800. For example, the sensor component 814 can detect an open / closed position of the device 800, relative positioning of components, such as a display and a keypad of the device 800, a change of position of the device 800 or a component of the device 800, presence or absence of user contact with the device 800, changes in orientation or acceleration / deceleration

[0274] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a corresponding communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 816 receives broadcast signals or broadcast-related information from external broadcast management systems via a broadcast channel. In an example embodiment, the communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.

[0275] In exemplary embodiments, the apparatus 800 can be implemented using one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic devices, for performing the above methods.

[0276] In exemplary embodiments, a non-transitory computer readable storage medium including instructions, such as the memory 804 including instructions, is also provided, which can be executed by the processor 820 of the apparatus 800 to complete the above methods. For example, the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0277] Embodiments of the present disclosure also provide a computer readable storage medium, which stores an executable program, wherein the executable program is executed by a processor to implement the charging method according to any of the embodiments of the present disclosure.

[0278] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure following the general principles thereof and including such departures from the present disclosure that come within known

[0279] It should be understood that the present disclosure is not limited to the precise structures herein described and illustrated above, and that various modifications and changes in the herein described embodiments can be effected without departing from the scope of the disclosure. The scope of the disclosure should be limited only by the appended claims.

Claims

1. A charging device, characterized by, The charging device comprises: a charging circuit comprising N charging modules; wherein the N charging modules comprise at least a first charging module and a second charging module; wherein N is an integer greater than 1; a switching circuit connected to the first charging module and the second charging module; wherein the switching circuit is configured to control the first charging module to enter a charging state or control the second charging module and the first charging module to enter a charging state when the first charging module charging is normal; or control the second charging module to enter a charging state when the first charging module charging is abnormal; wherein the switching circuit comprises a controlled switch module connected to the first charging module and the second charging module; and a control module connected to the controlled switch module, configured to switch the controlled switch module from a first switch state to a second switch state to enable the second charging module to enter a charging state when the first charging module charging is abnormal; wherein if the controlled switch module is in the first switch state, the second charging module enters a non-charging state when the first charging module charging is abnormal; The charging device further comprises an overvoltage protection circuit; the controlled switch module comprises at least a first controlled switch; an overvoltage protection end of the first charging module is connected to an input end of the overvoltage protection circuit; an overvoltage protection end of the second charging module is connected to a first end of the first controlled switch, a second end of the first controlled switch is connected to the input end of the overvoltage protection circuit, and a third end of the first controlled switch is connected to an output end of the overvoltage protection circuit; wherein when the first charging module charging is abnormal, a connection between the first end and the second end of the first controlled switch is conductive, and the second charging module enters a charging state; when the first charging module charging is normal and the second charging module charging is normal, a connection between the first end and the third end of the first controlled switch is conductive, and the second charging module maintains a charging state; and a charging power when the first charging module charging is normal and the second charging module maintains a charging state is lower than a charging power of the second charging module when the first charging module charging is abnormal.

2. The charging device of claim 1, wherein, The controlled switch module further comprises a second controlled switch and a third controlled switch; wherein a first end of the second controlled switch is configured to be connected to a positive electrode of a battery, a second end of the second controlled switch is connected to a positive electrode end of a battery of the second charging module, and a third end of the second controlled switch is connected to a positive electrode end of a battery of the first charging module; a first end of the third controlled switch is configured to be connected to a negative electrode of a battery, a second end of the third controlled switch is configured to be connected to a negative electrode end of a battery of the second charging module, and a third end of the third controlled switch is connected to a negative electrode end of a battery of the first charging module; If the first charging module experiences a charging abnormality, the connection between the first and second terminals of the second controlled switch and the connection between the first and second terminals of the third controlled switch will be established, and the second charging module will detect the charging voltage of the battery.

3. The charging device of claim 2, wherein, The controlled switch module further includes: a fourth controlled switch and a fifth controlled switch; wherein... The first end of the fourth controlled switch is connected to the second charging module, the second end of the fourth controlled switch is left floating, and the third end of the fourth controlled switch is used to connect to the first resistor. The first end of the fifth controlled switch is connected to the first charging module, and the second end of the fifth controlled switch is suspended. When the first charging module experiences a charging abnormality, the connection between the first and second terminals of the fourth controlled switch and the connection between the first and second terminals of the fifth controlled switch are both made conductive; or, the connection between the first and third terminals of the fourth controlled switch and the connection between the first and second terminals of the fifth controlled switch are both made conductive.

4. The charging device according to claim 3, characterized in that, The control module is used to send a first control signal to the controlled switch module if the first charging module experiences a charging abnormality. The controlled switch module, based on the first control signal, connects the first and second terminals of at least one of the first, second, third, fourth, and fifth controlled switches.

5. The charging device according to claim 4, characterized in that, The control module is used to send a second control signal to the controlled switch module if the first charging module shows normal charging. The controlled switch module, based on the second control signal, connects the first and third terminals of the first, second, and third controlled switches, as well as the first and second terminals of the fourth and fifth controlled switches.

6. The charging device according to claim 1, characterized in that, The switching circuit is used to switch the controlled switch module from the second switch state to the first switch state when the first charging module is charging normally, so that the second charging module enters the non-charging state.

7. A charging method characterized by, The method is applied to a charging device, the charging device comprising: a charging circuit and an overvoltage protection circuit; the charging circuit comprising: N charging modules; wherein, the N charging modules include at least: a first charging module and a second charging module; wherein, N is an integer greater than 1; the method comprises: Obtain charging information based on the first charging module; In response to the charging information indicating that the first charging module is charging normally, the first charging module and the second charging module are charged together. In response to the charging information indicating that the first charging module has a charging abnormality, the charging is switched to the second charging module; The method comprises: In response to the charging information indicating that the first charging module charging is abnormal, generating a first control signal; Based on the first control signal, controlling the second charging module to switch to be connected with the input end of the overvoltage protection circuit, so that the second charging module enters a charging state to charge; wherein, when the first charging module charging is normal and the second charging module maintains the charging state, the charging power is lower than the charging power of the second charging module when the first charging module charging is abnormal.

8. The method of claim 7, wherein, The method further comprises: In response to the charging information indicating that the first charging module charging is normal and the second charging module charging is abnormal, generating a second control signal; Based on the second control signal, controlling the second charging module to stop charging.

9. The method of claim 8, wherein, The method further comprises: Based on the second control signal, controlling the second charging module to switch to be connected with the output end of the overvoltage protection circuit, so that the second charging module enters a non-charging state to stop charging.

10. A terminal, characterized by comprising: The method further comprises: A processor; A memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the charging method of any one of claims 7-9.

11. A computer readable storage medium characterized by, The readable storage medium stores an executable program, wherein the executable program is executed by the processor to implement the charging method of any one of claims 7-9.

Citation Information

Patent Citations

  • Intelligent standby power supply device

    CN211266581U

  • Double electric power source having a double monitoring function

    KR1020090082809A

  • Apparatus for supplying standby power

    US20050045225A1