Metallic foreign matter detection circuit and method, and related apparatus

By setting up an auxiliary detection coil and an LC resonant circuit in the wireless charging device and using the Q value to detect metal foreign objects, the risk of overheating caused by metal foreign objects during the wireless charging process is solved, safety and detection accuracy are improved, and the cost of the detection solution is reduced. cost.

WO2024187807A1PCT designated stage expired Publication Date: 2024-09-19HONOR DEVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/132257
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-13
Filing Date
2023-11-17
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

During the wireless charging process, metal foreign objects such as coins or keys and other conductive objects may cause eddy currents within the magnetic field, causing wireless chargers and electronic devices to overheat or even explode. It is difficult for existing technology to effectively detect and prevent such risks.

Method used

Design a metal foreign matter detection circuit. By setting up an auxiliary detection coil in the electronic device, using the LC resonant circuit and peak detector to detect the voltage peak data, calculate the Q value to determine whether there is metal foreign matter, thereby controlling the charging process and improving detection accuracy. and security.

Benefits of technology

It effectively detects and avoids the risk of excessive temperature caused by undetected metal foreign objects, improves the safety of the wireless charging process, improves detection accuracy without increasing hardware costs, and reduces the cost of modifying NFC chip software and hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023132257_19092024_PF_FP_ABST
    Figure CN2023132257_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a metallic foreign matter detection circuit and method, and a related apparatus. The metallic foreign matter detection circuit comprises a first coil and a second coil, wherein the second coil is located on the periphery of the first coil. A first end of the second coil is connected, by means of a first switch circuit, to a control circuit corresponding to the coil, and a second end of the second coil is directly connected to the control circuit. The first switch circuit is connected to a second switch circuit in parallel, and the second switch circuit comprises a first capacitor and a switch, which are connected in series. By means of controlling the on-off states of the first switch circuit and the second switch circuit, the second coil is connected to a first capacitor in series so as to obtain an LC resonant circuit, a quality factor of the LC resonant circuit is acquired, and finally, a metallic foreign matter which is located within the position range of the second coil is detected according to the quality factor. It can be seen from the content that in a detection circuit, a second coil is used to assist in the detection of a metallic foreign matter outside a first coil, such that the risk of the temperature of the metallic foreign matter being excessively high caused by performing normal charging without detecting a metallic foreign matter at the edge of the first coil is avoided, thereby improving the safety during wireless charging.
Need to check novelty before this filing date? Find Prior Art

Description

Metal foreign body detection circuit, method and related device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 13, 2023, with application number 2023102611668 and invention name “Metal foreign body detection circuit, method and related device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of wireless charging technology, and in particular to a metal foreign body detection circuit, method, and related device. Background Art

[0003] Wireless charging technology primarily uses the principle of electromagnetic induction, coupling energy through coils to transfer power. Coils are installed on both the wireless charger and the electronic device (i.e., mobile phones, Bluetooth headsets, etc.). The wireless charger contains a transmitting coil, while the electronic device contains a receiving coil. When the electronic device is placed on the wireless charger and powered on, the AC current in the transmitting coil generates a changing magnetic field. The receiving coil senses this magnetic field, generating an induced current, which is then converted into DC power to charge the phone's battery.

[0004] During wireless charging, if there are conductive objects such as metal (such as coins, keys) between the wireless charger and the electronic device, eddy currents will be generated inside the magnetic field. The Joule effect of the eddy currents will cause the metal objects to heat up. If the heat cannot be released and accumulates too much, it will cause damage to the wireless charger and electronic device. In severe cases, it may also cause the battery of the electronic device to overheat and explode.

[0005] Summary of the Invention

[0006] In view of this, the present application provides a metal foreign body detection method and related devices to accurately detect metal foreign bodies. The disclosed technical solutions are as follows:

[0007] In a first aspect, the present application provides a metal foreign object detection circuit for use in an electronic device, the electronic device comprising a first coil and a second coil, the first coil being a wireless charging coil, the second coil being located peripherally of the first coil, the metal foreign object detection circuit comprising: a first end of the second coil connected to a first end of a second coil control circuit via a first switching circuit, and a second end of the second coil connected to a second end of the second coil control circuit; a second switching circuit connected in parallel with the first switching circuit, the second switching circuit comprising a first capacitor and a switch connected in series; and a second coil control circuit acquiring voltage peak data of an LC resonant circuit during a discharge phase and calculating a Q value of the LC resonant circuit based on the voltage peak data, the LC resonant circuit comprising a second coil and a first capacitor connected in series, the Q value being used to detect metal foreign objects within the range of the second coil. As can be seen from the foregoing, the detection circuit utilizes the second coil to assist in detecting metal foreign objects outside the first coil, thereby avoiding the risk of overheating of the metal foreign object due to normal charging without detecting the metal foreign object at the edge of the first coil, thereby improving the safety of the wireless charging process.

[0008] In a possible implementation of the first aspect, the second coil is a near field communication (NFC) coil. In this way, the accuracy of metal foreign body detection can be improved without increasing hardware costs.

[0009] In a possible implementation of the first aspect, the second switching circuit includes a first capacitor and a first switch; the first end of the first capacitor is connected to the first end of the second coil, the second end of the first capacitor is connected to the first end of the first switch, and the second end of the first switch is connected to the first end of the second coil control circuit; or, the first end of the first switch is connected to the first end of the second coil, the second end of the first switch is connected to the first end of the first capacitor, and the second end of the first capacitor is connected to the first end of the second coil control circuit.

[0010] In one possible implementation of the first aspect, the second switch circuit includes a first capacitor, a second switch, and a third switch; the first end of the second switch is connected to the first end of the second coil, the second end of the second switch is connected to the first end of the first capacitor, the second end of the first capacitor is connected to the first end of the third switch, and the second end of the third switch is connected to the first end of the second coil control circuit. In this way, switches are connected in series at both ends of the first capacitor. When an electronic device uses an NFC coil to implement NFC communication, the second and third switches are both disconnected, thereby preventing the electrical signal from the first capacitor from being transmitted to the NFC coil and preventing the NFC coil from being interfered with by C2.

[0011] In one possible implementation of the first aspect, the second coil control circuit controls the charging and discharging of the LC resonant circuit and triggers a peak detector to collect voltage peak data of the LC resonant circuit during the discharge phase. This solution is applicable when the second coil control circuit is equipped with a corresponding peak detector. In this way, the second coil control circuit can directly trigger the peak detector to collect voltage peak data during the charging and discharging process of the LC resonant circuit, thereby rapidly acquiring the required data and further improving the efficiency of metal foreign object detection.

[0012] In a possible implementation of the first aspect, the metal foreign object detection circuit includes a first coil control circuit connected to the first coil, the first coil control circuit controls the charging and discharging of the LC resonant circuit, and triggers the peak detector to collect voltage peak data of the LC resonant circuit during the discharge phase.

[0013] In a possible implementation of the first aspect, the first coil control circuit is a wireless charging coil chip, and the second coil control circuit is an NFC chip.

[0014] In a possible implementation of the first aspect, the metal foreign object detection circuit includes a first coil control circuit connected to the first coil, and the first coil control circuit triggers the second coil control circuit to start.

