[go: up one dir, main page]

CN117118097B - Metal foreign matter detection circuit, method and related device - Google Patents

Metal foreign matter detection circuit, method and related device Download PDF

Info

Publication number
CN117118097B
CN117118097B CN202310261166.8A CN202310261166A CN117118097B CN 117118097 B CN117118097 B CN 117118097B CN 202310261166 A CN202310261166 A CN 202310261166A CN 117118097 B CN117118097 B CN 117118097B
Authority
CN
China
Prior art keywords
coil
circuit
metal foreign
switch
nfc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310261166.8A
Other languages
Chinese (zh)
Other versions
CN117118097A (en
Inventor
张安乐
宋佳祥
朱晓勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310261166.8A priority Critical patent/CN117118097B/en
Priority to PCT/CN2023/132257 priority patent/WO2024187807A1/en
Publication of CN117118097A publication Critical patent/CN117118097A/en
Application granted granted Critical
Publication of CN117118097B publication Critical patent/CN117118097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/60Circuit arrangements or systems for wireless supply or distribution of electric power responsive to the presence of foreign objects, e.g. detection of living beings
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/10Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
    • H02J50/12Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling of the resonant type
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/40Circuit arrangements or systems for wireless supply or distribution of electric power using two or more transmitting or receiving devices
    • H02J50/402Circuit arrangements or systems for wireless supply or distribution of electric power using two or more transmitting or receiving devices the two or more transmitting or the two or more receiving devices being integrated in the same unit, e.g. power mats with several coils or antennas with several sub-antennas
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Near-Field Transmission Systems (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请提供了一种金属异物检测电路、方法及相关装置,该金属异物检测电路包括第一线圈和第二线圈,第二线圈位于第一线圈的外围。第二线圈的第一端通过第一开关电路连接该线圈对应的控制电路,第二端直接连接该控制电路。第一开关电路与第二开关电路并联,第二开关电路包括串联的第一电容和开关。通过控制第一、第二开关电路的开关状态使得第二线圈与第一电容串联得到LC谐振电路,获取该LC谐振电路的品质因数,最后根据该品质因数检测位于第二线圈所在位置范围内的金属异物。由上述内容可知,该检测电路利用第二线圈辅助检测第一线圈之外的金属异物,避免未检出第一线圈边缘的金属异物而正常充电导致金属异物温度过高的风险,提高了无线充电过程的安全性。

The present application provides a metal foreign body detection circuit, method and related device, the metal foreign body detection circuit includes a first coil and a second coil, the second coil is located outside the first coil. The first end of the second coil is connected to the control circuit corresponding to the coil through a first switch circuit, and the second end is directly connected to the control circuit. The first switch circuit is connected in parallel with the second switch circuit, and the second switch circuit includes a first capacitor and a switch connected in series. By controlling the switching state of the first and second switch circuits, the second coil is connected in series with the first capacitor to obtain an LC resonant circuit, and the quality factor of the LC resonant circuit is obtained. Finally, the metal foreign body located within the position range of the second coil is detected according to the quality factor. It can be seen from the above content that the detection circuit uses the second coil to assist in detecting metal foreign bodies outside the first coil, avoiding the risk of excessive temperature of the metal foreign body due to normal charging without detecting the metal foreign body at the edge of the first coil, thereby improving the safety of the wireless charging process.

Description

金属异物检测电路、方法及相关装置Metal foreign body detection circuit, method and related device

技术领域Technical Field

本申请涉及无线充电技术领域,尤其涉及金属异物检测电路、方法及相关装置。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 technique

无线充电技术主要采用电磁感应原理,通过线圈进行能量耦合实现电能传递。无线充电器和电子设备(即,手机、蓝牙耳机等)上分别设置有线圈。无线充电器内设置有发射线圈,电子设备内部设置有接收线圈。电子设备放到无线充电器上,无线充电器接通电源后,发射线圈上的交流电流产生变化的磁场,接收线圈会感应到磁场的变化产生感应电流,再把感应电流转化为直流电给手机电池充电。Wireless charging technology mainly uses the principle of electromagnetic induction to achieve power transfer through energy coupling through coils. Coils are set on wireless chargers and electronic devices (i.e., mobile phones, Bluetooth headsets, etc.). A transmitting coil is set in the wireless charger, and a receiving coil is set inside the electronic device. When the electronic device is placed on the wireless charger and the wireless charger is powered on, the AC current on the transmitting coil generates a changing magnetic field. The receiving coil will sense the change in the magnetic field to generate an induced current, and then convert the induced current into DC power to charge the mobile phone battery.

无线充电过程中,如果无线充电器与电子设备之间存在金属(如硬币、钥匙)等导电物体,磁场内部会产生涡旋电流,涡旋电流的焦耳效应会使金属物体发热,如果热量得不到释放而累积过高会导致无线充电器和电子设备损坏,严重时还可能使电子设备的电池过热发生爆炸。During the wireless charging process, 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, the battery of the electronic device may overheat and explode.

发明内容Summary of the invention

有鉴于此,本申请提供了金属异物检测方法及相关装置,以便准确检测金属异物,其公开的技术方案如下:In view of this, the present application provides a metal foreign body detection method and related devices to accurately detect metal foreign bodies, and the disclosed technical solutions are as follows:

第一方面,本申请提供了一种金属异物检测电路,应用于电子设备,该电子设备包括第一线圈和第二线圈,第一线圈为无线充电线圈,第二线圈位于第一线圈的外围,金属异物检测电路包括:第二线圈的第一端通过第一开关电路连接第二线圈控制电路的第一端,第二线圈的第二端连接第二线圈控制电路的第二端;第二开关电路与第一开关电路并联,第二开关电路包括串联的第一电容及开关;第二线圈控制电路获取LC谐振电路在放电阶段的电压峰值数据,并根据电压峰值数据计算得到LC谐振电路的Q值,LC谐振电路包括串联连接的第二线圈和第一电容,Q值用于检测第二线圈所在位置范围内的金属异物。由上述内容可知,该检测电路利用第二线圈辅助检测第一线圈之外的金属异物,避免未检出第一线圈边缘的金属异物而正常充电导致金属异物温度过高的风险,提高了无线充电过程的安全性。In the first aspect, the present application provides a metal foreign body detection circuit, which is applied to an electronic device, the electronic device includes 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 includes: 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; the second switch circuit is connected in parallel with the first switch circuit, and the second switch circuit includes a first capacitor and a switch connected in series; the second coil control circuit obtains the voltage peak data of the LC resonant circuit in the discharge stage, and calculates the Q value of the LC resonant circuit according to the voltage peak data, the LC resonant circuit includes a second coil and a first capacitor connected in series, and the Q value is used to detect metal foreign bodies within the position range of the second coil. It can be seen from the above content that the detection circuit uses the second coil to assist in detecting metal foreign bodies outside the first coil, avoiding the risk of excessive temperature of the metal foreign body due to normal charging without detecting the metal foreign body at the edge of the first coil, thereby improving the safety of the wireless charging process.

在第一方面一种可能的实现方式中,第二线圈为近场通信NFC线圈。这样,可以在不增加硬件成本的同时提高金属异物检测准确率。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.

在第一方面一种可能的实现方式中,第二开关电路包括第一电容和第一开关;第一电容的第一端连接第二线圈的第一端,第一电容的第二端连接第一开关的第一端,第一开关的第二端连接第二线圈控制电路的第一端;或者,第一开关的第一端连接第二线圈的第一端,第一开关的第二端连接第一电容的第一端,第一电容的第二端连接第二线圈控制电路的第一端。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.

在第一方面一种可能的实现方式中,第二开关电路包括第一电容、第二开关和第三开关;第二开关的第一端连接第二线圈的第一端,第二开关的第二端连接第一电容的第一端,第一电容的第二端连接第三开关的第一端,第三开关的第二端连接第二线圈控制电路的第一端。这样,第一电容两端均串联有开关,当电子设备利用NFC线圈实现NFC通信功能时,第二开关和第三开关均断开,从而防止第一电容的电信号传输至NFC线圈,避免了NFC线圈受C2干扰。In a 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, and when the electronic device uses the NFC coil to implement the NFC communication function, the second switch and the third switch are both disconnected, thereby preventing the electrical signal of the first capacitor from being transmitted to the NFC coil, and avoiding the NFC coil from being interfered by C2.

在第一方面一种可能的实现方式中,第二线圈控制电路控制LC谐振电路进行充电和放电,以及触发峰值探测器采集LC谐振电路在放电阶段的电压峰值数据。该方案应用于第二线圈控制电路设置有对应的峰值探测器的场景下,这样第二线圈控制电路控制LC谐振电路充放电过程中,可以直接触发峰值探测器采集电压峰值数据,从而实现快速采集所需数据,进一步提高了金属异物检测效率。In a possible implementation of the first aspect, 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 stage. This solution is applied to the scenario where the second coil control circuit is provided with a corresponding peak detector, so that when the second coil control circuit controls the charging and discharging of the LC resonant circuit, the peak detector can be directly triggered to collect voltage peak data, thereby realizing rapid collection of required data and further improving the efficiency of metal foreign body detection.

在第一方面一种可能的实现方式中,金属异物检测电路包括与第一线圈连接的第一线圈控制电路,第一线圈控制电路控制LC谐振电路进行充电和放电,以及触发峰值探测器采集LC谐振电路在放电阶段的电压峰值数据。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 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 stage.

在第一方面一种可能的实现方式中,第一线圈控制电路是无线充电线圈芯片,第二线圈控制电路是NFC芯片。In a possible implementation manner 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.

在第一方面一种可能的实现方式中,金属异物检测电路包括与第一线圈连接的第一线圈控制电路,第一线圈控制电路触发第二线圈控制电路启动。In a possible implementation manner 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.

在第一方面一种可能的实现方式中,金属异物检测电路包括与第一线圈连接的第一线圈控制电路,第一线圈控制电路控制第一开关电路断开以及第二开关电路闭合,使得第二线圈与第一电容串联形成LC谐振电路;或者,第二线圈控制电路控制第一开关电路断开以及第二开关电路闭合,使得第二线圈与第一电容串联形成LC谐振电路。In a possible implementation of the first aspect, the metal foreign body detection circuit includes a first coil control circuit connected to the first coil, the first coil control circuit controls the first switch circuit to open and the second switch circuit to close, 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 open and the second switch circuit to close, so that the second coil and the first capacitor are connected in series to form an LC resonant circuit.

第二方面,本申请还提供了一种金属异物检测电路,应用于电子设备,电子设备包括第一线圈和第二线圈,第一线圈为无线充电线圈,第二线圈位于第一线圈的外围,金属异物检测电路包括:第一线圈连接第一线圈控制电路,第一线圈控制电路用于控制第一线圈的工作状态;第二线圈的第一端通过第三开关电路连接第二线圈控制电路的第一端,第二线圈的第二端通过第四开关电路连接第二线圈控制电路的第二端,第二线圈控制电路用于控制第二线圈的工作状态;第二线圈的第一端还通过第五开关电路连接第一线圈控制电路的第一端,第二线圈的第二端还通过第六开关电路连接第一线圈控制电路的第二端,第五开关电路包括串联的第一电容和开关;第一线圈控制电路获取LC谐振电路在放电阶段的电压峰值数据,以及根据电压峰值数据计算得到的Q值;第一线圈控制电路根据Q值检测第二线圈所在范围内的金属异物。该方案可以精准检测到处于WPC线圈范围之外的金属异物,避免没有检测到位于WPC线圈边缘的金属异物而正常充电导致金属异物温度过高带来的风险,最终提高了无线充电过程的安全性。而且,该方案由RX芯片计算LC谐振电路的Q值以及根据Q值检测金属异物,因此,无需修改NFC芯片的软件(即处理逻辑)及硬件,节省了修改NFC芯片的成本,最终降低了整个金属异物检测方案的成本。In the second aspect, the present application also provides a metal foreign body detection circuit, which is applied to an electronic device, the electronic device includes a first coil and a second coil, the first coil is a wireless charging coil, and the second coil is located outside the first coil, and the metal foreign body detection circuit includes: the first coil is connected to the 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 also connected to the first end of the first coil control circuit through the fifth switch circuit, and the second end of the second coil is also connected to the second end of the first coil control circuit through the sixth switch circuit, and the fifth switch circuit includes a first capacitor and a switch connected in series; the first coil control circuit obtains the voltage peak data of the LC resonant circuit in the discharge stage, and the Q value calculated according to the voltage peak data; the first coil control circuit detects the metal foreign body within the range of the second coil according to the Q value. This solution can accurately detect the metal foreign body outside the range of the WPC coil, avoid 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 improve the safety of the wireless charging process. Moreover, the solution calculates the Q value of the LC resonant circuit by the RX chip and detects 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.

在第二方面一种可能的实现方式中,第二线圈为近场通信NFC线圈。这样,可以在不增加硬件成本的同时提高金属异物检测准确率。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.

在第二方面一种可能的实现方式中,第一线圈控制电路控制第二线圈与第一电容串联得到的LC谐振电路进行充电和放电,并在LC谐振电路的放电阶段,触发峰值探测器检测LC谐振电路的电压峰值数据。In a possible implementation of the second aspect, the first coil control circuit controls the charging and discharging of an LC resonant circuit obtained 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.

在第二方面一种可能的实现方式中,第一线圈控制电路控制三开关电路和第四开关电路断开,以及控制第五开关电路和第六开关电路闭合,使得第二线圈与第一电容串联得到LC谐振电路。In a possible implementation of the second aspect, the first coil control circuit controls the third switch circuit 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.

在第二方面一种可能的实现方式中,第一线圈控制电路是无线充电线圈芯片,第二线圈控制电路是NFC芯片。In a possible implementation manner 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.

第三方面,本申请还提供了一种金属异物检测方法,应用于电子设备,电子设备包括第一方面任一项的金属异物检测电路,方法包括:控制第二线圈连接的开关电路的开关状态,使得第二线圈与第一电容串联得到LC谐振电路;控制LC谐振电路进行充电,并在充电完成后放电;获取LC谐振电路处于放电阶段的电压峰值数据;根据电压峰值数据计算得到LC谐振电路的品质因数Q值,并根据Q值检测第二线圈所在位置范围内的金属异物。In a third aspect, the present application also provides a metal foreign body detection method, which is applied to an electronic device, and the electronic device includes the metal foreign body detection circuit of any one of the first aspects, and the method includes: 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 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.

第四方面,本申请还提供了一种无线充电系统,包括无线充电底座和电子设备;无线充电底座包括第一WPC线圈和第一NFC线圈,第一NFC线圈位于第一WPC线圈的外围;电子设备包括第二WPC线圈和第二NFC线圈,第二NFC线圈位于第二WPC线圈的外围;无线充电底座控制第一NFC线圈发射第一NFC信号,并在检测到第一NFC信号的电压值低于正常电压值时,确定无线充电底座与电子设备之间存在金属异物;或者,电子设备控制第二NFC线圈发射第二NFC信号,并在检测到第二NFC信号的电压值低于正常电压值时,确定电子设备与无线充电底座之间存在金属异物。可见,该系统中的无线充电底座内也可以在WPC线圈的外围设置NFC线圈,通过NFC线圈检测WPC线圈边缘的金属异物,提高了无线充电底座的金属异物检测准确率。而且,该系统可以利用无线充电底座与电子设备之间的NFC信号的电压变化情况检测金属异物,无需使NFC线圈与电容串联形成LC谐振电路,降低了硬件成本,同时提高了金属异物检测准确率,进一步提高了无线充电过程的安全性。In a fourth aspect, the present application also provides a wireless charging system, including a wireless charging base and an electronic device; the wireless charging base includes a first WPC coil and a first NFC coil, the first NFC coil is located outside the first WPC coil; the electronic device includes a second WPC coil and a second NFC coil, 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 when the voltage value of the first NFC signal is detected to be lower than the normal voltage value, it is determined that there is a metal foreign body between the wireless charging base and the electronic device; or, the electronic device controls the second NFC coil to transmit a second NFC signal, and when the voltage value of the second NFC signal is detected to be lower than the normal voltage value, it is determined that there is a metal foreign body between the electronic device and the wireless charging base. It can be seen that the NFC coil can also be set outside the WPC coil in the wireless charging base in the system, and the metal foreign body at the edge of the WPC coil is detected by the NFC coil, thereby improving the metal foreign body detection accuracy of the wireless charging base. Moreover, the system can detect metal foreign bodies by using the voltage change of the NFC signal between the wireless charging base and the electronic device, without the need to connect the NFC coil and the capacitor in series to form an LC resonant circuit, thereby reducing the hardware cost, while improving the metal foreign body detection accuracy, and further improving the safety of the wireless charging process.

第五方面,本申请还提供了一种无线充电底座,包括第一方面任一项的金属异物检测电路。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.

第六方面,本申请还提供了一种电子设备,包括第一方面任一项的金属异物检测电路。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.

第七方面,本申请还提供了一种芯片系统,包括:至少一个处理器以及接口,接口用于接收代码指令,并传输给至少一个处理器;至少一个处理器运行代码指令,以实现第三方面的金属异物检测方法。In the seventh aspect, the present application also provides a chip system, including: at least one processor and an interface, the interface is 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.

第八方面,本申请还提供了一种计算机可读存储介质,其上存储有指令,当指令在电子设备上运行时,使得电子设备执行如第三方面的金属异物检测方法。In an eighth aspect, the present application further provides a computer-readable storage medium having instructions stored thereon, which, when the instructions are executed on an electronic device, enables the electronic device to execute the metal foreign body detection method as in the third aspect.

应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。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 features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects 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 realized 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 a specific embodiment that does not embody all embodiments.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative work.

图1是一种无线充电系统的示意图;FIG1 is a schematic diagram of a wireless charging system;

图2是图1所示的无线充电系统中的线圈位置示意图;FIG2 is a schematic diagram of coil positions in the wireless charging system shown in FIG1 ;

图3是一种无线充电底座及电子设备内的线圈结构示意图;FIG3 is a schematic diagram of a coil structure in a wireless charging base and an electronic device;

图4是本申请实施例提供的一种电子设备内线圈结构的示意图;FIG4 is a schematic diagram of a coil structure in an electronic device provided in an embodiment of the present application;

图5是本申请实施例提供的一种无线充电底座的线圈结构的示意图;FIG5 is a schematic diagram of a coil structure of a wireless charging base provided in an embodiment of the present application;

图6是本申请实施例提供的电子设备的一种金属异物检测电路的示意图;FIG6 is a schematic diagram of a metal foreign body detection circuit of an electronic device provided in an embodiment of the present application;

图7是图6所示的金属异物检测电路工作时的电路示意图;FIG7 is a circuit diagram of the metal foreign body detection circuit shown in FIG6 when it is working;

图8是图6所示电路对应的金属异物检测方法的流程图;FIG8 is a flow chart of a metal foreign body detection method corresponding to the circuit shown in FIG6 ;

图9是本申请实施例提供的电子设备的另一种金属异物检测电路的示意图;FIG9 is a schematic diagram of another metal foreign body detection circuit of an electronic device provided in an embodiment of the present application;

图10是图9所示电路对应的金属异物检测方法的流程图;10 is a flow chart of a metal foreign body detection method corresponding to the circuit shown in FIG. 9 ;

图11是本申请实施例提供的电子设备的又一种金属异物检测电路的示意图;FIG11 is a schematic diagram of another metal foreign body detection circuit of an electronic device provided in an embodiment of the present application;

图12是图11所示电路工作时的电路示意图;FIG12 is a schematic diagram of a circuit when the circuit shown in FIG11 is working;

图13是图11所示电路对应的金属异物检测方法的流程图。FIG. 13 is a flow chart of a metal foreign body detection method corresponding to the circuit shown in FIG. 11 .

具体实施方式Detailed ways

本申请说明书和权利要求书及附图说明中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于限定特定顺序。The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.

在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present 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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

如图1和图2所示,以电子设备是手机为例,无线充电系统包括无线充电底座1和手机2。As shown in FIG. 1 and FIG. 2 , 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 .

无线充电底座1内部都设置有无线充电(WirelessPowerConsortium,WPC)线圈11,无线充电底座1内的WPC线圈为发射线圈。手机2内部设置有WPC线圈12,在手机处于无线正向充电状态(即无线充电底座为手机内的电池充电)时,WPC线圈12为接收线圈。A wireless power consortium (WPC) coil 11 is provided inside the wireless charging base 1, and the WPC coil inside the wireless charging base 1 is a transmitting coil. A WPC coil 12 is provided inside the mobile phone 2, and when the mobile phone is in a wireless forward charging state (i.e., the wireless charging base charges the battery in the mobile phone), the WPC coil 12 is a receiving coil.

图3示出了无线充电底座和电子设备内的线圈示意图。FIG. 3 shows a schematic diagram of a wireless charging base and a coil in an electronic device.

如图3的(1)所示,无线充电底座的线圈结构包括磁板13和WPC线圈11。如图3的(2)所示,电子设备的线圈结构包括WPC线圈12和磁板14。As shown in (1) of Fig. 3 , the coil structure of the wireless charging base includes a magnetic plate 13 and a WPC coil 11. As shown in (2) of Fig. 3 , the coil structure of the electronic device includes a WPC coil 12 and a magnetic plate 14.

无线充电系统的金属异物检测主要通过WPC线圈的品质因子值(Q值)变化或功率损失(Ploss=无线充电底座发出的功率-电子设备接收的功率)实现。Metal foreign body detection in wireless charging systems is mainly achieved through changes in the quality factor value (Q value) or power loss (P loss = power emitted by the wireless charging base - power received by the electronic device) of the WPC coil.

例如,设置Q值对应的预设阈值。如果Q值对应的预设阈值太小极易误触发异物报警导致充电终止,因此,为了避免误触异物报警,预设阈值不能太小。但是,当金属物体处于图3的(1)和(2)中15所示位置时,无线充电底座的WPC线圈11和电子设备的WPC线圈12的Q值变化非常小,通过比较Q值及其对应的预设阈值无法检测到该金属物体,充电系统会认为不存在异物而正常进行充电,而这会导致金属物体温度升高,进一步可能会导致无线充电底座和电子设备的损坏,严重时可能导致电子设备内的电池过热爆炸。利用功率损失检测金属异物存在同样的问题。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 when using power loss to detect metal foreign objects.

为了解决上述技术问题,本申请提供了一种金属异物检测方法,该方法在电子设备或无线充电底座内增设线圈(可称为辅助检测线圈),通过检测辅助检测线圈的Q值来检测无线充电底座与电子设备之间是否存在金属异物。这样,提高了金属异物的检测准确率,进而可以控制金属异物的温度升高,从而降低安全风险。本申请对辅助检测线圈的类型不做限定。例如,辅助检测线圈可以是电子设备或无线充电底座内的已有其他线圈,诸如电子设备内的近场通信(Near Field Communication,NFC)线圈,这样可以在不增加硬件成本的同时提高金属异物的检测准确率。In order to solve the above technical problems, the present application provides a method for detecting metal foreign matter, 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 matter 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 matter is improved, and the temperature rise of the metal foreign matter 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 the electronic device or the wireless charging base, such as a near field communication (NFC) coil in the electronic device, which can improve the detection accuracy of metal foreign matter without increasing the hardware cost.

在一些实施例中,电子设备可以是手机、平板电脑、桌面型、膝上型、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、手持计算机、上网本、个人数字助理(Personal Digital Assistant,PDA)、可穿戴电子设备、智能手表等具有无线充电功能的设备。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 and other devices with wireless charging function.

在本申请一示例性实施例中,电子设备可以包括处理器,充电管理模块,电源管理模块,电池,无线通信模块等。此外,电子设备内部还设置有WPC线圈和NFC线圈。本实施例中的无线通信模块可以包括WPC芯片和NFC芯片。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. In addition, a WPC coil and an NFC coil are also provided inside the electronic device. The wireless communication module in this embodiment may include a WPC chip and an NFC chip.

可以理解的是,本实施例示意的结构并不构成对电子设备的具体限定。在另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

在本申请实施例中,电子设备的WPC芯片用于与无线充电底座中的WPC芯片进行通信,以及检测电子设备与无线充电底座之间是否存在金属异物。为了区分电子设备的WPC芯片和无线充电底座的WPC芯片,本文中将电子设备的WPC芯片记为RX(Receiver,接收)芯片,将无线充电底座的WPC芯片记为TX(Transmitter,发送)芯片。In the embodiment 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 to detect whether there is a metal foreign object between the electronic device and the wireless charging base. In order 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.

电子设备可以通过WPC芯片和无线充电线圈对电池进行无线充电,在无线充电过程中,通过NFC芯片和NFC线圈辅助检测电子设备与无线充电底座之间是否存在金属异物。Electronic devices can wirelessly charge batteries through WPC chips and wireless charging coils. During the wireless charging process, NFC chips and NFC coils are used to assist in detecting whether there are metal foreign objects between the electronic device and the wireless charging base.

处理器可以包括一个或多个处理单元,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。例如,在本申请实施例中,处理器包括应用处理器(application processor,AP)。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).

在本申请一示例性实施例中,WPC芯片与NFC芯片可以通过处理器实现间接通信,例如,WPC芯片向NFC芯片发送数据或指令时,WPC芯片先将数据或指令发送至处理器,再由处理器将其转发至NFC芯片。同理,NFC芯片向WPC发送数据或指令时,NFC芯片先将数据或指令发送至处理器,再由处理器将其转发至WPC芯片。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, and then the processor forwards it to the NFC chip. Similarly, when the NFC chip sends data or instructions to the WPC, the NFC chip first sends the data or instructions to the processor, and then the processor forwards it to the WPC chip.

另外,在上述部件之上,运行有操作系统。例如,操作系统,操作系统,操作系统等。在该操作系统上可以安装运行应用程序,例如,设置,图库,日历,通话,地图等。在本申请实施例中,用户可以在设置APP中点击电池功能项进入电池功能页面,然后在电池功能页面打开无线充电开关,从而使电子设备可以进行无线充电。In addition, an operating system runs on 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.

下面将结合图4和图5介绍本申请实施例提供的电子设备的线圈结构。The coil structure of the electronic device provided in the embodiment of the present application will be described below in conjunction with FIG. 4 and FIG. 5 .

在一些示例中,为了满足NFC通信需求(如NFC通常应用于移动支付、智能门禁、公交卡、电子门票、智能标签等领域),电子设备还设置有NFC线圈和NFC芯片。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), the electronic device is also provided with an NFC coil and an NFC chip.

