Detection circuit, wireless charging device, terminal equipment, control method and device

By designing a detection circuit including voltage dividing components and control chips in wireless charging equipment, the problem of waste of detection circuit resources during wireless reverse charging is solved, filtering and voltage detection during wireless reverse charging are realized, resource utilization is improved and Provides chip protection function.

CN114552683BActive Publication Date: 2024-09-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011326441.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-24
Publication Date
2024-09-03
Estimated Expiration
2040-11-24

AI Technical Summary

Technical Problem

In the existing wireless charging technology, the detection circuit of a mobile phone with wireless reverse charging function is idle when it is turned off, resulting in a waste of resources and occupying space during wireless charging.

Method used

A detection circuit is designed, including the first series main circuit and the voltage dividing branch. The coil voltage is divided by the voltage dividing element, and the pin of the control chip is used to detect the voltage to achieve the filtering function during wireless reverse charging. Voltage detection to avoid waste of resources.

Benefits of technology

It realizes the filtering effect during wireless reverse charging, and also has the voltage detection function, making full use of the detection circuit, avoiding waste of resources, and providing chip protection function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114552683B
    Figure CN114552683B
Patent Text Reader

Abstract

The present disclosure is about a detection circuit, a wireless charging device, a terminal device, a control method and a device, wherein the detection circuit includes: a first series main circuit and a voltage-dividing branch, the voltage-dividing branch is arranged between the first end and the second end of the first series main circuit, the first end of the voltage-dividing branch is connected to the first series main circuit, and the second end of the voltage-dividing branch is connected to the ground; the voltage-dividing branch is connected to the first pin of the control chip through a preset connection point; wherein the voltage-dividing branch includes at least two voltage-dividing elements connected in series, and a preset voltage-dividing element of at least two voltage-dividing elements is located between the preset connection point and the second end of the voltage-dividing branch, so that the control chip detects the voltage of the preset voltage-dividing element through the first pin. The detection circuit of the present application can not only play a filtering role during wireless reverse charging, but also can realize the detection of corresponding data in combination with the pins of the control chip, so as to realize further chip protection function by using the detection data later.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminals, and in particular to a detection circuit, a wireless charging device, a terminal device, a control method and a device. Background Art

[0002] Wireless charging technology is becoming more and more popular in mobile phones and other terminal devices. Wireless charging technology is a charging technology that uses the principle of electromagnetic induction. When the mobile phone to be charged is placed close to the wireless charging stand, the coil of the wireless charging stand acts as the transmitter (TX) to generate electromagnetic signals, and the coil of the mobile phone acts as the receiver (RX) to sense the electromagnetic signals and generate current, thereby charging the battery of the mobile phone. With the development of technology, based on wireless charging technology, more and more mobile phones also have wireless reverse charging function, that is, they can act as the transmitter of wireless charging and wirelessly charge other receiving devices.

[0003] In the related art, a mobile phone with wireless reverse charging function is usually provided with a wireless reverse charging detection circuit, but the detection circuit is only used to filter out clutter during wireless reverse charging. When the mobile phone turns off wireless reverse charging, the detection circuit is idle and has no function. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a fingerprint module, a terminal device, and a method and device for adjusting the temperature of a display screen.

[0005] According to a first aspect of an embodiment of the present disclosure, a detection circuit is proposed, which is applied to a terminal device with a wireless charging function, including:

[0006] a first series main circuit, wherein a first end of the first series main circuit is connected to the coil, and a second end of the first series main circuit is connected to a second pin of the control chip;

[0007] A voltage dividing branch is arranged between a first end and a second end of the first series main circuit, wherein the first end of the voltage dividing branch is connected to the first series main circuit, and the second end of the voltage dividing branch is grounded; and the voltage dividing branch is connected to a first pin of a control chip through a preset connection point;

[0008] Wherein, the voltage dividing branch includes at least two voltage dividing elements connected in series, and a preset voltage dividing element among the at least two voltage dividing elements is located between the preset connection point and the second end of the voltage dividing branch, so that the control chip detects the voltage of the preset voltage dividing element through the first pin.

[0009] Optionally, the voltage dividing branch includes a first voltage dividing element and a second voltage dividing element, wherein the first voltage dividing element is the preset voltage dividing element.

[0010] Optionally, a rectifying element, a load element, a grounding branch, the voltage dividing branch and a second capacitor are sequentially arranged between the first end and the second end of the first series main circuit, wherein the grounding branch includes a first capacitor.

[0011] According to a second aspect of an embodiment of the present disclosure, a wireless charging device is provided, comprising a coil, a control chip and any one of the detection circuits described above; the coil is connected to the control chip, and one end of the coil is connected to the detection circuit;

[0012] The control chip includes a first pin and a second pin, and the detection circuit is connected to the control chip via the first pin and the second pin; wherein the first pin is used to detect voltage.

[0013] Optionally, the wireless charging device further includes a charging circuit, and the coil is connected to the control chip via the charging circuit.

[0014] Optionally, the control chip further includes a third pin and a fourth pin, and the charging circuit includes a first branch and a second branch;

[0015] The first end of the coil is connected to the detection circuit and is connected to the third pin through the first branch; the second end of the coil is connected to the fourth pin through the second branch; the first branch and the second branch are connected through the third branch; wherein the first branch includes a third capacitor, the third branch includes a fourth capacitor, and the third capacitor is located between the coil and the fourth capacitor.

[0016] Optionally, a rectifier circuit is provided on the control chip, the first branch is connected to the first end of the rectifier circuit through the third pin, the second branch is connected to the second end of the rectifier circuit through the fourth pin, and the third end of the rectifier circuit is connected to the battery of the terminal device.

[0017] According to a third aspect of an embodiment of the present disclosure, a terminal device is proposed, comprising a battery and the above-mentioned wireless charging device, wherein the battery is connected to the wireless charging device.