[0015] In a possible implementation of the first aspect, the metal foreign object detection circuit includes a first coil control circuit connected to the first coil, the first coil control circuit controls the first switch circuit to be disconnected and the second switch circuit to be closed, so that the second coil and the first capacitor are connected in series to form an LC resonant circuit; or, the second coil control circuit controls the first switch circuit to be disconnected and the second switch circuit to be closed, so that the second coil and the first capacitor are connected in series to form an LC resonant circuit.

[0016] In a second aspect, the present application also provides a metal foreign object detection circuit for use in an electronic device. The electronic device includes a first coil and a second coil, the first coil being a wireless charging coil and the second coil being located outside the first coil. The metal foreign object detection circuit comprises: the first coil is connected to a first coil control circuit, the first coil control circuit being used to control the operating state of the first coil; a first end of the second coil is connected to a first end of the second coil control circuit via a third switching circuit, and a second end of the second coil is connected to a second end of the second coil control circuit via a fourth switching circuit, the second coil control circuit being used to control the operating state of the second coil; the first end of the second coil is further connected to the first end of the first coil control circuit via a fifth switching circuit, and the second end of the second coil is further connected to the second end of the first coil control circuit via a sixth switching circuit, the fifth switching circuit comprising a first capacitor and a switch connected in series; the first coil control circuit obtains voltage peak data of the LC resonant circuit during the discharge phase and calculates a Q value based on the voltage peak data; and the first coil control circuit detects metal foreign objects within the range of the second coil based on the Q value. This solution can accurately detect metal foreign objects outside the range of the WPC coil, avoiding the risk of metal foreign objects overheating due to normal charging without detecting metal foreign objects at the edge of the WPC coil, ultimately improving the safety of the wireless charging process. Moreover, this solution uses the RX chip to calculate the Q value of the LC resonant circuit and detect metal foreign objects based on the Q value. Therefore, there is no need to modify the software (i.e., processing logic) and hardware of the NFC chip, saving the cost of modifying the NFC chip and ultimately reducing the cost of the entire metal foreign object detection solution.

[0017] In a possible implementation of the second aspect, the second coil is a near field communication (NFC) coil. In this way, the accuracy of metal foreign body detection can be improved without increasing hardware costs.

[0018] In a possible implementation of the second aspect, the first coil control circuit controls the charging and discharging of an LC resonant circuit formed by connecting the second coil in series with the first capacitor, and triggers a peak detector to detect voltage peak data of the LC resonant circuit during the discharge phase of the LC resonant circuit.

[0019] In a possible implementation of the second aspect, the first coil control circuit controls the three switch circuits and the fourth switch circuit to be disconnected, and controls the fifth switch circuit and the sixth switch circuit to be closed, so that the second coil and the first capacitor are connected in series to obtain an LC resonant circuit.

[0020] In a possible implementation of the second aspect, the first coil control circuit is a wireless charging coil chip, and the second coil control circuit is an NFC chip.

[0021] In a third aspect, the present application also provides a metal foreign body detection method, which is applied to an electronic device, the electronic device including the metal foreign body detection circuit of any one of the first aspects, the method including: controlling the switching state of the switching circuit connected to the second coil so that the second coil and the first capacitor are connected in series to obtain an LC resonant circuit; controlling the LC resonant circuit to charge and discharge after charging is completed; obtaining the voltage peak data of the LC resonant circuit in the discharge stage; calculating the quality factor Q value of the LC resonant circuit based on the voltage peak data, and detecting metal foreign bodies within the position range of the second coil based on the Q value.

[0022] In a fourth aspect, the present application also provides a wireless charging system, comprising a wireless charging base and an electronic device; the wireless charging base comprises a first WPC coil and a first NFC coil, the first NFC coil being positioned around the first WPC coil; the electronic device comprises a second WPC coil and a second NFC coil, the second NFC coil being positioned around the second WPC coil; the wireless charging base controls the first NFC coil to transmit a first NFC signal, and upon detecting that the voltage of the first NFC signal is lower than a normal voltage, determines that a metal foreign object is present between the wireless charging base and the electronic device; alternatively, the electronic device controls the second NFC coil to transmit a second NFC signal, and upon detecting that the voltage of the second NFC signal is lower than a normal voltage, determines that a metal foreign object is present between the electronic device and the wireless charging base. It can be seen that in this system, an NFC coil can also be positioned around the WPC coil within the wireless charging base, and the NFC coil can be used to detect metal foreign objects at the edge of the WPC coil, thereby improving the accuracy of metal foreign object detection by the wireless charging base. Furthermore, the system can detect metal foreign objects by utilizing the voltage changes of the NFC signal between the wireless charging base and the electronic device, eliminating the need to connect the NFC coil in series with a capacitor to form an LC resonant circuit. This reduces hardware cost, improves the accuracy of metal foreign object detection, and further enhances the safety of the wireless charging process.

[0023] In a fifth aspect, the present application also provides a wireless charging base, comprising the metal foreign body detection circuit of any one of the first aspects.

[0024] In a sixth aspect, the present application also provides an electronic device comprising the metal foreign body detection circuit of any one of the first aspects.

[0025] In the seventh aspect, the present application also provides a chip system, comprising: at least one processor and an interface, the interface being used to receive code instructions and transmit them to at least one processor; at least one processor runs the code instructions to implement the metal foreign body detection method of the third aspect.

[0026] In an eighth aspect, the present application further provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed on an electronic device, the electronic device executes the metal foreign body detection method as in the third aspect.

[0027] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one embodiment. Therefore, the description of a technical feature, technical solution or beneficial effect in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0029] FIG1 is a schematic diagram of a wireless charging system;

[0030] FIG2 is a schematic diagram of coil positions in the wireless charging system shown in FIG1 ;

[0031] FIG3 is a schematic diagram of the coil structure of a wireless charging base and an electronic device;

[0032] FIG4 is a schematic diagram of a coil structure within an electronic device provided by an embodiment of the present application;

[0033] FIG5 is a schematic diagram of a coil structure of a wireless charging base provided in an embodiment of the present application;

[0034] FIG6 is a schematic diagram of a metal foreign body detection circuit of an electronic device provided in an embodiment of the present application;

[0035] FIG7 is a circuit diagram of the metal foreign body detection circuit shown in FIG6 when in operation;

[0036] FIG8 is a flow chart of a metal foreign body detection method corresponding to the circuit shown in FIG6 ;

[0037] FIG9 is a schematic diagram of another metal foreign body detection circuit of an electronic device provided in an embodiment of the present application;

[0038] FIG10 is a flow chart of a metal foreign body detection method corresponding to the circuit shown in FIG9 ;

[0039] FIG11 is a schematic diagram of another metal foreign body detection circuit of an electronic device provided in an embodiment of the present application;

[0040] FIG12 is a schematic diagram of a circuit when the circuit shown in FIG11 is working;

[0041] FIG13 is a flow chart of a metal foreign body detection method corresponding to the circuit shown in FIG11 . DETAILED DESCRIPTION

[0042] The terms "first", "second" and "third" in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.

[0043] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0044] As shown in FIG1 and FIG2 , taking the electronic device as a mobile phone as an example, the wireless charging system includes a wireless charging base 1 and a mobile phone 2 .

