CN113067604B - NFC access control circuit and NFC device - Google Patents
NFC access control circuit and NFC device Download PDFInfo
- Publication number
- CN113067604B CN113067604B CN202010001257.4A CN202010001257A CN113067604B CN 113067604 B CN113067604 B CN 113067604B CN 202010001257 A CN202010001257 A CN 202010001257A CN 113067604 B CN113067604 B CN 113067604B
- Authority
- CN
- China
- Prior art keywords
- nfc
- pin
- module
- switch
- electrically connected
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/20—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Near-Field Transmission Systems (AREA)
Abstract
本发明提供的NFC访问控制电路及NFC装置,包括NFC设备、NFC感应模块、开关模块、访问模块和控制模块,当用户不需要使用NFC装置时,由于开关模块没有高电平输入因此断开了NFC感应模块和NFC设备,NFC读写装置无法访问此NFC装置。当用户需要使用NFC装置时,只需触发一下访问模块,控制模块会向开关模块输出高电平信号,导通NFC感应模块和NFC设备,从而使得此NFC装置能够被访问。另外,在用户操作完成后且NFC装置离开NFC读写装置后,由于控制模块不再会向开关模块输出高电平信号,从而断开了NFC感应模块和NFC设备,如此NFC设备无法被访问。可以看出,本发明提供的NFC访问控制电路不仅操作极其便利,且不存在安全隐患。
The NFC access control circuit and the NFC device provided by the present invention include an NFC device, an NFC sensing module, a switch module, an access module and a control module. When the user does not need to use the NFC device, the switch module is disconnected because there is no high-level input. NFC sensor module and NFC device, NFC read-write device cannot access this NFC device. When the user needs to use the NFC device, he only needs to trigger the access module once, and the control module will output a high-level signal to the switch module to turn on the NFC sensing module and the NFC device, so that the NFC device can be accessed. In addition, after the user operation is completed and the NFC device leaves the NFC read-write device, the NFC sensor module and the NFC device are disconnected because the control module will no longer output a high-level signal to the switch module, so the NFC device cannot be accessed. It can be seen that the NFC access control circuit provided by the present invention is not only extremely convenient to operate, but also has no potential safety hazards.
Description
技术领域technical field
本发明涉及NFC通讯技术领域,尤其涉及NFC访问控制电路及NFC装置。The present invention relates to the technical field of NFC communication, in particular to an NFC access control circuit and an NFC device.
背景技术Background technique
现有NFC装置中的NFC天线通常直接与NFC设备直接电连接,如此只要此NFC装置和其他NFC读写装置在通信范围内,即可进行相应的读写操作。但是NFC天线与NFC设备直接电连接的方式,会导致NFC装置容易被未授权的NFC读写装置进行访问,即NFC装置容易在用户不知情的情况下被其他人通过NFC读写装置进行数据读写操作,比如用户携带的电子现金卡,假如其他人把NFC读写装置靠近用户放置电子现金卡的位置,便可在用户不知情的条件下轻松扣除用户的余额。由此可见,现有的NFC装置能够直接被NFC读写装置进行访问,存在较大的安全隐患。The NFC antenna in the existing NFC device is usually directly and electrically connected to the NFC device, so that as long as the NFC device and other NFC read-write devices are within the communication range, corresponding read-write operations can be performed. However, the direct electrical connection between the NFC antenna and the NFC device will cause the NFC device to be easily accessed by unauthorized NFC read-write devices, that is, the NFC device can easily be read by others through the NFC read-write device without the user's knowledge. For write operations, such as an electronic cash card carried by the user, if someone else places the NFC reader/writer close to where the user places the electronic cash card, the user's balance can be easily deducted without the user's knowledge. It can be seen that the existing NFC device can be directly accessed by the NFC reading and writing device, and there is a large security risk.
发明内容SUMMARY OF THE INVENTION
鉴于上述现有技术的不足,本发明的目的在于提供NFC访问控制电路及NFC装置,旨在解决现有的NFC装置能直接被NFC读写装置进行访问,存在较大安全隐患的问题。In view of the above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide an NFC access control circuit and an NFC device, aiming to solve the problem that the existing NFC device can be directly accessed by an NFC reading and writing device, which has a large security risk.
第一方面,本发明提供的一种NFC访问控制电路,应用于NFC装置,所述NFC访问控制电路包括NFC设备、NFC感应模块、开关模块、访问模块和控制模块;In a first aspect, an NFC access control circuit provided by the present invention is applied to an NFC device, and the NFC access control circuit includes an NFC device, an NFC sensing module, a switch module, an access module and a control module;
所述NFC感应模块与所述开关模块电连接,所述开关模块与所述NFC设备电连接;所述NFC感应模块还与所述访问模块电连接,所述访问模块与所述控制模块电连接,所述控制模块与所述开关模块电连接;The NFC sensing module is electrically connected with the switch module, and the switch module is electrically connected with the NFC device; the NFC sensing module is also electrically connected with the access module, and the access module is electrically connected with the control module , the control module is electrically connected to the switch module;
所述NFC感应模块用于当所述NFC装置靠近NFC读写装置时产生感应电流并输出直流电压;The NFC sensing module is used to generate an induced current and output a DC voltage when the NFC device is close to the NFC reading and writing device;
所述访问模块用于仅当处于触发状态下导通所述NFC感应模块与所述控制模块,以触发所述控制模块;The access module is configured to turn on the NFC sensing module and the control module only when in a triggered state to trigger the control module;
所述控制模块用于被触发后向所述开关模块输出高电平信号,以触发所述开关模块;The control module is configured to output a high-level signal to the switch module after being triggered to trigger the switch module;
所述开关模块用于当被触发时导通所述NFC感应模块与所述NFC设备,以使所述NFC装置可以被NFC读写装置访问。The switch module is used to turn on the NFC sensing module and the NFC device when triggered, so that the NFC device can be accessed by the NFC reading and writing device.
进一步地,所述NFC感应模块包括NFC天线、转换电路,所述NFC天线与所述转换电路的交流输入端电连接,所述转换电路的直流输出端分别与所述访问模块、所述控制模块的电源输入端及所述开关模块的电源输入端电连接,所述NFC天线还与所述开关模块电连接;Further, the NFC sensing module includes an NFC antenna and a conversion circuit, the NFC antenna is electrically connected to the AC input end of the conversion circuit, and the DC output end of the conversion circuit is respectively connected to the access module and the control module. The power input end of the switch module is electrically connected to the power input end of the switch module, and the NFC antenna is also electrically connected to the switch module;
所述NFC天线用于当所述NFC装置靠近NFC读写装置时产生交流输出;所述转换电路用于将NFC天线产生的交流输出转换成直流并输出直流电压。The NFC antenna is used to generate an AC output when the NFC device is close to the NFC read-write device; the conversion circuit is used to convert the AC output generated by the NFC antenna into a DC and output a DC voltage.
再进一步地,所述转换电路包括整流电路和稳压电路,所述NFC天线与所述整流电路的交流输入端电连接,所述整流电路的直流输出端与所述稳压电路电连接,所述稳压电路与所述访问模块、所述控制模块的电源输入端及所述开关模块的电源输入端电连接;Still further, the conversion circuit includes a rectifier circuit and a voltage stabilizer circuit, the NFC antenna is electrically connected to the AC input end of the rectifier circuit, and the DC output end of the rectifier circuit is electrically connected to the voltage stabilizer circuit. the voltage regulator circuit is electrically connected to the access module, the power input terminal of the control module and the power input terminal of the switch module;
所述整流电路用于将NFC天线产生的交流输出整流成直流输出;所述稳压电路用于限制和平稳所述整流电路的直流输出电压;The rectifier circuit is used to rectify the AC output generated by the NFC antenna into a DC output; the voltage regulator circuit is used to limit and stabilize the DC output voltage of the rectifier circuit;
所述整流电路包括第一整流二极管、第二整流二极管、第三整流二极管和第四整流二极管;The rectifier circuit includes a first rectifier diode, a second rectifier diode, a third rectifier diode and a fourth rectifier diode;
所述第一整流二极管的正极与所述第三整流二极管的负级电连接,以用作所述整流电路的交流输入端的第一引脚;The anode of the first rectifier diode is electrically connected to the negative stage of the third rectifier diode to serve as the first pin of the AC input end of the rectifier circuit;
所述第二整流二极管的正极与所述第四整流二极管的负级电连接,以用作所述整流电路的交流输入端的第二引脚;The anode of the second rectifier diode is electrically connected to the negative stage of the fourth rectifier diode to serve as the second pin of the AC input end of the rectifier circuit;
所述第一整流二极管的负极与所述第二整流二极管的负极电连接,以用作所述整流电路的直流输出端的第一引脚;The cathode of the first rectifier diode is electrically connected to the cathode of the second rectifier diode to serve as the first pin of the DC output end of the rectifier circuit;
所述第三整流二极管的正极与所述第二整流二极管的正极电连接,以用作所述整流电路的直流输出端的第二引脚。The anode of the third rectifier diode is electrically connected to the anode of the second rectifier diode to serve as the second pin of the DC output end of the rectifier circuit.
再进一步地,所述稳压电路包括稳压管和滤波电容;所述稳压管的负极与所述滤波电容的第一引脚电连接,所述稳压管的正极与所述滤波电容的第二引脚电连接;Still further, the voltage regulator circuit includes a voltage regulator tube and a filter capacitor; the negative electrode of the voltage regulator tube is electrically connected to the first pin of the filter capacitor, and the positive electrode of the voltage regulator tube is electrically connected to the filter capacitor. The second pin is electrically connected;
所述稳压管用于限制所述整流电路的直流输出电压,所述滤波电容用于平稳所述整流电路的直流输出电压。The voltage regulator tube is used to limit the DC output voltage of the rectifier circuit, and the filter capacitor is used to stabilize the DC output voltage of the rectifier circuit.
再进一步的,所述访问模块包括访问按键,所述访问按键分别与所述NFC感应模块和所述控制模块电连接;Still further, the access module includes an access button, and the access button is electrically connected to the NFC sensing module and the control module, respectively;
当所述访问按键处于被按压状态时,导通所述NFC感应模块与所述控制模块,以触发所述控制模块。When the access key is in a pressed state, the NFC sensing module and the control module are turned on to trigger the control module.
进一步地,所述开关模块包括射频开关,所述射频开关包括电源输入引脚、接地引脚、控制引脚、第一开关引脚和第二开关引脚;Further, the switch module includes a radio frequency switch, and the radio frequency switch includes a power input pin, a ground pin, a control pin, a first switch pin and a second switch pin;
所述射频开关的电源输入引脚与所述NFC感应模块电连接,接地引脚接地,以使所述NFC感应模块为所述射频开关提供工作电压;The power input pin of the radio frequency switch is electrically connected to the NFC sensing module, and the ground pin is grounded, so that the NFC sensing module provides a working voltage for the radio frequency switch;
所述射频开关的控制引脚与所述控制模块电连接,所述射频开关的第一开关引脚与所述NFC感应模块电连接,所述射频开关的第二开关引脚与所述NFC设备电连接;The control pin of the radio frequency switch is electrically connected to the control module, the first switch pin of the radio frequency switch is electrically connected to the NFC sensing module, and the second switch pin of the radio frequency switch is electrically connected to the NFC device electrical connection;
所述射频开关用于当控制引脚存在高电平输入时,导通第一开关引脚和第二开关引脚之间的电连接,以导通所述NFC感应模块与NFC设备。The radio frequency switch is used to turn on the electrical connection between the first switch pin and the second switch pin when the control pin has a high level input, so as to turn on the NFC sensing module and the NFC device.
再进一步地,所述开关模块还包括下拉电阻,所述下拉电阻的第一引脚与所述射频开关的控制引脚电连接,第二引脚接地;Still further, the switch module further includes a pull-down resistor, the first pin of the pull-down resistor is electrically connected to the control pin of the radio frequency switch, and the second pin is grounded;
所述下拉电阻用于当所述NFC感应模块刚产生直流输出时,断开第一开关引脚和第二开关引脚之间的电连接,以断开所述NFC感应模块与NFC设备的连接。The pull-down resistor is used to disconnect the electrical connection between the first switch pin and the second switch pin when the NFC sensing module just generates a DC output, so as to disconnect the NFC sensing module from the NFC device .
进一步地,所述控制模块包括第一模拟开关,所述第一模拟开关包括电源输入引脚、接地引脚、控制引脚、开关引脚和输出引脚;Further, the control module includes a first analog switch, and the first analog switch includes a power input pin, a ground pin, a control pin, a switch pin, and an output pin;
所述第一模拟开关的电源输入引脚与所述NFC感应模块电连接,接地引脚接地,以使所述NFC感应模块为所述第一模拟开关提供工作电压;The power input pin of the first analog switch is electrically connected to the NFC sensing module, and the ground pin is grounded, so that the NFC sensing module provides a working voltage for the first analog switch;
所述第一模拟开关的控制引脚与所述访问模块电连接,开关引脚与电源输入引脚电连接,输出引脚与所述开关模块电连接;The control pin of the first analog switch is electrically connected with the access module, the switch pin is electrically connected with the power input pin, and the output pin is electrically connected with the switch module;
所述第一模拟开关用于在控制引脚存在高电平输入时,导通开关引脚和输出引脚,以使所述第一模拟开关向所述开关模块输出高电平信号。The first analog switch is used to turn on the switch pin and the output pin when the control pin has a high-level input, so that the first analog switch outputs a high-level signal to the switch module.
再进一步地,所述控制模块还包括第二模拟开关,所述第二模拟开关包括电源输入引脚、接地引脚、控制引脚、开关引脚和输出引脚;Still further, the control module further includes a second analog switch, and the second analog switch includes a power input pin, a ground pin, a control pin, a switch pin and an output pin;
所述第二模拟开关的电源输入引脚与所述NFC感应模块电连接,接地引脚接地,以使所述NFC感应模块为所述第二模拟开关提供工作电压;The power input pin of the second analog switch is electrically connected to the NFC sensing module, and the ground pin is grounded, so that the NFC sensing module provides a working voltage for the second analog switch;
所述第二模拟开关的控制引脚与所述访问模块电连接,开关引脚与电源输入引脚电连接,输出引脚分别与控制引脚以及所述第一模拟开关的控制引脚电连接;The control pin of the second analog switch is electrically connected to the access module, the switch pin is electrically connected to the power input pin, and the output pin is electrically connected to the control pin and the control pin of the first analog switch respectively ;
所述第二模拟开关用于当所述控制模块被触发后且存在工作电压输入时,导通开关引脚和输出引脚,通过输出引脚同时向控制引脚以及所述第一模拟开关的控制引脚输出高电平信号,以保持所述第二模拟开关的开关引脚和输出引脚之间的导通和保持所述第一模拟开关的开关引脚和输出引脚之间的导通。The second analog switch is used to turn on the switch pin and the output pin when the control module is triggered and there is a working voltage input, and send the output pin to the control pin and the first analog switch simultaneously through the output pin. The control pin outputs a high-level signal to maintain the conduction between the switch pin and the output pin of the second analog switch and maintain the conduction between the switch pin and the output pin of the first analog switch. Pass.
进一步地,所述NFC读写控制电路还包括断电延时模块,所述断电延时模块的第一引脚与所述访问模块及所述控制模块电连接,第二引脚接地;Further, the NFC read-write control circuit further includes a power-off delay module, the first pin of the power-off delay module is electrically connected to the access module and the control module, and the second pin is grounded;
所述断电延时模块用于在所述访问模块触发时,从所述NFC感应模块取电并储存,并且在所述NFC感应模块不能输出正常电压时,向所述控制模块提供预定时间的高电平输入。The power-off delay module is used to take power from the NFC sensing module and store it when the access module is triggered, and provide the control module with a predetermined time when the NFC sensing module cannot output normal voltage. High level input.
再进一步地,所述断电延时模块包括延时电容和延时电阻;Still further, the power-off delay module includes a delay capacitor and a delay resistor;
所述延时电容的第一引脚与所述延时电阻的第一引脚电连接,以用作所述断电延时模块的第一引脚;The first pin of the delay capacitor is electrically connected to the first pin of the delay resistor to be used as the first pin of the power-off delay module;
所述延时电容的第二引脚与所述延时电阻的第二引脚电连接,以用作所述断电延时模块的第二引脚。The second pin of the delay capacitor is electrically connected to the second pin of the delay resistor to serve as the second pin of the power-off delay module.
第二方面,本发明提供了一种NFC装置,包括如第一方面所述的NFC访问控制电路,当所述NFC装置靠近NFC读写装置时,通过所述NFC访问控制电路控制所述NFC装置可以被NFC读写装置访问。In a second aspect, the present invention provides an NFC device, comprising the NFC access control circuit according to the first aspect, when the NFC device is close to an NFC reading and writing device, the NFC device is controlled by the NFC access control circuit Can be accessed by NFC read/write devices.
有益效果:本发明提供的NFC访问控制电路及NFC装置,包括NFC设备、NFC感应模块、开关模块、访问模块和控制模块,当用户不需要使用NFC装置时,由于开关模块没有高电平输入因此断开了NFC感应模块和NFC设备,NFC读写装置无法访问此NFC装置。当用户需要使用NFC装置时,只需触发一下访问模块,控制模块会向开关模块输出高电平信号,导通NFC感应模块和NFC设备,从而使得此NFC装置能够被访问。另外,在用户操作完成后且NFC装置离开NFC读写装置后,由于控制模块不再会向开关模块输出高电平信号,从而断开了NFC感应模块和NFC设备,如此NFC设备无法被访问。可以看出,本发明提供的NFC访问控制电路不仅操作极其便利,且不存在安全隐患。Beneficial effects: The NFC access control circuit and the NFC device provided by the present invention include NFC equipment, an NFC sensing module, a switch module, an access module and a control module. When the user does not need to use the NFC device, the switch module has no high-level input, so The NFC sensor module and the NFC device are disconnected, and the NFC read-write device cannot access the NFC device. When the user needs to use the NFC device, he only needs to trigger the access module once, and the control module will output a high-level signal to the switch module to turn on the NFC sensing module and the NFC device, so that the NFC device can be accessed. In addition, after the user operation is completed and the NFC device leaves the NFC read-write device, the NFC sensor module and the NFC device are disconnected because the control module will no longer output a high-level signal to the switch module, so the NFC device cannot be accessed. It can be seen that the NFC access control circuit provided by the present invention is not only extremely convenient to operate, but also has no potential safety hazard.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明具体实施例所提供的NFC访问控制电路的电路原理图;1 is a circuit schematic diagram of an NFC access control circuit provided by a specific embodiment of the present invention;
图2为本发明具体实施例中NFC感应模块的电路原理图;2 is a schematic circuit diagram of an NFC sensing module in a specific embodiment of the present invention;
图3为本发明具体实施例中NFC感应模块中的转换电路的电路原理图;3 is a circuit schematic diagram of a conversion circuit in an NFC sensing module in a specific embodiment of the present invention;
图4为本发明具体实施例中开关模块的电路原理图;4 is a schematic circuit diagram of a switch module in a specific embodiment of the present invention;
图5为本发明具体实施例中控制模块的电路原理图;5 is a circuit schematic diagram of a control module in a specific embodiment of the present invention;
图6为本发明具体实施例中断电延时模块的电路原理图。FIG. 6 is a circuit schematic diagram of a power-off delay module in a specific embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
现有的NFC装置能够直接被NFC读写装置进行访问,因此存在较大的安全隐患。为了解决此技术问题,在本发明实施例中,在NFC感应模块与NFC设备之间设置一开关模块,并设置一访问模块用来控制开关模块的开断。如此,当用户不需要进行数据读写操作时,NFC感应模块和NFC设备之间由于开关模块处于断开状态,如此,即使此时NFC读写装置靠近此NFC装置,NFC读写装置也不能进行访问。而当用户需进行数据读写操作时,只需通过访问模块触发开关模块,以导通NFC感应模块和NFC设备,如此,即可进行数据读写操作。The existing NFC device can be directly accessed by the NFC reading and writing device, so there is a great security risk. In order to solve this technical problem, in the embodiment of the present invention, a switch module is set between the NFC sensing module and the NFC device, and an access module is set to control the on-off of the switch module. In this way, when the user does not need to perform data reading and writing operations, the switch module between the NFC sensing module and the NFC device is disconnected, so even if the NFC reading and writing device is close to the NFC device at this time, the NFC reading and writing device cannot perform access. When the user needs to perform data reading and writing operations, he only needs to trigger the switch module through the access module to turn on the NFC sensing module and the NFC device, so that the data reading and writing operations can be performed.
举例说明,本发明实施例可以应用到如下所述的场景。在该场景中,用户携带电子现金卡进行资金交易操作时,需把电子现金卡靠近商家的NFC读写装置,通过访问模块才能使电子现金卡可以被NFC读写装置访问,才能进行资金交易操作。在用户不需要使用电子现金卡时,即使其他人将NFC读写装置靠近电子现金卡时,由于用户没有触发访问模块,因此其他人也无法进行扣除用户余额等操作。因此,应用了本发明实施例的电子现金卡不存在安全隐患的问题。For example, the embodiments of the present invention may be applied to the following scenarios. In this scenario, when the user carries the electronic cash card for capital transaction operation, the electronic cash card needs to be close to the NFC reading and writing device of the merchant, and the electronic cash card can be accessed by the NFC reading and writing device through the access module, and then the capital transaction operation can be performed. . When the user does not need to use the electronic cash card, even when other people bring the NFC reading and writing device close to the electronic cash card, because the user does not trigger the access module, others cannot perform operations such as deducting the user's balance. Therefore, the electronic cash card to which the embodiments of the present invention are applied does not have the problem of potential safety hazards.
需要注意的是,上述应用场景仅是为了便于理解本发明而示出,本发明的实施方式在此方面不受任何限制。相反,本发明的实施方式可以应用于适用的任何场景。It should be noted that the above application scenarios are only shown for the convenience of understanding the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention can be applied to any scenario where applicable.
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明做进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
请参阅图1,本发明一实施例提供的一种NFC访问控制电路,所述电路应用于一NFC装置,所述电路包括NFC设备10、NFC感应模块20、开关模块30、访问模块40和控制模块50。Referring to FIG. 1, an NFC access control circuit provided by an embodiment of the present invention is applied to an NFC device, and the circuit includes an
其中,所述NFC感应模块20与所述开关模块30电连接,所述开关模块30与所述NFC设备10电连接;所述NFC感应模块20还与所述访问模块40电连接,所述访问模块40与所述控制模块50电连接,所述控制模块50与所述开关模块30电连接。The
具体来说,当NFC装置靠近NFC读写装置时,NFC感应模块20用于产生感应电流并输出直流电压,假如此时NFC感应模块与NFC设备10是直接电连接的,则NFC读写装置时可以直接访问此NFC装置的。Specifically, when the NFC device is close to the NFC reading and writing device, the
因此作为一种改进,本实施例在NFC感应模块20与NFC设备10之间设置开关模块30,并设置一访问模块40用来控制开关模块30的开断。具体的,所述访问模块40用于仅当处于触发状态下导通所述NFC感应模块20与所述控制模块50,以触发所述控制模块50;所述控制模块50用于被触发后向所述开关模块30输出高电平信号,以触发所述开关模块30;所述开关模块30用于当被触发时导通所述NFC感应模块20与所述NFC设备10,以使所述NFC装置可以被NFC读写装置访问。Therefore, as an improvement, in this embodiment, a
具体来说,在用户不需要使用NFC装置时,通过开关模块30断开NFC感应模块20与NFC设备10,因此他人无法使用NFC读写装置访问此NFC装置。当用户需要使用NFC装置时,只需触发一下访问模块40,访问模块40仅在处于触发状态下导通NFC感应模块20与控制模块50,以触发控制模块50;控制模块50被触发后向开关模块30输出高电平,以触发开关模块30;开关模块30处于被触发状态时导通NFC感应模块20和NFC设备10,如此,NFC装置就可以被NFC读写装置访问。Specifically, when the user does not need to use the NFC device, the
进一步地,请参阅图2,上述NFC感应模块20包括NFC天线201、转换电路202;所述NFC天线201与所述转换电路202的交流输入端电连接,所述转换电路202的直流输出端分别与所述访问模块40、所述控制模块50的电源输入端(图2未示出)及所述开关模块30的电源输入端电连接(图2未示出),所述NFC天线201还与所述开关模块30电连接;Further, referring to FIG. 2 , the above-mentioned
其中,所述NFC天线201用于当所述NFC装置靠近NFC读写装置时产生交流输出;所述转换电路202用于将NFC天线201产生的交流输出转换成直流并输出直流电压。Wherein, the
具体来说,当NFC装置靠近NFC读写装置时,NFC天线201会产生交流输出,但由于NFC天线201与NFC设备10之间设置有开关模块30,因此NFC天线201与NFC设备10之间是不导通的。Specifically, when the NFC device is close to the NFC reading and writing device, the
但为了满足用户的使用需求,需要控制开关模块30的导通。相比于交流电信号,直流电信号更适合用于控制电路,因此设置转换电路202将NFC天线201产生的交流输出转换成直流输出,以用于对开关模块30的控制。However, in order to meet the needs of users, it is necessary to control the conduction of the
另外,由于控制模块50和开关模块30均需要有工作电压的输入才能正常工作,因此转换电路202的直流输出端分别与控制模块50的电源输入端及开关模块30的电源输入端电连接,为控制模块50和开关模块30提供工作电压。In addition, since both the
再进一步地,请参阅图3,上述转换电路202包括整流电路2021和稳压电路2022,所述NFC天线201与所述整流电路2021的交流输入端电连接,所述整流电路2021的直流输出端与所述稳压电路2022电连接,所述稳压电路2022与所述访问模块40、所述控制模块50的电源输入端(图3未示出)及所述开关模块30的电源输入端电连接(图3未示出)。Further, please refer to FIG. 3 , the
其中,所述整流电路2021用于将NFC天线201产生的交流输出整流成直流输出;所述稳压电路2022用于限制和平稳所述整流电路2021的直流输出电压。The
具体来说,NFC天线201产生的交流输出不一定会很稳定,因此会导致整流电路2021的直流输出也不稳定。因此通过稳压电路2022,限制和平稳整流电路2021的直流输出电压,以提高本实施例的NFC控制电路的可靠性。Specifically, the AC output generated by the
另外,需要说明的是,整流电路2021的一引脚与稳压电路2022的一引脚共地连接。In addition, it should be noted that a pin of the
再进一步地,请参阅图3,上述整流电路2021包括第一整流二极管D1、第二整流二极管D2、第三整流二极管D3和第四整流二极管D4。Still further, please refer to FIG. 3 , the above-mentioned
具体的,第一整流二极管的正极与第三整流二极管的负级电连接,以用作整流电路2021的交流输入端的第一引脚;第二整流二极管的正极与第四整流二极管的负级电连接,以用作整流电路2021的交流输入端的第二引脚;Specifically, the anode of the first rectifier diode is electrically connected to the negative stage of the third rectifier diode to be used as the first pin of the AC input end of the
第一整流二极管的负极与第二整流二极管的负极电连接,以用作所述整流电路2021的直流输出端的第一引脚;第三整流二极管的正极与第二整流二极管的正极电连接,以用作整流电路2021的直流输出端的第二引脚。The cathode of the first rectifier diode is electrically connected to the cathode of the second rectifier diode to serve as the first pin of the DC output end of the
在本实施例中,二极管可选用相同类型或不同类型的开关二极管或肖特基二极管。In this embodiment, the diodes may be switch diodes or Schottky diodes of the same type or different types.
再进一步地,请参阅图3,上述稳压电路2022包括稳压管DW1和滤波电容C1;所述稳压管的负极与所述滤波电容的第一引脚电连接,所述稳压管的正极与所述滤波电容的第二引脚电连接。Still further, please refer to FIG. 3, the above-mentioned
具体的,稳压管用于限制整流电路2021的直流输出电压,滤波电容用于平稳整流电路2022的直流输出电压。Specifically, the voltage regulator tube is used to limit the DC output voltage of the
进一步地,上述访问模块40包括访问按键,所述访问按键分别与所述NFC感应模块20和所述控制模块50电连接;具体地,当所述访问按键处于被按压状态时,导通所述NFC感应模块20与所述控制模块50,以触发所述控制模块50。Further, the above-mentioned
具体来说,当用户需要使用NFC装置时,若用户需要持续按压按键才能进行使用,则不仅用户的使用体验感较差,且在按压过程中若出现按键抖动的情况还会导致访问失败;若用户按压按键(或拨动按键)后按键保持住按压后(或拨动后)的状态,虽然用户能够进行本次操作,但是用户很容易在本次操作完成之后忘记将该按键恢复回按压前(或拨动前)的状态,如此用户的NFC装置在使用过后仍可能会被NFC读写装置访问。Specifically, when the user needs to use the NFC device, if the user needs to keep pressing the button to use it, not only the user experience will be poor, but also the access will fail if the button vibrates during the pressing process; After the user presses the button (or toggles the button), the button remains in the pressed (or toggled) state. Although the user can perform this operation, it is easy for the user to forget to restore the button to the one before pressing after the operation is completed. (or before the toggle), so that the user's NFC device may still be accessed by the NFC read-write device after use.
基于此,在本实施例中当用户需要使用NFC装置时,仅需按一下访问按键即可完成此次操作。在本次操作完成后,访问按键处于断开的状态,因此NFC读写装置无法访问此NFC装置。如此,不仅用户使用体验感较好且安全性极高。Based on this, in this embodiment, when the user needs to use the NFC device, he only needs to press the access button once to complete the operation. After this operation is completed, the access button is in a disconnected state, so the NFC read-write device cannot access the NFC device. In this way, not only the user experience is better, but also the security is extremely high.
进一步地,请参阅图4,上述开关模块30包括射频开关301,所述射频开关301包括电源输入引脚(图4未示出)、接地引脚(GND)、控制引脚(CTRL)、第一开关引脚(S1)和第二开关引脚(S2)。Further, referring to FIG. 4 , the above-mentioned
其中,所述射频开关301的电源输入引脚与所述NFC感应模块20电连接,接地引脚接地,以使NFC感应模块20为所述射频开关301提供工作电压。Wherein, the power input pin of the
所述射频开关301的控制引脚与所述控制模块50电连接,所述射频开关301的第一开关引脚与所述NFC感应模块20电连接,所述射频开关301的第二开关引脚与所述NFC设备10电连接。The control pin of the
所述射频开关301用于在控制引脚存在高电平输入时,导通第一开关引脚和第二开关引脚之间的电连接。The
具体来说,当射频开关301的控制引脚有高电平信号输入时,射频开关301的两个开关引脚导通,如此,NFC感应模块20和NFC设备10之间形成电连接,就可以使NFC装置被NFC读写装置访问。Specifically, when the control pin of the
在本实施例中,射频开关301选用SKYWORKS公司的SKY13453-385LF,当然,也可选用其他具有类似功能的开关芯片。In this embodiment, the
再进一步地,请参阅图4,上述开关模块30还包括下拉电阻R1,所述下拉电阻的第一引脚与所述射频开关301的控制引脚电连接,第二引脚接地。Still further, please refer to FIG. 4 , the
其中,所述下拉电阻用于当所述NFC感应模块20刚产生直流输出时,断开第一开关引脚和第二开关引脚之间的电连接,以断开所述NFC感应模块20与NFC设备10的连接。The pull-down resistor is used to disconnect the electrical connection between the first switch pin and the second switch pin when the
具体来说,为确保开关模块30刚上电时(即NFC感应模块刚产生输出时)能可靠的断开NFC感应模块20与NFC设备10,因此设置下拉电阻串联在其控制引脚与地之间,如此能确保刚上电时控制引脚不存在高电平输入,因此能确保刚上电时断开NFC感应模块20与NFC设备10,提高了本实施例NFC访问控制电路的可靠性。Specifically, in order to ensure that the
进一步地,请参阅图5,上述控制模块50包括第一模拟开关501,所述第一模拟开关501包括电源输入引脚(VCC)、接地引脚(GND)、控制引脚(CTRL)、开关引脚(S)和输出引脚(OUT)。Further, please refer to FIG. 5 , the above-mentioned
其中,所述第一模拟开关501的电源输入引脚与所述NFC感应模块20电连接,接地引脚接地,以使所述NFC感应模块20为所述第一模拟开关501提供工作电压。The power input pin of the
所述第一模拟开关501的控制引脚与所述访问模块40电连接,开关引脚与电源输入引脚电连接,输出引脚与所述开关模块30电连接。The control pin of the
具体的,所述第一模拟开关501用于在控制引脚存在高电平输入时,导通开关引脚和输出引脚,以使所述第一模拟开关501向所述开关模块30输出高电平信号。Specifically, the
再进一步地,上述控制模块50还包括第二模拟开关502,所述第二模拟开关502包括电源输入引脚(VCC)、接地引脚(GND)、控制引脚(CTRL)、开关引脚(S)和输出引脚(OUT)。Still further, the above-mentioned
其中,所述第二模拟开关502的电源输入引脚与所述NFC感应模块20电连接,接地引脚接地,以使所述NFC感应模块20为所述第二模拟开关502提供工作电压。The power input pin of the
所述第二模拟开关502的控制引脚与所述访问模块40电连接,开关引脚与电源输入引脚电连接,输出引脚分别与控制引脚以及所述第一模拟开关501的控制引脚电连接。The control pin of the
具体的,所述第二模拟开关502用于当所述控制模块50被触发后且存在工作电压输入时,导通开关引脚和输出引脚,通过输出引脚同时向控制引脚以及所述第一模拟开关501的控制引脚输出高电平信号,以保持所述第二模拟开关502的开关引脚和输出引脚之间的导通和保持所述第一模拟开关501的开关引脚和输出引脚之间的导通。Specifically, the
在本实施例中,用户只需按一下访问模块40(访问按键)即可使用NFC装置,但访问模块40处于触发状态(即访问按键处于按压状态)的时间非常短,因此为确保整个操作的顺利完成而设置第一模拟开关501和第二模拟开关502,用于模拟出访问按键处于按压时的状态,具体实现过程如下:In this embodiment, the user only needs to press the access module 40 (access key) to use the NFC device, but the time that the
(1)当用户按下访问按键时,此时NFC感应模块20同时向两个模拟开关的控制引脚输出高电平信号,此时两个模拟开关的开关引脚和输出引脚分别导通,且由于开关引脚与电源输入引脚连接,因此此时两个模拟开关的输出引脚均能输出高电平信号。(1) When the user presses the access button, the
(2)由于访问按键处于按压状态的时间非常短,因此NFC感应模块20很快就不同时向两个模拟开关的控制引脚输出高电平信号,因此设置第二模拟开关502的输出引脚电连接于其控制引脚。如此,即使两个模拟开关的控制引脚都失去了来自NFC感应模块20的高电平输入,但是只要存在工作电压的输入(即NFC感应模块20还产生输出),则第二模拟开关502的输出引脚会同时向两个控制引脚继续输出高电平输入,进而继续保持两个模拟开关的开关引脚和输出引脚的导通,从而使第一模拟开关501的输出引脚持续向开关模块30的控制引脚输出高电平信号。如此,NFC装置可以被NFC读写装置访问。(2) Since the access button is in the pressed state for a very short time, the
(3)当用户完成操作后且NFC感应模块20不再产生输出,则由于两个模拟开关均失去了工作电压,因此两个模拟开关的输出引脚均不能再输出高电平信号,从而断开NFC感应模块20与NFC设备10。(3) When the user completes the operation and the
简单理解,控制模块50在访问按键被按下后被触发,并且只要有工作电压的输入即可持续向开关模块30输出高电平信号。因此,当用户需要进行操作时,仅需按一下访问按键即可,极具便利性。It is simply understood that the
进一步地,请参阅图6,本实施例中的NFC访问控制电路还包括断电延时模块60,所述断电延时模块60的第一引脚与所述访问模块40及所述控制模块50电连接,第二引脚接地;所述断电延时模块60用于在所述访问模块40触发时,从所述NFC感应模块20取电并储存,并且在所述NFC感应模块20不能输出正常电压时,向所述控制模块50提供预定时间的高电平输入。Further, referring to FIG. 6 , the NFC access control circuit in this embodiment further includes a power-
再进一步地,请继续参阅图6,所述断电延时模块60包括延时电容C2和延时电阻R1;所述延时电容的第一引脚与所述延时电阻的第一引脚电连接,以用作所述断电延时模块60的第一引脚;所述延时电容的第二引脚与所述延时电阻的第二引脚电连接,以用作所述断电延时模块60的第二引脚。Further, please continue to refer to FIG. 6, the power-
具体来说,NFC感应模块20难免会由于不稳定的原因而产生不连续的直流输出,在这种情况下则不能保证控制模块50能一直模拟访问模块40被触发的状态,导致访问操作失败。因此,为提高NFC访问控制电路的可靠性,在NFC感应模块20的输出不稳定的情况下,延时电容通过延时电阻进行放电,以向控制模块50输出预定时间的高电平信号,确保访问操作的顺利进行,提高了可靠性。具体地输出时间与延时电容和延时电阻有关。举例说明,假设预定时间t为3秒,延时电容和延时电阻可根据公式RC=t/ln(V0/Vt)进行计算,其中,V0为延时电容的初始电压值,Vt为t时刻延时电容的电压值,假设第一或第二模拟开关502的最小高电平信号输入为2.4V,则将Vt设置为2.4V,并假设V0为5V,则根据公式计算出RC=4.09,若选取延时电容为1uF,则延时电阻约为4.7MΩ。Specifically, the
此外,由于设置了断电延时模块60,因此,当用户完成操作后且NFC感应模块20不再产生输出后,断电延时模块60也会输出预定时间的高电平信号,即此后在预定时间内,NFC感应模块20和NFC设备10之间还是导通的。In addition, since the power-
综上所述,本实施例提供的NFC访问控制电路,包括NFC设备10、NFC感应模块20、开关模块30、访问模块40和控制模块50。当用户不需要使用NFC装置时,由于开关模块30没有高电平输入因此断开了NFC感应模块20和NFC设备10,NFC读写装置无法访问此NFC装置。当用户需要使用NFC装置时,只需触发一下访问模块40,控制模块50会向开关模块30输出高电平信号,导通NFC感应模块20和NFC设备10,从而使得此NFC装置能够被访问。另外,在用户操作完成后且NFC装置离开NFC读写装置后,由于控制模块50不再会向开关模块30输出高电平信号,从而断开了NFC感应模块20和NFC设备10,如此NFC设备10无法被访问。可以看出,本实施例提供的NFC访问控制电路不仅操作极其便利,且不存在安全隐患。To sum up, the NFC access control circuit provided in this embodiment includes an
基于同一发明构思,本发明的另一实施例提供的一种NFC装置,包括如上所述的NFC访问控制电路,当所述NFC装置靠近NFC读写装置时,通过所述NFC访问控制电路控制所述NFC装置可以被NFC读写装置访问。Based on the same inventive concept, another embodiment of the present invention provides an NFC device, including the NFC access control circuit described above, when the NFC device is close to the NFC reading and writing device, the NFC access control circuit controls the The NFC device can be accessed by the NFC read-write device.
由于本实施例与上述实施例基于同一发明构思,因此其具体实施可以参见前述实施例,重复之处不再赘述。Since the present embodiment and the above-mentioned embodiments are based on the same inventive concept, reference may be made to the above-mentioned embodiments for the specific implementation thereof, and repeated descriptions will not be repeated.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010001257.4A CN113067604B (en) | 2020-01-02 | 2020-01-02 | NFC access control circuit and NFC device |
PCT/CN2020/131559 WO2021135741A1 (en) | 2020-01-02 | 2020-11-25 | Nfc access control circuit and nfc apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010001257.4A CN113067604B (en) | 2020-01-02 | 2020-01-02 | NFC access control circuit and NFC device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113067604A CN113067604A (en) | 2021-07-02 |
CN113067604B true CN113067604B (en) | 2022-08-30 |
Family
ID=76558062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010001257.4A Active CN113067604B (en) | 2020-01-02 | 2020-01-02 | NFC access control circuit and NFC device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113067604B (en) |
WO (1) | WO2021135741A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547470A (en) * | 2016-06-24 | 2018-01-05 | 中兴通讯股份有限公司 | Mobile terminal and NFC pay control method |
CN107911147A (en) * | 2017-11-10 | 2018-04-13 | 深圳市文鼎创数据科技有限公司 | A kind of control circuit and smart card for NFC near-field communications |
CN208689587U (en) * | 2018-10-10 | 2019-04-02 | 北京中广瑞波科技股份有限公司 | NFC device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103413165B (en) * | 2013-08-07 | 2017-08-25 | 歌尔股份有限公司 | Control the method and controlled NFC label of NFC label |
US9361564B2 (en) * | 2013-12-02 | 2016-06-07 | Qualcomm Technologies International, Ltd. | Protection of an NFC or RFID radio in the presence of strong electromagnetic fields |
CN204117180U (en) * | 2014-10-08 | 2015-01-21 | 北京联云格科技有限公司 | A kind of NFC label and NFC device |
KR101626503B1 (en) * | 2014-11-27 | 2016-06-01 | 주식회사 아이엠에이 | Macro execution system of smart terminal using stickable button-type near-field communication tag and method thereof |
CN207638657U (en) * | 2017-11-10 | 2018-07-20 | 深圳市文鼎创数据科技有限公司 | A control circuit and smart card for NFC near field communication |
-
2020
- 2020-01-02 CN CN202010001257.4A patent/CN113067604B/en active Active
- 2020-11-25 WO PCT/CN2020/131559 patent/WO2021135741A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547470A (en) * | 2016-06-24 | 2018-01-05 | 中兴通讯股份有限公司 | Mobile terminal and NFC pay control method |
CN107911147A (en) * | 2017-11-10 | 2018-04-13 | 深圳市文鼎创数据科技有限公司 | A kind of control circuit and smart card for NFC near-field communications |
CN208689587U (en) * | 2018-10-10 | 2019-04-02 | 北京中广瑞波科技股份有限公司 | NFC device |
Also Published As
Publication number | Publication date |
---|---|
WO2021135741A1 (en) | 2021-07-08 |
CN113067604A (en) | 2021-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10346668B2 (en) | Capacitive sensing circuit | |
US9659195B2 (en) | Tone-based wake up circuit for card reader | |
EP4258088B1 (en) | Stylus | |
US20180089490A1 (en) | Capacitive sensing circuit | |
TW202125979A (en) | Load insertion detection circuit, system and method | |
CN216053092U (en) | Electronic wallet circuit and electronic wallet | |
TWI659349B (en) | Fingerprint sensing circuit and fingerprint sensing device | |
JP2016189189A (en) | Memory device for storing operational data of electronic apparatus, and system for the same | |
WO2005101304A1 (en) | Semiconductor integrated circuit and noncontact information system using it | |
US20100277146A1 (en) | Computer power supply and standby voltage discharge circuit thereof | |
CN113067604B (en) | NFC access control circuit and NFC device | |
US9490723B2 (en) | Power adaptor system and method | |
US7745960B2 (en) | Power supply control signal generating circuit | |
CN102736524B (en) | Power switch | |
CN111030048B (en) | Electric leakage protection circuit, charging wire and charger | |
US20040124712A1 (en) | Circuit for preventing unintentional power off of mobile terminal and method thereof | |
CN112017579B (en) | Display device and driving system thereof | |
CN206619142U (en) | Desktop computer protection device based on recognition of face | |
CN211180833U (en) | Radio frequency card swiping circuit | |
TW581947B (en) | Personal digital assistant with voltage protection | |
CN119481377A (en) | A battery, an electronic device and a battery detection and processing method | |
TWI667617B (en) | Fingerprint identification smart card | |
CN118801928A (en) | Signal transmission device, signal transmission method and electronic equipment | |
CN114415568A (en) | Circuit control method, device, and computer-readable storage medium | |
TWM672255U (en) | Electronic system and data clearing circuit thereof |
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 |