[0018] According to a fourth aspect of an embodiment of the present disclosure, a wireless charging control method is proposed, which is applied to a terminal device, including:

[0019] In response to the current charging role, first voltage information detected by the first pin is obtained; wherein the current charging role is used to characterize the terminal device as a transmitting end or a receiving end of wireless charging, and the first voltage information is used to characterize the current voltage of the preset voltage dividing element;

[0020] A charging strategy is determined according to the first voltage information.

[0021] Optionally, determining a charging strategy according to the first voltage information includes:

[0022] Determine corresponding second voltage information according to the first voltage information, wherein the second voltage information is used to represent a current coil voltage of the wireless charging device;

[0023] A charging strategy is determined according to the second voltage information.

[0024] Optionally, when the current charging role is a receiving end of wireless charging;

[0025] The determining a charging strategy according to the second voltage information includes:

[0026] In response to the second voltage information reaching a first voltage threshold, a first signal is sent; wherein the first signal is used to instruct the sending end of the wireless charging to reduce the charging voltage.

[0027] Optionally, when the current charging role is a wireless charging receiving end; determining the charging strategy according to the second voltage information includes:

[0028] In response to the second voltage information not reaching a second voltage threshold, sending a second signal;

[0029] Among them, the second voltage threshold is used to represent the minimum voltage of the coil when the terminal device is normally charged, and the second signal is used to instruct the transmitter of the wireless charging to stop charging.

[0030] Optionally, when the current charging role is a transmitting end of wireless charging, the method further includes:

[0031] Obtain signal characteristic information of the coil;

[0032] A charging strategy is determined based on the signal characteristic information; wherein the charging strategy includes: shutting down the function of the terminal device as a transmitter, or switching the current charging role of the terminal device from a transmitter to a receiver.

[0033] According to a fifth aspect of an embodiment of the present disclosure, a wireless charging control device is provided, which is applied to a terminal device, including:

[0034] An acquisition module, configured to acquire first voltage information detected by the first pin in response to a current charging role; wherein the current charging role is used to characterize the terminal device as a transmitting end or a receiving end of wireless charging, and the first voltage information is used to characterize a current voltage of a preset voltage dividing element;

[0035] A determination module is used to determine a charging strategy according to the first voltage information.

[0036] Optionally, the determining module is specifically used to:

[0037] Determine corresponding second voltage information according to the first voltage information, wherein the second voltage information is used to represent a current coil voltage of the wireless charging device;

[0038] A charging strategy is determined according to the second voltage information.

[0039] Optionally, when the current charging role is a receiving end of wireless charging; the determining module is specifically used to:

[0040] In response to the second voltage information reaching the first voltage threshold, a first signal is sent; wherein the first signal is used to instruct the sending end of the wireless charging to reduce the charging voltage.

[0041] Optionally, when the current charging role is a receiving end of wireless charging; the determining module is specifically used to:

[0042] In response to the second voltage information not reaching a second voltage threshold, sending a second signal;

[0043] Among them, the second voltage threshold is used to represent the minimum voltage of the coil when the terminal device is normally charged, and the second signal is used to instruct the transmitter of the wireless charging to stop charging.

[0044] Optionally, when the current charging role is a wireless charging transmitter,

[0045] The acquisition module is also used to acquire signal characteristic information of the coil;

[0046] The determination module is further used to determine a charging strategy based on the signal characteristic information; wherein the charging strategy includes: shutting down the function of the terminal device as a transmitter, or switching the current charging role of the terminal device from a transmitter to a receiver.

[0047] According to a sixth aspect of an embodiment of the present disclosure, a terminal device is provided, including:

[0048] processor;

[0049] a memory for storing executable instructions for the processor;

[0050] Wherein, the processor is configured to execute the wireless charging control method as described in any one of the above items.

[0051] According to the seventh aspect of the embodiments of the present disclosure, a non-temporary computer-readable storage medium is proposed. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the wireless charging control method as described in any one of the above items.

[0052] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the present disclosure uses a voltage divider element to divide the coil voltage, and uses the pins of the control chip to detect the voltage divider. This allows the detection circuit of the present application to not only play a filtering role during wireless reverse charging, but also to detect corresponding data in combination with the pins of the control chip itself, so as to facilitate the subsequent use of the detection data to realize further chip protection functions.

[0053] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0055] Figure 1 It is a schematic diagram of a detection circuit in the related art.

[0056] Figure 2 is a schematic diagram of a wireless charging device according to an exemplary embodiment.

[0057] Figure 3 is a flow chart of a method according to an exemplary embodiment.

[0058] Figure 4 is a flow chart of a method according to an exemplary embodiment.

[0059] Figure 5 is a flow chart of a method according to an exemplary embodiment.

[0060] Figure 6 is a schematic diagram showing signal changes according to an exemplary embodiment.

[0061] Figure 7 is a flow chart of a method according to an exemplary embodiment.

[0062] Figure 8 is a flow chart of a method according to an exemplary embodiment.

[0063] Fig. 9 It is a block diagram of a device according to an exemplary embodiment.

[0064] Fig.10 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0066] In the related technologies, mobile phones and other terminal devices have more and more functions and consume more and more power. In order to improve the user experience in terms of mobile phone battery life, in addition to increasing the battery capacity, more and more mobile phone products have also made improvements in charging methods. For example, the fast charging technology in the related technologies improves the user experience by effectively increasing the charging speed and shortening the charging time. For another example, the wireless charging technology in the related technologies charges the mobile phone in a more convenient and quick way, thereby improving the user experience.

[0067] Among them, the application of wireless charging technology in mobile phones and other terminal devices is becoming more and more popular. Wireless charging technology is a technology that uses the principle of electromagnetic induction to charge. When the mobile phone to be charged is placed close to the wireless charging stand, the coil of the wireless charging stand acts as the transmitter (TX) to generate electromagnetic signals, and the coil of the mobile phone acts as the receiver (RX) to sense the electromagnetic signals and generate current, thereby charging the battery of the mobile phone.