[0045] The wireless charging base 1 is equipped with a wireless power consortium (WPC) coil 11, which serves as a transmitter coil. The mobile phone 2 is equipped with a WPC coil 12, which serves as a receiver coil when the mobile phone is in the wireless forward charging state (i.e., the wireless charging base is charging the battery in the mobile phone).

[0046] FIG3 shows a schematic diagram of a wireless charging base and coils in an electronic device.

[0047] As shown in FIG3 (1), the coil structure of the wireless charging base includes a magnetic plate 13 and a WPC coil 11. As shown in FIG3 (2), the coil structure of the electronic device includes a WPC coil 12 and a magnetic plate 14.

[0048] The metal foreign body detection of wireless charging system is mainly through the change of quality factor (Q value) or power loss (P loss =Power emitted by the wireless charging base - Power received by the electronic device) is achieved.

[0049] For example, a preset threshold corresponding to the Q value is set. If the preset threshold corresponding to the Q value is too small, it is very easy to mistakenly trigger the foreign object alarm and cause charging to terminate. Therefore, in order to avoid mistakenly triggering the foreign object alarm, the preset threshold cannot be too small. However, when the metal object is in the position shown by 15 in (1) and (2) of Figure 3, the Q value of the WPC coil 11 of the wireless charging base and the WPC coil 12 of the electronic device changes very little. By comparing the Q value and its corresponding preset threshold, the metal object cannot be detected. The charging system will think that there is no foreign object and charge normally, which will cause the temperature of the metal object to rise, and further may cause damage to the wireless charging base and the electronic device. In severe cases, it may cause the battery in the electronic device to overheat and explode. The same problem exists in detecting metal foreign objects using power loss.

[0050] In order to solve the above technical problems, the present application provides a metal foreign body detection method, which adds a coil (which may be called an auxiliary detection coil) in an electronic device or a wireless charging base, and detects whether there is a metal foreign body between the wireless charging base and the electronic device by detecting the Q value of the auxiliary detection coil. In this way, the detection accuracy of metal foreign bodies is improved, and the temperature rise of metal foreign bodies can be controlled, thereby reducing safety risks. The present application does not limit the type of auxiliary detection coil. For example, the auxiliary detection coil can be other existing coils in an electronic device or a wireless charging base, such as a near field communication (NFC) coil in an electronic device, which can improve the detection accuracy of metal foreign bodies without increasing hardware costs.

[0051] In some embodiments, the electronic device can be a mobile phone, tablet computer, desktop, laptop, notebook computer, ultra-mobile personal computer (UMPC), handheld computer, netbook, personal digital assistant (PDA), wearable electronic device, smart watch, etc., which have wireless charging function.

[0052] In an exemplary embodiment of the present application, the electronic device may include a processor, a charging management module, a power management module, a battery, a wireless communication module, etc. Furthermore, a WPC coil and an NFC coil are also provided within the electronic device. The wireless communication module in this embodiment may include a WPC chip and an NFC chip.

[0053] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0054] In the embodiments of the present application, the WPC chip of the electronic device is used to communicate with the WPC chip in the wireless charging base and detect whether there is a metal foreign object between the electronic device and the wireless charging base. To distinguish the WPC chip of the electronic device from the WPC chip of the wireless charging base, the WPC chip of the electronic device is referred to as the RX (Receiver) chip and the WPC chip of the wireless charging base is referred to as the TX (Transmitter) chip.

[0055] Electronic devices can wirelessly charge their batteries through WPC chips and wireless charging coils. During the wireless charging process, NFC chips and NFC coils can assist in detecting whether there are metal foreign objects between the electronic device and the wireless charging base.

[0056] The processor may include one or more processing units, and different processing units may be independent devices or integrated into one or more processors. For example, in an embodiment of the present application, the processor includes an application processor (AP).

[0057] In an exemplary embodiment of the present application, the WPC chip and the NFC chip can communicate indirectly through the processor. For example, when the WPC chip sends data or instructions to the NFC chip, the WPC chip first sends the data or instructions to the processor, which then forwards them to the NFC chip. Similarly, when the NFC chip sends data or instructions to the WPC chip, the NFC chip first sends the data or instructions to the processor, which then forwards them to the WPC chip.

[0058] In addition, an operating system runs on top of the above components. For example, operating system, operating system, Operating system, etc. Applications can be installed and run on the operating system, such as settings, gallery, calendar, call, map, etc. In the embodiment of the present application, the user can click the battery function item in the settings app to enter the battery function page, and then turn on the wireless charging switch on the battery function page, so that the electronic device can be wirelessly charged.

[0059] The coil structure of the electronic device provided in the embodiment of the present application will be described below with reference to FIG. 4 and FIG. 5 .

[0060] In some examples, in order to meet NFC communication requirements (such as NFC is commonly used in mobile payment, smart access control, bus cards, electronic tickets, smart tags and other fields), electronic devices are also provided with NFC coils and NFC chips.

[0061] In one example, as shown in FIG4 , the NFC coil 16 is disposed outside the WPC coil 12 to implement the NFC function of the electronic device.

[0062] For electronic devices with an NFC coil installed around a WPC coil, the metal foreign body detection method of this application can assist in detecting metal foreign bodies by detecting the Q value of the NFC coil. For example, the Q value of the NFC coil can be calculated to detect whether there is a metal foreign body within the position range of the NFC coil, thereby improving the accuracy of metal foreign body detection and avoiding the risk of the metal foreign body overheating due to normal charging without detecting the metal foreign body.

[0063] In another example, at least two WPC coils can be installed in an electronic device. By detecting the Q value corresponding to any WPC coil, the presence of a metal foreign object within the range of the corresponding WPC coil can be detected. For example, one or more WPC coils can be added to the periphery of the original WPC coil 12. By detecting the Q value of the additional WPC coil, the presence of a metal foreign object around the original WPC coil can be determined.

[0064] In another exemplary embodiment of the present application, at least two coils may be provided within the wireless charging base. For example, at least two coils may be WPC coils, or one may be a WPC coil and the other an NFC coil. In this way, the presence of metallic foreign objects can be detected by the peripheral coils.

[0065] Taking the example of a wireless charging base with a WPC coil and an NFC coil, as shown in Figure 5, other types of coils, such as NFC coil 17, can be added to the periphery of the WPC coil 11 of the wireless charging base. In this way, the wireless charging base can detect changes in the Q value of NFC coil 17 to determine whether there is a metal foreign object at the position indicated by 15.

[0066] In some embodiments, when both the wireless charging base and the electronic device are equipped with NFC coils, the wireless charging base can determine whether there is a metal foreign object by detecting changes (such as changes in voltage value) in the communication signal (such as the NFC signal).

[0067] For example, the electronic device controls its own NFC coil to transmit an NFC signal, and the wireless charging base can detect the voltage value of the transmitted NFC signal. If the voltage value of the transmitted NFC signal is lower than the normal voltage value of the NFC signal, it is determined that the impedance between the two coils has changed, indicating the presence of a metal foreign object. If the voltage value of the transmitted NFC signal is equal to the normal voltage value, it is determined that the impedance between the two coils has not changed, indicating the presence of a metal foreign object.