在一示例中,如图4所示,NFC线圈16设置在WPC线圈12的外围,用于实现电子设备的NFC功能。In one example, as shown in FIG. 4 , the NFC coil 16 is disposed on the periphery of the WPC coil 12 to implement the NFC function of the electronic device.

针对WPC线圈外围设置有NFC线圈的电子设备,本申请的金属异物检测方法可以通过检测NFC线圈的Q值来辅助检测金属异物。例如,可以计算NFC线圈的Q值来检测NFC线圈所处位置范围内是否存在金属异物,从而提高金属异物的检测准确率,同时避免未检出金属异物而正常充电导致金属异物温度过高的风险。For electronic devices with NFC coils arranged around the WPC coil, the metal foreign body detection method of the present 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 detection accuracy of the metal foreign body and avoiding the risk of the metal foreign body temperature being too high due to normal charging without detecting the metal foreign body.

在另一示例中,电子设备内可以设置至少两个WPC线圈,可以通过检测任意WPC线圈对应的Q值,来检测对应该WPC线圈所处范围内是否存在金属异物。例如,可以在原有的WPC线圈12的外围增设一个或多个WPC线圈。通过检测增设的WPC线圈对应的Q值来判定原有WPC线圈的外围是否存在金属异物。In another example, at least two WPC coils may be provided in the electronic device, and the Q value corresponding to any WPC coil may be detected to detect whether there is a metal foreign object in the range corresponding to the WPC coil. For example, one or more WPC coils may be added to the periphery of the original WPC coil 12. By detecting the Q value corresponding to the added WPC coil, it is determined whether there is a metal foreign object in the periphery of the original WPC coil.