[0068] With the development of technology, based on wireless charging technology, more and more mobile phones also have wireless reverse charging function, that is, they can be used as the transmitter of wireless charging to wirelessly charge other receiving devices.

[0069] In the related art, a mobile phone with a wireless reverse charging function is usually provided with a wireless reverse charging detection circuit. Figure 1 As shown, a common detection circuit in the related art is connected to the demodulation pin of the chip, and the circuit includes circuit elements such as resistor R1', resistor R2', diode and capacitor. When the mobile phone turns on wireless reverse charging, the detection circuit is used to filter out clutter so that the mobile phone can accurately know the communication signal of the receiving end. When the mobile phone turns off wireless reverse charging and performs wireless positive charging, the detection circuit is idle and has no function. This causes a waste of the detection circuit, and also causes the detection circuit to occupy space resources during wireless positive charging.

[0070] In order to solve the above technical problems in the related art, the present disclosure proposes a detection circuit, which is applied to a terminal device with a wireless charging function, including: a first series main circuit, the first end of the first series main circuit is connected to the coil, and the second end of the first series main circuit is connected to the second pin of the control chip; a voltage dividing branch is arranged between the first end and the second end of the first series main circuit, the first end of the voltage dividing branch is connected to the first series main circuit, and the second end of the voltage dividing branch is grounded; the voltage dividing branch is connected to the second pin of the control chip through a preset connection point; wherein the voltage dividing branch includes at least two voltage dividing elements connected in series, and a preset voltage dividing element of at least two voltage dividing elements is located between the preset connection point and the second end of the voltage dividing branch, and the control chip detects the voltage of the preset voltage dividing element through the second pin. The present disclosure uses a voltage dividing element to divide the coil voltage, and uses the pin of the control chip to realize the detection of the voltage division. The detection circuit of the present application can not only play a filtering role during wireless reverse charging, but also can realize the detection of corresponding data in combination with the pin of the control chip, so as to realize further chip protection function by using the detection data later.

[0071] In an exemplary embodiment, the detection circuit of this embodiment is applied to a terminal device with a wireless charging function. The terminal device may be, for example, a mobile phone, a laptop computer, a tablet computer, or other electronic device capable of wireless charging. The wireless charging function may include, for example: a wireless positive charging function as a receiving end (RX), and a wireless reverse charging function as a transmitting end (TX).

[0072] In this embodiment, Figure 2 As shown, the detection circuit 10 includes: a first series main path 11, a first end of the first series main path 11 is connected to the coil 20, and a second end of the first series main path 11 is connected to the second pin 302 of the control chip 30. Among them, the second pin 302 can be, for example, a demodulation pin on the control chip 30 to realize the detection filtering function during wireless reverse charging of the terminal device. For example, the detection circuit 10 in this embodiment forms a 2KHz bandpass filter, which allows waves in the 2KHz frequency band to pass while filtering out clutter in other frequency bands on the coil, ensuring that the receiving end (RX) and the transmitting end (TX) are in good communication condition.

[0073] Still refer to Figure 2, the detection circuit 10 also includes: a voltage-dividing branch 12, which is arranged between the first end and the second end of the first series main path 11, the first end of the voltage-dividing branch 12 is connected to the first series main path 11, and the second end of the voltage-dividing branch 12 is grounded. In this embodiment, the voltage-dividing branch 12 is connected to the first pin 301 of the control chip 30 through a preset connection point 121. The voltage-dividing branch 12 includes at least two voltage-dividing elements connected in series, and a preset voltage-dividing element 122 of the at least two voltage-dividing elements is located between the preset connection point 121 and the second end of the voltage-dividing branch 12. Among them, the first pin 301 can be, for example, a GPIO pin with an ADC function, so that the control chip 30 detects the voltage of the preset voltage-dividing element through the first pin 301.

[0074] In this embodiment, in order to facilitate voltage detection using the first pin 301 of the control chip 30, it is necessary to ensure that the voltage to be measured does not exceed the withstand voltage of the first pin 301. Therefore, the voltage divider element can be set to two or more to effectively divide the larger coil voltage. The coil voltage is thus characterized by the voltage of the preset voltage divider element 122, that is, the coil voltage can be known by the voltage of the preset voltage divider element. In the process of wireless charging, the corresponding circuit control or chip protection function can be implemented according to the coil voltage.

[0075] It can be seen that the detection circuit 10 in this embodiment can realize not only the detection function during wireless reverse charging, but also the voltage detection function, which makes full use of the detection circuit and avoids the waste of resources.

[0076] In an exemplary embodiment, still referring to Figure 2 The voltage dividing branch 12 includes a first voltage dividing element and a second voltage dividing element, wherein the first voltage dividing element is a preset voltage dividing element 122. The voltage dividing element can be set as a resistor, for example, the first voltage dividing element is the resistor R3 in the figure, and the second voltage dividing element is the resistor R2 in the figure.

[0077] In this embodiment, the resistor R3 and the resistor R2 may be set in a manner that satisfies: the voltage division of the resistor R3 and the resistor R2 corresponds to the maximum voltage of the coil; for example, the sum of the voltage division of the resistor R3 and the voltage division of the resistor R2 is the same as the maximum voltage of the coil. The maximum voltage of the coil may refer to the maximum voltage of the coil under the corresponding charging power (there is a corresponding relationship between the maximum voltage of the coil and the charging power). In other words, compared with the related art ( Figure 1 ) in the resistor R2' (the voltage of the resistor R2' is equivalent to the coil voltage), the resistance values ​​of the resistors R3 and R2 in this embodiment correspond to the resistor R2'; for example, the sum of the resistance values ​​of the resistor R3 and the resistor R2 is the same as the resistor R2'.