[0068] Similarly, electronic devices can also determine whether there is a metal foreign object by detecting changes in the voltage value of the NFC signal emitted by the wireless charging base.

[0069] In another example, at least two WPC coils may be provided in the wireless charging base, and the presence of metal foreign matter within the range of any WPC coil may be detected by detecting the Q value or power loss corresponding to any WPC coil.

[0070] The following describes the metal foreign body detection circuit for an electronic device provided in an embodiment of the present application, taking the auxiliary detection coil being an NFC coil as an example.

[0071] 1. NFC chip calculates Q value or detects metal foreign objects

[0072] 1. There are two peak detectors in the metal foreign body detection circuit, namely, the RX chip and the NFC chip are each equipped with a peak detector

[0073] FIG6 is a schematic diagram of a metal foreign body detection circuit in an electronic device provided in an embodiment of the present application.

[0074] In an exemplary embodiment, a first end of the NFC coil is connected to a pin of the NFC chip through a first switch circuit, and a second end of the NFC coil is connected to another pin of the NFC chip, and a second switch circuit is connected in parallel with the first switch circuit.

[0075] In one example, as shown in Figure 6, the first switching circuit includes a first switch SW1, and the second switching circuit includes a capacitor C2 (i.e., the first capacitor), and a second switch SW2 and a third switch SW3 connected in series. One end of the NFC coil is connected to a pin of the NFC chip through the first switch SW1. The second switch SW2 and the third switch SW3 are connected in series at both ends of the capacitor C2, respectively, and the second switching circuit is connected in parallel with the first switching circuit.

[0076] In the example shown in FIG6 , SW2 is connected in series between C2 and the NFC coil. When the NFC coil performs NFC communication, SW2 is disconnected. This prevents the electrical signal of C2 from being transmitted to the NFC coil, thereby preventing the NFC coil from being interfered with by C2.

[0077] In other embodiments, the second switch circuit may include a capacitor C2 and a switch connected in series with C2. For example, a switch such as SW2 shown in FIG6 may be connected in series with the end of the capacitor C2 connected to the NFC coil. For another example, a switch such as SW3 shown in FIG6 may be connected in series with the end of the capacitor C2 connected to the NFC chip.

[0078] In other embodiments of the present application, the first switch circuit and the second switch circuit may further include a greater number of switches, and these switches may be connected in series and / or in parallel, which is not limited in the present application.

[0079] In addition, one end of C2 is connected to the input end of a first peak detector. The first peak detector is used to detect the voltage peak data (such as the voltage peak value and the number of oscillation cycles) of the LC resonant circuit composed of the NFC coil and C2 in series during the discharge phase and provide it to the NFC chip.

[0080] Referring again to Figure 6, one end of the WPC coil is connected to one end of capacitor C1, the other end of C1 is connected to a pin of the RX chip, and the other end of the WPC coil is connected to another pin of the RX chip. One end of C1 is also connected to the input of a second peak detector, which collects peak voltage data from the LC resonant circuit formed by the WPC coil and C1 in series during the discharge phase and provides it to the RX chip.

[0081] In one example, the first peak detector may be integrated into the NFC chip, or may be a device independent of the NFC chip. Similarly, the second peak detector may be integrated into the RX chip, or may be a device independent of the RX chip.

[0082] In one example, SW1 can be a depletion-mode NMOS transistor, which is closed by default. SW2 and SW3 can be enhancement-mode NMOS transistors, which are open by default. Of course, in other embodiments, SW1-SW3 can also be other types of switching devices, and this application does not limit the type of switching devices SW1-SW3. The switching states of SW1-SW3 can be controlled by the RX chip or the NFC chip, and this application does not limit this.

[0083] FIG. 7 is a circuit diagram of the metal foreign body detection circuit shown in FIG. 6 when in operation.

[0084] As shown in Figure 7, when the NFC coil is used to assist in detecting metal foreign objects, SW1 is disconnected, while SW2 and SW3 are closed. In this state, the NFC coil and capacitor C2 form an LC resonant circuit.

[0085] The NFC chip first controls the charging of the LC resonant circuit, and then controls the discharging of the LC resonant circuit. At the same time, the first peak detector is triggered to collect the voltage peak data of the LC resonant circuit in the discharging stage.

[0086] The first peak detector determines the peak data of the voltage signal in the LC resonant circuit (such as the voltage peak and the number of oscillation cycles), i.e., the voltage peak data, by collecting the voltage signal of the LC resonant circuit in the discharge phase, and sends it to the NFC chip. The NFC chip calculates the Q value of the LC resonant circuit in the discharge phase based on the voltage peak data. If the Q value is less than or equal to the preset threshold, it is determined that there is a metal foreign object at the location of the NFC coil. It can be seen that metal foreign objects other than the location of the WPC coil can be detected by the NFC coil and the NFC chip.

[0087] In one example, the NFC chip can send the Q value to the RX chip, and the RX chip determines whether there is a metal foreign object at the location of the NFC coil based on the Q value.

[0088] In another example, after the NFC chip calculates the Q value, it can directly determine whether there is a metal foreign object at the location of the NFC coil based on the Q value, and send the detection result to the RX chip, which executes the corresponding processing logic based on the detection result.

[0089] The metal foreign body detection circuit shown in Figure 6 is also applicable to the wireless charging base. The difference is that the RX chip in the metal foreign body detection circuit needs to be replaced with the WPC chip on the wireless charging base side, namely the TX chip. The rest of the content is the same and will not be repeated here.

[0090] In other embodiments of the present application, when the electronic device determines that there is no metal foreign object within the location range of the NFC coil, it continues to detect whether there is a metal foreign object within the location range of the WPC coil. For example, the RX chip can obtain the Q value of the LC resonant circuit formed by the WPC coil in the discharge phase through the second peak detector, and further detect the metal foreign object within the location range of the WPC coil based on the Q value. The details will not be repeated here.

[0091] In addition, when the NFC coil is used for NFC communication, SW1 is closed, and SW2 and SW3 are open, that is, capacitor C2 is not connected to the line between the NFC coil and the NFC chip.

[0092] The metal foreign body detection method is described below with reference to the flowchart of the metal foreign body detection method shown in FIG8 . This embodiment is described using wireless forward charging of a mobile phone as an example. The method is applied to a wireless charging system.

[0093] As shown in FIG8 , a metal foreign body detection method applied to an electronic device may include the following steps:

[0094] S100, the phone's RX chip is started.

[0095] After the phone is turned on, if wireless charging is required, the application processor can directly start the RX chip to provide power. For example, after the phone turns on the wireless charging switch, the application processor will directly start the RX chip.

[0096] S101: Establish a communication connection between the wireless charging base and the mobile phone.

[0097] The wireless charging base's TX chip establishes a communication connection with the phone's RX chip, enabling communication between the two. For example, in one example, the TX chip sends a Ping command to the RX chip requesting communication establishment. After receiving the Ping command, the RX chip returns a signal strength packet (which may include information such as supported power values) and identity information to the TX chip. The identity information is the RX chip's identification information.

[0098] S102, the RX chip sends an NFC chip activation instruction to the processor in the mobile phone.

[0099] In this embodiment, after the mobile phone establishes a communication connection with the wireless charging base, the NFC chip is activated. For example, in one example, after the RX chip establishes a communication connection with the TX chip, an instruction to activate the NFC chip is sent to a processor (e.g., an application processor).