在本申请的另一示例性实施例中,还可以在无线充电底座内设置至少两个线圈,例如,至少两个线圈都可以是WPC线圈,或者,一个是WPC线圈,另一个是NFC线圈。这样,可以通过设置在外围的线圈检测是否存在金属异物。In another exemplary embodiment of the present application, at least two coils may be provided in the wireless charging base, for example, at least two coils may be WPC coils, or one may be a WPC coil and the other may be an NFC coil. In this way, the presence of metal foreign matter may be detected by the coils provided at the periphery.

以无线充电底座内设置WPC线圈和NFC线圈为例,如图5所示,可以在无线充电底座的WPC线圈11外围增设其他类型的线圈,如NFC线圈17。这样,无线充电底座可以通过检测NFC线圈17的Q值的变化来判断15所示位置是否存在金属异物。Taking the WPC coil and NFC coil as an example, as shown in FIG5 , other types of coils can be added to the periphery of the WPC coil 11 of the wireless charging base, such as the NFC coil 17. In this way, the wireless charging base can determine whether there is a metal foreign body at the position shown by 15 by detecting the change in the Q value of the NFC coil 17.

在一些实施例中,在无线充电底座和电子设备均设置有NFC线圈的场景下,无线充电底座可以通过检测通讯信号(如NFC信号)的变化(如电压值变化)来判断是否存在金属异物。In some embodiments, in a scenario where both the wireless charging base and the electronic device are provided 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 a communication signal (such as an NFC signal).

例如,电子设备控制自身的NFC线圈发射NFC信号,无线充电底座可以检测到发射的NFC信号的电压值,若发射的NFC信号的电压值小于NFC信号的正常电压值,则确定两个线圈之间的阻抗有变化,存在金属异物。若发射的NFC信号的电压值等于正常电压值,则确定两个线圈之间的阻抗没有变化,没有金属异物。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 less than the normal voltage value of the NFC signal, it is determined that the impedance between the two coils has changed and there is 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 and there is no metal foreign object.

同理,电子设备也可以通过检测无线充电底座发射的NFC信号的电压值的变化来判断是否存在金属异物。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.

在另一示例中,无线充电底座内也可以设置至少两个WPC线圈,可以通过检测任意一个WPC线圈对应的Q值或功率损失,来检测该WPC线圈所处范围内是否存在金属异物。In another example, at least two WPC coils may be provided in the wireless charging base, and the Q value or power loss corresponding to any WPC coil may be detected to detect whether there is a metal foreign object within the range of the WPC coil.

下面以辅助检测线圈是NFC线圈为例,对本申请实施例提供的用于电子设备侧的金属异物检测电路进行说明。The following uses the auxiliary detection coil being an NFC coil as an example to illustrate the metal foreign body detection circuit for an electronic device provided in an embodiment of the present application.

一、NFC芯片计算Q值或检测金属异物1. NFC chip calculates Q value or detects metal foreign objects

1、金属异物检测电路内设置有两个峰值探测器,即RX芯片和NFC芯片分别设置有一个峰值探测器1. There are two peak detectors in the metal foreign body detection circuit, that is, the RX chip and the NFC chip are each equipped with a peak detector

图6是本申请实施例提供的电子设备中的金属异物检测电路的示意图。FIG. 6 is a schematic diagram of a metal foreign body detection circuit in an electronic device provided in an embodiment of the present application.

在一示例性实施例中,NFC线圈的第一端通过第一开关电路连接NFC芯片的一个引脚,NFC线圈的第二端连接NFC芯片的另一个引脚。以及与第一开关电路并联的第二开关电路。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.

在一示例中,如图6所示,第一开关电路包括第一开关SW1,第二开关电路包括电容C2(即第一电容),和串联的第二开关SW2和第三开关SW3。NFC线圈的一端通过第一开关SW1连接NFC芯片的一个引脚。电容C2的两端分别串联有第二开关SW2和第三开关SW3,第二开关电路与第一开关电路并联。In one example, as shown in FIG6 , the first switch circuit includes a first switch SW1, and the second switch circuit includes a capacitor C2 (i.e., a 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 two ends of the capacitor C2 are respectively connected in series with the second switch SW2 and the third switch SW3, and the second switch circuit is connected in parallel with the first switch circuit.

在图6所示的示例中,SW2串联在C2与NFC线圈之间,在NFC线圈进行NFC通信时,SW2断开,这样可以防止C2的电信号传输至NFC线圈,从而避免NFC线圈受到C2的干扰。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, which prevents the electrical signal of C2 from being transmitted to the NFC coil, thereby preventing the NFC coil from being interfered by C2.

在其他实施例中,第二开关电路可以包括电容C2以及与C2串联的一个开关,例如,可以在电容C2与NFC线圈连接的一端串联一个开关,如图6所示的SW2。又如,可以在电容C2与NFC芯片连接的一端串联一个开关,如图6所示的SW3。In other embodiments, the second switch circuit may include a capacitor C2 and a switch connected in series with C2. For example, a switch may be connected in series with the end of the capacitor C2 connected to the NFC coil, such as SW2 shown in FIG6. For another example, a switch may be connected in series with the end of the capacitor C2 connected to the NFC chip, such as SW3 shown in FIG6.

在本申请的其他实施例中,第一开关电路和第二开关电路还可以包括更多数量的开关,这些开关可以是串联和/或并联关系,本申请对此不做限定。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.

此外,C2的一端还与第一峰值探测器的输入端连接。第一峰值探测器用于检测NFC线圈与C2串联组成的LC谐振电路在放电阶段的电压峰值数据(如可以包括电压峰值和振荡周期数量等)并提供给NFC芯片。In addition, one end of C2 is also connected to the input end of the 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, etc.) 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.