[0078] The resistance of the resistor R3 can be less than or equal to the resistance of the resistor R2, for example, the resistance of the resistor R3 and the resistance of the resistor R2 have a certain proportional relationship, so as to ensure that the voltage division of the resistor R3 is less than 6V, and the first pin 301 is not damaged while realizing voltage detection (the withstand voltage of the first pin 301 is less than 6V).

[0079] In one example, the maximum voltage of the coil may be 10V, for example, and the voltage division of the resistor R3 and the voltage division of the resistor R2 may be the same, that is, the resistance of the resistor R3 is the same as that of the resistor R2. At this time, the voltage division at R3 may be 5V (not greater than 6V), for example, so that the actual voltage of the resistor R3 can be obtained without damaging the first pin 301, and thus the current coil voltage can be obtained.

[0080] In another example, the maximum voltage of the coil may be 15V, for example. Then the voltage division of the resistor R2 should be greater than the voltage division of the resistor R3, that is, the resistance value of the resistor R2 is greater than the resistance value of the resistor R3. For example, the ratio of the resistor R2 to the resistor R3 is 2:1. At this time, the voltage division at R3 may be 5V (not greater than 6V), for example, so that the actual voltage of the resistor R3 can be obtained without damaging the first pin 301, and then the current coil voltage can be obtained.

[0081] In other examples, the maximum voltage of the coil may also be greater than 20V. In this case, the ratio of resistor R3 to resistor R2 can be adjusted to ensure that the voltage divided at resistor R3 is smaller than the voltage divided at resistor R2 and does not exceed the withstand voltage of the first pin (6V).

[0082] In an exemplary embodiment, still referring to Figure 2 , a rectifier element 13, a load element 14, a grounding branch 15, a voltage dividing branch 12 and a second capacitor C4 are sequentially arranged between the first end and the second end of the first series main circuit 11. The grounding branch 15 includes a first capacitor C3, the rectifier element 13 can be, for example, a diode D1, and the load element 14 can be, for example, a resistor R1.

[0083] In an exemplary embodiment, Figure 2 As shown, the present disclosure also proposes a wireless charging device, including a coil 20, a control chip 30 and the detection circuit 10 of the above embodiment. The coil 20 (inductor) is connected to the control chip 30, and one end of the coil 20 is connected to the detection circuit 10. The control chip 30 can be, for example, a wireless charging chip, which complies with the communication protocol and includes control logic related to wireless charging, and can be connected to the CPU of the terminal device for communication.

[0084] In this embodiment, the control chip 30 includes a first pin 301 and a second pin 302, and the detection circuit 10 is connected to the control chip 30 through the first pin 301 and the second pin 302; the first pin 301 is used to detect voltage. Among them, the first pin 301 can be a chip pin with a sampling detection function. For example, the first pin 301 is a GPIO pin with an ADC function, which converts the voltage amount into a voltage value through sampling detection, or converts the voltage amount into time or frequency, and then obtains the voltage value of the corresponding component. The second pin 302 can be, for example, a demodulation pin.

[0085] like Figure 2 It can be seen that in this embodiment, the first end of the first series main path 11 in the detection circuit 10 is connected to one end of the coil 20, and the second end of the first series main path 11 is connected to the second pin 302 of the control chip 30, so as to realize the normal detection function during wireless reverse charging. The voltage dividing branch 12 in the detection circuit 10 is connected to the first pin 301 of the control chip 30 through the preset connection point 121, so as to realize the function of detecting the voltage value of the preset voltage dividing element 122 by using the first pin 301, and then realize the corresponding circuit protection function by using the voltage value.

[0086] In an exemplary embodiment, still referring to Figure 2 The wireless charging device also includes a charging circuit 40, and the coil 20 is connected to the control chip 30 through the charging circuit 40, and the control chip can be connected to the battery of the terminal device. Therefore, when the terminal device is used as a wireless charging receiving end (RX) for wireless positive charging, the current generated by the coil 20 can be transmitted to the control chip 30 through the charging circuit 40, and further transmitted to the battery. When the terminal device is used as a wireless charging transmitting end (TX) for wireless reverse charging, the battery can provide current, which is transmitted to the coil 20 through the control chip 30 and the charging circuit 40.

[0087] In an exemplary embodiment, still referring to Figure 2 , the control chip 30 further includes a third pin 303 and a fourth pin 304, and the charging circuit 40 includes a first branch 41 and a second branch 42. In this embodiment, the first end of the coil 20 is connected to the detection circuit 10, and is connected to the third pin 303 through the first branch 41. The second end of the coil 20 is connected to the fourth pin 304 through the second branch 42. The first branch 41 and the second branch 42 are connected through the third branch 43. Among them, the first branch 41 includes a third capacitor C1, the third branch 42 includes a fourth capacitor C2, and the third capacitor C1 is located between the coil 20 and the fourth capacitor C2. The third pin 303 can be, for example, an AC AC1 pin, and the fourth pin 304 can be, for example, an AC AC2 pin.

[0088] In an exemplary embodiment, still referring to Figure 2 , a rectifier circuit (not shown in the figure) is provided on the control chip 30. In this embodiment, the rectifier circuit may be, for example, a full-bridge rectifier circuit, which is integrated on the control chip 30 to realize the conversion between AC and DC. The first branch 41 is connected to a first end of the rectifier circuit (not shown in the figure) through a third pin 303, the second branch 42 is connected to a second end of the rectifier circuit (not shown in the figure) through a fourth pin 304, and the third end of the rectifier circuit (not shown in the figure) is connected to a battery of the terminal device.

[0089] In an example, still referring to Figure 2 When the terminal device is used as the wireless charging receiving end (RX) for wireless positive charging, the transmitting end (TX) coil of the wireless charging station is energized to output an electromagnetic signal, and the coil 20 of the terminal device senses the electromagnetic signal and generates alternating current. The alternating current of the coil 20 is converted into direct current through the charging circuit 40 and the rectifier circuit integrated in the control chip 30 to charge the battery of the terminal device.

