WO2022140957A1 - Nfc device - Google Patents

Nfc device Download PDF

Info

Publication number
WO2022140957A1
WO2022140957A1 PCT/CN2020/140305 CN2020140305W WO2022140957A1 WO 2022140957 A1 WO2022140957 A1 WO 2022140957A1 CN 2020140305 W CN2020140305 W CN 2020140305W WO 2022140957 A1 WO2022140957 A1 WO 2022140957A1
Authority
WO
WIPO (PCT)
Prior art keywords
self
terminal
capacitance detection
capacitance
detection module
Prior art date
Application number
PCT/CN2020/140305
Other languages
French (fr)
Chinese (zh)
Inventor
袁广凯
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2020/140305 priority Critical patent/WO2022140957A1/en
Priority to CN202080047810.6A priority patent/CN114097180B/en
Publication of WO2022140957A1 publication Critical patent/WO2022140957A1/en

Links

Images

Classifications

    • H04B5/48
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Near-Field Transmission Systems (AREA)
  • Telephone Function (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

Provided is an NFC device. The NFC device comprises a filtering circuit, a matching circuit, data-receiving branches, an NFC controller and an NFC antenna, and further comprises a self-capacitance measurement module, wherein a capacitance measurement end of the self-capacitance measurement module is connected to a positive phase end or a reverse phase end of the NFC antenna, and the self-capacitance measurement module is used for measuring the amount of capacitance change of the NFC antenna. The NFC device of the present application can implement the detection of a target device by using relatively little power consumption.

Description

一种NFC设备an NFC device 技术领域technical field
本申请涉及NFC通信领域,特别涉及一种NFC设备。The present application relates to the field of NFC communication, in particular to an NFC device.
背景技术Background technique
近场通信(Near Field Communication,NFC)设备作为NFC通信中的发起设备时,需要基于NFC天线进行目标设备的检测,这里的目标设备也是NFC设备。目前的检测方法是:在NFC设备的NFC控制器(NFC controller,NFCC)中设置阻抗检测模块,通过NFC控制器的TXP端口和TXN端口发送持续时间为几十微秒的轮询信号,检测TXP端口和TXN端口之间的阻抗变化,如果阻抗变化达到预设阈值,则判断环境中存在目标设备。When a near field communication (Near Field Communication, NFC) device is used as an initiator device in NFC communication, it needs to detect the target device based on the NFC antenna, and the target device here is also an NFC device. The current detection method is: set an impedance detection module in the NFC controller (NFC controller, NFCC) of the NFC device, and send a polling signal with a duration of tens of microseconds through the TXP port and TXN port of the NFC controller to detect the TXP The impedance changes between the port and the TXN port. If the impedance change reaches a preset threshold, it is determined that there is a target device in the environment.
但是这种目标设备检测方式,使得NFC设备的功耗较大。However, this target device detection method makes the power consumption of the NFC device relatively large.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种NFC设备,能够通过相对较小的功耗实现NFC设备对目标设备的检测。The present application provides an NFC device, which can realize the detection of a target device by the NFC device with relatively small power consumption.
第一方面,本申请实施例提供一种近场通信NFC设备,所述NFC设备包括:NFC天线,用于进行信号滤波的滤波电路,用于进行所述NFC天线阻抗匹配的匹配电路,用于传输所述NFC天线接收到的数据信号的数据接收支路,用于控制信号发送和接收的NFC控制器,所述NFC设备还包括:自电容检测模块,其中,所述自电容检测模块的电容检测端连接所述NFC天线的正相端或者反相端,所述自电容检测模块用于检测所述NFC天线的电容变化量,所述电容变化量用于判断是否有目标设备靠近所述NFC天线。In a first aspect, an embodiment of the present application provides a near field communication NFC device, the NFC device includes: an NFC antenna, a filter circuit for performing signal filtering, a matching circuit for performing impedance matching of the NFC antenna, for A data receiving branch for transmitting data signals received by the NFC antenna, an NFC controller for controlling signal transmission and reception, and the NFC device further comprising: a self-capacitance detection module, wherein the capacitance of the self-capacitance detection module The detection terminal is connected to the positive phase terminal or the reverse phase terminal of the NFC antenna, and the self-capacitance detection module is used to detect the capacitance change of the NFC antenna, and the capacitance change is used to determine whether a target device is close to the NFC antenna.
该NFC设备通过自电容检测模块检测NFC天线的电容变化量的方式实现了对于目标设备的检测,而且,相对于现有技术中阻抗检测模块每次进行目标设备检测发送持续时间为几十微秒的轮询信号的方式,自电容检测模块具有相对更小的功耗。The NFC device detects the target device by detecting the capacitance change of the NFC antenna by the self-capacitance detection module. Moreover, compared with the prior art, the impedance detection module performs the target device detection and the sending duration each time is tens of microseconds. In the way of polling signal, the self-capacitance detection module has relatively less power consumption.
在一种可能的实现方式中,所述自电容检测模块的电容检测端通过所述匹配电路连接所述NFC天线的正相端或者反相端。In a possible implementation manner, the capacitance detection end of the self-capacitance detection module is connected to the non-phase end or the inversion end of the NFC antenna through the matching circuit.
在一种可能的实现方式中,所述自电容检测模块的电容检测端通过所述数据接收支路连接所述NFC天线的正相端或者反相端。In a possible implementation manner, the capacitance detection end of the self-capacitance detection module is connected to the non-phase end or the inversion end of the NFC antenna through the data receiving branch.
在一种可能的实现方式中,所述自电容检测模块的电容检测端依次通过所述数据接收支路、所述匹配电路连接至所述NFC天线的正相端或者反相端。In a possible implementation manner, the capacitance detection end of the self-capacitance detection module is sequentially connected to the non-phase end or the inversion end of the NFC antenna through the data receiving branch and the matching circuit.
在一种可能的实现方式中,所述自电容检测模块位于所述NFC控制器中。In a possible implementation manner, the self-capacitance detection module is located in the NFC controller.
在一种可能的实现方式中,所述自电容检测模块的电容检测端连接第一开关的第一端,所述第一开关的第二端连接所述NFC天线的正相端或者反相端,所述第一开关用于在所述自电容检测模块工作时导通,所述自电容检测模块不工作时关断。In a possible implementation manner, the capacitance detection end of the self-capacitance detection module is connected to the first end of the first switch, and the second end of the first switch is connected to the non-inverting end or the inverting end of the NFC antenna , the first switch is configured to be turned on when the self-capacitance detection module is working, and turned off when the self-capacitance detection module is not working.
在一种可能的实现方式中,所述NFC设备中包括所述NFC天线的匹配电路和滤波电路,所述匹配电路和所述滤波电路中所包括电容的接地端通过第四开关接地,所述第四开关用于在所述自电容检测模块工作时关断。In a possible implementation manner, the NFC device includes a matching circuit and a filter circuit of the NFC antenna, and the ground terminal of the capacitor included in the matching circuit and the filter circuit is grounded through a fourth switch, and the The fourth switch is used to turn off when the self-capacitance detection module works.
在一种可能的实现方式中,所述自电容检测模块包括:In a possible implementation, the self-capacitance detection module includes:
所述自电容检测模块的电容检测端通过第七开关连接电源电压端,通过第八开关接地,通过第九开关连接差分放大器的正相输入端,通过第十开关连接第九电容的第一端,第九电容的第二端接地;The capacitance detection terminal of the self-capacitance detection module is connected to the power supply voltage terminal through the seventh switch, grounded through the eighth switch, connected to the non-inverting input terminal of the differential amplifier through the ninth switch, and connected to the first terminal of the ninth capacitor through the tenth switch , the second end of the ninth capacitor is grounded;
第九电容的第一端还通过第十一开关连接电源电压端,通过第十二开关接地;The first terminal of the ninth capacitor is also connected to the power supply voltage terminal through the eleventh switch, and is grounded through the twelfth switch;
所述差分放大器的反相输入端连接共模电压端,第一输出端和第二输出端用于输出电压,所述输出电压与所述NFC天线的电容变化 量关联;The inverting input terminal of the differential amplifier is connected to the common-mode voltage terminal, and the first output terminal and the second output terminal are used for outputting voltage, and the output voltage is associated with the capacitance change of the NFC antenna;
所述差分放大器的正相输入端还通过第三电阻、或者第十电容、或者并联的第三电阻和第十电容连接所述差分放大器的第一输出端,反相输入端通过第四电阻、或者第十一电容、或者并联的第四电阻和第十一电容连接所述差分放大器的第二输出端。The non-inverting input terminal of the differential amplifier is also connected to the first output terminal of the differential amplifier through a third resistor, or a tenth capacitor, or a third resistor and a tenth capacitor connected in parallel, and the inverting input terminal is connected through a fourth resistor, Either the eleventh capacitor, or the fourth resistor and the eleventh capacitor connected in parallel are connected to the second output end of the differential amplifier.
在一种可能的实现方式中,所述第九电容的电容值与第一等效电容值相等,所述第一等效电容值是无目标设备接近NFC天线时所述自电容检测模块的外部电路在所述电容检测端与电源接地端之间的等效电容值,所述共模电压端的电压为电源电压的1/2。In a possible implementation manner, the capacitance value of the ninth capacitor is equal to the first equivalent capacitance value, and the first equivalent capacitance value is an external capacitance of the self-capacitance detection module when no target device approaches the NFC antenna The equivalent capacitance value of the circuit between the capacitance detection terminal and the power supply ground terminal, the voltage of the common mode voltage terminal is 1/2 of the power supply voltage.
在一种可能的实现方式中,所述自电容检测模块具体用于:基于所述NFC天线的电容变化量生成电压信号;所述NFC设备还包括:判断模块,所述判断模块的输入端连接所述自电容检测模块的输出端,所述判断模块用于判断所述自电容检测模块输出的第一信号的幅值是否超过预设阈值,如果是,判断有目标设备靠近所述NFC天线,否则,判断没有目标设备靠近所述NFC天线。In a possible implementation manner, the self-capacitance detection module is specifically configured to: generate a voltage signal based on the capacitance change of the NFC antenna; the NFC device further includes: a judgment module, the input end of which is connected to The output end of the self-capacitance detection module, the judgment module is used to judge whether the amplitude of the first signal output by the self-capacitance detection module exceeds a preset threshold, and if so, judge that a target device is close to the NFC antenna, Otherwise, it is judged that no target device is close to the NFC antenna.
在一种可能的实现方式中,所述NFC控制器用于根据所述电容变化量判断是否有目标设备靠近所述NFC天线。In a possible implementation manner, the NFC controller is configured to determine whether a target device is close to the NFC antenna according to the capacitance change.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为NFC设备一个实例的结构示意图;1 is a schematic structural diagram of an example of an NFC device;
图2为现有技术阻抗检测方法中检测过程示意图;2 is a schematic diagram of a detection process in a prior art impedance detection method;
图3为本申请NFC设备一个实施例的结构示意图;FIG. 3 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图4为本申请NFC设备一个实施例的结构示意图;FIG. 4 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图5为本申请NFC设备一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图6为本申请NFC设备一个实施例的结构示意图;FIG. 6 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图7为本申请NFC设备一个实施例的结构示意图;FIG. 7 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图8为本申请图7所示NFC设备结构的一种等效电路图;FIG. 8 is an equivalent circuit diagram of the structure of the NFC device shown in FIG. 7 of the application;
图9为本申请NFC设备一个实施例的结构示意图;FIG. 9 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图10为本申请图9所示NFC设备结构的一种等效电路图;FIG. 10 is an equivalent circuit diagram of the structure of the NFC device shown in FIG. 9 of the application;
图11为本申请NFC设备一个实施例的结构示意图;FIG. 11 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图12为本申请NFC设备一个实施例的结构示意图;FIG. 12 is a schematic structural diagram of an embodiment of an NFC device of the present application;
图13为本申请图12所示NFC设备结构的一种等效电路图;FIG. 13 is an equivalent circuit diagram of the structure of the NFC device shown in FIG. 12 of the application;
图14为本申请自电容检测模块一个实施例的结构示意图;14 is a schematic structural diagram of an embodiment of the self-capacitance detection module of the present application;
图15为本申请图14所示自电容检测电路的工作时序图;FIG. 15 is a working timing diagram of the self-capacitance detection circuit shown in FIG. 14 of the application;
图16为本申请NFC设备一个实施例的结构示意图。FIG. 16 is a schematic structural diagram of an embodiment of an NFC device of the present application.
具体实施方式Detailed ways
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.
一般的,NFC设备结构如图1所示,包括:NFCC、NFC天线、匹配模块以及滤波模块。滤波模块可以用于进行信号滤波,匹配模块可以用于进行NFC天线的阻抗匹配,NFCC可以用于控制信号发送和接收,NFCC发送和接收的信号一般是NFC通信协议相关的信号。NFC通信协议可以是NCI控制器接口(NFC Controller Interface,NCI)等。NFCC中一般包括数据交互模块,用于获取NFC天线接收到的数据信号。数据交互模块的第一端和第二端可以分别连接NFCC的第一接收端RXP和第二接收端RXN,进而分别通过第一数据传输支路和第二数据传输支路连接NFC天线的两端,以获取NFC天线接收到的数据信号。Generally, the structure of an NFC device is shown in FIG. 1 , including: an NFCC, an NFC antenna, a matching module and a filtering module. The filtering module can be used to filter signals, the matching module can be used to match the impedance of the NFC antenna, and the NFCC can be used to control signal transmission and reception. The signals sent and received by the NFCC are generally signals related to the NFC communication protocol. The NFC communication protocol may be an NCI controller interface (NFC Controller Interface, NCI) or the like. The NFCC generally includes a data interaction module for acquiring the data signal received by the NFC antenna. The first end and the second end of the data interaction module can be respectively connected to the first receiving end RXP and the second receiving end RXN of the NFCC, and then connect the two ends of the NFC antenna through the first data transmission branch and the second data transmission branch respectively. , to obtain the data signal received by the NFC antenna.
目前的目标设备检测基于目标设备靠近时NFC天线的阻抗会发生变化这一现象实现。具体的,在NFCC中设置阻抗检测模块,阻抗检测模块的检测过程包括两个阶段,如图2所示,第一个阶段是轮询阶段(Polling Phase),在这一阶段中阻抗检测模块通过NFCC的第一输出端TXP和第二输出端TXN输出轮询信号,第二个阶段是监听 阶段(Listening Phase),在这一阶段中阻抗检测模块检测第一输出端TXP和第二输出端TXN之间的阻抗变化,阻抗变化程度超过阈值时判断检测到目标设备。在轮询阶段,阻抗检测模块发出轮询信号的持续时间为几十微秒,轮询信号由NFC-ACM、NFC-A、NFC-B、NFC-F和NFC-V这五种类型构成,实际使用时采用哪几种类型的轮询信号可以自主选择,选择的轮询信号类型越多,轮询信号的持续时间就越长,能检测到的NFC目标设备类型越多。例如在图2中选择了NFC-A、NFC-B、NFC-F三种类型的轮询信号,如果选择更多类型的轮询信号,轮询信号的持续时间将更长,轮询信号的持续时间越长,NFCC在检测过程中所需要的平均电流就越多,所消耗的电能也就越多,NFC设备的功耗越大。Current target device detection is based on the phenomenon that the impedance of the NFC antenna changes when the target device approaches. Specifically, an impedance detection module is set in the NFCC, and the detection process of the impedance detection module includes two stages, as shown in Figure 2, the first stage is the polling phase (Polling Phase), in which the impedance detection module passes the The first output terminal TXP and the second output terminal TXN of the NFCC output polling signals, and the second phase is the listening phase, in which the impedance detection module detects the first output terminal TXP and the second output terminal TXN. The impedance change between the two, when the degree of impedance change exceeds the threshold, it is judged that the target device is detected. In the polling stage, the duration of the polling signal sent by the impedance detection module is tens of microseconds. The polling signal is composed of five types: NFC-ACM, NFC-A, NFC-B, NFC-F and NFC-V. Which types of polling signals are used in actual use can be independently selected. The more types of polling signals are selected, the longer the duration of the polling signals and the more types of NFC target devices that can be detected. For example, three types of polling signals, NFC-A, NFC-B, and NFC-F, are selected in Figure 2. If more types of polling signals are selected, the duration of the polling signal will be longer, and the duration of the polling signal will be longer. The longer the duration is, the more average current the NFCC needs in the detection process, the more power it consumes, and the greater the power consumption of the NFC device.
为此,本申请提出一种NFC设备,能够通过相对较小的功耗实现NFC设备对目标设备的检测。To this end, the present application proposes an NFC device, which can realize the detection of a target device by the NFC device through relatively small power consumption.
发明人发现,当其他NFC设备靠近NFC设备中的NFC天线时,NFC天线的电容会增加,基于这一现象,本申请实施例中NFC设备通过检测NFC天线电容变化来实现目标设备的检测。具体的,在NFC设备中设置用于检测NFC天线电容变化量的自电容检测模块,自电容检测模块的电容检测端连接NFC天线的正相端或者反相端。The inventor found that when other NFC devices are close to the NFC antenna in the NFC device, the capacitance of the NFC antenna will increase. Based on this phenomenon, the NFC device in the embodiment of the present application detects the target device by detecting the change in the capacitance of the NFC antenna. Specifically, a self-capacitance detection module for detecting the capacitance change of the NFC antenna is provided in the NFC device, and the capacitance detection end of the self-capacitance detection module is connected to the positive-phase terminal or the reverse-phase terminal of the NFC antenna.
以下通过实施例对本申请NFC设备的实现进行示例性说明。The implementation of the NFC device of the present application will be exemplarily described below through embodiments.
图3为本申请NFC设备一个实施例的结构示意图,如图3所示,该NFC设备包括:NFC天线21、自电容检测模块22、NFCC23、匹配模块24、滤波模块25。FIG. 3 is a schematic structural diagram of an embodiment of the NFC device of the present application. As shown in FIG. 3 , the NFC device includes: an NFC antenna 21 , a self-capacitance detection module 22 , an NFCC 23 , a matching module 24 , and a filtering module 25 .
NFCC23的第一输出端TXP和第二输出端TXN分别对应连接滤波模块25的第一端P251和第二端P252,滤波模块25的第三端P253和第四端P254对应连接匹配模块24的第一端P241和第二端P242,匹配模块24的第三端P243连接NFC天线21的正相端N1,匹配模块24的第四端P244连接NFC天线21的反相端N2;The first output terminal TXP and the second output terminal TXN of the NFCC23 are respectively connected to the first terminal P251 and the second terminal P252 of the filtering module 25 respectively, and the third terminal P253 and the fourth terminal P254 of the filtering module 25 are correspondingly connected to the first terminal P251 and the fourth terminal P254 of the matching module 24. One end P241 and the second end P242, the third end P243 of the matching module 24 is connected to the non-inverting end N1 of the NFC antenna 21, and the fourth end P244 of the matching module 24 is connected to the inverting end N2 of the NFC antenna 21;
NFCC23中的数据交互模块211的第一端依次通过NFCC23的第一接收端RXP、以及第一数据接收支路连接NFC天线21的正相端 N1,数据交互模块211的第二端依次通过NFCC23的第二接收端RXN、第二数据接收支路27连接NFC天线21的反相端N2。The first end of the data exchange module 211 in the NFCC23 is connected to the non-inverting end N1 of the NFC antenna 21 through the first receiving end RXP of the NFCC23 and the first data receiving branch in sequence, and the second end of the data exchange module 211 passes through the NFCC23 in turn. The second receiving end RXN and the second data receiving branch 27 are connected to the inverting end N2 of the NFC antenna 21 .
在图3中,自电容检测模块22的电容检测端P1直接连接NFC天线21的正相端N1,进行NFC天线21中电容变化量的检测。In FIG. 3 , the capacitance detection terminal P1 of the self-capacitance detection module 22 is directly connected to the non-inverting terminal N1 of the NFC antenna 21 to detect the capacitance change in the NFC antenna 21 .
区别于图3所示的NFC设备中自电容检测模块22的电容检测端P1直接连接NFC天线21的正相端N1,在本申请提供的另一种NFC设备的实施例中,自电容检测模块22的电容检测端P1可以直接连接NFC天线21的反相端N2,此时,NFC设备的结构可以参考图3所示NFC设备,区别仅在于将自电容检测模块22的电容检测端P1直接连接至NFC天线的反相端N2。Different from the capacitance detection terminal P1 of the self-capacitance detection module 22 in the NFC device shown in FIG. 3 is directly connected to the non-inverting terminal N1 of the NFC antenna 21, in another embodiment of the NFC device provided in this application, the self-capacitance detection module The capacitance detection terminal P1 of 22 can be directly connected to the inverting terminal N2 of the NFC antenna 21. At this time, the structure of the NFC device can refer to the NFC device shown in FIG. 3, the difference is only that the capacitance detection terminal P1 of the self-capacitance detection module 22 is directly connected. to the inverting terminal N2 of the NFC antenna.
区别于图3所示的NFC设备中自电容检测模块22的电容检测端P1直接连接NFC天线21的正相端N1,在本申请提供的另一种NFC设备的实施例中,自电容检测模块22的电容检测端P1通过匹配模块24连接至NFC天线21的正相端N1或者反相端N2。具体的,自电容检测模块22的电容检测端P1可以连接至匹配模块24的第一端P241、或者第二端P242。此时,NFC设备的结构可以参考图3所示NFC设备,区别仅在于将自电容检测模块22的电容检测端P1直接连接至匹配模块24的第一端P241、或者第二端P242。Different from the capacitance detection terminal P1 of the self-capacitance detection module 22 in the NFC device shown in FIG. 3 is directly connected to the non-inverting terminal N1 of the NFC antenna 21, in another embodiment of the NFC device provided in this application, the self-capacitance detection module The capacitance detection terminal P1 of 22 is connected to the normal phase terminal N1 or the reverse phase terminal N2 of the NFC antenna 21 through the matching module 24 . Specifically, the capacitance detection terminal P1 of the self-capacitance detection module 22 may be connected to the first terminal P241 or the second terminal P242 of the matching module 24 . At this time, the structure of the NFC device can refer to the NFC device shown in FIG.
上述实施例的NFC设备中,以自电容检测模块22位于NFCC外部为例,在本申请提供的另一种NFC设备的实施例中,上述实施例中的自电容检测模块22可以位于NFCC23中,此时,自电容检测模块22的电容检测端P1可以连接至NFCC23的一个管脚,该管脚连接至NFC天线21的正相端N1、或者连接至NFC天线的反相端N2、或者连接至匹配模块24的第一端P241、或者连接至匹配模块24的第二端P242。In the NFC device in the above embodiment, the self-capacitance detection module 22 is located outside the NFCC as an example. In another embodiment of the NFC device provided in this application, the self-capacitance detection module 22 in the above embodiment may be located in the NFCC 23, At this time, the capacitance detection terminal P1 of the self-capacitance detection module 22 can be connected to a pin of the NFCC 23, which is connected to the non-inverting terminal N1 of the NFC antenna 21, or to the inverting terminal N2 of the NFC antenna, or to The first end P241 of the matching module 24 is connected to the second end P242 of the matching module 24 .
区别于图3所示的NFC设备中自电容检测模块22的电容检测端P1直接连接NFC天线21的正相端N1,在本申请提供的另一种NFC设备的实施例中,参见图4所示,自电容检测模块22的电容检测端P1通过第一数据接收支路26连接至NFC天线21的正相端N1, 且自电容检测模块22位于NFCC23外部,具体的,自电容检测模块22的电容检测端P1连接第一数据接收支路26的第一端,第一端是第一数据接收支路26与NFCC23的第一数据接收端RXP连接的一端。Different from the capacitance detection terminal P1 of the self-capacitance detection module 22 in the NFC device shown in FIG. 3 is directly connected to the non-inverting terminal N1 of the NFC antenna 21 , in another embodiment of the NFC device provided in this application, see FIG. 4 . It is shown that the capacitance detection terminal P1 of the self-capacitance detection module 22 is connected to the non-inverting terminal N1 of the NFC antenna 21 through the first data receiving branch 26, and the self-capacitance detection module 22 is located outside the NFCC 23. The capacitance detection end P1 is connected to the first end of the first data receiving branch 26 , and the first end is the end where the first data receiving branch 26 is connected to the first data receiving end RXP of the NFCC 23 .
在本申请提供的另一种NFC设备的实施例中,自电容检测模块22的电容检测端P1通过第二数据接收支路27连接至NFC天线21的反相端N2,且自电容检测模块22位于NFCC23外部。此时,NFC设备的结构可以参考图4所示NFC设备,区别仅在于将自电容检测模块22的电容检测端P1连接至第二数据接收支路27的第一端,第一端是第一数据接收支路26与NFCC23的第二数据接收端RXN连接的一端。In another embodiment of the NFC device provided in this application, the capacitance detection terminal P1 of the self-capacitance detection module 22 is connected to the inverting terminal N2 of the NFC antenna 21 through the second data receiving branch 27, and the self-capacitance detection module 22 Located outside the NFCC23. At this time, the structure of the NFC device can refer to the NFC device shown in FIG. 4 , the difference is only that the capacitance detection end P1 of the self-capacitance detection module 22 is connected to the first end of the second data receiving branch 27 , and the first end is the first end of the second data receiving branch 27 . The data receiving branch 26 is connected to one end of the second data receiving end RXN of the NFCC 23 .
区别于图4所示的NFC设备中自电容检测模块22位于NFCC23外部,在本申请提供的另一种NFC设备的实施例中,参见图5所示,自电容检测模块22可以位于NFCC23中,电容检测端P1连接NFCC23的第一接收端RXP。Different from the self-capacitance detection module 22 in the NFC device shown in FIG. 4 is located outside the NFCC23, in another embodiment of the NFC device provided by the present application, as shown in FIG. 5, the self-capacitance detection module 22 may be located in the NFCC23, The capacitance detection terminal P1 is connected to the first receiving terminal RXP of the NFCC23.
区别于图5所示的NFC设备中电容检测端P1连接NFCC23的第一接收端RXP,在本申请提供的另一种NFC设备的实施例中,自电容检测模块22位于NFCC23中,且电容检测端P1连接NFCC23的第二接收端RXN,此时,NFC设备结构可以参考图5所示NFC设备,区别仅在于电容检测端P1连接至NFCC23的第二接收端RXN。Different from the capacitance detection terminal P1 in the NFC device shown in FIG. 5 is connected to the first receiving terminal RXP of the NFCC23, in another embodiment of the NFC device provided in this application, the self-capacitance detection module 22 is located in the NFCC23, and the capacitance detection module 22 is located in the NFCC23. The terminal P1 is connected to the second receiving terminal RXN of the NFCC23. At this time, the NFC device structure can refer to the NFC device shown in FIG. 5, the difference is only that the capacitance detection terminal P1 is connected to the second receiving terminal RXN of the NFCC23.
对于上述实施例中的NFC设备,自电容检测模块22在检测到NFC天线21的电容发生变化,也即检测到目标设备后,NFCC23中的数据交互模块211可以通过NFC天线21获取目标设备中的数据,同时关断自电容检测模块22。具体的,可以在自电容检测模块22的电容检测端P1设置开关,用于在需要自电容检测模块22检测目标设备时导通,使得自电容检测模块22工作,并在自电容检测模块22检测到目标设备后关断,使得自电容检测模块22暂停工作,从而降低自电容检测模块22对NFC设备中诸如数据交互模块211等NFC 数据交互所涉及的模块或电路的影响或干扰。For the NFC device in the above embodiment, when the self-capacitance detection module 22 detects that the capacitance of the NFC antenna 21 changes, that is, after detecting the target device, the data interaction module 211 in the NFCC 23 can obtain the data in the target device through the NFC antenna 21 . data, and turn off the self-capacitance detection module 22 at the same time. Specifically, a switch can be set at the capacitance detection terminal P1 of the self-capacitance detection module 22 to be turned on when the self-capacitance detection module 22 needs to detect the target device, so that the self-capacitance detection module 22 works, and the self-capacitance detection module 22 detects After reaching the target device, it is turned off, so that the self-capacitance detection module 22 suspends work, thereby reducing the influence or interference of the self-capacitance detection module 22 on the modules or circuits involved in NFC data interaction such as the data interaction module 211 in the NFC device.
基于类似的理由,为了防止其他模块输出的信号对自电容检测模块22的工作产生影响,也可以为其他模块设置用于控制模块是否工作的开关,在对应的模块需要工作时导通,使得对应模块上电工作,在对应的模块不需要工作时关断,使得对应模块暂停工作。Based on similar reasons, in order to prevent the signals output by other modules from affecting the work of the self-capacitance detection module 22, switches for controlling whether the modules work can also be provided for other modules, which are turned on when the corresponding modules need to work, so that the corresponding modules are turned on. The module is powered on and works, and is turned off when the corresponding module does not need to work, so that the corresponding module suspends work.
以图5所示的NFC设备为例,可以为电容检测模块22和数据交互模块211分别设置控制其是否工作的开关,如图6所示,区别于图5所示的NFC设备,在NFCC23的第一输入端RXP与自电容检测模块22的电容检测端P1之间设置第一开关K1,在NFCC23的第一输入端RXP与数据交互模块211的第一端P1之间设置第二开关K2,在NFCC23的第二输入端RXN与数据交互模块211的第二端P2之间设置第三开关K3;从而,在需要进行目标设备检测时,NFC设备可以控制第一开关K1导通,第二开关K2和第三开关K3关断,从而数据交互模块211暂停工作,自电容检测模块23检测NFC天线21的电容是否发生变化以检测目标设备,一旦自电容检测模块23检测到目标设备,NFC设备可以控制第一开关K1关断,第二开关K2和第三开关K3导通,从而自电容检测模块23暂停工作,数据交互模块211通过NFC天线21读取目标设备中的数据。Taking the NFC device shown in FIG. 5 as an example, the capacitance detection module 22 and the data interaction module 211 can be respectively set with switches to control whether they work, as shown in FIG. 6 , which is different from the NFC device shown in FIG. A first switch K1 is set between the first input terminal RXP and the capacitance detection terminal P1 of the self-capacitance detection module 22 , and a second switch K2 is set between the first input terminal RXP of the NFCC 23 and the first terminal P1 of the data exchange module 211 , A third switch K3 is set between the second input terminal RXN of the NFCC23 and the second terminal P2 of the data interaction module 211; thus, when the target device detection needs to be performed, the NFC device can control the first switch K1 to be turned on and the second switch to be turned on. K2 and the third switch K3 are turned off, so that the data interaction module 211 suspends work, and the self-capacitance detection module 23 detects whether the capacitance of the NFC antenna 21 changes to detect the target device. Once the self-capacitance detection module 23 detects the target device, the NFC device can The first switch K1 is controlled to be turned off, and the second switch K2 and the third switch K3 are turned on, so that the self-capacitance detection module 23 suspends operation, and the data exchange module 211 reads the data in the target device through the NFC antenna 21 .
其中,NFC设备的匹配模块24、滤波模块25等模块中可能设置有电容,因此,对于上述实施例中自电容检测模块22而言,在自电容检测模块22工作时,其电容检测端P1与电源接地端GND之间的等效电路中,往往不仅仅包括NFC天线的电容,还可能包括匹配模块24和滤波模块25中的电容,也即自电容检测模块22的电容检测端P1与电源接地端GND之间的外部电路的等效电容不仅仅是NFC天线的电容,由于在目标设备靠近时,仅有NFC天线的电容发生变化,因此,即便自电容检测模块22检测的是包含NFC天线的电容在内的外部电路的等效电容,仍然能够检测出NFC天线的电容的变化情况。但是,如果匹配模块24、滤波模块25等模块中包括的电容的 电容值相对较大,而目标设备靠近所导致的NFC天线的电容变化量相对较小,那么,匹配模块24、滤波模块25等模块中包括的电容会导致自电容检测模块22针对于NFC天线的电容变化量的检测精度下降,也即NFC设备对于目标设备的检测精度下降。为此,在自电容检测模块22工作时,对于匹配模块24、滤波模块25等模块中存在的一端接地的电容,可以将该电容与电源接地端GND之间的连接断开,从而提高自电容检测模块22的检测精度,但是,NFC设备中还可能存在其他模块需要该电容接地才能正常工作,为此,在本申请提供的另一种NFC设备的实施例中,如果NFC设备的电路中例如匹配模块24、滤波模块25等模块的电路中包括存在接地端的电容,电容的接地端是指电容连接电源接地端GND的一端,那么,可以在该电容的接地端与电源接地端GND之间设置开关,该开关用于在自电容检测模块22工作时关断,从而关断对应电容的接地端与电源接地端GND之间的连接,从而降低NFC电路中电容对自电容检测模块22检测精度的影响,该开关还用于在自电容检测模块22暂停工作、而NFC设备中的其他模块工作时导通,从而导通对应电容与电源接地端GND之间的连接,使得电容的接地端接地,从而保证其他模块的正常工作。Among them, the matching module 24, the filter module 25 and other modules of the NFC device may be provided with capacitors. Therefore, for the self-capacitance detection module 22 in the above embodiment, when the self-capacitance detection module 22 is working, its capacitance detection terminal P1 and The equivalent circuit between the power ground terminals GND often includes not only the capacitance of the NFC antenna, but also the capacitors in the matching module 24 and the filter module 25, that is, the capacitance detection terminal P1 of the self-capacitance detection module 22 and the power supply ground. The equivalent capacitance of the external circuit between the terminals GND is not only the capacitance of the NFC antenna, because only the capacitance of the NFC antenna changes when the target device approaches The equivalent capacitance of the external circuit including the capacitance can still detect the change of the capacitance of the NFC antenna. However, if the capacitance values of the capacitors included in the matching module 24, the filtering module 25 and other modules are relatively large, and the capacitance change of the NFC antenna caused by the proximity of the target device is relatively small, then the matching module 24, the filtering module 25, etc. The capacitance included in the module will cause the detection accuracy of the self-capacitance detection module 22 to decrease with respect to the capacitance variation of the NFC antenna, that is, the detection accuracy of the NFC device with respect to the target device will decrease. For this reason, when the self-capacitance detection module 22 is working, for the capacitors whose one end is grounded in the matching module 24, the filter module 25 and other modules, the connection between the capacitor and the power ground terminal GND can be disconnected, thereby improving the self-capacitance. The detection accuracy of the detection module 22, however, there may be other modules in the NFC device that require the capacitor to be grounded to work properly. For this reason, in another embodiment of the NFC device provided in this application, if the circuit of the NFC device, for example The circuits of the matching module 24, the filter module 25 and other modules include capacitors with ground terminals. The ground terminal of the capacitor refers to the end of the capacitor connected to the power ground terminal GND. Then, it can be set between the ground terminal of the capacitor and the power ground terminal GND. The switch is used to turn off the self-capacitance detection module 22 when it is working, thereby turning off the connection between the ground terminal of the corresponding capacitor and the power supply ground terminal GND, thereby reducing the detection accuracy of the self-capacitance detection module 22 by the capacitance in the NFC circuit. Influence, the switch is also used to conduct when the self-capacitance detection module 22 is suspended and other modules in the NFC device are working, thereby conducting the connection between the corresponding capacitor and the power ground terminal GND, so that the ground terminal of the capacitor is grounded, So as to ensure the normal work of other modules.
基于类似的原因,为了降低NFC设备电路中电容对自电容检测模块检测精度的影响,又保证其他模块的正常工作,还可以设置NFCC23的第一输出端TXP和第二输出端TXN分别通过开关接地,相应的,自电容检测模块22工作时,NFC设备控制第一输出端TXP和第二输出端TXN对应的开关分别关断,在自电容检测模块22暂停工作、其他模块例如数据交互模块211工作时,NFC设备控制第一输出端TXP和第二输出端TXN对应的开关分别导通,以保证其他模块的正常工作。For similar reasons, in order to reduce the influence of the capacitance in the NFC device circuit on the detection accuracy of the self-capacitance detection module and ensure the normal operation of other modules, the first output terminal TXP and the second output terminal TXN of the NFCC23 can also be set to ground through the switch respectively. , Correspondingly, when the self-capacitance detection module 22 is working, the NFC device controls the switches corresponding to the first output terminal TXP and the second output terminal TXN to turn off respectively, and the self-capacitance detection module 22 suspends work, and other modules such as the data interaction module 211 work. When the NFC device controls the switches corresponding to the first output terminal TXP and the second output terminal TXN to be turned on respectively, so as to ensure the normal operation of other modules.
以下通过具体实例对上述实施例的实现原理进行举例说明:The implementation principle of the above-mentioned embodiment is illustrated below through specific examples:
参见图7,基于图6所示实施例给出了匹配模块24、滤波模块 25、第一数据接收支路26以及第二数据接收支路27一种可能的电路实现结构,并且,为了便于说明,给出了NFC天线21的等效电路结构。Referring to FIG. 7 , a possible circuit implementation structure of the matching module 24 , the filtering module 25 , the first data receiving branch 26 and the second data receiving branch 27 is given based on the embodiment shown in FIG. 6 , and for the convenience of description , the equivalent circuit structure of the NFC antenna 21 is given.
匹配模块24由对称电路结构实现,具体的,匹配模块24的第一端P241通过第一电容C1连接第三端P243,第三端P243通过第二电容C2接地,第二端P242通过第三电容C3连接第四端P244,第四端P244还通过第四电容C4接地,其中的第二电容C2和第四电容C4均具有接地端,也即一端连接电源接地端GND。The matching module 24 is implemented by a symmetrical circuit structure. Specifically, the first terminal P241 of the matching module 24 is connected to the third terminal P243 through the first capacitor C1, the third terminal P243 is grounded through the second capacitor C2, and the second terminal P242 is connected through the third capacitor. C3 is connected to the fourth terminal P244, and the fourth terminal P244 is also grounded through a fourth capacitor C4, wherein the second capacitor C2 and the fourth capacitor C4 both have ground terminals, that is, one terminal is connected to the power supply ground terminal GND.
滤波模块25由对称电路结构实现,第一端P251通过第一电感L1连接第三端P253,第三端P253还通过第五电容C5接地,第二端P252通过第二电感L2连接第四端P254,第四端P254还通过第六电容C6接地;第五电容C5和第六电容C6均具有接地端。The filter module 25 is realized by a symmetrical circuit structure. The first end P251 is connected to the third end P253 through the first inductor L1, the third end P253 is also grounded through the fifth capacitor C5, and the second end P252 is connected to the fourth end P254 through the second inductor L2. , the fourth terminal P254 is also grounded through the sixth capacitor C6; the fifth capacitor C5 and the sixth capacitor C6 both have ground terminals.
第一数据接收支路26包括串联的第一电阻R1和第七电容C7,第二数据接收支路27包括串联的第二电阻R2和第八电容C8。The first data receiving branch 26 includes a first resistor R1 and a seventh capacitor C7 connected in series, and the second data receiving branch 27 includes a second resistor R2 and an eighth capacitor C8 connected in series.
NFC天线21的等效电路结构包括:NFC天线21的正相端N1通过第一寄生电容Ca1接地,反相端N2通过第二寄生电容Ca2接地,正相端N1还通过线圈电阻Ra、第一线圈电感La1和第二线圈电感La2连接反相端N2,电容△C为目标设备靠近时,NFC天线的电容变化量。The equivalent circuit structure of the NFC antenna 21 includes: the non-inverting terminal N1 of the NFC antenna 21 is grounded through the first parasitic capacitance Ca1, the inverting terminal N2 is grounded through the second parasitic capacitance Ca2, and the non-inverting terminal N1 is also grounded through the coil resistance Ra, the first parasitic capacitance Ca2, and the The coil inductance La1 and the second coil inductance La2 are connected to the inverting terminal N2, and the capacitance ΔC is the capacitance change of the NFC antenna when the target device approaches.
自电容检测模块22在进行电容检测时,可以由电容检测端P1向外部电路输出驱动信号,之后,根据电容检测端P1检测到的信号来判断电容检测端P1与电源接地端GND之间的外部电路的等效电容的变化量。一般的,自电容检测模块的检测频率在10kHZ~2MHZ之间,此时,自电容检测模块22向NFC天线输出驱动信号时,NFC天线的阻抗接近于0,也即Ra接近为0,可以认为自电容检测模块工作时,NFC天线的线圈就是一根导线,也即线圈电阻Ra、第一线圈电感La1和第二线圈电感La2等效为一根导线;此时,如果图7所示电路中第一开关K1闭合,第二开关K2和第三开关K3断开,则等效电路如图8所示,其中,只有电容△C会在目标设备接近NFC 天线时发生变化,从而自电容检测模块22通过检测自电容检测模块22的电容检测端P1与电源接地端GND之间的外部电路的等效电容的变化量,可以实现目标设备的检测,在图7中,该外部电路也即是NFCC23的第一接收端RXP与电源接地端GND之间的外部电路,参见图8,外部电路的等效电容是第二电容C2、串联的第一电容C1和第五电容C5、第一寄生电容Ca1、以及电容△C这4条支路的并联电容。When the self-capacitance detection module 22 performs capacitance detection, the capacitance detection terminal P1 can output a driving signal to the external circuit, and then, according to the signal detected by the capacitance detection terminal P1, it can determine the external circuit between the capacitance detection terminal P1 and the power ground terminal GND. The amount of change in the equivalent capacitance of a circuit. Generally, the detection frequency of the self-capacitance detection module is between 10kHZ and 2MHZ. At this time, when the self-capacitance detection module 22 outputs a driving signal to the NFC antenna, the impedance of the NFC antenna is close to 0, that is, Ra is close to 0. It can be considered that When the self-capacitance detection module works, the coil of the NFC antenna is a wire, that is, the coil resistance Ra, the first coil inductance La1 and the second coil inductance La2 are equivalent to one wire; at this time, if the circuit shown in Figure 7 The first switch K1 is closed, the second switch K2 and the third switch K3 are open, and the equivalent circuit is shown in Figure 8, in which only the capacitance ΔC will change when the target device is close to the NFC antenna, so the self-capacitance detection module 22 By detecting the change in the equivalent capacitance of the external circuit between the capacitance detection terminal P1 of the self-capacitance detection module 22 and the power ground terminal GND, the detection of the target device can be realized. In FIG. 7, the external circuit is also the NFCC23 The external circuit between the first receiving terminal RXP and the power supply ground terminal GND, see Figure 8, the equivalent capacitance of the external circuit is the second capacitor C2, the first capacitor C1 and the fifth capacitor C5 connected in series, and the first parasitic capacitor Ca1 , and the parallel capacitance of the four branches of the capacitance ΔC.
另外,在图8中,第七电容C7一般是隔直电容,且电容值一般远远大于第一电容C1~第六电容C6的电容值,从而对自电容检测模块22的电容检测影响很小,但是,串联的第一电容C1和第五电容C5、第二电容C2会对自电容检测模块22的电容检测产生影响,具体的,这2个支路并联后的等效电容假设为Ce1,那么等效电容Ce1与第一寄生电容Ca1以及电容△C并联,会使得自电容检测模块22检测到的电容值变小,也即检测到的电容值的变化量变小,影响自电容检测模块22的检测精度。In addition, in FIG. 8 , the seventh capacitor C7 is generally a DC blocking capacitor, and the capacitance value is generally much larger than the capacitance values of the first capacitor C1 to the sixth capacitor C6, so that the capacitance detection of the self-capacitance detection module 22 has little influence , however, the first capacitor C1, the fifth capacitor C5, and the second capacitor C2 connected in series will affect the capacitance detection of the self-capacitance detection module 22. Specifically, the equivalent capacitance of these two branches in parallel is assumed to be Ce1, Then the equivalent capacitance Ce1 is connected in parallel with the first parasitic capacitance Ca1 and the capacitance ΔC, so that the capacitance value detected by the self-capacitance detection module 22 becomes smaller, that is, the change in the detected capacitance value becomes smaller, which affects the self-capacitance detection module 22 . detection accuracy.
为此,区别于图7所示NFC设备,在图9所示的NFC设备中设置第四开关K4,通过第四开关K4的开关状态,控制第二电容C2、第四电容C4、第五电容C5、第六电容C6的接地端是否接地。具体的,在自电容检测模块22工作时,可以控制第四开关K4关断,此时,图9所示NFC设备的等效电路如图10所示,相对于图8所示的等效电路,第一电容C1、第二电容C2以及第五电容C5不会对自电容检测模块22检测到的电容变化量产生影响,提高自电容检测模块22的检测精度。Therefore, different from the NFC device shown in FIG. 7 , a fourth switch K4 is set in the NFC device shown in FIG. 9 , and the second capacitor C2 , the fourth capacitor C4 , and the fifth capacitor are controlled by the switch state of the fourth switch K4 C5, whether the ground terminal of the sixth capacitor C6 is grounded. Specifically, when the self-capacitance detection module 22 is working, the fourth switch K4 can be controlled to be turned off. At this time, the equivalent circuit of the NFC device shown in FIG. 9 is shown in FIG. 10 , compared to the equivalent circuit shown in FIG. 8 . , the first capacitor C1 , the second capacitor C2 and the fifth capacitor C5 will not affect the capacitance variation detected by the self-capacitance detection module 22 , thereby improving the detection accuracy of the self-capacitance detection module 22 .
在保证自电容检测模块22检测精度的同时,在自电容检测模块22不需要工作,而其他模块工作时,例如自电容检测模块22检测到目标设备后数据交互模块211开始工作时,可以将第四开关K4导通,以保证数据交互模块211的正常工作。While ensuring the detection accuracy of the self-capacitance detection module 22, when the self-capacitance detection module 22 does not need to work and other modules work, for example, when the data exchange module 211 starts to work after the self-capacitance detection module 22 detects the target device, the first The four switches K4 are turned on to ensure the normal operation of the data interaction module 211 .
基于类似的原因,为了降低NFC设备电路中电容对自电容检测模块22检测精度的影响,又保证其他模块的正常工作,参见图11所 示,也可以设置NFCC23的第一输出端TXP和第二输出端TXN分别通过第五开关K5和第六开关K6接地,相应的,自电容检测模块22工作时,第五开关K5和第六开关K6关断,自电容检测模块22暂停工作时,第五开关K5和第六开关K6导通。可选地,参见图11所示,第四开关K4接地的支路也可以设置于NFCC内部,以便于进行第四开关K4的控制。需要说明的是,第四开关K4、第五开关K5、第六开关K6在自电容检测模块22工作时是否导通或者关断,与NFC设备的实际电路结构相关,以减少电容△C的并联电容为原则。举例来说,对于图9和图11所示的NFC设备,在自电容检测模块22工作时,第四开关K4、第五开关K5、第六开关K6如果断开,对自电容检测模块的检测精度影响最小,但是第四开关K4、第五开关K5、第六开关K6导通时,自电容检测模块仍然能够实现电容检测。但是,例如NFC设备如图12所示,自电容检测模块22的电容检测端通过第一数据接收支路26连接匹配电路24的第一端P241,进而再通过匹配电路连接NFC天线21的正相端N1,此时,图12的等效电路如图13所示,其中的第四开关K4、第五开关K5、第六开关K6关断时,电路中电容对自电容检测模块的检测精度影响最小,需要说明的是,第五开关K5必须关断,以保证自电容检测模块能够实现对于NFC天线的电容检测。For similar reasons, in order to reduce the influence of the capacitance in the NFC device circuit on the detection accuracy of the self-capacitance detection module 22 and ensure the normal operation of other modules, as shown in FIG. 11, the first output terminal TXP and the second output terminal of the NFCC23 can also be set. The output terminal TXN is grounded through the fifth switch K5 and the sixth switch K6 respectively. Correspondingly, when the self-capacitance detection module 22 is working, the fifth switch K5 and the sixth switch K6 are turned off, and when the self-capacitance detection module 22 is suspended, the fifth switch K5 and the sixth switch K6 are turned off. The switch K5 and the sixth switch K6 are turned on. Optionally, as shown in FIG. 11 , the grounded branch of the fourth switch K4 may also be set inside the NFCC, so as to facilitate the control of the fourth switch K4. It should be noted that whether the fourth switch K4, the fifth switch K5, and the sixth switch K6 are turned on or off when the self-capacitance detection module 22 is working is related to the actual circuit structure of the NFC device, so as to reduce the parallel connection of the capacitance ΔC. Capacitance is the principle. For example, for the NFC device shown in FIG. 9 and FIG. 11, when the self-capacitance detection module 22 is working, if the fourth switch K4, the fifth switch K5, and the sixth switch K6 are disconnected, the detection of the self-capacitance detection module The accuracy has the smallest impact, but when the fourth switch K4, the fifth switch K5, and the sixth switch K6 are turned on, the self-capacitance detection module can still implement capacitance detection. However, for example, in the NFC device as shown in FIG. 12 , the capacitance detection end of the self-capacitance detection module 22 is connected to the first end P241 of the matching circuit 24 through the first data receiving branch 26 , and then connected to the positive phase of the NFC antenna 21 through the matching circuit. Terminal N1, at this time, the equivalent circuit of Figure 12 is shown in Figure 13. When the fourth switch K4, the fifth switch K5, and the sixth switch K6 are turned off, the capacitance in the circuit affects the detection accuracy of the self-capacitance detection module The minimum, it should be noted that the fifth switch K5 must be turned off to ensure that the self-capacitance detection module can realize the capacitance detection of the NFC antenna.
可选地,上述实施例中自电容检测模块23可以通过例如图14所示的自电容检测电路实现,该电路结构包括:Optionally, the self-capacitance detection module 23 in the above embodiment can be implemented by, for example, the self-capacitance detection circuit shown in FIG. 14 , and the circuit structure includes:
自电容检测模块22的电容检测端P1通过第七开关K7连接电源电压端VCC,通过第八开关K8接地,通过第九开关K9连接差分放大器A1的正相输入端,通过第十开关K10连接第九电容C9的第一端,第九电容C9的第二端接地;The capacitance detection terminal P1 of the self-capacitance detection module 22 is connected to the power supply voltage terminal VCC through the seventh switch K7, grounded through the eighth switch K8, connected to the non-inverting input terminal of the differential amplifier A1 through the ninth switch K9, and connected through the tenth switch K10. The first end of the nine capacitors C9, the second end of the ninth capacitor C9 is grounded;
第九电容C9的第一端还通过第十一开关K11连接电源电压端VCC,通过第十二开关K12接地;The first end of the ninth capacitor C9 is also connected to the power supply voltage terminal VCC through the eleventh switch K11, and is grounded through the twelfth switch K12;
差分放大器A1的反相输入端连接共模电压端VCM,第一输出 端和第二输出端用于输出检测到的电压,检测到的电压与NFC天线的电容正相关。The inverting input terminal of the differential amplifier A1 is connected to the common mode voltage terminal VCM, the first output terminal and the second output terminal are used for outputting the detected voltage, and the detected voltage is positively related to the capacitance of the NFC antenna.
差分放大器A1的正相输入端还通过并联的第三电阻R3和第十电容C10连接差分放大器A1的第一输出端,反相输入端通过并联的第四电阻R4和第十一电容C11连接差分放大器A1的第二输出端。The non-inverting input terminal of the differential amplifier A1 is also connected to the first output terminal of the differential amplifier A1 through the parallel third resistor R3 and the tenth capacitor C10, and the inverting input terminal is connected to the differential amplifier A1 through the parallel fourth resistor R4 and the eleventh capacitor C11. The second output of amplifier A1.
可选地,差分放大器A1的正相输入端还可以仅通过第三电阻R3或者第十电容C10连接差分放大器A1的第一输出端;差分放大器A1的反相输入端还可以仅通过第四电阻R4或者第十一电容C11连接差分放大器A1的第二输出端。Optionally, the non-inverting input terminal of the differential amplifier A1 can also be connected to the first output terminal of the differential amplifier A1 only through the third resistor R3 or the tenth capacitor C10; the inverting input terminal of the differential amplifier A1 can also only pass through the fourth resistor. R4 or the eleventh capacitor C11 is connected to the second output terminal of the differential amplifier A1.
图14所示自电容检测电路是一种电荷转移的自容检测方案。该电路中的第九电容C9的电容值可以等于无目标设备接近时电容检测端P1与电源接地端之间的外部电路的等效电容,例如图10中外部电路的等效电容是第一寄生电容Ca1,该电路中的共模电压端VCM的电压可以为Vcc/2。The self-capacitance detection circuit shown in Figure 14 is a self-capacitance detection scheme for charge transfer. The capacitance value of the ninth capacitor C9 in this circuit may be equal to the equivalent capacitance of the external circuit between the capacitance detection terminal P1 and the power ground terminal when no target device is approaching. For example, the equivalent capacitance of the external circuit in FIG. 10 is the first parasitic Capacitor Ca1, the voltage of the common mode voltage terminal VCM in this circuit can be Vcc/2.
图15是图14所示自电容检测电路的工作时序图,该工作时序图中以控制信号为高电平时控制开关导通、控制信号为低电平时控制开关关断为例。如图15所示,该电路的每一个工作周期Tcds一共可以分为六个时间段:在T1时间段,仅第七开关K7和第十二开关K12导通,其他开关关断,此时,电源电压端VCC通过第八开关K8给自电容检测模块22的外部电路的电容(以下简称为外部电容)充电,电容检测端P1的电压升高至电源电压,同时,第九电容C9两端接地,第九电容C9放电,图14中N3点的电压为0,差分放大器A1的正相输入端无信号,输出电压VOUT为0;在T2时间段,仅第十开关K10导通,外部电容和第九电容C9并联,两者电荷相互转移,若外部无目标设备靠近NFC天线,由于外部电容和第九电容的电容值相同,第九电容C9的电压为Vcc/2,差分放大器A1的正相输入端无信号,输出电压VOUT为0;在T3时间段,仅第九开关K9和第十开关K10导通,如果没有目标设备靠近NFC天线,外部电容的电容值无变化,第九电容C9的电压仍为Vcc/2,从而差分放大器A1的 正相输入端的电压为Vcc/2,等于反相输入端连接的共模电压端VCM的电压,差分放大器A1的输出电压VOUT仍为0(图15中虚线所示),如果有目标设备靠近NFC天线,NFC天线产生电容变化,会有Q1=△C*(Vcc/2)的电荷量转移到差分放大器A1的正相输入端,差分放大器A1的输出电压VOUT产生一个最高电压为U1的波形;在T4时间段,仅第八开关K8和第十一开关K11导通,电源电压端VCC通过第十一开关K11给第九电容C9充电,N3点电压升高至电源电压,外部电容通过第八开关K8放电,电容检测端P1的电压为0,由于第九开关K9断开,差分放大器A1的正相输入端无信号,输出电压VOUT为0;在T5时间段,仅第十开关K10导通,将外部电容和第九电容C9并联,两者电荷相互转移,若无目标设备靠近NFC天线,外部电容和第九电容的电容值相同,此时第九电容的电容电压为Vcc/2,;在T6时间段,仅第九开关K9和第十开关K10导通,如果没有目标设备靠近NFC天线,外部电容的电容值无变化,第九电容C9的电容电压仍为Vcc/2,从而差分放大器A1的正相输入端的电压为Vcc/2,等于反相输入端连接的共模电压端VCM的电压,差分放大器A1的输出电压VOUT仍为0(图15中虚线所示),如果有目标设备靠近NFC天线,NFC天线产生电容变化,会有Q2=-△C*1/2Vcc的电荷量转移到差分放大器A1的正相输入端,差分放大器A1的输出电压VOUT产生一个最低电压为-U1的波形。通过对差分放大器A1的输出电压VOUT进行解调,基于解调后的信息即可检测到外部电容的变化量△C,从而获知是否检测到目标设备。FIG. 15 is an operation timing diagram of the self-capacitance detection circuit shown in FIG. 14 . In the operation timing diagram, the control switch is turned on when the control signal is at a high level, and the switch is controlled to be turned off when the control signal is at a low level. As shown in Figure 15, each working cycle Tcds of the circuit can be divided into six time periods: in the T1 time period, only the seventh switch K7 and the twelfth switch K12 are turned on, and the other switches are turned off. At this time, The power supply voltage terminal VCC charges the capacitor of the external circuit of the self-capacitance detection module 22 (hereinafter referred to as the external capacitor) through the eighth switch K8, the voltage of the capacitance detection terminal P1 rises to the power supply voltage, and at the same time, both ends of the ninth capacitor C9 are grounded , the ninth capacitor C9 is discharged, the voltage at point N3 in Figure 14 is 0, the non-inverting input terminal of the differential amplifier A1 has no signal, and the output voltage VOUT is 0; in the T2 time period, only the tenth switch K10 is turned on, and the external capacitor and The ninth capacitor C9 is connected in parallel, and the charges of the two are transferred to each other. If the external non-target device is close to the NFC antenna, since the capacitance values of the external capacitor and the ninth capacitor are the same, the voltage of the ninth capacitor C9 is Vcc/2, and the positive phase of the differential amplifier A1 There is no signal at the input terminal, and the output voltage VOUT is 0; in the T3 time period, only the ninth switch K9 and the tenth switch K10 are turned on. If there is no target device close to the NFC antenna, the capacitance value of the external capacitor does not change, and the ninth capacitor C9 The voltage is still Vcc/2, so the voltage of the non-inverting input terminal of the differential amplifier A1 is Vcc/2, which is equal to the voltage of the common-mode voltage terminal VCM connected to the inverting input terminal, and the output voltage VOUT of the differential amplifier A1 is still 0 (Figure 15 The dotted line in the middle), if there is a target device close to the NFC antenna, the NFC antenna will have a capacitance change, and the charge of Q1=△C*(Vcc/2) will be transferred to the non-inverting input of the differential amplifier A1. The output voltage VOUT generates a waveform with the highest voltage U1; in the T4 time period, only the eighth switch K8 and the eleventh switch K11 are turned on, and the power supply voltage terminal VCC charges the ninth capacitor C9 through the eleventh switch K11, and the N3 point When the voltage rises to the power supply voltage, the external capacitor is discharged through the eighth switch K8, and the voltage of the capacitor detection terminal P1 is 0. Since the ninth switch K9 is disconnected, the non-inverting input terminal of the differential amplifier A1 has no signal, and the output voltage VOUT is 0; During the T5 time period, only the tenth switch K10 is turned on, the external capacitor and the ninth capacitor C9 are connected in parallel, and the charges of the two are transferred to each other. If no target device is close to the NFC antenna, the capacitance values of the external capacitor and the ninth capacitor are the same. The capacitor voltage of the ninth capacitor is Vcc/2; in the T6 time period, only the ninth switch K9 and the tenth switch K10 are turned on. If no target device is close to the NFC antenna, the capacitance value of the external capacitor does not change, and the ninth capacitor C9 The voltage of the capacitor is still Vcc/2, so the voltage of the non-inverting input terminal of the differential amplifier A1 is Vcc/2, which is equal to the voltage of the common-mode voltage terminal VCM connected to the inverting input terminal, and the output voltage VOUT of the differential amplifier A1 is still 0 ( The dotted line in Figure 15), if there is a target device close to the NFC antenna, the capacitance of the NFC antenna will change, and the charge of Q2=-△C*1/2Vcc will be transferred to the non-inverting input of the differential amplifier A1, and the differential The output voltage VOUT of amplifier A1 produces a waveform with a minimum voltage of -U1. By demodulating the output voltage VOUT of the differential amplifier A1, the change amount ΔC of the external capacitance can be detected based on the demodulated information, so as to know whether the target device is detected.
上述实施例中的自电容检测模块22的输出端可以输出基于检测到的NFC天线的电容变化量生成的第一信号,例如自电容检测模块22通过图14所示的自电容检测电路实现时,自电容检测模块22生成的第一信号是电压信号VOUT。The output end of the self-capacitance detection module 22 in the above embodiment can output the first signal generated based on the detected capacitance change of the NFC antenna. For example, when the self-capacitance detection module 22 is implemented by the self-capacitance detection circuit shown in FIG. 14 , The first signal generated from the capacitance detection module 22 is the voltage signal VOUT.
在本申请提供的另一种NFC设备的实施例中,上述实施例的NFC设备还可以包括:判断模块,判断模块的输入端可以与自电容检测模块22的输出端连接,判断模块用于接收自电容检测模块22输 出的第一信号,判断第一信号的幅值是否超过预设阈值,如果是,判断有目标设备靠近所述NFC天线,否则,判断没有目标设备靠近所述NFC天线。上述预设阈值的具体取值本申请实施例不作限定,与自电容检测模块22生成的第一信号有关。判断模块可以设置于NFCC23外部,也可以设置于NFCC23中。参见图16所示,以图12所示NFC设备增加判断模块28为例,且判断模块28位于NFCC中。In another embodiment of the NFC device provided in this application, the NFC device in the above embodiment may further include: a judgment module, the input end of the judgment module can be connected with the output end of the self-capacitance detection module 22, and the judgment module is used for receiving From the first signal output by the capacitance detection module 22, it is judged whether the amplitude of the first signal exceeds a preset threshold, and if so, it is judged that a target device is close to the NFC antenna, otherwise, it is judged that no target device is close to the NFC antenna. The specific value of the above-mentioned preset threshold is not limited in the embodiment of the present application, and is related to the first signal generated by the self-capacitance detection module 22 . The judgment module can be set outside the NFCC23, or can be set in the NFCC23. Referring to FIG. 16 , taking the addition of the judgment module 28 to the NFC device shown in FIG. 12 as an example, the judgment module 28 is located in the NFCC.
目前,NFC设备通过检测NFC天线阻抗的方式检测目标设备,在发送轮询信号时,驱动电压一般为2~6V,驱动电路阻抗一般为20Ω~50Ω,那么驱动电流大于100mA,假设一次轮询时间30us,一次轮询的功耗大于J=2V*100mA*30us=6*10e-6焦,而本发明NFC设备中,采用检测NFC天线电容的方式检测目标设备,在自电容检测模块工作时,驱动电压可以为2~3.3V,负载电容可以为100~500pF,假设工作频率为100kHz,一次轮询时间200us,那么驱动电流I=100kHz*2*100pF=20uA,一次轮询的功耗J=2V*20uA*200us=8*10e-9焦。对比可知,本申请实施例NFC设备通过检测NFC天线电容的方式检测目标设备,在功耗上有明显的优势。At present, the NFC device detects the target device by detecting the impedance of the NFC antenna. When sending a polling signal, the driving voltage is generally 2~6V, and the driving circuit impedance is generally 20Ω~50Ω, then the driving current is greater than 100mA, assuming a polling time 30us, the power consumption of one polling is greater than J=2V*100mA*30us=6*10e-6 joules, and in the NFC device of the present invention, the method of detecting the NFC antenna capacitance is used to detect the target device. When the self-capacitance detection module works, The driving voltage can be 2~3.3V, and the load capacitance can be 100~500pF. Assuming that the operating frequency is 100kHz, and one polling time is 200us, then the driving current I=100kHz*2*100pF=20uA, and the power consumption of one polling J= 2V*20uA*200us=8*10e-9 joules. By comparison, it can be seen that the NFC device in the embodiment of the present application detects the target device by detecting the capacitance of the NFC antenna, which has obvious advantages in power consumption.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c may be single, or Can be multiple.
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各模块及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案 的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the modules and algorithm steps described in the embodiments disclosed herein can be implemented by a combination of electronic hardware, computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and modules may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,任一功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In the several embodiments provided in this application, if any function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.
以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

  1. 一种近场通信NFC设备,所述NFC设备包括:NFC天线,用于进行信号滤波的滤波电路,用于进行所述NFC天线阻抗匹配的匹配电路,用于传输所述NFC天线接收到的数据信号的数据接收支路,用于控制信号发送和接收的NFC控制器,其特征在于,所述NFC设备还包括:自电容检测模块,其中,A near field communication NFC device, the NFC device comprising: an NFC antenna, a filter circuit for performing signal filtering, a matching circuit for performing impedance matching of the NFC antenna, and for transmitting data received by the NFC antenna A signal data receiving branch, an NFC controller for controlling signal transmission and reception, characterized in that the NFC device further includes: a self-capacitance detection module, wherein,
    所述自电容检测模块的电容检测端连接所述NFC天线的正相端或者反相端,所述自电容检测模块用于检测所述NFC天线的电容变化量,所述电容变化量用于判断是否有目标设备靠近所述NFC天线。The capacitance detection terminal of the self-capacitance detection module is connected to the positive-phase terminal or the reverse-phase terminal of the NFC antenna, and the self-capacitance detection module is used to detect the capacitance change of the NFC antenna, and the capacitance change is used to judge Whether a target device is near the NFC antenna.
  2. 根据权利要求1所述的设备,其特征在于,所述自电容检测模块的电容检测端通过所述匹配电路连接所述NFC天线的正相端或者反相端。The device according to claim 1, wherein the capacitance detection terminal of the self-capacitance detection module is connected to the positive phase terminal or the reverse phase terminal of the NFC antenna through the matching circuit.
  3. 根据权利要求1所述的设备,其特征在于,所述自电容检测模块的电容检测端通过所述数据接收支路连接所述NFC天线的正相端或者反相端。The device according to claim 1, wherein the capacitance detection terminal of the self-capacitance detection module is connected to the positive phase terminal or the reverse phase terminal of the NFC antenna through the data receiving branch.
  4. 根据权利要求1所述的设备,其特征在于,所述自电容检测模块的电容检测端依次通过所述数据接收支路、所述匹配电路连接至所述NFC天线的正相端或者反相端。The device according to claim 1, wherein the capacitance detection end of the self-capacitance detection module is sequentially connected to the non-phase end or the inversion end of the NFC antenna through the data receiving branch and the matching circuit .
  5. 根据权利要求1至4任一项所述的设备,其特征在于,所述自电容检测模块位于所述NFC控制器中。The device according to any one of claims 1 to 4, wherein the self-capacitance detection module is located in the NFC controller.
  6. 根据权利要求1至5任一项所述的设备,其特征在于,所述自电容检测模块的电容检测端连接第一开关的第一端,所述第一开关的第二端连接所述NFC天线的正相端或者反相端,所述第一开关用于在所述自电容检测模块工作时导通,所述自电容检测模块不工作时关断。The device according to any one of claims 1 to 5, wherein a capacitance detection end of the self-capacitance detection module is connected to a first end of a first switch, and a second end of the first switch is connected to the NFC The positive-phase terminal or the reverse-phase terminal of the antenna, the first switch is configured to be turned on when the self-capacitance detection module is in operation, and turned off when the self-capacitance detection module is not in operation.
  7. 根据权利要求1至6任一项所述的设备,其特征在于,所述NFC设备中包括所述NFC天线的匹配电路和滤波电路,所述匹配电路和所述滤波电路中所包括电容的接地端通过第四开关接地,所述第四开关用于在所述自电容检测模块工作时关断。The device according to any one of claims 1 to 6, wherein the NFC device includes a matching circuit and a filter circuit of the NFC antenna, and the matching circuit and the filter circuit include a grounding of a capacitor included in the filter circuit. The terminal is grounded through a fourth switch, and the fourth switch is used to turn off the self-capacitance detection module when the self-capacitance detection module works.
  8. 根据权利要求1至7任一项所述的设备,其特征在于,所述自电容检测模块包括第七开关、第八开关、第九开关、第十开关、第十一开关、第十二开关、差分放大器以及第九电容,所述自电容检测模块还包括:第三电阻和/或第十电容,第四电阻和/或第十一电容,其中,The device according to any one of claims 1 to 7, wherein the self-capacitance detection module comprises a seventh switch, an eighth switch, a ninth switch, a tenth switch, an eleventh switch, and a twelfth switch , a differential amplifier and a ninth capacitor, the self-capacitance detection module further includes: a third resistor and/or a tenth capacitor, a fourth resistor and/or an eleventh capacitor, wherein,
    所述自电容检测模块的电容检测端通过第七开关连接电源电压端,通过第八开关接地,通过第九开关连接差分放大器的正相输入端,通过第十开关连接第九电容的第一端,第九电容的第二端接地;The capacitance detection terminal of the self-capacitance detection module is connected to the power supply voltage terminal through the seventh switch, grounded through the eighth switch, connected to the non-inverting input terminal of the differential amplifier through the ninth switch, and connected to the first terminal of the ninth capacitor through the tenth switch , the second end of the ninth capacitor is grounded;
    第九电容的第一端还通过第十一开关连接电源电压端,通过第十二开关接地;The first end of the ninth capacitor is also connected to the power supply voltage end through the eleventh switch, and is grounded through the twelfth switch;
    所述差分放大器的反相输入端连接共模电压端,第一输出端和第二输出端用于输出电压,所述输出电压与所述NFC天线的电容变化量关联;The inverting input terminal of the differential amplifier is connected to the common-mode voltage terminal, the first output terminal and the second output terminal are used for outputting voltage, and the output voltage is associated with the capacitance change of the NFC antenna;
    所述差分放大器的正相输入端还通过第三电阻、或者第十电容、或者并联的第三电阻和第十电容连接所述差分放大器的第一输出端,反相输入端通过第四电阻、或者第十一电容、或者并联的第四电阻和第十一电容连接所述差分放大器的第二输出端。The non-inverting input terminal of the differential amplifier is also connected to the first output terminal of the differential amplifier through a third resistor, or a tenth capacitor, or a third resistor and a tenth capacitor connected in parallel, and the inverting input terminal is connected through a fourth resistor, Either the eleventh capacitor, or the fourth resistor and the eleventh capacitor connected in parallel are connected to the second output terminal of the differential amplifier.
  9. 根据权利要求8所述的设备,其特征在于,所述第九电容的电容值与第一等效电容值相等,所述第一等效电容值是无目标设备接近NFC天线时所述自电容检测模块的外部电路在所述电容检测端与电源接地端之间的等效电容值,所述共模电压端的电压为电源电压的1/2。The device according to claim 8, wherein a capacitance value of the ninth capacitor is equal to a first equivalent capacitance value, and the first equivalent capacitance value is the self-capacitance when no target device approaches the NFC antenna The equivalent capacitance value of the external circuit of the detection module between the capacitance detection terminal and the power supply ground terminal, and the voltage of the common mode voltage terminal is 1/2 of the power supply voltage.
  10. 根据权利要求1至9任一项所述的设备,其特征在于,所述自电容检测模块具体用于:基于检测到的所述NFC天线的电容变化量生成第一信号;The device according to any one of claims 1 to 9, wherein the self-capacitance detection module is specifically configured to: generate a first signal based on the detected capacitance change of the NFC antenna;
    所述NFC设备还包括:判断模块,所述判断模块的输入端连接所述自电容检测模块的输出端,所述判断模块用于判断所述自电容检测模块输出的第一信号的幅值是否超过预设阈值,如果是,判断有目标设备靠近所述NFC天线。The NFC device further includes: a judgment module, the input end of the judgment module is connected to the output end of the self-capacitance detection module, and the judgment module is used for judging whether the amplitude of the first signal output by the self-capacitance detection module is If the preset threshold is exceeded, if yes, it is determined that a target device is close to the NFC antenna.
  11. 根据权利要求1至9任一项所述的设备,其特征在于,所述NFC控制器用于根据所述电容变化量判断是否有目标设备靠近所述NFC天线。The device according to any one of claims 1 to 9, wherein the NFC controller is configured to determine whether a target device is close to the NFC antenna according to the capacitance change.
PCT/CN2020/140305 2020-12-28 2020-12-28 Nfc device WO2022140957A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/140305 WO2022140957A1 (en) 2020-12-28 2020-12-28 Nfc device
CN202080047810.6A CN114097180B (en) 2020-12-28 2020-12-28 NFC equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/140305 WO2022140957A1 (en) 2020-12-28 2020-12-28 Nfc device

Publications (1)

Publication Number Publication Date
WO2022140957A1 true WO2022140957A1 (en) 2022-07-07

Family

ID=80295909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140305 WO2022140957A1 (en) 2020-12-28 2020-12-28 Nfc device

Country Status (2)

Country Link
CN (1) CN114097180B (en)
WO (1) WO2022140957A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104167592A (en) * 2009-07-17 2014-11-26 苹果公司 Electronic devices with capacitive proximity sensors
US20160345123A1 (en) * 2015-05-23 2016-11-24 Square, Inc. Tuning a nfc antenna of a device
CN107579754A (en) * 2017-09-15 2018-01-12 联想(北京)有限公司 Communication terminal and its control method
US20190312361A1 (en) * 2016-10-18 2019-10-10 Nec Platforms, Ltd. Wireless communication device, wireless communication method and program
WO2020047844A1 (en) * 2018-09-07 2020-03-12 深圳市汇顶科技股份有限公司 Capacitance detection circuit, touch chip and electronic device
CN210744172U (en) * 2019-12-03 2020-06-12 安徽华米信息科技有限公司 Antenna device, touch screen and terminal equipment
CN111934725A (en) * 2020-09-16 2020-11-13 深圳市汇顶科技股份有限公司 Near field communication device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9948002B2 (en) * 2014-08-26 2018-04-17 Pulse Finland Oy Antenna apparatus with an integrated proximity sensor and methods
CN110196653B (en) * 2019-04-26 2020-09-11 北京集创北方科技股份有限公司 Touch detection circuit, touch display device and touch detection method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104167592A (en) * 2009-07-17 2014-11-26 苹果公司 Electronic devices with capacitive proximity sensors
US20160345123A1 (en) * 2015-05-23 2016-11-24 Square, Inc. Tuning a nfc antenna of a device
US20190312361A1 (en) * 2016-10-18 2019-10-10 Nec Platforms, Ltd. Wireless communication device, wireless communication method and program
CN107579754A (en) * 2017-09-15 2018-01-12 联想(北京)有限公司 Communication terminal and its control method
WO2020047844A1 (en) * 2018-09-07 2020-03-12 深圳市汇顶科技股份有限公司 Capacitance detection circuit, touch chip and electronic device
CN210744172U (en) * 2019-12-03 2020-06-12 安徽华米信息科技有限公司 Antenna device, touch screen and terminal equipment
CN111934725A (en) * 2020-09-16 2020-11-13 深圳市汇顶科技股份有限公司 Near field communication device and electronic equipment

Also Published As

Publication number Publication date
CN114097180A (en) 2022-02-25
CN114097180B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
US10447225B2 (en) Filter apparatus and power supply system
CN104065179B (en) Electric supply installation, integrated circuit, electric energy transmitting terminal and impedance matching methods
US20170054416A1 (en) Class-d audio amplifier
JP2019041385A (en) Power over ethernet(r) using shielded single twisted wire pair
JP7263563B2 (en) Decoding circuit and chip
WO2012083802A1 (en) Detection device and method for detecting external connection of radio frequency interface
JP2011010244A (en) Device and method for detecting information
KR20220154681A (en) Termination for high frequency transmission lines
CN102916468B (en) Battery power supply circuit, battery power supply method and mobile terminal
WO2022140957A1 (en) Nfc device
WO2011128956A1 (en) Interface device
CN107294383B (en) A kind of Switching Power Supply
CN113169921B (en) Isolation circuit and device for controller area network communication
CN103220017B (en) Communication system for distributing electric energy and signal and control method thereof
CN114879262A (en) NFCC and electronic device
CN211086428U (en) Network cable detection circuit
CN215728732U (en) Electric automobile PE broken string detection circuitry and electric vehicle
CN206180994U (en) Laser shot photoelectric switch circuit
CN209805433U (en) Charging circuit and device
CN117478164B (en) Radio frequency protection circuit and related device
EP3783833A1 (en) Communication device and effectiveness detection method
CN216281977U (en) Communication circuit and air conditioner
CN113541220A (en) Load detection circuit and charging system
CN206041472U (en) Protection circuit of bidirectional transform ware and electric system of using of taking accumulate function
CN202306371U (en) Voltage conversion circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20967309

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20967309

Country of ref document: EP

Kind code of ref document: A1