再次参考图6,WPC线圈的一端连接电容C1的一端,C1的另一端连接RX芯片的一个引脚,WPC线圈的另一端与RX芯片的另一引脚相连。C1的一端还与第二峰值探测器的输入端连接,第二峰值探测器用于采集WPC线圈与C1串联组成的LC谐振电路在放电阶段的电压峰值数据并提供给RX芯片。Referring to FIG. 6 again, one end of the WPC coil is connected to one end of the 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 end of the second peak detector, which is used to collect the voltage peak data of the LC resonant circuit composed of the WPC coil and C1 in series during the discharge stage and provide it to the RX chip.

在一示例中,第一峰值探测器可以集成于NFC芯片内,或者可以是与NFC芯片相互独立的器件。同样地,第二峰值探测器可以集成于RX芯片内,或者可以是与RX芯片相互独立的器件。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.

在一示例中,SW1可以是耗尽型NMOS管,默认处于闭合状态。SW2和SW3可以是增强型NMOS管,默认处于断开状态。当然,在其他实施例中,SW1~SW3还可以是其他类型的开关器件,本申请对SW1~SW3的开关器件类型不做限定。SW1~SW3的开关状态可以由RX芯片或NFC芯片控制,本申请对此不做限定。In one example, SW1 can be a depletion-type NMOS tube, which is in a closed state by default. SW2 and SW3 can be enhancement-type NMOS tubes, which are in an open state by default. Of course, in other embodiments, SW1-SW3 can also be other types of switch devices, and this application does not limit the type of switch devices of SW1-SW3. The switch state of SW1-SW3 can be controlled by an RX chip or an NFC chip, and this application does not limit this.

图7是图6所示的金属异物检测电路工作时的电路示意图。FIG. 7 is a circuit diagram of the metal foreign body detection circuit shown in FIG. 6 when in operation.

如图7所示,当NFC线圈用于辅助检测金属异物时,SW1断开,同时SW2和SW3闭合,此种状态下,NFC线圈与电容C2组成LC谐振电路。As shown in FIG. 7 , when the NFC coil is used to assist in detecting metal foreign objects, SW1 is disconnected, and SW2 and SW3 are closed. In this state, the NFC coil and capacitor C2 form an LC resonant circuit.

NFC芯片先控制LC谐振电路充电,然后,再控制LC谐振电路放电,同时,触发第一峰值探测器采集该LC谐振电路在放电阶段的电压峰值数据。The NFC chip first controls the LC resonant circuit to charge, and then controls the LC resonant circuit to discharge, and at the same time, triggers the first peak detector to collect voltage peak data of the LC resonant circuit in the discharge stage.