[0090] For example, the alternating current generated by the coil 20 passes through the first end of the coil 20 and is transmitted to the third pin 303 (AC1 pin) through the first branch 41 of the charging circuit 40, and continues to flow through the rectifier circuit (not shown in the figure) integrated on the control chip 30. The rectifier circuit converts the transmitted alternating current into direct current, which flows to the positive electrode of the battery of the terminal device to charge the battery. Further, the current at the negative electrode of the battery passes through the rectifier circuit, the fourth pin 304 (AC2 pin) and the second branch 42 in sequence and returns to the second end of the coil 20, thereby forming a loop.

[0091] For another example, the alternating current generated by the coil 20 passes through the second end of the coil 20 and is transmitted to the fourth pin 304 (AC2 pin) through the second branch 42, and continues to flow through the rectifier circuit (not shown) integrated on the control chip 30. The rectifier circuit converts the transmitted alternating current into direct current, which flows to the positive electrode of the battery of the terminal device to charge the battery. Furthermore, the current at the negative electrode of the battery passes through the rectifier circuit, the third pin 303 (AC1 pin) and the first branch 41 in sequence and returns to the first end of the coil 20, thereby forming a loop.

[0092] In another example, still referring to Figure 2 When the terminal device acts as the transmitter (TX) of wireless charging for wireless reverse charging, the battery of the terminal device can provide DC power, which is converted into AC power by the rectifier circuit (not shown) integrated on the control chip 30. The AC power is transmitted to the coil 20 through the charging circuit 40. The coil 20 is energized to generate an electromagnetic signal, thereby charging other receiving end (RX) devices.

[0093] In an exemplary embodiment, the present disclosure proposes a terminal device, including a battery and the wireless charging device disclosed in the above embodiment, wherein the battery is connected to the wireless charging device.

[0094] Among them, Figure 2 As shown, the wireless charging device includes: a coil 20, a control chip 30 and a charging circuit 40, the coil 20 is connected to the control chip 30 through the charging circuit 40, and the control chip is connected to the battery of the terminal device. In addition, the wireless charging device also includes a detection circuit 10 that can realize the dual functions of detection and voltage detection.

[0095] In an exemplary embodiment, the present disclosure proposes a wireless charging method, which is applied to the terminal device in the above embodiment. Figure 3 As shown, the method of this embodiment includes the following steps:

[0096] S110 . In response to a current charging role, obtain first voltage information detected by a first pin.

[0097] S120: Determine a charging strategy according to the first voltage information.

[0098] In step S110, the current charging role is used to represent: the terminal device is used as a wireless charging receiving end (RX), that is, a wireless positive charging mode; or as a wireless charging transmitting end (TX), that is, a wireless reverse charging mode. Figure 2 As shown, the first voltage information is used to characterize the current voltage of the preset voltage dividing element 122. The CPU of the terminal device can be connected to the control chip 30 of the wireless charging device for communication, and the control chip 30 obtains the first voltage information detected at the first pin 301 and sends it to the CPU.

[0099] Combination Figure 2 and Figure 2 In the corresponding embodiment, the first pin 301 is a GPIO pin with ADC function provided on the control chip 30 , and can detect the voltage of the first voltage divider element (resistor R3 ).

[0100] In step S120, the voltage of the first voltage divider is a voltage divider of the coil voltage (Vcoil) and is correlated with the coil voltage (Vcoil). Therefore, during wireless positive charging, the voltage can be used to determine whether the coil voltage (Vcoil) is overvoltage (exceeds the threshold). During wireless reverse charging, the coil voltage can also be obtained by using the voltage divider to further monitor the reverse input voltage of the control chip 30.

[0101] In an exemplary embodiment, when the current charging role of the terminal device is the transmitter (TX) of wireless charging, that is, in the scenario of wireless reverse charging, the terminal device sends energy as a transmitter (TX) to charge other terminal devices.

[0102] For the wireless reverse charging method with fixed frequency and voltage regulation, the peak voltage on the coil is variable (AC), that is, the peak value of the coil voltage is proportional to the reverse input voltage of the control chip. In particular, in combination with the charging process of the aforementioned embodiment, the reverse input voltage of the control chip refers to the DC voltage input from the battery of the terminal device to the rectifier circuit. By detecting the peak voltage of the coil, the reverse input voltage of the chip can be monitored, thereby realizing voltage monitoring of the control chip during wireless reverse charging.

[0103] In an exemplary embodiment, Figure 4 As shown, step S120 may specifically include the following steps:

[0104] S1201. Determine corresponding second voltage information according to first voltage information.

[0105] S1202: Determine a charging strategy according to the second voltage information.

[0106] Among them, in step S1201, combined with Figure 2 As shown, the second voltage information is used to characterize the current coil voltage of the wireless charging device. In this step, configuration information may be first obtained, and the configuration information may be, for example, a mapping relationship between the voltage of the preset voltage divider element 122 and the coil voltage (Vcoil). According to the first voltage information, i.e., the voltage of the preset voltage divider element 122, and the configuration information, the second voltage information corresponding to the first voltage information in the configuration information may be obtained.

[0107] In step S1202, according to the coil voltage, it can be determined whether overvoltage protection is required during the wireless charging process, or whether the current charging role needs to be switched.

[0108] In an exemplary embodiment, when the current charging role of the terminal device is the receiving end (RX) of wireless charging, that is, in the usage scenario of wireless positive charging, the wireless charging stand acts as the transmitting end (TX).

[0109] In one example, if Figure 5 As shown, step S1202 specifically includes the following steps:

[0110] S1202-1. In response to the second voltage information reaching the first voltage threshold, send a first signal.

[0111] In this step, the second voltage information (represented voltage) reaches the first voltage threshold, indicating that the coil voltage is overvoltage (Over Voltage) during the wireless positive charging process, and overvoltage protection is required. Therefore, a first signal is sent to instruct the wireless charging transmitting end (in this example, the wireless charging stand) to reduce the charging voltage.