[0100] When the NFC coil is used to assist in detecting metal foreign objects, the RX chip is started and then the NFC chip is triggered to start.

[0101] When a mobile phone implements NFC communication through an NFC chip and an NFC coil, the phone's application processor directly activates the NFC chip. Furthermore, when the application processor directly activates the NFC chip, it does not activate the RX chip. In other words, the application processor directly activates either the NFC chip or the RX chip. The application processor does not directly activate both the NFC chip and the RX chip at the same time.

[0102] S103: The processor responds to the NFC chip activation instruction to trigger the NFC chip to activate.

[0103] After receiving the NFC chip activation instruction, the processor of the mobile phone can send an activation instruction to the NFC chip to activate the NFC chip.

[0104] In step S104 , the RX chip controls SW1 to be disconnected, and controls SW2 and SW3 to be closed, so that the NFC coil and capacitor C2 are connected in series to form an LC resonant circuit.

[0105] In one example, after the RX chip sends an NFC chip startup instruction to the application processor, it controls SW1 in the circuit shown in Figure 10 to be disconnected, and at the same time, controls SW2 and SW3 to be closed, so that the NFC coil and capacitor C2 are connected in series to form an LC resonant circuit.

[0106] This application does not limit the execution order of S102 and S104. S102 may be executed first and then S104, the two steps may be executed simultaneously, or S104 may be executed first and then S102.

[0107] In other embodiments, after the NFC chip is started, the switch states of SW1 to SW3 may be controlled by the NFC chip. This application does not limit the controller of the switch states of SW1 to SW3.

[0108] S105 , the NFC chip controls the LC resonant circuit to charge, and controls the LC resonant circuit to discharge after charging is completed, and simultaneously triggers a first peak detector to detect voltage peak data of the LC resonant circuit during the discharge phase.

[0109] In this embodiment, the NFC chip first controls the LC resonant circuit to charge, and then discharges it after charging is completed. For example, at time t0, a voltage of 3.3V is injected into the LC resonant circuit to charge the LC resonant circuit, and then the LC resonant circuit is grounded to discharge it.

[0110] While controlling the discharge of the LC resonant circuit, the first peak detector is triggered to collect the peak value of the voltage signal of the circuit according to a preset time interval (such as period T). For example, the voltage signal collected at time t1 is recorded as V(t1), and the voltage signal collected at time tn is recorded as V(t n ).

[0111] Furthermore, the peak value (voltage peak value) of the voltage signal is determined based on the collected voltage signal, and finally the number of cycles N is obtained.

[0112] S106: The NFC chip receives the voltage peak data sent by the first peak detector.

[0113] In one example, the voltage peak data may include the number N of cycles of the voltage signal within the acquisition period, and each acquired voltage peak value V(t i ), 1≤i≤n.

[0114] S107: The NFC chip calculates the Q value of the LC resonant circuit formed by the NFC coil based on the voltage peak data.

[0115] In one example, the Q value of the LC resonant circuit can be calculated using the following formula:

[0116] In the above formula, N is the number of cycles (from t1 to tn The number of oscillation cycles of the LC resonant circuit included in this period), V(t1) is the first voltage peak in the acquisition period, V(t n ) is the last voltage peak value in the acquisition period.

[0117] S108: The NFC chip sends the Q value to the processor.

[0118] S109: The processor sends the Q value to the RX chip.

[0119] Indirect communication between the NFC chip and the RX chip is achieved through S108 and S109.

[0120] S110: Power transmission between the wireless charging base and the mobile phone.

[0121] The wireless charging base transmits electromagnetic wave energy through the WPC coil, and the mobile phone receives the electromagnetic wave energy through the WPC coil and converts the electromagnetic wave energy into alternating current. The mobile phone further converts the alternating current into direct current to charge the battery in the mobile phone.

[0122] S111, the RX chip determines whether the Q value is less than or equal to a preset threshold. If so, execute S112; if not, execute S113.

[0123] After the RX chip detects the transmission power between the mobile phone and the wireless charging base, it determines whether the Q value is less than or equal to the preset threshold.

[0124] A higher Q value indicates a lower decay rate of the energy stored in the LC resonant circuit, and a lower Q value indicates a higher decay rate of the energy in the LC resonant circuit.

[0125] The preset threshold value may be obtained according to the actual situation of the NFC coil. For example, NFC coils of different specifications may correspond to different preset threshold values.

[0126] For example, in one example, the preset Q value threshold is 60. If the Q value of the LC resonant circuit is ≤ 60, it indicates that there is a metal foreign object between the two. The metal foreign object absorbs electromagnetic wave energy, causing the energy of the LC resonant circuit to decay faster and the Q value to decrease. Therefore, when the Q value is detected to be less than or equal to the preset threshold, it is determined that there is a metal foreign object between the wireless charging base and the mobile phone.

[0127] S112, the RX chip generates a foreign object alarm signal and sends an End Power Transfer (EPT) signal to the wireless charging base to notify it to end charging.

[0128] When the RX chip of the mobile phone detects a metal foreign object, it generates a foreign object alarm signal. The foreign object alarm signal can be a sound signal, a light signal, or a graphic information displayed on the mobile phone display interface to remind the user that there is a foreign object between the wireless charging base and the mobile phone.

[0129] At the same time, the mobile phone sends an EPT signal to the wireless charging base. After receiving the EPT signal, the wireless charging base terminates the power transmission between it and the mobile phone.

[0130] S113: The RX chip determines the charging power based on the Q value and selects a matching coil for charging.

[0131] For example, a Q value between 80 and 100 indicates that the coil on the phone is aligned with the center of the coil on the wireless charging base, and the phone can be charged at full power. A Q value between 60 and 80 indicates that the coil on the phone is not aligned with the coil on the wireless charging base, and the phone can be charged at partial power.

[0132] In this embodiment, the NFC chip calculates the Q value of the LC resonant circuit based on the voltage peak data of the LC resonant circuit in the discharge phase collected by the first peak detector.

[0133] Furthermore, once it is determined that there are no metal foreign objects within the NFC coil's location range (the NFC coil's location range in this article refers to the area covered by the NFC coil), the phone will further detect whether there are any metal foreign objects within the WPC coil's location range. Specifically, the phone detects the Q value of the LC resonant circuit formed by the WPC coil and capacitor C1 during the discharge phase, and further determines the presence of a metal foreign object based on the Q value. This process will not be further described in this application.

[0134] S114, after the wireless charging base establishes a communication connection with the mobile phone, obtain the Q value corresponding to the coil in the base, and determine whether the Q value is less than a preset threshold; if so, execute S115; if not, execute S113.

[0135] After the wireless charging base establishes a communication connection with the mobile phone, while the mobile phone performs the above-mentioned metal foreign object detection, the wireless charging base also detects whether there is a metal foreign object. The wireless charging base can use the LC resonant circuit formed by the WPC coil in the base and detect the Q value of the LC resonant circuit. Finally, the metal foreign object is determined based on the Q value. This process is the same as the process of the mobile phone detecting metal foreign objects through the WPC coil in the mobile phone, and will not be repeated here.