第一峰值探测器通过采集的LC谐振电路在放电阶段的电压信号,确定出LC谐振电路中的电压信号的波峰数据(如包括电压峰值和振荡周期数量),即电压波峰数据,并将其发送至NFC芯片。NFC芯片基于该电压波峰数据计算得到LC谐振电路放电阶段的Q值。如果Q值小于或等于预设阈值,确定NFC线圈所在位置存在金属异物。可见,通过NFC线圈和NFC芯片可以检测WPC线圈所在位置之外的金属异物。The first peak detector determines the peak data of the voltage signal in the LC resonant circuit (such as the voltage peak value 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 body at the location of the NFC coil. It can be seen that metal foreign bodies outside the location of the WPC coil can be detected by the NFC coil and the NFC chip.

在一示例中,NFC芯片可以将Q值发送至RX芯片,由RX芯片根据该Q值判断NFC线圈所在位置是否存在金属异物。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.

在另一示例中,NFC芯片计算得到Q值后,可以直接根据该Q值来判断NFC线圈所在位置是否存在金属异物,并将检测结果发送至RX芯片,由RX芯片根据检测结果执行相应的处理逻辑。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 corresponding processing logic based on the detection result.

图6所示的金属异物检测电路同样适用于无线充电底座,不同之处在于,金属异物检测电路中的RX芯片要被替换为无线充电底座侧的WPC芯片,即TX芯片,其他内容相同,此处不再赘述。The metal foreign body detection circuit shown in FIG6 is also applicable to the wireless charging base. The difference is that the RX chip in the metal foreign body detection circuit is replaced by the WPC chip on the wireless charging base side, that is, the TX chip. The other contents are the same and will not be repeated here.

在本申请其他实施例中,在电子设备确定NFC线圈所在位置范围内不存在金属异物的情况下,继续检测WPC线圈所处位置范围内是否存在金属异物,例如,RX芯片可以通过第二峰值探测器获得WPC线圈形成的LC谐振电路在放电阶段的Q值,进一步根据Q值检测WPC线圈所在位置范围内的金属异物,此处不再赘述。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 stage 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. It will not be repeated here.

此外,当NFC线圈用于NFC通信时,SW1闭合,且SW2和SW3断开,即电容C2不接入NFC线圈与NFC芯片之间的线路。In addition, when the NFC coil is used for NFC communication, SW1 is closed, and SW2 and SW3 are opened, that is, the capacitor C2 is not connected to the line between the NFC coil and the NFC chip.

下面结合图8所示的金属异物检测方法流程图说明金属异物检测方法,本实施例以手机进行无线正向充电为例进行说明,该方法应用于无线充电系统。The metal foreign body detection method is described below in conjunction with the metal foreign body detection method flow chart 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.

如图8所示,以应用于电子设备侧的金属异物检测方法可以包括以下步骤:As shown in FIG8 , the metal foreign body detection method applied to the electronic device side may include the following steps:

S100,手机的RX芯片启动。S100, the phone's RX chip is started.

手机启动后,在需要对手机进行无线充电的场景下,应用处理器可以直接启动RX芯片供电。例如,在一示例后,手机打开无线充电开关后,应用处理器会直接启动RX芯片。After the mobile phone is started, in the scenario where the mobile phone needs to be wirelessly charged, the application processor can directly start the RX chip to supply power. For example, in one example, after the mobile phone turns on the wireless charging switch, the application processor will directly start the RX chip.

S101,无线充电底座与手机之间建立通信连接。S101, establishing a communication connection between the wireless charging base and the mobile phone.

无线充电底座的TX芯片与手机内的Rx芯片之间建立通信连接,以便无线充电底座与手机之间进行通信。例如,在一示例中,Tx芯片向Rx芯片发送请求建立通信的Ping命令,Rx芯片接收到Ping命令后向TX芯片返回信号强度包(SignalStrength)(可以包括支持的功率值等信息)及身份信息。身份信息即RX芯片的身份标识信息。The TX chip of the wireless charging base establishes a communication connection with the Rx chip in the mobile phone so that the wireless charging base and the mobile phone can communicate. For example, in one example, the Tx chip sends a Ping command to the Rx chip to request to establish communication. After receiving the Ping command, the Rx chip returns a signal strength packet (SignalStrength) (which may include information such as supported power values) and identity information to the TX chip. The identity information is the identity identification information of the RX chip.

S102,RX芯片向手机中的处理器发送NFC芯片启动指令。S102, the RX chip sends an NFC chip activation instruction to the processor in the mobile phone.

在本实施例中,手机与无线充电底座建立通信连接后,启动NFC芯片。例如,在一示例中,RX芯片与TX芯片建立通信连接后,向处理器(如,应用处理器)发送启动NFC芯片的指令。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 (eg, an application processor).

在利用NFC线圈辅助检测金属异物的情况下,RX芯片启动后触发NFC芯片启动。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.

而在手机通过NFC芯片和NFC线圈实现NFC通信功能的情况下,由手机的应用处理器直接启动NFC芯片。而且,在应用处理器直接启动NFC芯片的情况下,应用处理器不会启动RX芯片,换言之,应用处理器直接启动NFC芯片,或者直接启动RX芯片。应用处理器不会同时直接启动NFC芯片和RX芯片。When the mobile phone implements the NFC communication function through the NFC chip and the NFC coil, the mobile phone's application processor directly activates the NFC chip. Moreover, when the application processor directly activates the NFC chip, the application processor will not activate the RX chip. In other words, the application processor directly activates the NFC chip or directly activates the RX chip. The application processor will not directly activate the NFC chip and the RX chip at the same time.

S103,处理器响应NFC芯片启动指令触发NFC芯片启动。S103: The processor responds to the NFC chip activation instruction to trigger the NFC chip to activate.

手机的处理器接收NFC芯片启动指令后,可以向NFC芯片发送启动指令,以便使NFC芯片启动。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.

S104,RX芯片控制SW1断开,且控制SW2和SW3闭合,使得NFC线圈与电容C2串联得到LC谐振电路。S104, the RX chip controls SW1 to be disconnected, and controls SW2 and SW3 to be closed, so that the NFC coil and the capacitor C2 are connected in series to obtain an LC resonant circuit.

在一示例中,RX芯片向应用处理器发送NFC芯片启动指令后,控制图10所示的电路中的SW1断开,同时,控制SW2和SW3闭合,NFC线圈与电容C2串联形成LC谐振电路。In one example, after the RX chip sends an NFC chip startup instruction to the application processor, SW1 in the circuit shown in FIG. 10 is controlled to be disconnected, and at the same time, SW2 and SW3 are controlled to be closed, so that the NFC coil and the capacitor C2 are connected in series to form an LC resonant circuit.

本申请不限定S102和S104的执行顺序,可以先执行S102后执行S104,可以同时执行两步骤,或者也可以先执行S104后执行S102。The present 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.

在其他实施例中,NFC芯片启动后,可以由NFC芯片控制SW1~SW3的开关状态,本申请对SW1~SW3开关状态的控制方不做限定。In other embodiments, after the NFC chip is started, the switch states of SW1 to SW3 may be controlled by the NFC chip. The present application does not limit the controller of the switch states of SW1 to SW3.

S105,NFC芯片控制LC谐振电路充电,充电结束后控制LC谐振电路放电,同时触发第一峰值探测器检测LC谐振电路放电阶段的电压波峰数据。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 the first peak detector to detect voltage peak data of the LC resonant circuit in the discharge phase.

本实施例中,NFC芯片先控制LC谐振电路充电,充电结束后再使其放电。例如,在t0时刻为LC谐振电路注入3.3V电压使LC谐振电路充电,然后将LC谐振电路接地使其放电。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 3.3V voltage is injected into the LC resonant circuit to charge the LC resonant circuit, and then the LC resonant circuit is grounded to discharge it.

在控制LC谐振电路放电的同时,触发第一峰值探测器按照预设时间间隔(如周期T)采集该电路的电压信号的峰值。例如,t1时刻采集的电压信号记为V(t1),tn时刻采集的电压信号记为V(tn)。While controlling the LC resonant circuit to discharge, the first peak detector is triggered to collect the peak value of the voltage signal of the circuit at 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( tn ).

进一步,根据采集的电压信号确定出电压信号的波峰(电压峰值),最终获得周期数量N。Further, the peak value (voltage peak value) of the voltage signal is determined according to the collected voltage signal, and finally the number of cycles N is obtained.

S106,NFC芯片接收第一峰值探测器发送的电压峰值数据。S106: The NFC chip receives the voltage peak data sent by the first peak detector.

在一示例中,电压峰值数据可以包括采集周期内电压信号的周期数量N,以及采集的各个电压峰值V(ti),1≤i≤n。In an example, the voltage peak value data may include the number N of cycles of the voltage signal within the acquisition cycle, and each acquired voltage peak value V(t i ), 1≤i≤n.

S107,NFC芯片基于电压峰值数据计算得到NFC线圈形成的LC谐振电路的Q值。S107: The NFC chip calculates the Q value of the LC resonant circuit formed by the NFC coil based on the voltage peak data.

在一示例中,可以通过如下公式计算得到LC谐振电路的Q值:In one example, the Q value of the LC resonant circuit can be calculated by the following formula:

上式中,N为周期数量(从t1到tn这段时间内包含的LC谐振电路的振荡周期个数),V(t1)为采集周期内的第一个电压峰值,V(tn)为采集周期内的最后一个电压峰值。In the above formula, N is the number of cycles (the number of oscillation cycles of the LC resonant circuit included in the period from t 1 to t n ), V(t 1 ) is the first voltage peak value in the acquisition cycle, and V(t n ) is the last voltage peak value in the acquisition cycle.

S108,NFC芯片向处理器发送Q值。S108, the NFC chip sends the Q value to the processor.

S109,处理器向RX芯片发送Q值。S109, the processor sends the Q value to the RX chip.

通过S108和S109实现了NFC芯片与RX芯片之间的间接通信。Indirect communication between the NFC chip and the RX chip is achieved through S108 and S109.

S110,无线充电底座与手机之间进行功率传输。S110, power transmission between the wireless charging base and the mobile phone.

无线充电底座通过WPC线圈发射电磁波能量,手机通过WPC线圈接收电磁波能量,并将电磁波能量转换为交流电,手机进一步将交流电转换为直流电为手机内的电池充电。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.

S111,RX芯片判断Q值是否小于或等于预设阈值,若是执行S112;若否执行S113。S111, the RX chip determines whether the Q value is less than or equal to a preset threshold, and if so, executes S112; if not, executes S113.

RX芯片检测到手机与无线充电底座传输功率后,判断Q值是否小于或等于预设阈值。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.

Q值越高表示LC谐振电路中存储的能量衰减速率越小,Q值越低表示LC谐振电路中的能量衰减速率越大。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.

该预设阈值可以根据NFC线圈的实际情况获得,例如,不同规格的NFC线圈可以对应不同的预设阈值。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.

例如,在一示例中,Q值的预设阈值是60,若LC谐振电路的Q值≤60,表明两者之间存在金属异物。金属异物吸收电磁波能量导致LC谐振电路的能量衰减变快,Q值降低。因此,当检测到Q值小于或等于该预设阈值时,则确定无线充电底座与手机之间存在金属异物。For example, in one example, the preset threshold of the Q value is 60. If the Q value of the LC resonant circuit is ≤60, it indicates that there is a metal foreign body between the two. The metal foreign body absorbs the electromagnetic wave energy, causing the energy decay of the LC resonant circuit to become faster and the Q value to decrease. Therefore, when it is detected that the Q value is less than or equal to the preset threshold, it is determined that there is a metal foreign body between the wireless charging base and the mobile phone.

S112,RX芯片产生异物报警信号,以及向无线充电底座发送结束功率传输(EndPower Transfer,EPT)信号通知其结束充电。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.

手机的RX芯片检测到金属异物后,产生异物报警信号,该异物报警信号可以是声音信号、灯光信号,或者手机显示界面上显示的图文信息,用以提醒用户无线充电底座与手机之间存在异物。After 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.

与此同时,手机向无线充电底座发送EPT信号。无线充电底座接收EPT信号后终止与手机之间的功率传输。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 the mobile phone and the wireless charging base.

S113,RX芯片根据Q值确定充电功率并选择相匹配的线圈进行充电。S113, the RX chip determines the charging power according to the Q value and selects a matching coil for charging.

例如,Q值处于80~100范围内,表明此时手机侧的线圈与无线充电底座的线圈的中心正对,手机可以满功率充电。Q值处于60~80范围内,表明此时手机侧的线圈与无线充电底座的线圈未正对,手机可以采用部分功率充电。For example, if the Q value is in the range of 80 to 100, it means that the coil on the mobile phone side is aligned with the center of the coil on the wireless charging base, and the mobile phone can be charged at full power. If the Q value is in the range of 60 to 80, it means that the coil on the mobile phone side is not aligned with the coil on the wireless charging base, and the mobile phone can be charged at partial power.

本实施例中,NFC芯片根据第一峰值探测器采集的LC谐振电路在放电阶段的电压峰值数据计算得到LC谐振电路的Q值。In this embodiment, the NFC chip calculates the Q value of the LC resonant circuit according to the voltage peak data of the LC resonant circuit in the discharge phase collected by the first peak detector.

而且,在确定NFC线圈所在位置范围(本文的NFC线圈所在位置范围是指NFC线圈覆盖的区域)不存在金属异物的情况下,手机会进一步检测WPC线圈所在位置范围内是否存在金属异物。即,检测WPC线圈与电容C1形成的LC谐振电路在放电阶段的Q值,进一步根据Q值判断是否存在金属异物,本申请对此过程不再赘述。Moreover, when it is determined that there is no metal foreign matter in the location range of the NFC coil (the location range of the NFC coil in this article refers to the area covered by the NFC coil), the mobile phone will further detect whether there is a metal foreign matter in the location range of the WPC coil. That is, the Q value of the LC resonant circuit formed by the WPC coil and the capacitor C1 is detected in the discharge stage, and the presence of a metal foreign matter is further determined based on the Q value. This application will not elaborate on this process.

S114,无线充电底座与手机建立通信连接后,获取底座内的线圈对应的Q值,并判断Q值是否小于预设阈值;如果是则执行S115;如果否则执行S113。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.

无线充电底座与手机建立通信连接后,在手机侧执行上述金属异物检测的同时,无线充电底座侧也会检测是否存在金属异物,无线充电底座可以利用底座内的WPC线圈形成的LC谐振电路,并检测该LC谐振电路的Q值,最后根据Q值判断金属异物,此过程与手机通过手机内的WPC线圈检测金属异物的过程相同,此处不再赘述。After the wireless charging base establishes a communication connection with the mobile phone, while the above-mentioned metal foreign object detection is performed on the mobile phone side, the wireless charging base side will also detect 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 judged 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.

无线充电底座检测LC谐振电路的Q值的时机与手机侧相同,例如,可以在手机与无线充电底座建立通信连接后执行。此外,根据Q值判断金属异物的时机也与手机侧相同,例如,在无线充电底座与手机进行功率传输后根据Q值判断金属异物。The timing of the wireless charging base detecting the Q value of the LC resonant circuit is the same as that of the mobile phone, for example, it can be performed after the mobile phone and the wireless charging base establish a communication connection. In addition, the timing of judging the metal foreign body based on the Q value is also the same as that of the mobile phone, for example, judging the metal foreign body based on the Q value after the wireless charging base and the mobile phone have performed power transmission.

S115,无线充电底座进行异物报警并结束充电。S115, the wireless charging base issues a foreign object alarm and ends charging.

无线充电底座异物报警的方式与手机侧相同,此处不再赘述。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.

需要注意的是,无论是手机检测到金属异物,还是无线充电底座检测到金属异物,都会产生异物报警并终止充电。It should be noted that whether the mobile phone detects a metal foreign object or the wireless charging base detects a metal foreign object, a foreign object alarm will be generated and charging will be terminated.

本实施例提供的金属异物检测方法,手机侧的WPC芯片(RX芯片)启动后,触发NFC芯片启动,并控制NFC线圈与电容C2形成LC谐振电路。通过与NFC芯片相对应的第一峰值探测器采集LC谐振电路在放电阶段的电压峰值数据,NFC芯片根据电压峰值数据计算得到Q值,并发送给RX芯片。RX芯片根据Q值检测NFC线圈所在位置范围内是否存在金属异物。若存在金属异物,RX芯片发出异物报警信号,同时向无线充电底座发送终止充电指令终止无线充电过程。可见,该方案扩大了金属异物的检测范围,进而避免了没有检测到位于WPC线圈边缘的金属异物而正常充电导致金属异物温度过高带来的风险,最终提高了无线充电过程的安全性。而且,本申请实施例可以利用电子设备已有的NFC线圈辅助检测金属异物,在不增加硬件成本的同时提高金属异物的检测准确率。The metal foreign body detection method provided in this embodiment, 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 stage is collected by the first peak detector corresponding to the NFC chip, and the NFC chip calculates the Q value according to the voltage peak data and sends it to the RX chip. The RX chip detects whether there is a metal foreign body within the range of the NFC coil according to the Q value. If there is a metal foreign body, the RX chip sends a foreign body alarm signal, and at the same time sends a termination charging instruction to the wireless charging base to terminate the wireless charging process. It can be seen that this scheme expands the detection range of metal foreign bodies, thereby avoiding the risk of excessive temperature of metal foreign bodies caused by normal charging without detecting metal foreign bodies 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, and improve the detection accuracy of metal foreign bodies without increasing the hardware cost.

在图8所示的实施例中,NFC芯片根据第一峰值探测器采集的电压峰值数据计算得到Q值,RX芯片进一步根据该Q值检测是否存在金属异物。在本申请的其他实施例中,NFC芯片可以根据电压峰值数据计算得到Q值,并且根据Q值检测是否存在金属异物,然后将检测结果发送至RX芯片。RX芯片根据接收到的检测结果执行相应的处理逻辑,此处不再赘述。In the embodiment shown in FIG8 , the NFC chip calculates the Q value based on the voltage peak data collected by the first peak detector, and the RX chip further detects whether there is a metal foreign body based on the Q value. In other embodiments of the present application, the NFC chip can calculate the Q value based on the voltage peak data, and detect whether there is a metal foreign body based on the Q value, and then send the detection result to the RX chip. The RX chip executes the corresponding processing logic based on the received detection result, which will not be repeated here.

2、金属异物检测电路内设置有一个峰值探测器2. A peak detector is set in the metal foreign body detection circuit

图9示出了本申请实施例提供的电子设备的另一种金属异物检测电路的示意图。本实施例只设置一个峰值探测器,该峰值探测器由RX芯片控制。此外,该峰值探测器可以集成于RX芯片内,或者分别与RX芯片和NFC芯片独立。FIG9 shows a schematic diagram of another metal foreign body detection circuit of an electronic device provided in an embodiment of the present application. In this embodiment, only one peak detector is provided, and the peak detector is controlled by the RX chip. In addition, the peak detector can be integrated into the RX chip, or be independent of the RX chip and the NFC chip.

如图9所示,峰值探测器的第一输入端连接到NFC线圈与电容C2串联得到的LC谐振电路,峰值探测器的第二输入端连接到WPC线圈与电容C1串联得到的LC谐振电路。As shown in FIG9 , a first input terminal of the peak detector is connected to an LC resonant circuit obtained 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 obtained by connecting a WPC coil and a capacitor C1 in series.

与图7所示的金属异物检测电路相似,图10所示的金属异物检测电路中SW1~SW3可以由NFC芯片或RX芯片控制,SW1断开且SW2和SW3闭合时,NFC线圈与C2串联得到LC谐振电路。Similar to the metal foreign body detection circuit shown in FIG7 , in the metal foreign body detection circuit shown in FIG10 , SW1 to SW3 can be controlled by the NFC chip or the RX chip. When SW1 is disconnected and SW2 and SW3 are closed, the NFC coil is connected in series with C2 to obtain an LC resonant circuit.

NFC芯片控制NFC线圈与C2串联得到的LC谐振电路的充放电过程,在控制该LC谐振电路开始放电时,通过处理器向RX芯片发送触发峰值探测器采集的信号,从而使峰值探测器采集该LC谐振电路的电压峰值数据。The NFC chip controls the charging and discharging process of the LC resonant circuit obtained by connecting the NFC coil in series with C2. When controlling the LC resonant circuit to start discharging, the processor sends a signal to trigger the peak detector to collect data, so that the peak detector collects the voltage peak data of the LC resonant circuit.

在一示例中,峰值探测器检测LC谐振电路的电压峰值数据经由RX芯片提供给NFC芯片,由NFC芯片根据电压峰值数据计算Q值进一步根据Q值判定是否存在金属异物。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.

在另一示例中,峰值探测器检测LC谐振电路的电压峰值数据提供给RX芯片,由RX芯片根据电压峰值数据计算Q值进一步根据Q值判定是否存在金属异物。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.

图10是图9所示的金属异物检测电路的金属异物检测流程图,如图10所示,金属异物检测方法可以包括以下步骤:FIG. 10 is a flow chart of metal foreign body detection of the metal foreign body detection circuit shown in FIG. 9 . As shown in FIG. 10 , the metal foreign body detection method may include the following steps:

S201~S204的实施过程与图8中S101~S104的过程相同,此处不再赘述。The implementation process of S201 to S204 is the same as the process of S101 to S104 in FIG. 8 , and will not be described in detail here.

S205,NFC芯片控制LC谐振电路的充放电过程,在LC谐振电路开始放电时,向处理器发送电压峰值采集指令。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.

S206,处理器向RX芯片发送电压采集指令。S206: The processor sends a voltage collection instruction to the RX chip.

S207,RX芯片响应于电压峰值采集指令,触发峰值探测器采集LC谐振电路的电压峰值数据。S207, the RX chip responds to the voltage peak value collection instruction and triggers the peak value detector to collect the voltage peak value data of the LC resonant circuit.

本实施例的S205~S207实现了在NFC芯片控制LC谐振电路开始放电时,触发峰值探测器采集电压信号。S205 to S207 of this embodiment realize that when the NFC chip controls the LC resonant circuit to start discharging, the peak detector is triggered to collect the voltage signal.

图9所示金属异物检测电路中,由NFC芯片控制NFC线圈与C2串联得到的LC谐振电路的充放电过程,由RX芯片触发峰值探测器采集电压峰值数据。因此,本实施例中,在NFC芯片控制LC谐振电路开始放电时经由处理器向RX芯片发送电压信号采集指令,由RX芯片触发峰值探测器采集LC谐振电路的电压信号。In the metal foreign body detection circuit shown in FIG9 , the NFC chip controls the charging and discharging process of the LC resonant circuit obtained by connecting the NFC coil in series with 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 start discharging, the processor sends a voltage signal collection instruction to the RX chip, and the RX chip triggers the peak detector to collect the voltage signal of the LC resonant circuit.

S208,峰值探测器向RX芯片发送电压峰值数据。S208, the peak detector sends voltage peak data to the RX chip.

S209,无线充电底座与手机之间进行功率传输。S209, power is transmitted between the wireless charging base and the mobile phone.

S210,RX芯片根据电压峰值数据计算得到LC谐振电路对应的Q值。S210, the RX chip calculates the Q value corresponding to the LC resonant circuit according to the voltage peak data.

本实施例的S210计算得到Q值的过程与图8中的S107相同,此处不再赘述。The process of calculating the Q value in S210 of this embodiment is the same as S107 in FIG. 8 , and will not be described in detail here.

S211,RX芯片判断Q值是否小于或等于预设阈值。S211, the RX chip determines whether the Q value is less than or equal to a preset threshold.

如果Q值小于或等于预设阈值,则执行S212。如果Q值大于预设阈值,则执行S214。If the Q value is less than or equal to the preset threshold, S212 is executed. If the Q value is greater than the preset threshold, S214 is executed.

S212,RX芯片产生异物报警信号。S212, the RX chip generates a foreign object alarm signal.

S213,RX芯片向无线充电底座发送EPT包通知其结束充电。S213, the RX chip sends an EPT packet to the wireless charging base to notify it to end charging.

S214,RX芯片根据Q值确定充电功率并选择相匹配的线圈进行充电。S214, the RX chip determines the charging power according to the Q value and selects a matching coil for charging.

此外,在确定NFC线圈所在位置范围内不存在金属异物的情况下,手机会继续检测WPC线圈所在位置范围内是否存在金属异物,检测过程与图8所示实施例的相应过程相同,此处不再赘述。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.

S215,无线充电底座与手机建立通信连接后,获取底座内的线圈对应的Q值,并判断Q值是否小于预设阈值;如果是则执行S216;如果否则执行S214。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.

S216,无线充电底座进行异物报警并结束充电。S216, the wireless charging base issues a foreign object alarm and ends charging.

本实施例中S211~S216的实施过程与图8中S111~S115的过程相同,此处不再赘述。The implementation process of S211 to S216 in this embodiment is the same as the process of S111 to S115 in FIG. 8 , and will not be repeated here.

本实施例提供的金属异物检测方法,由NFC芯片控制LC谐振电路的充放电过程,RX芯片采集该LC谐振电路放电阶段的电压峰值数据并计算得到Q值,进一步根据Q值判断是否存在金属异物。这样NFC芯片无需配置峰值探测器,进一步降低了硬件成本。In the metal foreign body detection method provided in this embodiment, the NFC chip controls the charging and discharging process of the LC resonant circuit, and the RX chip collects the voltage peak data of the LC resonant circuit during the discharge phase and calculates the Q value, and further determines whether there is a metal foreign body based on the Q value. In this way, the NFC chip does not need to be configured with a peak detector, further reducing the hardware cost.

二、电子设备的WPC芯片(即RX芯片)计算Q值进一步根据Q值判断是否存在金属异物2. The WPC chip (RX chip) of the electronic device calculates the Q value and further determines whether there is metal foreign matter based on the Q value

本实施例是由RX芯片控制NFC线圈与电容C2形成LC谐振电路的充放电过程,计算LC谐振电路的Q值,以及检测NFC线圈所在位置范围内是否存在金属异物。In this embodiment, the RX chip controls the charging and discharging process of the LC resonant circuit formed by the NFC coil and the capacitor C2, calculates the Q value of the LC resonant circuit, and detects whether there is a metal foreign object within the position of the NFC coil.

为了实现上述的由RX芯片计算Q值并根据Q值判断是否存在金属异物的目的,本申请实施例提供了另一种金属异物检测电路,该电路中NFC线圈的一端通过第三开关电路连接NFC芯片的一个引脚,同时,NFC线圈的该端还通过第五开关电路连接RX芯片的一个引脚。NFC线圈的另一端通过第四开关电路连接NFC芯片的另一个引脚,同时,该端还通过第六开关电路连接RX芯片的另一个引脚。In order to achieve the above-mentioned purpose of calculating the Q value by the RX chip and judging whether there is a metal foreign body according to the Q value, the embodiment of the present application provides another metal foreign body detection circuit, in which one end of the NFC coil is connected to a pin of the NFC chip through the third switch circuit, and at the same time, the end of the NFC coil is also connected to a pin of the RX chip through the fifth switch circuit. The other end of the NFC coil is connected to another pin of the NFC chip through the fourth switch circuit, and at the same time, the end is also connected to another pin of the RX chip through the sixth switch circuit.

在一示例中,如图11所示,NFC线圈的一端连接SW11的一端,SW11的另一端连接NFC芯片的一个引脚,同时,NFC线圈的此端还连接SW13的一端,SW13的另一端连接电容C2的一端,C2的另一端连接RX芯片的一个引脚(可称为第一引脚)。NFC线圈的另一端通过SW12连接NFC线圈的另一引脚。同时,NFC线圈的此端还通过SW14连接RX芯片的另一引脚(可称为第二引脚)。In one example, as shown in FIG11 , one end of the NFC coil is connected to one end of SW11, and the other end of SW11 is connected to a pin of the NFC chip. At the same time, this end of the NFC coil is also connected to one end of SW13, and 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 (which may be called the first pin). The other end of the NFC coil is connected to another pin of the NFC coil through SW12. At the same time, this end of the NFC coil is also connected to another pin of the RX chip (which may be called the second pin) through SW14.

在图11所示的示例中,前述的第三开关电路包括SW11,前述的第四开关电路包括SW12,前述的第五开关电路包括串联的SW13和电容C2,前述的第六开关电路包括SW14。In the example shown in FIG. 11 , 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 .

当然,在其它实施例中,第三、第四、第五、第六开关电路还可以包括两个或以上的开关,这些开关可以是串联和/或并联关系,本申请对此不做限定。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 the present application.

再次参见图11,WPC线圈的一端与电容C1串联后连接RX芯片的第三引脚,WPC线圈的另一端连接RX芯片的第四引脚。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.

峰值探测器的一输入端(可称为第一输入端)连接电容C2所在的支路,用于检测NFC线圈与C2形成的LC谐振电路在放电阶段的电压峰值。One input end (referred to as the first input end) of the peak detector 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.

峰值探测器的另一输入端(可称为第二输入端)连接电容C1所在的支路,用于检测WPC线圈与C1形成的LC谐振电路在放电阶段的电压峰值。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 resonance circuit formed by the WPC coil and C1 during the discharge stage.

峰值探测器可以集成于RX芯片内,或者也可以是与RX芯片相互独立的器件,本申请对峰值探测器的封装形式不做限定。The peak detector may be integrated into the RX chip, or may be a device independent of the RX chip. The present application does not limit the packaging form of the peak detector.

在一示例中,SW11和SW12可以采用耗尽型NMOS管,默认闭合。SW13和SW14可以采用增强型NMOS管,默认断开。SW11~SW14的开关状态可以由RX芯片控制。SW11~SW14还可以采用其他类型的开关器件,本申请对开关器件的类型不做限定。In one example, SW11 and SW12 may use depletion-type NMOS transistors, which are closed by default. SW13 and SW14 may use enhancement-type NMOS transistors, which are open by default. The switch states of SW11 to SW14 may be controlled by the RX chip. SW11 to SW14 may also use other types of switch devices, and the present application does not limit the types of switch devices.

如图11所示,当SW11和SW12闭合时,NFC线圈与NFC芯片连接,由NFC芯片控制NFC线圈收发指令或数据,使得电子设备通过NFC线圈和NFC芯片实现NFC通信功能。As shown in FIG. 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.

图12是图11所示的金属异物检测电路工作时的电路示意图。FIG. 12 is a circuit diagram of the metal foreign body detection circuit shown in FIG. 11 when it is working.

如图12所示,当SW11和SW12断开,且SW13和SW14闭合时,NFC线圈与电容C2串联形成LC谐振电路并与RX芯片连接。RX芯片控制该LC谐振电路的充放电过程,以及在控制LC谐振电路放电时触发峰值探测器采集该LC谐振电路的电压峰值数据。RX芯片进一步根据电压峰值数据计算得到该LC谐振电路的Q值,最后根据Q值判断是否存在金属异物。As shown in Figure 12, when SW11 and SW12 are disconnected, and SW13 and SW14 are closed, the NFC coil and capacitor C2 are connected in series to form an LC resonant circuit and connected to the RX chip. The RX chip controls the charging and discharging process of the LC resonant circuit, and triggers the peak detector to collect the voltage peak data of the LC resonant circuit when controlling the discharge of the LC resonant circuit. The RX chip further calculates the Q value of the LC resonant circuit based on the voltage peak data, and finally determines whether there is a metal foreign body based on the Q value.

下面结合图13所示的金属异物检测方法流程图详细说明检测金属异物的过程。The process of detecting metal foreign matter is described in detail below in conjunction with the metal foreign matter detection method flow chart shown in FIG. 13 .

如图13所示,金属异物检测方法可以包括以下步骤:As shown in FIG13 , the metal foreign body detection method may include the following steps:

S300,手机的RX芯片启动。S300, the phone's RX chip is started.

S301,无线充电底座与手机之间建立通信连接。S301, establishing a communication connection between the wireless charging base and the mobile phone.

S302,RX芯片控制SW11、SW12断开,SW13和SW14闭合,使得NFC线圈与电容C2串联得到LC谐振电路。S302, the RX chip controls SW11 and SW12 to be disconnected, and SW13 and SW14 to be closed, so that the NFC coil and the capacitor C2 are connected in series to obtain an LC resonant circuit.

S303,RX芯片控制LC谐振电路的充放电过程,并在开始放电时触发峰值探测器采集电压峰值数据。S303, the RX chip controls the charging and discharging process of the LC resonant circuit, and triggers the peak detector to collect voltage peak data when discharging starts.

S304,RX芯片基于电压峰值数据计算得到Q值。S304, the RX chip calculates the Q value based on the voltage peak data.

S307,RX芯片判断Q值是否小于或等于预设阈值,若是执行S308;若否执行S310。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.

S308,RX芯片产生异物报警信号。S308, the RX chip generates a foreign object alarm signal.

S309,RX芯片向无线充电底座发送EPT信号,使其结束充电。S309, the RX chip sends an EPT signal to the wireless charging base to terminate charging.

S310,RX芯片根据Q值确定充电功率,并选择相匹配的线圈进行充电。S310, the RX chip determines the charging power according to the Q value and selects a matching coil for charging.

此外,在确定NFC线圈所在位置范围不存在金属异物的情况下,RX芯片可以继续判断WPC线圈所在位置范围内是否存在金属异物,检测过程与图9所示实施例的相应过程相同,此处不再赘述。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.

S311,无线充电底座与手机建立通信连接后,获取底座内的线圈对应的Q值,并判断Q值是否小于预设阈值;如果是则执行S312;如果否则执行S310。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.

S312,无线充电底座进行异物报警并结束充电。S312: The wireless charging base issues a foreign object alarm and terminates charging.

本实施例S311~S3120的实施过程与图8所示实施例的S114~S115相同,此处不再赘述。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 described again here.

本实施例提供的金属异物检测方法,手机侧的WPC芯片(即RX芯片)启动后,控制开关电路使NFC线圈与C2串联得到LC谐振电路,以及控制该LC谐振电路的充放电过程,同时触发峰值探测器采集该LC谐振电路的在放电阶段的电压峰值数据。RX芯片进一步根据电压峰值数据计算得到该LC谐振电路的Q值,以及根据Q值检测NFC线圈所在位置范围内是否存在金属异物。由此可见,该方案可以精准检测到处于WPC线圈范围之外的金属异物,避免没有检测到位于WPC线圈边缘的金属异物而正常充电导致金属异物温度过高带来的风险,最终提高了无线充电过程的安全性。而且,该方案由RX芯片计算LC谐振电路的Q值以及根据Q值检测金属异物,因此,无需修改NFC芯片的软件(即处理逻辑)及硬件,节省了修改NFC芯片的成本,最终降低了整个金属异物检测方案的成本。The metal foreign body detection method provided in this embodiment, after the WPC chip (ie, RX chip) on the mobile phone side is started, controls the switch circuit to connect the NFC coil and C2 in series to obtain an LC resonant circuit, and controls the charging and discharging process of the LC resonant circuit, and at the same time triggers the peak detector to collect the voltage peak data of the LC resonant circuit in the discharge stage. 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 according to the Q value. It can be seen that the scheme can accurately detect metal foreign bodies outside the range of the WPC coil, avoid 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 improve the safety of the wireless charging process. Moreover, the scheme calculates the Q value of the LC resonant circuit by the RX chip and detects the metal foreign body according to the Q value. Therefore, there is no need to modify the software (ie, 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 scheme.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (18)

1.一种金属异物检测电路,其特征在于,应用于电子设备,所述电子设备包括第一线圈和第二线圈,其中所述第一线圈为无线充电线圈,所述第二线圈为近场通信NFC线圈,且位于所述第一线圈的外围;所述金属异物检测电路包括:1. A metal foreign body detection circuit, characterized in that it is applied to an electronic device, the electronic device comprises a first coil and a second coil, wherein the first coil is a wireless charging coil, and the second coil is a near field communication NFC coil and is located outside the first coil; the metal foreign body detection circuit comprises: 所述第一线圈的第一端通过第二电容与第一线圈控制电路的第一端连接,所述第一线圈的第二端与所述第一线圈控制电路的第二端连接,所述第一线圈控制电路是无线充电线圈芯片;The first end of the first coil is connected to the first end of the first coil control circuit through the second capacitor, the second end of the first coil is connected to the second end of the first coil control circuit, and the first coil control circuit is a wireless charging coil chip; 所述第一线圈控制电路获取所述第一线圈和所述第二电容串联得到的第一LC谐振电路在放电阶段的第一电压峰值数据,并根据所述第一电压峰值数据计算得到所述第一LC谐振电路的第一Q值,所述第一Q值用于检测所述第一线圈所在位置范围内的金属异物;The first coil control circuit obtains first voltage peak data of a first LC resonant circuit obtained by connecting the first coil and the second capacitor in series during a discharge phase, and calculates a first Q value of the first LC resonant circuit according to the first voltage peak data, wherein the first Q value is used to detect metal foreign matter within a range where the first coil is located; 所述第二线圈的第一端通过第一开关电路连接第二线圈控制电路的第一端,所述第二线圈的第二端连接所述第二线圈控制电路的第二端,所述第二线圈控制电路是NFC芯片;The first end of the second coil is connected to the first end of the second coil control circuit through the first switch circuit, the second end of the second coil is connected to the second end of the second coil control circuit, and the second coil control circuit is an NFC chip; 第二开关电路与所述第一开关电路并联,所述第二开关电路包括串联的第一电容及开关;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; 在所述第一开关电路断开且所述第二开关电路闭合时,所述第二线圈控制电路获取第二LC谐振电路在放电阶段的电压峰值数据,并根据所述电压峰值数据计算得到所述第二LC谐振电路的第二Q值,所述第二LC谐振电路包括串联连接的所述第二线圈和所述第一电容,所述第二Q值用于检测所述第二线圈所在位置范围内的金属异物。When the first switch circuit is disconnected and the second switch circuit is closed, the second coil control circuit obtains voltage peak data of the second LC resonant circuit in the discharge stage, and calculates a second Q value of the second LC resonant circuit based on the voltage peak data. The second LC resonant circuit includes the second coil and the first capacitor connected in series. The second Q value is used to detect metal foreign objects within the range where the second coil is located. 2.根据权利要求1所述的金属异物检测电路,其特征在于,所述第二开关电路包括所述第一电容和第一开关;2. The metal foreign body detection circuit according to claim 1, characterized in that the second switch circuit comprises 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. 3.根据权利要求1所述的金属异物检测电路,其特征在于,所述第二开关电路包括所述第一电容、第二开关和第三开关;3. The metal foreign body detection circuit according to claim 1, characterized in that the second switch circuit comprises 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. 4.根据权利要求1-3任一项所述的金属异物检测电路,其特征在于,所述第二线圈控制电路控制所述第二LC谐振电路进行充电和放电,以及触发峰值探测器采集所述第二LC谐振电路在放电阶段的电压峰值数据。4. The metal foreign body detection circuit according to any one of claims 1-3 is characterized in that the second coil control circuit controls the second LC resonant circuit to charge and discharge, and triggers the peak detector to collect voltage peak data of the second LC resonant circuit in the discharge stage. 5.根据权利要求1-3任一项所述的金属异物检测电路,其特征在于,所述第一线圈控制电路控制所述第二LC谐振电路进行充电和放电,以及触发峰值探测器采集所述第二LC谐振电路在放电阶段的电压峰值数据。5. The metal foreign body detection circuit according to any one of claims 1 to 3 is characterized in that the first coil control circuit controls the second LC resonant circuit to charge and discharge, and triggers the peak detector to collect voltage peak data of the second LC resonant circuit in the discharge stage. 6.根据权利要求1-3任一项所述的金属异物检测电路,其特征在于,所述第一线圈控制电路触发所述第二线圈控制电路启动。6. The metal foreign body detection circuit according to any one of claims 1 to 3, characterized in that the first coil control circuit triggers the second coil control circuit to start. 7.根据权利要求1-3任一项所述的金属异物检测电路,其特征在于,所述第一线圈控制电路控制所述第一开关电路断开以及控制所述第二开关电路闭合;7. The metal foreign body detection circuit according to any one of claims 1 to 3, characterized in that the first coil control circuit controls the first switch circuit to be disconnected and controls the second switch circuit to be closed; 或者,所述第二线圈控制电路控制所述第一开关电路断开以及控制所述第二开关电路闭合。Alternatively, the second coil control circuit controls the first switch circuit to open and controls the second switch circuit to close. 8.一种金属异物检测电路,其特征在于,应用于电子设备,所述电子设备包括第一线圈和第二线圈,所述第一线圈为无线充电线圈,所述第二线圈位于所述第一线圈的外围,所述金属异物检测电路包括:8. A metal foreign body detection circuit, characterized in that it is applied to an electronic device, the electronic device comprises a first coil and a second coil, the first coil is a wireless charging coil, and the second coil is located outside the first coil, 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; 所述第一线圈控制电路获取LC谐振电路在放电阶段的电压峰值数据,以及根据所述电压峰值数据计算得到的Q值;The first coil control circuit acquires voltage peak data of the LC resonant circuit in a discharge phase, and a Q value calculated according to the voltage peak data; 所述第一线圈控制电路根据所述Q值检测所述第二线圈所在范围内的金属异物。The first coil control circuit detects metal foreign matter within a range where the second coil is located according to the Q value. 9.根据权利要求8所述的金属异物检测电路,其特征在于,所述第二线圈为近场通信NFC线圈。9 . The metal foreign body detection circuit according to claim 8 , wherein the second coil is a near field communication (NFC) coil. 10.根据权利要求8或9所述的金属异物检测电路,其特征在于,所述第一线圈控制电路控制所述第二线圈与所述第一电容串联得到的LC谐振电路进行充电和放电,并在所述LC谐振电路的放电阶段,触发峰值探测器检测所述LC谐振电路的电压峰值数据。10. The metal foreign body detection circuit according to claim 8 or 9 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 in the discharge phase of the LC resonant circuit, triggers the peak detector to detect the voltage peak data of the LC resonant circuit. 11.根据权利要求8或9所述的金属异物检测电路,其特征在于,所述第一线圈控制电路控制所述第三开关电路和所述第四开关电路断开,以及控制所述第五开关电路和所述第六开关电路闭合,使得所述第二线圈与所述第一电容串联得到LC谐振电路。11. The metal foreign body detection circuit according to claim 8 or 9 is characterized in that the first coil control circuit controls the third switch circuit 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. 12.根据权利要求8或9所述的金属异物检测电路,其特征在于,所述第一线圈控制电路是无线充电线圈芯片,所述第二线圈控制电路是NFC芯片。12 . The metal foreign body detection circuit according to claim 8 , wherein the first coil control circuit is a wireless charging coil chip, and the second coil control circuit is an NFC chip. 13.一种金属异物检测方法,其特征在于,应用于电子设备,所述电子设备包括权利要求1-12任一项所述的金属异物检测电路,所述方法包括:13. A metal foreign body detection method, characterized in that it is applied to an electronic device, the electronic device comprising the metal foreign body detection circuit according to any one of claims 1 to 12, the method comprising: 控制所述第一LC谐振电路进行充电,并在充电完成后放电,获取所述第一LC谐振电路处于放电阶段的第一电压峰值数据;Controlling the first LC resonant circuit to charge, and to discharge after charging is completed, and obtaining first voltage peak data of the first LC resonant circuit in a discharging stage; 根据所述第一电压峰值数据计算得到所述第一LC谐振电路的第一Q值,并根据所述第一Q值检测所述第一线圈所在位置范围内的金属异物;Calculating a first Q value of the first LC resonant circuit according to the first voltage peak data, and detecting a metal foreign body within a position range of the first coil according to the first Q value; 控制第二线圈连接的开关电路的开关状态,使得所述第二线圈与第一电容串联得到第二LC谐振电路;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 a second LC resonant circuit; 控制所述第二LC谐振电路进行充电,并在充电完成后放电;Controlling the second LC resonant circuit to charge, and discharge after charging is completed; 获取所述第二LC谐振电路处于放电阶段的电压峰值数据;Acquiring voltage peak data of the second LC resonant circuit in a discharge phase; 根据所述电压峰值数据计算得到所述第二LC谐振电路的第二Q值,并根据所述第二Q值检测所述第二线圈所在位置范围内的金属异物。A second Q value of the second LC resonant circuit is calculated according to the voltage peak data, and a metal foreign object within the position range of the second coil is detected according to the second Q value. 14.一种无线充电系统,其特征在于,包括无线充电底座和电子设备,所述电子设备包括权利要求1-12任一项所述的金属异物检测电路;14. A wireless charging system, comprising a wireless charging base and an electronic device, wherein the electronic device comprises the metal foreign body detection circuit according to any one of claims 1 to 12; 所述无线充电底座包括第一WPC线圈和第一NFC线圈,所述第一NFC线圈位于所述第一WPC线圈的外围;The wireless charging base comprises a first WPC coil and a first NFC coil, wherein the first NFC coil is located outside the first WPC coil; 所述电子设备包括第二WPC线圈和第二NFC线圈,所述第二NFC线圈位于所述第二WPC线圈的外围;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; 所述无线充电底座控制所述第一NFC线圈发射第一NFC信号,并在检测到所述第一NFC信号的电压值低于正常电压值时,确定所述无线充电底座与所述电子设备之间存在金属异物;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; 或者,所述电子设备控制所述第二NFC线圈发射第二NFC信号,并在检测到所述第二NFC信号的电压值低于正常电压值时,确定所述电子设备与所述无线充电底座之间存在金属异物。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. 15.一种无线充电底座,其特征在于,包括权利要求1-12任一项所述的金属异物检测电路。15. A wireless charging base, characterized by comprising the metal foreign body detection circuit according to any one of claims 1 to 12. 16.一种电子设备,其特征在于,包括权利要求1-12任一项所述的金属异物检测电路。16. An electronic device, characterized by comprising the metal foreign body detection circuit according to any one of claims 1 to 12. 17.一种芯片系统,其特征在于,包括:至少一个处理器以及接口,所述接口用于接收代码指令,并传输至所述至少一个处理器;所述至少一个处理器运行所述代码指令,以实现权利要求13所述的金属异物检测方法。17. A chip system, characterized in that it comprises: at least one processor and an interface, wherein the interface is 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 13. 18.一种计算机可读存储介质,其特征在于,其上存储有指令,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求13所述的金属异物检测方法。18. A computer-readable storage medium, characterized in that instructions are stored thereon, and when the instructions are executed on an electronic device, the electronic device executes the metal foreign body detection method according to claim 13.
CN202310261166.8A 2023-03-13 2023-03-13 Metal foreign matter detection circuit, method and related device Active CN117118097B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310261166.8A CN117118097B (en) 2023-03-13 2023-03-13 Metal foreign matter detection circuit, method and related device
PCT/CN2023/132257 WO2024187807A1 (en) 2023-03-13 2023-11-17 Metallic foreign matter detection circuit and method, and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310261166.8A CN117118097B (en) 2023-03-13 2023-03-13 Metal foreign matter detection circuit, method and related device

Publications (2)

Publication Number Publication Date
CN117118097A CN117118097A (en) 2023-11-24
CN117118097B true CN117118097B (en) 2024-07-19

Family

ID=88797201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310261166.8A Active CN117118097B (en) 2023-03-13 2023-03-13 Metal foreign matter detection circuit, method and related device

Country Status (2)

Country Link
CN (1) CN117118097B (en)
WO (1) WO2024187807A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104167825A (en) * 2013-05-16 2014-11-26 索尼公司 Detecting device, power supply system, and detecting device control method
CN112737148A (en) * 2020-12-23 2021-04-30 歌尔股份有限公司 Foreign matter detection circuit, wireless charging system and foreign matter detection method

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2012132841A1 (en) * 2011-03-29 2014-07-28 ソニー株式会社 Power supply device, power supply system, and electronic device
JP2013070580A (en) * 2011-09-26 2013-04-18 Sony Corp Power receiving device, power transmitting device, wireless power transfer system, and wireless power transfer method
JP2014225962A (en) * 2013-05-16 2014-12-04 ソニー株式会社 Detector, power supply system and control method of detector
EP3032699B1 (en) * 2013-07-31 2018-10-10 Panasonic Corporation Wireless electricity transmission device and wireless power transmission system
JP6395535B2 (en) * 2014-03-31 2018-09-26 ローム株式会社 Power receiving device, power transmitting device, and non-contact power feeding system
JP6845624B2 (en) * 2015-07-08 2021-03-17 ローム株式会社 Power transmission device, power receiving device and contactless power supply system
KR102436588B1 (en) * 2016-07-29 2022-08-26 소니 세미컨덕터 솔루션즈 가부시키가이샤 feeder
EP3493364B1 (en) * 2016-07-29 2020-11-04 Sony Semiconductor Solutions Corporation Power-supplying system
JP6740894B2 (en) * 2016-12-27 2020-08-19 Tdk株式会社 Metal foreign object detection device, wireless power supply device, wireless power reception device, and wireless power transmission system
CN111999772A (en) * 2019-05-27 2020-11-27 华为技术有限公司 Detection device, transmitting terminal, wireless charging system and method for metal foreign matters
CN111812408B (en) * 2020-05-27 2022-04-08 华为数字能源技术有限公司 Quality factor detection circuit, detection method and electronic device based on oscillator circuit
CN112068208A (en) * 2020-08-12 2020-12-11 深圳赫兹创新技术有限公司 Foreign matter detection method and device
CN113162247A (en) * 2021-01-21 2021-07-23 华为技术有限公司 Wireless charging equipment, automatic alignment method and charging base
CN113300487B (en) * 2021-05-28 2024-07-30 伏达半导体(合肥)股份有限公司 Foreign matter detection device and method for wireless power transmission system
CN216698736U (en) * 2021-12-14 2022-06-07 深圳市卓睿通信技术有限公司 Two unification antenna module of WPC and NFC antenna and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104167825A (en) * 2013-05-16 2014-11-26 索尼公司 Detecting device, power supply system, and detecting device control method
CN112737148A (en) * 2020-12-23 2021-04-30 歌尔股份有限公司 Foreign matter detection circuit, wireless charging system and foreign matter detection method

Also Published As

Publication number Publication date
CN117118097A (en) 2023-11-24
WO2024187807A1 (en) 2024-09-19

Similar Documents

Publication Publication Date Title
US9935502B2 (en) Detection and protection of devices within a wireless power system
EP2599233B1 (en) Low power detection of wireless power devices
US9142999B2 (en) Systems, methods, and apparatus for small device wireless charging modes
US9306634B2 (en) Waking up a wireless power transmitter from beacon mode
US9252846B2 (en) Systems and methods for detecting and identifying a wireless power device
KR101880781B1 (en) Wireless charging of devices
US9191075B2 (en) Wireless power control method, system, and apparatus utilizing a wakeup signal to prevent standby power consumption
EP3008830B1 (en) System and method for delayed application processor initialization in wireless power transmission system
JP5568911B2 (en) Reader / writer device, battery charging system and method
CN110832735A (en) Intelligent priority detection for wired and wireless charging
EP2636156A1 (en) Wireless charging device
JP2012517796A (en) Wireless power transfer for portable enclosures
CN108539806A (en) Control device, power receiving device and electronic equipment
US11995499B2 (en) IC card and IC card system
CN110336364A (en) Control device, power receiving device, and electronic equipment
CN117118097B (en) Metal foreign matter detection circuit, method and related device
US11012119B2 (en) NFC arrangement
KR100737560B1 (en) Contactless battery charger
US11569671B2 (en) Power bank with automatic detection for charging capability
KR102698751B1 (en) Wireless power transmitting device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China