[0112] The first signal can be sent directly from the control chip to the transmitter based on the charging protocol. Alternatively, the CPU receives the first signal from the control chip and sends it to the transmitter through the corresponding communication software. After receiving the first signal, the transmitter can control the output coil voltage to decrease, thereby reducing the coil voltage of the terminal device to prevent overvoltage.

[0113] In this example, the scenario in which overvoltage protection is required during the wireless charging process may be, for example, when the wireless charging stand acts as a transmitter (TX) and the terminal device acts as a receiver (RX) for wireless positive charging, the coil of the terminal device and the coil of the wireless charging stand are suddenly aligned from being misaligned.

[0114] Reference Figure 6 As shown, the voltage on the coil is a sinusoidal signal. Figure 2 , assuming that when the coil 20 (RX) of the terminal device is aligned with the coil (TX) of the wireless charging base, the energy that TX needs to provide is normal energy, that is, Figure 6 Normal operating voltage.

[0115] When the coil 20 (RX) of the terminal device is not aligned with the coil (TX) of the wireless charging station, that is, there is a position offset, if the wireless positive charging process is still in progress, TX needs to provide more energy to compensate for the energy loss caused by the offset (that is, TX can only provide more energy than when aligned to ensure that the receiving power of the RX receiving end remains unchanged). At this time, the energy provided by TX is greater than the normal energy. Figure 6 As shown, the voltage when the position is slightly offset is larger than the normal voltage. In this case, if RX is suddenly moved in, so that RX and TX are aligned from misalignment, the energy provided by TX cannot be immediately changed to the normal energy required for alignment. The sudden alignment will cause the energy on RX to increase, and the corresponding coil voltage will increase, causing voltage overshoot (i.e. overvoltage). Overvoltage can easily damage the control chip 30.

[0116] In this example, combined Figure 2 As shown, the first voltage information detected by the first pin 301 (GPIO pin with ADC function) of the control chip 30 is finally known whether the coil voltage (Vcoil) is overvoltage. Compared with the detection method in the related art, the overvoltage detection and protection of this embodiment is more convenient and efficient, and the voltage adjustment is achieved through the communication between RX and TX, and the adjustment speed is also faster. Among them, the overvoltage detection method in the related art is to determine whether the coil voltage is overvoltage by monitoring the magnitude of the DC voltage (Vrect voltage) output after rectification by the rectifier circuit. The method is relatively complicated, and the related art prevents overvoltage by directly shutting down the RX receiving function, and the change is relatively abrupt.

[0117] In another example, step S1202 may further include the following steps:

[0118] In response to the second voltage information not reaching the first voltage threshold, a signal is sent to instruct the terminal device to perform normal wireless positive charging. The second voltage information (the voltage represented) does not reach the first voltage threshold, indicating that there is no coil voltage overvoltage at this time, and the normal wireless positive charging process can be performed.

[0119] In an exemplary embodiment, when the current charging role of the terminal device is the receiving end (RX) of wireless charging, that is, in the use scenario of wireless positive charging, the wireless charging stand acts as the transmitting end (TX). Figure 7 As shown, the method of this embodiment also includes:

[0120] S1202-2: In response to the second voltage information not reaching the second voltage threshold, send a second signal.

[0121] The second voltage threshold is used to characterize the minimum voltage of the coil when the terminal device is normally charged. When the coil voltage reaches the minimum voltage, it indicates that the terminal device is placed on the wireless charging stand. When the coil voltage does not reach the minimum voltage threshold, it indicates that the terminal device is not placed on the wireless charging stand, or the terminal device is removed from the wireless charging stand.

[0122] Therefore, in the scenario of this embodiment, the terminal device can send a second signal to control the wireless charging stand to stop charging. It can be understood that the second signal can be sent directly to the transmitter by the control chip 30 based on the charging protocol. It can also be that the CPU receives the second signal of the control chip 30 and sends it to the transmitter through the corresponding communication software. After receiving the second signal, the transmitter can stop charging.

[0123] In this embodiment, combined with Figure 2 As shown, the first voltage information detected by the first pin 301 (GPIO pin with ADC function) of the control chip 30 is finally used to obtain the coil voltage (Vcoil), so as to determine the position relationship between the terminal device and the TX (whether the terminal device is placed on the TX or taken away from the TX). In addition, the voltage obtained in real time by the first pin 301 can also be used to obtain the coil voltage at different times, and then the frequency of the coil can be obtained (or the frequency can be obtained through the sampling detection process of the first pin 301).

[0124] When the coil voltage reaches the second voltage threshold or the coil frequency reaches the frequency threshold, it indicates that the terminal device is placed on TX. Alternatively, when the coil voltage reaches the second voltage threshold, it indicates that the terminal device is placed on TX; if the coil frequency also reaches the frequency threshold, it indicates that the terminal device is wirelessly charged. When the coil voltage does not reach the second voltage threshold (or the coil voltage signal is lost), or the coil voltage signal is detected to be abnormal, it can be regarded as the terminal device is not placed on TX or taken away from TX. Compared with the detection method of the related art, the present embodiment has a faster detection speed for the positional relationship between the terminal device and TX, avoiding the detection delay problem in the related art. Among them, the positional relationship between the terminal device and TX in the related art is generally determined by monitoring the magnitude of the DC voltage (Vrect voltage) output after rectification by the rectifier circuit. However, since the charging process after the terminal device is placed in TX requires charging the capacitor in the circuit first, the control chip can obtain the Vrect voltage, so the capacitor needs to be charged before judging the positional relationship, and there is a delay in the judgment process. When the terminal device is taken away, the control chip also needs to obtain the loss voltage (power-off signal) of the DC voltage (Vrect voltage), and there is also a corresponding delay.