[0136] The wireless charging base detects the Q value of the LC resonant circuit at the same time as the phone does—for example, after the phone and wireless charging base establish a communication connection. Furthermore, the Q value can be used to identify metal foreign objects in the same way as the phone does—for example, after power is transferred between the wireless charging base and the phone.

[0137] S115: The wireless charging base issues a foreign object alarm and ends charging.

[0138] The foreign object alarm method of the wireless charging base is the same as that of the mobile phone side, so I will not go into details here.

[0139] It should be noted that whether the mobile phone or the wireless charging base detects a metal foreign object, a foreign object alarm will be generated and charging will be terminated.

[0140] The metal foreign body detection method provided in this embodiment is that after the WPC chip (RX chip) on the mobile phone side is started, the NFC chip is triggered to start, and the NFC coil and capacitor C2 are controlled to form an LC resonant circuit. The voltage peak data of the LC resonant circuit in the discharge phase is collected by the first peak detector corresponding to the NFC chip. The NFC chip calculates the Q value based on the voltage peak data and sends it to the RX chip. The RX chip detects whether there is a metal foreign body within the position range of the NFC coil based on the Q value. If there is a metal foreign body, the RX chip sends a foreign body alarm signal and sends a termination charging instruction to the wireless charging base to terminate the wireless charging process. It can be seen that this solution expands the detection range of metal foreign bodies, thereby avoiding the risk of excessive temperature of the metal foreign body caused by normal charging without detecting the metal foreign body located at the edge of the WPC coil, and ultimately improves the safety of the wireless charging process. Moreover, the embodiment of the present application can use the existing NFC coil of the electronic device to assist in the detection of metal foreign bodies, thereby improving the detection accuracy of metal foreign bodies without increasing hardware costs.

[0141] In the embodiment shown in FIG8 , the NFC chip calculates a Q value based on the voltage peak data collected by the first peak detector, and the RX chip further detects the presence of a metal foreign object based on the Q value. In other embodiments of the present application, the NFC chip can calculate a Q value based on the voltage peak data, detect the presence of a metal foreign object based on the Q value, and then send the detection result to the RX chip. The RX chip executes corresponding processing logic based on the received detection result, which will not be further described here.

[0142] 2. A peak detector is set in the metal foreign body detection circuit

[0143] Figure 9 shows a schematic diagram of another metal foreign body detection circuit for an electronic device provided in an embodiment of the present application. This embodiment provides only one peak detector, which is controlled by the RX chip. Furthermore, the peak detector can be integrated into the RX chip or be independent of the RX chip and the NFC chip.

[0144] As shown in FIG9 , a first input terminal of the peak detector is connected to an LC resonant circuit formed by connecting an NFC coil and a capacitor C2 in series, and a second input terminal of the peak detector is connected to an LC resonant circuit formed by connecting a WPC coil and a capacitor C1 in series.

[0145] Similar to the metal foreign object detection circuit shown in Figure 7, SW1 to SW3 in the metal foreign object detection circuit shown in Figure 10 can be controlled by the NFC chip or the RX chip. When SW1 is disconnected and SW2 and SW3 are closed, the NFC coil and C2 are connected in series to form an LC resonant circuit.

[0146] The NFC chip controls the charging and discharging process of the LC resonant circuit formed by the NFC coil and C2 in series. When the LC resonant circuit starts to discharge, the processor sends a signal to the RX chip to trigger the peak detector to collect data, so that the peak detector collects the voltage peak data of the LC resonant circuit.

[0147] In one example, the peak detector detects the voltage peak data of the LC resonant circuit and provides it to the NFC chip via the RX chip. The NFC chip calculates the Q value based on the voltage peak data and further determines whether there is a metal foreign object based on the Q value.

[0148] In another example, the peak detector detects the voltage peak data of the LC resonant circuit and provides it to the RX chip, which calculates the Q value based on the voltage peak data and further determines whether there is a metal foreign object based on the Q value.

[0149] FIG10 is a flow chart of metal foreign body detection of the metal foreign body detection circuit shown in FIG9 . As shown in FIG10 , the metal foreign body detection method may include the following steps:

[0150] The implementation process of S201 to S204 is the same as the process of S101 to S104 in FIG8 , and will not be repeated here.

[0151] S205 , the NFC chip controls the charging and discharging process of the LC resonant circuit, and sends a voltage peak acquisition instruction to the processor when the LC resonant circuit starts to discharge.

[0152] S206: The processor sends a voltage acquisition instruction to the RX chip.

[0153] S207 , the RX chip responds to the voltage peak value acquisition instruction and triggers the peak value detector to acquire the voltage peak value data of the LC resonant circuit.

[0154] S205 to S207 of this embodiment trigger the peak detector to collect the voltage signal when the NFC chip controls the LC resonant circuit to start discharging.

[0155] In the metal foreign object detection circuit shown in Figure 9, the NFC chip controls the charging and discharging process of the LC resonant circuit formed by the series connection of the NFC coil and C2, and the RX chip triggers the peak detector to collect voltage peak data. Therefore, in this embodiment, when the NFC chip controls the LC resonant circuit to begin discharging, the processor sends a voltage signal collection instruction to the RX chip, which triggers the peak detector to collect the voltage signal of the LC resonant circuit.

[0156] S208: The peak detector sends the voltage peak data to the RX chip.

[0157] S209: Power is transmitted between the wireless charging base and the mobile phone.

[0158] S210: The RX chip calculates the Q value corresponding to the LC resonant circuit according to the voltage peak data.

[0159] The process of calculating the Q value in S210 of this embodiment is the same as S107 in FIG8 , and will not be repeated here.

[0160] S211, the RX chip determines whether the Q value is less than or equal to a preset threshold.

[0161] If the Q value is less than or equal to the preset threshold, then S212 is executed. If the Q value is greater than the preset threshold, then S214 is executed.

[0162] S212, the RX chip generates a foreign object alarm signal.

[0163] S213, the RX chip sends an EPT packet to the wireless charging base to notify it to end charging.

[0164] S214: The RX chip determines the charging power based on the Q value and selects a matching coil for charging.

[0165] In addition, when it is determined that there is no metal foreign object within the location range of the NFC coil, the mobile phone will continue to detect whether there is a metal foreign object within the location range of the WPC coil. The detection process is the same as the corresponding process of the embodiment shown in Figure 8 and will not be repeated here.

[0166] S215, after the wireless charging base establishes a communication connection with the mobile phone, obtain the Q value corresponding to the coil in the base, and determine whether the Q value is less than a preset threshold; if so, execute S216; if not, execute S214.

[0167] S216: The wireless charging base issues a foreign object alarm and ends charging.

[0168] The implementation process of S211 to S216 in this embodiment is the same as the process of S111 to S115 in Figure 8, and will not be repeated here.

[0169] In the metal foreign object detection method provided in this embodiment, the NFC chip controls the charge and discharge process of the LC resonant circuit. The RX chip collects the peak voltage data during the discharge phase of the LC resonant circuit and calculates the Q value. The Q value is then used to determine whether a metal foreign object is present. This eliminates the need for a peak detector in the NFC chip, further reducing hardware costs.

[0170] 2. Calculate the Q value of the WPC chip (RX chip) of the electronic device and further determine whether there is metal foreign matter based on the Q value.

