Charging device and electronic equipment
By introducing a wired charging detection module and a voltage divider path into the charging device, the problem of high-voltage wireless charging being unable to switch to wired charging is solved, charging efficiency is improved and the voltage conversion module is protected, achieving a smooth switch from high-voltage wireless charging to wired charging.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-17
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, mobile phones cannot switch to efficient wired charging when using high-voltage wireless charging, resulting in low charging efficiency and the risk of damage to the device when wired connection is used.
By introducing a wired charging detection module into the charging device, a voltage divider path is provided. During high-voltage wireless charging, the insertion of a wired charging device is detected, and the voltage is transmitted to the voltage conversion module through the voltage divider circuit, realizing the switching from wireless charging to wired charging and protecting the voltage conversion module from high-voltage damage.
It improves charging efficiency, avoids damage to the voltage conversion module when wired, and enables a smooth switch from high-voltage wireless charging to wired charging.
Smart Images

Figure CN121965853A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power supply technology, specifically to a charging device and an electronic device. Background Technology
[0002] With the development of wireless charging technology, more and more mobile phones and electronic devices are equipped with wireless charging capabilities. Phones supporting wireless charging have two external charging methods: wired charging via a charging port such as Type-C, and wireless inductive charging. These two charging methods physically overlap in certain scenarios, such as when the phone is plugged into a charger and placed on a wireless charging pad, or when the user inserts a Type-C cable to transfer data while the phone is on a wireless charging pad. However, current mobile phones have limitations in switching between wireless and wired charging. When using high-voltage wireless charging, if the user inserts a cable, they cannot switch to the more efficient wired charging. Summary of the Invention
[0003] In view of this, embodiments of this application provide a charging device and an electronic device that can switch to wired charging by inserting a wired connection when performing high-voltage wireless charging, thereby improving charging efficiency.
[0004] In a first aspect, embodiments of this application provide a charging device, comprising: a wireless charging module; a first voltage conversion module; a first overvoltage protection device, wherein a first terminal of the first overvoltage protection device is electrically connected to the output terminal of the wireless charging module, and a second terminal of the first overvoltage protection device is electrically connected to the input terminal of the first voltage conversion module; a second voltage conversion module, wherein the input terminal of the second voltage conversion module is electrically connected to the output terminal of the wireless charging module; a second overvoltage protection device, wherein a first terminal of the second overvoltage protection device is electrically connected to the power supply terminal of a wired plug-in port, and a second terminal of the second overvoltage protection device is electrically connected to the output terminal of the wireless charging module; and a wired charging detection module, wherein the wired charging detection module is electrically connected to the power supply terminal of the wired plug-in port and the input terminal of the first voltage conversion module, and the wired charging detection module is used to divide and output the voltage of the power supply terminal of the wired plug-in port to the input terminal of the first voltage conversion module when the charging device is in a wireless charging state and the output voltage of the wireless charging module exceeds a first voltage threshold.
[0005] When the charging device is in wireless charging mode and the output voltage of the wireless charging module exceeds the first voltage threshold, it indicates that the charging device is performing high-voltage wireless charging. At this time, the first overvoltage protection device will be cut off due to the high output voltage of the wireless charging module. Therefore, even if a wired charging device is connected to the wired plug port, the voltage at the power supply terminal of the wired plug port cannot be transmitted to the input terminal of the first voltage conversion module through the first overvoltage protection device. The wired charging detection module provides a voltage divider path outside the first overvoltage protection device. During high-voltage wireless charging, it can divide and output the voltage at the power supply terminal of the wired plug port to the input terminal of the first voltage conversion module. At this time, if a wired charging device is inserted into the wired plug port, it can provide voltage to the power supply terminal of the wired plug port. This voltage can then be transmitted to the input terminal of the first voltage conversion module after being divided by the wired charging detection module. The first voltage conversion module can then recognize the insertion of the wired charging device and switch from wireless high-voltage charging to wired charging to improve charging efficiency. Furthermore, the voltage at the power supply terminal of the wired plug-in port is divided and output to the input terminal of the first voltage conversion module, which helps to prevent damage to the first voltage conversion module when the voltage at the power supply terminal of the wired plug-in port is too high.
[0006] In some possible implementations, the wired charging detection module includes: a first resistor and a second resistor connected in series between the power supply terminal and the low-level terminal of the wired plug port; the voltage divider output from the power supply terminal of the wired plug port to the input terminal of the first voltage conversion module is achieved by outputting the voltage after voltage division from the power supply terminal of the wired plug port through the first resistor and the second resistor to the input terminal of the first voltage conversion module. Voltage division of the power supply terminal voltage of the wired plug port can be achieved using the first resistor and the second resistor, and the voltage divider circuit is simple and effective.
[0007] In some possible implementations, the wired charging detection module further includes: a first switching device connected in series between a first resistor and a second resistor, wherein a first terminal of the first switching device is electrically connected to the first resistor, and a second terminal of the first switching device is electrically connected to the second resistor and the input terminal of the first voltage conversion module; a third resistor connected in series between the control terminal of the first switching device and the power terminal of the wired plug-in port; the first switching device is an N-type device. When the charging device is in wireless charging mode and the output voltage of the wireless charging module exceeds a first voltage threshold, if a wired charging device is inserted, there will be a high voltage at the power terminal of the wired plug-in port. This high voltage will act on the control terminal of the first switching device through the third resistor to control the first switching device to conduct. At this time, the first resistor and the second resistor can divide the voltage at the power terminal of the wired plug-in port and transmit it to the input terminal of the first voltage conversion module. In other scenarios, the control terminal voltage of the first switching device can be pulled low to control the first switching device to turn off. This helps to prevent the voltage at the input terminal of the first voltage conversion module from flowing back to the power terminal of the wired plug-in port through the wired charging detection module.
[0008] In some possible implementations, the wired charging detection module further includes a second switching device connected in series between the control terminal and the low-level terminal of the first switching device. The second switching device is used to turn off when the charging device is in wireless charging mode and the output voltage of the wireless charging module exceeds a first voltage threshold. In this case, the second switching device will not adversely affect the voltage division process of the first and second resistors, and it helps to avoid leakage current from the power supply terminal of the wired plug-in port to ground. The second switching device is also used to turn on when the charging device is in wireless charging mode and the output voltage of the wireless charging module does not exceed the first voltage threshold. In this case, the control terminal of the first switching device will remain pulled low and will be turned off, thereby helping to prevent the voltage at the input terminal of the first voltage conversion module from flowing back to the power supply terminal of the wired plug-in port through the wired charging detection module in this scenario.
[0009] In some possible implementations, the wired charging detection module further includes a third switching device connected in series between the second resistor and the low-level terminal. When wired charging detection is not required, the third switching device can be turned off, which helps to prevent leakage to ground from the input terminal of the first voltage conversion module through the second resistor.
[0010] In some possible implementations, the charging device further includes a control module, which is configured to control a second switching device to turn off and a third switching device to turn on when the charging device is in wireless charging mode and the output voltage of the wireless charging module exceeds a first voltage threshold. Alternatively, when the wired charging detection module is inserted into the wired plug port, it can transmit a voltage divider of the power supply voltage of the wired plug port to the input of the first voltage conversion module, thereby triggering a switch to wired charging based on the input of the first voltage conversion module.
[0011] In some possible implementations, the control module is further configured to: when the second switching device is off and the third switching device is on, if it is determined from the voltage at the input terminal of the first voltage conversion module that a power supply terminal of the wired plug-in port is inserted, then reduce the output voltage of the wireless charging module; when the output voltage of the wireless charging module drops below a second voltage threshold, control the second switching device to turn on and control the third switching device to turn off, wherein the second voltage threshold is less than the first voltage threshold. Before switching to wired charging, the output voltage of the wireless charging module is reduced to mitigate the adverse effects of high-voltage wireless charging.
[0012] In some possible implementations, the first overvoltage protection device is used to cut off when the charging device is in wireless charging state and the output voltage of the wireless charging module exceeds a first voltage threshold, and to turn on after the output voltage of the wireless charging module drops below a second voltage threshold.
[0013] In some possible implementations, if the voltage at the input terminal of the first voltage conversion module indicates that the power supply terminal of the wired plug-in port is inserted, the process of reducing the output voltage of the wireless charging module includes: if the voltage at the input terminal of the first voltage conversion module indicates that the power supply terminal of the wired plug-in port is inserted, and the data terminal of the wired plug-in port indicates that the wired plug-in port is not an OTG plug-in, then the output voltage of the wireless charging module is reduced. When the wired plug-in port is an OTG plug-in, the plugged device does not act as a power source to charge the battery of the electronic device, but rather the electronic device needs to supply power to the plugged device; therefore, the corresponding process is executed.
[0014] In some possible implementations, the charging device further includes a reverse charging module; the control module is also configured to: if it is determined from the voltage at the input terminal of the first voltage conversion module that the power terminal of the wired plug-in port is inserted, and it is determined from the data terminal of the wired plug-in port that the wired plug-in port is an OTG insertion, then control the second switching device to turn on, control the third switching device to turn off, and control the reverse charging module to provide reverse boost power to the power terminal of the wired plug-in port. If the wired plug-in port is an OTG insertion, it indicates that the inserted device is not a charging device, but an OTG device that requires the electronic device to provide reverse boost power through the power terminal VCONN of the wired plug-in port. Therefore, controlling the first switching device to turn off helps to avoid leakage to ground during the reverse boost power supply process.
[0015] Secondly, embodiments of this application provide an electronic device including the charging device described above. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of a charging device according to an embodiment of this application;
[0018] Figure 2 for Figure 1 The corresponding signal diagram when a wired charging device is inserted in wireless high-voltage charging mode;
[0019] Figure 3 This is a schematic diagram of another charging device in the embodiments of this application;
[0020] Figure 4 This is a schematic diagram of a control method in an embodiment of this application;
[0021] Figure 5 This is a schematic diagram of another control method in an embodiment of this application;
[0022] Figure 6 This is a schematic diagram of a simulation model in an embodiment of this application;
[0023] Figure 7 For based on Figure 6 A schematic diagram of the simulation results of the simulation model in the middle;
[0024] Figure 8 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0025] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0026] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0027] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0028] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0029] like Figure 1 As shown, this application embodiment provides a charging device for use in an electronic device to charge the battery in the electronic device, such as a mobile phone. The charging device includes: a wireless charging module 1, a first voltage conversion module 21, and a first overvoltage protection (OVP) device T1.
[0030] The charging device may also include a wireless charging coil, and the wireless charging module 1 is used to receive wireless power from the wireless charging coil. The wireless charging module 1 may include a rectifier, a filter circuit, a low-dropout regulator (LDO), and a controller. It should be noted that... Figure 1 The specific circuit structure of the wireless charging module 1 is only an example. In other possible implementations, the wireless charging module 1 may also have other circuit structures.
[0031] The first voltage conversion module 21 can be a charging power management unit (CPMU). The CPMU supports low-voltage buck conversion charging. The output of the first voltage conversion module 21 is electrically connected to the battery. The first voltage conversion module 21 is used to provide a wireless or wired charging path to the battery.
[0032] The first terminal of the first overvoltage protection device T1 is electrically connected to the output terminal VBUS of the wireless charging module 1, and the second terminal of the first overvoltage protection device T1 is electrically connected to the input terminal USB_IN of the first voltage conversion module 21. The control terminal of the first overvoltage protection device T1 can be electrically connected to the overvoltage protection control terminal of the first voltage conversion module 21. The control terminal of the first overvoltage protection device T1 can control the conduction or cutoff between the first terminal and the second terminal. The first overvoltage protection device T1 can be, for example, a metal-oxide-semiconductor field-effect transistor (MOSFET). The first terminal of the first overvoltage protection device T1 can be one of the source and drain of the MOSFET, and the second terminal of the first overvoltage protection device T1 can be the other of the source and drain of the MOSFET. The control terminal of the first overvoltage protection device T1 can be the gate of the MOSFET.
[0033] The charging device also includes a second voltage conversion module 22 and a second overvoltage protection device T2. The input terminal of the second voltage conversion module 22 is electrically connected to the output terminal VBUS of the wireless charging module 1. The second voltage conversion module 22 can be a voltage conversion circuit for realizing high voltage conversion. The first terminal of the second overvoltage protection device T2 is electrically connected to the power terminal VCONN of the wired plug-in port, which can be a USB port, such as a Type-C port. The second terminal of the second overvoltage protection device T2 is electrically connected to the output terminal VBUS of the wireless charging module 1. The control terminal of the second overvoltage protection device T2 can be electrically connected to the second voltage conversion module 22. The second voltage conversion module 22 supports high-voltage charging function. The output terminal of the second voltage conversion module 22 is electrically connected to the battery. The second voltage conversion module 22 is used to provide a wireless or wired charging path to the battery.
[0034] The charging device also includes a third voltage conversion module 23 and a third overvoltage protection device T3. The input terminal of the third voltage conversion module 23 is electrically connected to the output terminal VBUS of the wireless charging module 1. The third voltage conversion module 23 can be a voltage conversion circuit for realizing high-voltage conversion. The first terminal of the third overvoltage protection device T3 is electrically connected to the power terminal VCONN of the wired plug-in port, and the second terminal of the third overvoltage protection device T3 is electrically connected to the input terminal of the third voltage conversion module 23. The control terminal of the third overvoltage protection device T3 can be electrically connected to the third voltage conversion module 23. The third voltage conversion module 23 supports high-voltage charging function, and the output terminal of the third voltage conversion module 23 is electrically connected to the battery. The third voltage conversion module 23 is used to provide a wired charging path to the battery.
[0035] The wireless charging voltage from the wireless charging module 1 can charge the battery through the paths of the first voltage conversion module 21 and the second voltage conversion module 22. For example, low-voltage wireless charging can be achieved through the path of the first voltage conversion module 21, and high-voltage wireless charging can be achieved through the path of the second voltage conversion module 22. The wired charging voltage from the power terminal VCONN of the wired plug port can charge the battery through different combinations of the paths of the first voltage conversion module 21, the second voltage conversion module 22, and the third voltage conversion module 23. For example, high-voltage wired charging can be achieved through the paths of the second voltage conversion module 22 and the third voltage conversion module 23, and low-voltage wired charging can be achieved through the path of the first voltage conversion module 21. For wired charging, even if the charging path of the first voltage conversion module 21 is not required, the first voltage conversion module 21 can still be used to trigger wired charging in the initial stage of charging.
[0036] Wireless charging is less efficient than wired charging, typically achieving less than 70% of the maximum efficiency of wired charging. This efficiency can further decrease depending on the position or distance between the phone and the wireless charging pad. Furthermore, since there are scenarios where the phone is placed on the wireless charging pad while plugged in a charger, it's important to avoid inserting USB devices like computers or flash drives while wirelessly charging to prevent high voltage inrush and damage. To prevent issues like USB devices not being recognized during wireless charging, related technologies prioritize wired connections, meaning wireless charging is disabled when a wired charging device is plugged in. Because the maximum withstand voltage of the input terminal USB_IN of the first voltage conversion module 21 is limited, but during high-voltage wireless charging, the voltage at the output terminal VBUS of the wireless charging module 1 exceeds the maximum withstand voltage of the input terminal USB_IN, the first overvoltage protection device T1 will trip when the voltage at the output terminal VBUS of the wireless charging module 1 exceeds the withstand voltage threshold. Figure 2 This illustrates the process of inserting a wired charging device during wireless high-voltage charging. Figure 1 The signal curves for some nodes are shown, where the horizontal axis represents time and the vertical axis represents signal amplitude. Here, VBUS represents the output voltage of wireless charging module 1, VCONN represents the voltage of power terminal VCONN, VDRV represents the voltage of the control terminal of the first overvoltage protection device T1, and USB_IN represents the input voltage of the first voltage conversion module 21, USB_IN. The first voltage conversion module 21 is used to identify and initiate wired charging based on the signal from the input USB_IN. Figure 2As can be seen, during high-voltage wireless charging, the control terminal of the first overvoltage protection device T1 is always at a low level (the voltage that controls the first overvoltage protection device T1 to be cut off), that is, the first overvoltage protection device T1 is always in the cut-off state. The input terminal USB_IN of the first voltage conversion module 21 has no voltage, so the first voltage conversion module 21 cannot recognize the wired device, resulting in the inability to switch to wired charging during the high-voltage wireless charging process.
[0037] To address the aforementioned problems, embodiments of this application provide a charging device, such as... Figure 3 As shown, in Figure 1 Based on the structure shown, the charging device also includes a wired charging detection module 3. The wired charging detection module 3 is electrically connected to the power supply terminal VCONN of the wired plug-in port and the input terminal USB_IN of the first voltage conversion module 21. The wired charging detection module 3 is used to divide and output the voltage of the power supply terminal VCONN of the wired plug-in port to the input terminal USB_IN of the first voltage conversion module 21 when the charging device is in wireless charging state and the output terminal VBUS voltage of the wireless charging module 1 exceeds the first voltage threshold.
[0038] Specifically, when the charging device is in wireless charging mode and the output VBUS voltage of the wireless charging module 1 exceeds the first voltage threshold, it indicates that the charging device is performing high-voltage wireless charging. At this time, the first overvoltage protection device T1 will be in the cut-off state due to the high output VBUS voltage of the wireless charging module 1. Therefore, even if the wired charging device is connected to the wired plug port, the voltage of the power supply terminal VCONN of the wired plug port cannot be transmitted to the input terminal USB_IN of the first voltage conversion module 21 through the first overvoltage protection device T1. The wired charging detection module 3 provides a voltage divider path outside the first overvoltage protection device T1. During high-voltage wireless charging, it divides and outputs the voltage of the power supply terminal VCONN of the wired plug-in port to the input terminal USB_IN of the first voltage conversion module 21. When a wired charging device is plugged into the wired plug-in port, it can supply voltage to the power supply terminal VCONN. This voltage is then divided by the wired charging detection module 3 and transmitted to the input terminal USB_IN of the first voltage conversion module 21. The first voltage conversion module 21 can then detect the insertion of the wired charging device and switch from wireless high-voltage charging to wired charging, thereby improving charging efficiency. Furthermore, since the voltage of the power supply terminal VCONN of the wired plug-in port is divided and output to the input terminal USB_IN of the first voltage conversion module 21, it helps to prevent damage to the first voltage conversion module 21 when the voltage of the power supply terminal VCONN of the wired plug-in port is too high.
[0039] Understandably, the third voltage conversion module 23 and the third overvoltage protection device T3 in the embodiments of this application are optional. Even without the third voltage conversion module 23 and the third overvoltage protection device T3, wired charging can still be achieved, and the wireless charging process will not be affected.
[0040] In some embodiments, the wired charging detection module 3 includes a first resistor R1 and a second resistor R2 connected in series between the power terminal VBUS and the low-level terminal of the wired plug-in port, the low-level terminal being, for example, a ground terminal; the above-mentioned voltage division and output of the voltage of the power terminal VCONN of the wired plug-in port to the input terminal USB_IN of the first voltage conversion module 21 is as follows: the voltage of the power terminal VCONN of the wired plug-in port is divided by the first resistor R1 and the second resistor R2 and then output to the input terminal USB_IN of the first voltage conversion module 21. The voltage division of the power terminal VBUS of the wired plug-in port can be achieved through the first resistor R1 and the second resistor R2, and the voltage divider circuit is simple and effective.
[0041] In some embodiments, the wired charging detection module 3 further includes: a first switching device M1 connected in series between a first resistor R1 and a second resistor R2, wherein the first terminal of the first switching device M1 is electrically connected to the first resistor R1, and the second terminal of the first switching device M2 is electrically connected to the second resistor R2 and the input terminal USB_IN of the first voltage conversion module 21; a third resistor R3 connected in series between the control terminal of the first switching device M1 and the power terminal VCONN of the wired plug-in port; the first switching device M1 is an N-type device.
[0042] Specifically, the first switching device M1 is, for example, an N-type MOSFET, with its first terminal being one of the source and drain, its second terminal being the other of the source and drain, and its control terminal being the gate. When the control terminal of the first switching device M1 is high, it controls itself to conduct; when the control terminal of the first switching device M1 is low, it controls itself to cut off. When the charging device is in wireless charging mode and the output voltage VBUS of the wireless charging module 1 exceeds the first voltage threshold, if a wired charging device is inserted, there will be a high voltage at the power supply terminal VCONN of the wired plug-in port. This high voltage will act on the control terminal of the first switching device M1 through the third resistor R3 to control the first switching device M1 to conduct. At this time, the first resistor R1 and the second resistor R2 can divide the voltage of the power supply terminal VCONN of the wired plug-in port and transmit it to the input terminal USB_IN of the first voltage conversion module 21.
[0043] In other scenarios, the control terminal voltage of the first switching device M1 can be pulled low to control the first switching device M1 to be turned off. This helps prevent the voltage at the input terminal USB_IN of the first voltage conversion module 21 from flowing back to the power terminal VCONN of the wired plug-in port through the wired charging detection module 3. The first switching device M1 can be used to turn off when the charging device is in wireless charging mode and the output terminal VBUS voltage of the wireless charging module 1 does not exceed the first voltage threshold. At this time, during the wireless low-voltage charging process, the first overvoltage protection device T1 is turned on. Since the first switching device M1 is turned off, the wireless charging voltage cannot flow back to the power terminal VCONN of the wired plug-in port through the first switching device M1 during the charging process through the input terminal USB_IN of the first voltage conversion module 21.
[0044] In some embodiments, the wired charging detection module 3 further includes a second switching device M2 connected in series between the control terminal and the low-level terminal of the first switching device M1. The second switching device M2 is used to turn off when the charging device is in wireless charging mode and the output VBUS voltage of the wireless charging module 1 exceeds a first voltage threshold. In this case, the second switching device M2 will not adversely affect the voltage division process of the first resistor R1 and the second resistor R2, and it helps to avoid leakage current from the power supply terminal VCONN of the wired plug-in port to ground. The second switching device M2 is also used to turn on when the charging device is in wireless charging mode and the output VBUS voltage of the wireless charging module 1 does not exceed the first voltage threshold. In this case, the control terminal of the first switching device M1 will remain pulled low and will be turned off, thereby helping to prevent the voltage of the input terminal USB_IN of the first voltage conversion module 21 from being reverse-fed to the power supply terminal VCONN of the wired plug-in port through the wired charging detection module 3 in this scenario.
[0045] In some embodiments, the wired charging detection module 3 further includes a third switching device M3 connected in series between the second resistor R2 and the low-level terminal. Both the second switching device M2 and the third switching device M3 can be MOSFETs, and the device type is not limited. The third switching device M3 is turned on when the charging device is in wireless charging mode and the output voltage VBUS of the wireless charging module 1 exceeds a first voltage threshold, which helps to avoid adverse effects on the voltage division process of the first resistor R1 and the second resistor R2. When wired charging detection is not required, the third switching device M3 can be turned off, which helps to prevent leakage to ground from the input terminal USB_IN of the first voltage conversion module 21 through the second resistor R2. For example, the third switching device M3 is turned off when the charging device is in wireless charging mode and the output voltage VBUS of the wireless charging module 1 does not exceed the first voltage threshold.
[0046] In some embodiments, the charging device further includes a control module 4, which can be a system-on-chip (SOC) control system. The control module 4 is electrically connected to the control terminal of the second switching device M2 and the control terminal of the third switching device M3, and is used to control the on and off states of the second switching device M2 and the third switching device M3. The control module 4 will be described in detail below in conjunction with the working process of the charging device. Figure 4 As shown, Figure 4 This is a flowchart illustrating a control method. The main body executing this control method can be the control module 4. The control module 4, in the default state, executes step 101, controlling the second switching device M2 to turn on and the third switching device M3 to turn off. At this time, the first switching device M1 is off, and the wired charging detection module 3 will not affect other devices. The default state refers to the charging device being in a non-wireless charging state, or the VBUS voltage at the output terminal of the wireless charging module 1 not exceeding the first voltage threshold. In the non-wireless charging state, or during low-voltage wireless charging, the insertion of the wired charging device can be detected and will not affect the switching between charging states. Therefore, the wired charging detection module 3 does not need to function, and the control process of step 101 is sufficient. The control module 4 can periodically execute step 102 to determine whether the charging device is in wireless charging mode and whether the VBUS voltage at the output terminal of the wireless charging module 1 exceeds the first voltage threshold. Whether the charging device is in wireless charging mode can be determined, for example, by the first voltage conversion module 21 and the second voltage conversion module 22. Whether the VBUS voltage at the output terminal of the wireless charging module 1 exceeds the first voltage threshold can be detected directly by the control module 4 or by the first voltage conversion module 21. The detection result is reported to the control module 4 so that the control module 4 can determine whether the charging device is in wireless high-voltage charging mode. In step 102, if it is determined that it is not, that is, it is determined that it is still in the default state, and the control state of step 101 can be maintained. In step 102, if it is determined that the charging device is in wireless charging state and the output voltage of the wireless charging module VBUS exceeds the first voltage threshold, step 103 is executed: the second switching device M2 is turned off and the third switching device M3 is turned on, so that the wired charging detection module 3 can transmit the voltage of the power supply terminal VCONN of the wired plug-in port to the input terminal USB_IN of the first voltage conversion module 21 when the wired charging device is inserted into the wired plug-in port.
[0047] In some embodiments, the control module 4 is further configured to: when the second switching device M2 is off and the third switching device M3 is on, execute step 104 to determine whether the power supply terminal VCONN of the wired plug-in port is inserted based on the voltage of the input terminal USB_IN of the first voltage conversion module 21. For example, the voltage value of its input terminal USB_IN can be determined by the first voltage conversion module 21 to see if it exceeds the power plug-in voltage threshold. If it exceeds, it is determined that the power supply terminal VCONN of the wired plug-in port is inserted. If it does not exceed, it is determined that the power supply terminal VCONN of the wired plug-in port is not inserted. If, in step 104, it is determined from the voltage of the input terminal USB_IN of the first voltage conversion module 21 that the power terminal VCONN of the wired plug-in port is inserted, it indicates that the wired charging device is inserted into the wired plug-in port. The control module 4 then executes step 105, reducing the output voltage of the wireless charging module 1 to prepare for switching to wired charging. Next, it executes step 106, determining whether the output terminal VBUS voltage of the wireless charging module 1 has dropped below the second voltage threshold. If the second voltage threshold is less than the first voltage threshold, then wireless charging can be considered to have ceased once the output terminal VBUS voltage of the wireless charging module 1 has dropped below the second voltage threshold. In this case, step 107 can be executed, controlling the second switching device M2 to turn on and the third switching device M3 to turn off. At this time, the first overvoltage protection device T1 turns on, and step 108 can be executed, switching to wired charging mode.
[0048] If it is determined in step 104 that the power terminal VCONN of the wired plug port is not inserted, it can be assumed that no wired charging device is inserted into the wired plug port. The status can be maintained and the system can be continuously monitored to see if a wired charging device is inserted.
[0049] In some embodiments, the first overvoltage protection device T1 is used to cut off when the charging device is in wireless charging mode and the output VBUS voltage of the wireless charging module 1 exceeds a first voltage threshold, and to turn on after the output VBUS voltage of the wireless charging module 1 drops below a second voltage threshold. When the output VBUS voltage of the wireless charging module 1 exceeds the first voltage threshold, the first overvoltage protection device T1 is cut off to protect the first voltage conversion module 21. At this time, the wired charging detection module 3 realizes the insertion identification of the wired charging device. After the output VBUS voltage of the wireless charging module 1 drops below the second voltage threshold, the first overvoltage protection device T1 is turned on, and the first voltage conversion module 21 can directly realize the insertion identification of the wired charging device or realize the switching of wired charging.
[0050] In some embodiments, the wired connection port includes a power supply terminal VCONN and a data terminal. For example, the wired connection port includes a first data terminal CC1 and a second data terminal CC2, both of which are electrically connected to the first voltage conversion module 21. Figure 5 As shown, the control module 4 is also used to: when the second switching device M2 is off and the third switching device M3 is on, execute step 109 to determine whether the wired plug-in port is an OTG insertion based on the data terminal of the wired plug-in port. OTG is an abbreviation for On-The-Go. OTG insertion means that the inserted device can act as a host or a slave device. When the wired plug-in port is an OTG insertion, the inserted device does not act as a power source to charge the battery of the electronic device, but the electronic device needs to supply power to the inserted device. Therefore, if in step 104 it is determined that the power terminal VCONN of the wired plug-in port is inserted based on the voltage of the input terminal USB_IN of the first voltage conversion module 21, and in step 109 it is determined that the wired plug-in port is not an OTG insertion based on the data terminal of the wired plug-in port, then execute step 105 to reduce the output voltage of the wireless charging module 1.
[0051] Specifically, this application embodiment does not limit the execution order of steps 104 and 109. If it is determined that the power terminal VCONN of the wired connection port is inserted and is not an OTG device, then step 105 is executed; if it is determined that the power terminal VCONN of the wired connection port is not inserted, then step 103 is executed. After a wired device is inserted into the wired connection port, the results of steps 104 and 109 can be used to jointly determine whether the inserted wired device is a charging device or an OTG device. If it is a charging device and not an OTG device, then step 105 is executed.
[0052] In some embodiments, the charging device further includes: a reverse charging module (not shown in the figure); the control module 4 is also configured to: if it is determined that the power terminal VCONN of the wired plug-in port is inserted according to the voltage of the input terminal USB_IN of the first voltage conversion module 21, and it is determined that the wired plug-in port is an OTG plug-in according to the data terminal of the wired plug-in port, then execute step 110, control the second switching device M2 to turn on, control the third switching device M3 to turn off, and control the reverse charging module to provide reverse boost power to the power terminal VCONN of the wired plug-in port.
[0053] Specifically, if the wired plug-in port is an OTG plug-in, it means that the plugged-in device is not a charging device, but an OTG device that requires electronic devices to provide reverse boost power through the power supply terminal VCONN of the wired plug-in port. Therefore, controlling the first switching device M1 to be turned off helps to avoid leakage to ground during the reverse boost power supply process.
[0054] The anti-reverse current protection effect of the first switching device M1 in the embodiments of this application is explained below based on simulation results, such as... Figure 6 and Figure 7 As shown, in Figure 6In this embodiment, the first switching device M1 and related resistors are extracted and used with necessary components to build simulation models 1 and 2. In simulation model 1, the power supply terminal VCONN of the wired connector simulates the positive input terminal Vin, and the input terminal USB_IN of the first voltage conversion module 21 simulates the positive output terminal Vout1. In simulation model 2, the input terminal USB_IN of the first voltage conversion module 21 simulates the inverted input terminal Vin, and the power supply terminal VCONN of the wired connector simulates the inverted output terminal Vout2. Figure 7 The simulation results show that, under the same input signal, the forward output is positive, while the reverse output is constant at 0V, thus achieving a good anti-backflow effect.
[0055] like Figure 8 As shown in the figure, this application embodiment also provides an electronic device 100.
[0056] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, camera 193, display screen 194, etc.
[0057] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0058] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0059] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0060] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0061] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0062] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0063] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0064] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0065] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0066] The charging management module 140 and / or the power management module 141 can be the charging device in the above embodiments.
[0067] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0068] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0069] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0070] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0071] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0072] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0073] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0074] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0075] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0076] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.
[0077] The electronic devices involved in this application may be any product such as smart TVs, mobile phones, tablets, personal computers (PCs), personal digital assistants (PDAs), smartwatches, wearable electronic devices, augmented reality (AR) devices, virtual reality (VR) devices, in-vehicle devices, drone devices, smart cars, smart speakers, robots, smart glasses, etc.
[0078] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive).
[0079] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0080] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A charging device, characterized in that, include: Wireless charging module; First voltage conversion module; A first overvoltage protection device, wherein a first terminal of the first overvoltage protection device is electrically connected to the output terminal of the wireless charging module, and a second terminal of the first overvoltage protection device is electrically connected to the input terminal of the first voltage conversion module; The second voltage conversion module has its input terminal electrically connected to the output terminal of the wireless charging module; The second overvoltage protection device has its first end electrically connected to the power supply terminal of the wired plug-in port, and its second end electrically connected to the output terminal of the wireless charging module. A wired charging detection module is electrically connected to the power supply terminal of the wired plug-in port and the input terminal of the first voltage conversion module. The wired charging detection module is used to divide and output the voltage of the power supply terminal of the wired plug-in port to the input terminal of the first voltage conversion module when the charging device is in wireless charging mode and the output voltage of the wireless charging module exceeds a first voltage threshold.
2. The charging device according to claim 1, characterized in that, The wired charging detection module includes: A first resistor and a second resistor connected in series between the power supply terminal and the low-level terminal of the wired connector; The step of dividing and outputting the voltage of the power supply terminal of the wired plug-in port to the input terminal of the first voltage conversion module is as follows: the voltage of the power supply terminal of the wired plug-in port is divided by the first resistor and the second resistor and then output to the input terminal of the first voltage conversion module.
3. The charging device according to claim 2, characterized in that, The wired charging detection module also includes: A first switching device is connected in series between the first resistor and the second resistor, wherein a first terminal of the first switching device is electrically connected to the first resistor, and a second terminal of the first switching device is electrically connected to the second resistor and the input terminal of the first voltage conversion module; The third resistor is connected in series between the control terminal of the first switching device and the power terminal of the wired plug-in port. The first switching device is an N-type device.
4. The charging device according to claim 3, characterized in that, The wired charging detection module also includes: A second switching device connected in series between the control terminal and the low-level terminal of the first switching device.
5. The charging device according to claim 4, characterized in that, The wired charging detection module also includes: A third switching device connected in series between the second resistor and the low-level terminal.
6. The charging device according to claim 5, characterized in that, Also includes: The control module is configured to, when the charging device is in a wireless charging state and the output voltage of the wireless charging module exceeds the first voltage threshold, control the second switching device to turn off and control the third switching device to turn on.
7. The charging device according to claim 6, characterized in that, The control module is also used for: When the second switching device is off and the third switching device is on, if it is determined from the voltage at the input terminal of the first voltage conversion module that the power supply terminal of the wired plug-in port is inserted, then the output voltage of the wireless charging module is reduced. When the output voltage of the wireless charging module drops below the second voltage threshold, the second switching device is turned on and the third switching device is turned off, and the second voltage threshold is less than the first voltage threshold.
8. The charging device according to claim 7, characterized in that, The first overvoltage protection device is used to cut off when the charging device is in wireless charging state and the output voltage of the wireless charging module exceeds the first voltage threshold, and is used to turn on after the output voltage of the wireless charging module drops below the second voltage threshold.
9. The charging device according to claim 7 or 8, characterized in that, The process of reducing the output voltage of the wireless charging module if it is determined from the voltage at the input terminal of the first voltage conversion module that a power supply terminal of the wired plug-in port is inserted includes: If the voltage at the input terminal of the first voltage conversion module indicates that the power supply terminal of the wired plug-in port is inserted, and the data terminal of the wired plug-in port indicates that the wired plug-in port is not an OTG plug-in, then the output voltage of the wireless charging module is reduced.
10. The charging device according to claim 9, characterized in that, Also includes: Reverse charging module; The control module is also used for: If the voltage at the input terminal of the first voltage conversion module indicates that the power supply terminal of the wired plug-in port is inserted, and the data terminal of the wired plug-in port indicates that the wired plug-in port is an OTG plug-in, then the second switching device is turned on, the third switching device is turned off, and the reverse charging module is controlled to provide reverse boost power to the power supply terminal of the wired plug-in port.
11. An electronic device, characterized in that, Includes the charging device as described in any one of claims 1 to 10.