[0125] In an exemplary embodiment, when the current charging role of the terminal device is: as a transmitter (TX) of wireless charging, that is, in a scenario of wireless reverse charging. Figure 8 As shown, the method of this embodiment also includes:

[0126] S130, obtaining signal characteristic information of the coil.

[0127] S140: Determine a charging strategy based on the signal characteristic information.

[0128] In step S130, the signal characteristic information of the coil may include, for example, the spectrum of the coil's AC signal, the amplitude of the coil's pulse signal, or the frequency of the coil. The signal characteristic information of the coil may be obtained by detection. For example, in combination with Figure 2 As shown, the alternating current signal of the coil can be obtained by detecting at AC1 or AC2 of the charging circuit 40. The frequency of the coil can be obtained by sampling and detecting at the first pin 301.

[0129] In step S140, for example, the pulse signal amplitude of the coil, or the AC signal of the coil detected at AC1 or AC2, determines the protection strategy during wireless reverse charging. The charging strategy may include, for example: turning off the function of the terminal device as a transmitter, or switching the current charging role of the terminal device from a transmitter to a receiver.

[0130] In one example, when the pulse signal amplitude of the coil is greater than a preset value, it indicates that the terminal device comes into contact with a metal foreign object when the wireless reverse charging function is turned on, thereby causing the pulse signal amplitude to increase significantly. At this time, based on the abnormal pulse signal amplitude, the CPU of the terminal device can control the shutdown of the terminal device as a transmitter, that is, shut down the wireless reverse charging function.

[0131] It is worth noting that turning on or off the wireless reverse charging function of the terminal device can be performed under the user's selection instruction, or it can be automatically performed by the CPU of the terminal device according to the corresponding signal instruction. In this example, for example, the CPU automatically controls to turn off the wireless reverse charging function according to the abnormality of the pulse signal. In the method performed under the user's selection instruction, for example, the wireless reverse charging function of the terminal device can be turned on or off by clicking the preset operation icon in the corresponding interface of the terminal device.

[0132] In another example, during wireless reverse charging, when the AC signal of the coil detected at AC1 or AC2 does not meet the preset signal, it indicates that it is not a normal reverse charging process. The preset signal can be a pre-stored reference signal when other terminal devices are normally reverse charged (multiple reference signals can be set according to different receiving devices).

[0133] An example of an abnormal reverse charging process is: the terminal device has the wireless reverse charging function turned on, but is placed on a wireless charging stand. At this time, the signal at AC1 or AC2 will be abnormal. In this scenario, both the terminal device and the wireless charging stand can send energy, and the collision of the two energies will cause damage to the control chip. Therefore, this example determines the charging strategy as follows: the CPU of the terminal device (specifically, the application processor AP in the CPU) controls the current charging role to switch from the transmitter to the receiver, that is, turns off the wireless reverse charging function and performs wireless positive charging.

[0134] In an exemplary embodiment, the present disclosure also proposes a wireless charging control device, which is applied to a terminal device, such as Fig. 9 As shown, the device of this embodiment includes: an acquisition module 110 and a determination module 120, which are used to implement Figure 3 The method shown. The acquisition module 110 is used to obtain the first voltage information detected by the first pin in response to the current charging role; wherein the current charging role is used to characterize the terminal device as a transmitter or receiver of wireless charging, and the first voltage information is used to characterize the current voltage of the preset voltage divider element. The determination module 120 is used to determine the charging strategy according to the first voltage information.

[0135] In an exemplary embodiment, still referring to Fig. 9, the determination module 120 is specifically used for: determining the corresponding second voltage information according to the first voltage information, wherein the second voltage information is used to characterize the current coil voltage of the wireless charging device; and determining the charging strategy according to the second voltage information. In this embodiment, when the current charging role is the receiving end of wireless charging; the determination module is specifically used for: sending a first signal in response to the second voltage information reaching the first voltage threshold; wherein the first signal is used to instruct the transmitting end of wireless charging to reduce the charging voltage. In another embodiment, when the current charging role is the receiving end of wireless charging; the determination module is specifically used for: sending a second signal in response to the second voltage information not reaching the second voltage threshold; wherein the second voltage threshold is used to characterize the minimum voltage of the coil when the terminal device is normally charged, and the second signal is used to instruct the transmitting end of wireless charging to stop charging.

[0136] In an exemplary embodiment, when the current charging role is the wireless charging transmitter, still refer to Fig. 9 The acquisition module 110 is also used to obtain the signal characteristic information of the coil; the determination module 120 is also used to determine the charging strategy based on the signal characteristic information; wherein the charging strategy includes: turning off the function of the terminal device as a transmitter, or switching the current charging role of the terminal device from a transmitter to a receiver.

[0137] like Fig.10 The present disclosure also provides an electronic device, for example, the device 500 may 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.

[0138] Device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0139] The processing component 502 generally controls the overall operation of the device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0140] The memory 504 is configured to store various types of data to support operations on the device 500. Examples of such data include instructions for any application or method operating on the device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device 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.

[0141] Power component 506 provides power to various components of device 500. Power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500.

[0142] The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0143] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the device 500 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0144] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0145] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 can detect the open / closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, and the sensor assembly 514 can also detect the position change of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500, and the temperature change of the device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0146] The communication component 516 is configured to facilitate wired or wireless communication between the device 500 and other devices. The device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 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) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0147] In an exemplary embodiment, the device 500 may be implemented by 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, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.

[0148] In another exemplary embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of a device 500 to perform the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the above method.

[0149] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0150] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A detection circuit, applied to a terminal device with a wireless charging function, characterized in that: include: a first series main circuit, wherein a first end of the first series main circuit is connected to the coil, and a second end of the first series main circuit is connected to a second pin of the control chip; A voltage dividing branch is arranged between a first end and a second end of the first series main circuit, wherein the first end of the voltage dividing branch is connected to the first series main circuit, and the second end of the voltage dividing branch is grounded; and the voltage dividing branch is connected to a first pin of a control chip through a preset connection point; Wherein, the voltage dividing branch includes at least two voltage dividing elements connected in series, and a preset voltage dividing element among the at least two voltage dividing elements is located between the preset connection point and the second end of the voltage dividing branch, so that the control chip detects the voltage of the preset voltage dividing element through the first pin.