[0171] In this embodiment, the RX chip controls the charging and discharging process of the LC resonant circuit formed by the NFC coil and capacitor C2, calculates the Q value of the LC resonant circuit, and detects whether there is a metal foreign object within the location of the NFC coil.

[0172] To achieve the aforementioned purpose of having the RX chip calculate the Q value and determine whether a metal foreign object is present based on the Q value, an embodiment of the present application provides another metal foreign object detection circuit, in which one end of the NFC coil is connected to a pin of the NFC chip via a third switch circuit. Simultaneously, this end of the NFC coil is also connected to a pin of the RX chip via a fifth switch circuit. The other end of the NFC coil is connected to another pin of the NFC chip via a fourth switch circuit. Simultaneously, this end is also connected to another pin of the RX chip via a sixth switch circuit.

[0173] In one example, as shown in Figure 11, one end of the NFC coil is connected to one end of SW11, the other end of SW11 is connected to a pin of the NFC chip, and this end of the NFC coil is also connected to one end of SW13, the other end of SW13 is connected to one end of capacitor C2, and the other end of C2 is connected to a pin of the RX chip (referred to as the first pin). The other end of the NFC coil is connected to another pin of the NFC coil via SW12. At the same time, this end of the NFC coil is also connected to another pin of the RX chip (referred to as the second pin) via SW14.

[0174] In the example shown in FIG11 , the third switch circuit includes SW11 , the fourth switch circuit includes SW12 , the fifth switch circuit includes SW13 and capacitor C2 connected in series, and the sixth switch circuit includes SW14 .

[0175] Of course, in other embodiments, the third, fourth, fifth, and sixth switch circuits may also include two or more switches, and these switches may be connected in series and / or in parallel, which is not limited in this application.

[0176] Referring to FIG. 11 again, one end of the WPC coil is connected in series with the capacitor C1 and then connected to the third pin of the RX chip, and the other end of the WPC coil is connected to the fourth pin of the RX chip.

[0177] One input terminal of the peak detector (which may be referred to as the first input terminal) is connected to the branch where the capacitor C2 is located, and is used to detect the voltage peak of the LC resonant circuit formed by the NFC coil and C2 during the discharge phase.

[0178] The other input end of the peak detector (which may be referred to as the second input end) is connected to the branch where the capacitor C1 is located, and is used to detect the voltage peak of the LC resonant circuit formed by the WPC coil and C1 during the discharge phase.

[0179] The peak detector may be integrated into the RX chip, or may be a device independent of the RX chip. This application does not limit the packaging form of the peak detector.

[0180] In one example, SW11 and SW12 can use depletion-mode NMOS transistors, which are closed by default. SW13 and SW14 can use enhancement-mode NMOS transistors, which are open by default. The switching states of SW11-SW14 can be controlled by the RX chip. SW11-SW14 can also use other types of switching devices, and this application does not limit the type of switching devices.

[0181] As shown in Figure 11, when SW11 and SW12 are closed, the NFC coil is connected to the NFC chip, and the NFC chip controls the NFC coil to send and receive instructions or data, so that the electronic device can realize the NFC communication function through the NFC coil and the NFC chip.

[0182] FIG12 is a circuit diagram of the metal foreign body detection circuit shown in FIG11 when in operation.

[0183] As shown in Figure 12, when SW11 and SW12 are open and SW13 and SW14 are closed, the NFC coil and capacitor C2 are connected in series to form an LC resonant circuit, which is then connected to the RX chip. The RX chip controls the charging and discharging of this LC resonant circuit and, when controlling the discharge of the LC resonant circuit, triggers a peak detector to collect peak voltage data from the LC resonant circuit. The RX chip further calculates the Q value of the LC resonant circuit based on the peak voltage data and uses this Q value to determine the presence of metal foreign matter.

[0184] The process of detecting metal foreign matter will be described in detail below with reference to the flowchart of the metal foreign matter detection method shown in FIG13 .

[0185] As shown in FIG13 , the metal foreign body detection method may include the following steps:

[0186] S300, the phone's RX chip is started.

[0187] S301: Establish a communication connection between the wireless charging base and the mobile phone.

[0188] In step S302 , the RX chip controls SW11 and SW12 to be disconnected and SW13 and SW14 to be closed, so that the NFC coil and capacitor C2 are connected in series to form an LC resonant circuit.

[0189] S303, the RX chip controls the charge and discharge process of the LC resonant circuit and triggers the peak detector to collect voltage peak data when discharging begins.

[0190] S304: The RX chip calculates the Q value based on the voltage peak data.

[0191] S307, the RX chip determines whether the Q value is less than or equal to a preset threshold, and if so, executes S308; if not, executes S310.

[0192] S308, the RX chip generates a foreign object alarm signal.

[0193] S309: The RX chip sends an EPT signal to the wireless charging base to terminate charging.

[0194] At step S310 , the RX chip determines the charging power based on the Q value and selects a matching coil for charging.

[0195] In addition, when it is determined that there is no metal foreign object within the location range of the NFC coil, the RX chip can continue to determine whether there is a metal foreign object within the location range of the WPC coil. The detection process is the same as the corresponding process of the embodiment shown in Figure 9 and will not be repeated here.

[0196] S311, after the wireless charging base establishes a communication connection with the mobile phone, obtain the Q value corresponding to the coil in the base, and determine whether the Q value is less than a preset threshold; if so, execute S312; if not, execute S310.

[0197] S312: The wireless charging base issues a foreign object alarm and ends charging.

[0198] The implementation process of S311 to S3120 in this embodiment is the same as S114 to S115 in the embodiment shown in FIG8 , and will not be repeated here.

[0199] The metal foreign body detection method provided in this embodiment is that after the WPC chip (i.e., RX chip) on the mobile phone side is started, the switch circuit is controlled to connect the NFC coil and C2 in series to obtain an LC resonant circuit, and the charging and discharging process of the LC resonant circuit is controlled, and the peak detector is triggered to collect the voltage peak data of the LC resonant circuit in the discharge phase. The RX chip further calculates the Q value of the LC resonant circuit based on the voltage peak data, and detects whether there is a metal foreign body within the range of the NFC coil based on the Q value. It can be seen that this solution can accurately detect metal foreign bodies outside the range of the WPC coil, avoiding the risk of excessive temperature of the metal foreign body caused by normal charging without detecting the metal foreign body at the edge of the WPC coil, and ultimately improving the safety of the wireless charging process. Moreover, the solution calculates the Q value of the LC resonant circuit and detects metal foreign bodies based on the Q value by the RX chip. Therefore, there is no need to modify the software (i.e., processing logic) and hardware of the NFC chip, saving the cost of modifying the NFC chip and ultimately reducing the cost of the entire metal foreign body detection solution.

[0200] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A metal foreign body detection circuit, It is characterized in that Applied to an electronic device, the electronic device comprises a first coil and a second coil, the first coil is a wireless charging coil, the second coil is located outside the first coil, and the metal foreign body detection circuit comprises: The first end of the second coil is connected to the first end of the second coil control circuit through the first switch circuit, and the second end of the second coil is connected to the second end of the second coil control circuit; A second switch circuit is connected in parallel with the first switch circuit, wherein the second switch circuit includes a first capacitor and a switch connected in series; The second coil control circuit obtains voltage peak data of the LC resonant circuit in the discharge stage, and calculates the quality factor Q value of the LC resonant circuit based on the voltage peak data. The LC resonant circuit includes the second coil and the first capacitor connected in series, and the Q value is used to detect metal foreign matter within the position range of the second coil.