2. The detection circuit according to claim 1, characterized in that: The voltage dividing branch includes a first voltage dividing element and a second voltage dividing element, wherein the first voltage dividing element is the preset voltage dividing element.

3. The detection circuit according to claim 1, characterized in that: Between the first end and the second end of the first series main circuit are arranged in sequence: a rectifying element, a load element, a grounding branch, the voltage dividing branch and a second capacitor, wherein the grounding branch includes a first capacitor.

4. A wireless charging device, comprising a coil, a control chip and the detection circuit according to any one of claims 1 to 3; the coil is connected to the control chip, and one end of the coil is connected to the detection circuit; The control chip includes a first pin and a second pin, and the detection circuit is connected to the control chip through the first pin and the second pin; wherein, The first pin is used for detecting voltage.

5. The wireless charging device according to claim 4, characterized in that: The wireless charging device also includes a charging circuit, and the coil is connected to the control chip through the charging circuit.

6. The wireless charging device according to claim 5, characterized in that: The control chip further includes a third pin and a fourth pin, and the charging circuit includes a first branch and a second branch; The first end of the coil is connected to the detection circuit and is connected to the third pin through the first branch; the second end of the coil is connected to the fourth pin through the second branch; the first branch and the second branch are connected through the third branch; wherein the first branch includes a third capacitor, the third branch includes a fourth capacitor, and the third capacitor is located between the coil and the fourth capacitor.

7. The wireless charging device according to claim 6, characterized in that: A rectifier circuit is provided on the control chip, the first branch is connected to the first end of the rectifier circuit through the third pin, the second branch is connected to the second end of the rectifier circuit through the fourth pin, and the third end of the rectifier circuit is connected to the battery of the terminal device.

8. A terminal device, characterized in that: It comprises a battery and the wireless charging device according to any one of claims 4 to 7, wherein the battery is connected to the wireless charging device.

9. A wireless charging control method, applied to the terminal device as claimed in claim 8, characterized in that: include: In response to the current charging role, first voltage information detected by the first pin is obtained; wherein the current charging role is used to characterize the terminal device as a transmitting end or a receiving end of wireless charging, and the first voltage information is used to characterize the current voltage of the preset voltage dividing element; A charging strategy is determined according to the first voltage information.

10. The wireless charging control method according to claim 9, characterized in that: The determining a charging strategy according to the first voltage information includes: Determine corresponding second voltage information according to the first voltage information, wherein the second voltage information is used to represent a current coil voltage of the wireless charging device; A charging strategy is determined according to the second voltage information.

11. The wireless charging control method according to claim 10, characterized in that: When the current charging role is a wireless charging receiving end; The determining a charging strategy according to the second voltage information includes: In response to the second voltage information reaching a first voltage threshold, a first signal is sent; wherein the first signal is used to instruct the sending end of the wireless charging to reduce the charging voltage.

12. The wireless charging control method according to claim 10, characterized in that: When the current charging role is a wireless charging receiving end; determining a charging strategy according to the second voltage information includes: In response to the second voltage information not reaching a second voltage threshold, sending a second signal; Among them, the second voltage threshold is used to represent the minimum voltage of the coil when the terminal device is normally charged, and the second signal is used to instruct the transmitter of the wireless charging to stop charging.

13. The wireless charging control method according to claim 9, characterized in that: When the current charging role is a transmitting end of wireless charging, the method further includes: Obtain signal characteristic information of the coil; A charging strategy is determined based on the signal characteristic information; wherein the charging strategy includes: shutting down the function of the terminal device as a transmitter, or switching the current charging role of the terminal device from a transmitter to a receiver.

14. A wireless charging control device, comprising the terminal device according to claim 8, characterized in that: include: An acquisition module, configured to acquire first voltage information detected by the first pin in response to a current charging role; wherein the current charging role is used to characterize the terminal device as a transmitting end or a receiving end of wireless charging, and the first voltage information is used to characterize a current voltage of a preset voltage dividing element; A determination module is used to determine a charging strategy according to the first voltage information.

15. The wireless charging control device according to claim 14, characterized in that: The determination module is specifically used for: Determine corresponding second voltage information according to the first voltage information, wherein the second voltage information is used to represent a current coil voltage of the wireless charging device; A charging strategy is determined according to the second voltage information.

16. The wireless charging control device according to claim 15, characterized in that: When the current charging role is a wireless charging receiving end; the determining module is specifically used for: In response to the second voltage information reaching a first voltage threshold, a first signal is sent; wherein the first signal is used to instruct the transmitting end of the wireless charging to reduce the charging voltage.

17. The wireless charging control device according to claim 15, characterized in that: When the current charging role is a wireless charging receiving end; the determining module is specifically used for: In response to the second voltage information not reaching a second voltage threshold, sending a second signal; Among them, the second voltage threshold is used to represent the minimum voltage of the coil when the terminal device is normally charged, and the second signal is used to instruct the transmitter of the wireless charging to stop charging.

18. The wireless charging control device according to claim 14, characterized in that: When the current charging role is the transmitter of wireless charging, The acquisition module is also used to acquire signal characteristic information of the coil; The determination module is further used to determine a charging strategy based on the signal characteristic information; wherein the charging strategy includes: shutting down the function of the terminal device as a transmitter, or switching the current charging role of the terminal device from a transmitter to a receiver.

19. A terminal device, characterized in that: include: processor; a memory for storing executable instructions for the processor; The processor is configured to execute the wireless charging control method as described in any one of claims 9 to 13.

20. A non-transitory computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the wireless charging control method as described in any one of claims 9 to 13.