2. The metal foreign body detection circuit according to claim 1, It is characterized in that The second coil is a near field communication (NFC) coil.

3. The metal foreign body detection circuit according to claim 1 or 2, It is characterized in that The second switch circuit includes the first capacitor and a first switch; A first end of the first capacitor is connected to a first end of the second coil, a second end of the first capacitor is connected to a first end of the first switch, and a second end of the first switch is connected to a first end of the second coil control circuit; Alternatively, a first end of the first switch is connected to a first end of the second coil, a second end of the first switch is connected to a first end of the first capacitor, and a second end of the first capacitor is connected to a first end of the second coil control circuit.

4. The metal foreign body detection circuit according to claim 1 or 2, It is characterized in that The second switch circuit includes the first capacitor, a second switch and a third switch; The first end of the second switch is connected to the first end of the second coil, the second end of the second switch is connected to the first end of the first capacitor, the second end of the first capacitor is connected to the first end of the third switch, and the second end of the third switch is connected to the first end of the second coil control circuit.

5. The metal foreign body detection circuit according to any one of claims 1 to 4, It is characterized in that The second coil control circuit controls the LC resonant circuit to charge and discharge, and triggers the peak detector to collect voltage peak data of the LC resonant circuit in the discharge phase.

6. The metal foreign body detection circuit according to any one of claims 1 to 4, It is characterized in that The metal foreign body detection circuit includes a first coil control circuit connected to the first coil, and the first coil control circuit controls the LC resonant circuit to charge and discharge, and triggers a peak detector to collect voltage peak data of the LC resonant circuit in a discharge phase.

7. The metal foreign body detection circuit according to claim 6, It is characterized in that The first coil control circuit is a wireless charging coil chip, and the second coil control circuit is an NFC chip.

8. The metal foreign body detection circuit according to any one of claims 1 to 7, It is characterized in that The metal foreign body detection circuit includes a first coil control circuit connected to the first coil, and the first coil control circuit triggers the second coil control circuit to start.

9. The metal foreign body detection circuit according to any one of claims 1 to 6, It is characterized in that The metal foreign body detection circuit comprises a first coil control circuit connected to the first coil, the first coil control circuit controls the first switch circuit to be disconnected and the second switch circuit to be closed, so that the second coil and the first capacitor are connected in series to form an LC resonant circuit; Alternatively, the second coil control circuit controls the first switch circuit to be opened and the second switch circuit to be closed, so that the second coil is connected in series with the first capacitor to form an LC resonant circuit.

10. A metal foreign body detection circuit, It is characterized in that Applied to an electronic device, the electronic device comprises a first coil and a second coil, the first coil is a wireless charging coil, the second coil is located outside the first coil, and the metal foreign body detection circuit comprises: The first coil is connected to a first coil control circuit, and the first coil control circuit is used to control the working state of the first coil; The first end of the second coil is connected to the first end of the second coil control circuit through the third switch circuit, and the second end of the second coil is connected to the second end of the second coil control circuit through the fourth switch circuit, and the second coil control circuit is used to control the working state of the second coil; The first end of the second coil is further connected to the first end of the first coil control circuit through a fifth switch circuit, and the second end of the second coil is further connected to the second end of the first coil control circuit through a sixth switch circuit, wherein the fifth switch circuit includes a first capacitor and a switch in series; The first coil control circuit obtains voltage peak data of the LC resonant circuit in a discharge phase, and a quality factor Q value calculated according to the voltage peak data; The first coil control circuit detects metal foreign matter within a range where the second coil is located according to the Q value.

11. The metal foreign body detection circuit according to claim 10, It is characterized in that The second coil is a near field communication (NFC) coil.

12. The metal foreign body detection circuit according to claim 10 or 11, It is characterized in that The first coil control circuit controls the LC resonant circuit obtained by connecting the second coil in series with the first capacitor to charge and discharge, and triggers the peak detector to detect voltage peak data of the LC resonant circuit during the discharge phase of the LC resonant circuit.

13. The metal foreign body detection circuit according to any one of claims 10 to 12, It is characterized in that The first coil control circuit controls the three switch circuits and the fourth switch circuit to be disconnected, and controls the fifth switch circuit and the sixth switch circuit to be closed, so that the second coil is connected in series with the first capacitor to obtain an LC resonant circuit.

14. The metal foreign body detection circuit according to any one of claims 10 to 13, It is characterized in that The first coil control circuit is a wireless charging coil chip, and the second coil control circuit is an NFC chip.

15. A method for detecting metallic foreign matter, It is characterized in that Applied to an electronic device, the electronic device comprises the metal foreign body detection circuit according to any one of claims 1 to 14, and the method comprises: Controlling the switch state of the switch circuit connected to the second coil so that the second coil is connected in series with the first capacitor to obtain an LC resonant circuit; Controlling the LC resonant circuit to charge and discharge after charging is completed; Acquiring voltage peak data of the LC resonant circuit in a discharge phase; The quality factor Q value of the LC resonant circuit is calculated according to the voltage peak data, and the metal foreign matter within the position range of the second coil is detected according to the Q value.

16. A wireless charging system, It is characterized in that Includes wireless charging base and electronic device; The wireless charging base includes a first wireless charging WPC coil and a first near field communication NFC coil, wherein the first NFC coil is located outside the first WPC coil; The electronic device comprises a second WPC coil and a second NFC coil, wherein the second NFC coil is located outside the second WPC coil; The wireless charging base controls the first NFC coil to transmit a first NFC signal, and determines that there is a metal foreign object between the wireless charging base and the electronic device when detecting that a voltage value of the first NFC signal is lower than a normal voltage value; Alternatively, the electronic device controls the second NFC coil to transmit a second NFC signal, and determines that there is a metal foreign object between the electronic device and the wireless charging base when detecting that the voltage value of the second NFC signal is lower than a normal voltage value.

17. A wireless charging base, It is characterized in that The invention comprises the metal foreign body detection circuit as described in any one of claims 1 to 14.

18. An electronic device, It is characterized in that The invention comprises the metal foreign body detection circuit as described in any one of claims 1 to 14.

19. A chip system, It is characterized in that include: at least one processor and an interface, the interface being used to receive code instructions and transmit them to the at least one processor; The at least one processor runs the code instructions to implement the metal foreign body detection method described in claim 15.

20. A computer-readable storage medium, It is characterized in that Instructions are stored thereon, and when the instructions are executed on the electronic device, the electronic device executes the metal foreign body detection method as claimed in claim 15.

Citation Information

Patent Citations

  • Power-supplying system

    CN109478800A

  • Quality factor detection circuit and method based on oscillating circuit and electronic equipment

    CN111812408A

  • Foreign matter detection method and device

    CN112068208A

  • Foreign matter detection circuit, wireless charging system and foreign matter detection method

    CN112737148A

  • Foreign matter detection device and method for wireless power transmission system

    CN113300487A