A kind of three-in-one control system based on NFC, RFID and bluetooth
Technical field
The present invention relates to control technology field, specially a kind of three-in-one control system based on NFC, RFID and bluetooth.
Background technology
Mobile phone is a universal product, and almost everybody possesses, and the popularity rate of smart mobile phone is more than 90%;Bluetooth function is
Through the standard configuration for being smart mobile phone.But NFC function, RFID functions do not possess on common mobile phone, most mobile phones, or
Person does not possess one of them;We need false proof and differentiated at some, when writing card, because mobile phone does not possess this function, institute
To need by PC or task equipment(Price is high, and is not easy to obtain)Carry out.
The content of the invention
It is above-mentioned to solve it is an object of the invention to provide a kind of three-in-one control system based on NFC, RFID and bluetooth
The problem of being proposed in background technology.
To achieve the above object, the present invention provides following technical scheme:It is a kind of three-in-one based on NFC, RFID and bluetooth
Control system, including MCU, NFC module for reading and writing, RFID read-write module, bluetooth module and power module, the MCU are connected respectively
NFC module for reading and writing, RFID read-write module, bluetooth module, power module, the NFC module for reading and writing connect NFC antenna, the NFC
Antenna is connected with nfc card piece signal;The RFID read-write module connects RFID antenna, the RFID antenna and RFID card piece signal
Connection;The bluetooth module connects Bluetooth antenna, and the Bluetooth antenna signal connects mobile phone.
Preferably, the NFC module for reading and writing includes radio frequency unit, control unit, baseband processing unit, the radio frequency unit
Including radio frequency chip subelement and RC resonance modules, described control unit and baseband processing unit are integrated in radio frequency chip list
In member, the RC resonance modules connect radio frequency chip subelement, and RC resonance modules connection NFC antenna;The radio frequency core
PN65N chips are set in piece subelement.
Preferably, the RFID read-write module includes control chip, low pressure difference linear voltage regulator, read write line chip, first
Impedance variations device, the second impedance variations device, directional coupler, amplifier, RF switch, the low pressure difference linear voltage regulator and control
Coremaking piece connects, and the control chip is connected with read write line chip, the read write line chip respectively with the first impedance variations device, the
Two impedance variations devices are connected, and the first impedance variations device is connected with directional coupler, the second impedance variations device and amplification
Device is connected, and the directional coupler, amplifier are connected with RF switch respectively.
Preferably, the bluetooth module uses BLK-MD-BC04 series bluetooth module or BLK-MD-SPP series bluetooth moulds
Block.
Preferably, the MCU uses model N76E003 single-chip microcomputer.
Preferably, its application method comprises the following steps:
A, mobile phone connects whole control system by bluetooth module;Being operated by cell phone application, module performs operation, and
Return to corresponding control result;
B, nfc card piece is if desired read and write, then is read mobile phone close to NFC chip, NFC antenna collection NFC signals, NFC module for reading and writing
NFC signals are taken, and the signal of reading is transmitted to MCU processing, and the information of reading is shown on mobile phone;
C, RFID card piece is if desired read, then by mobile phone close to RFID card piece, RFID antenna collection RFID signal, RFID read-write mould
Block reads RFID signal, and the signal of reading is transmitted to MCU processing, and the information of reading is shown on mobile phone.
Compared with prior art, the beneficial effects of the invention are as follows:
(1)Structural principle of the present invention is simple, has RFID readings and NFC read-write capabilitys, reduces use cost.
(2)In the present invention, the NFC module for reading and writing strong antijamming capabilities of use, signal transmission rate is fast, further increases
NFC signal-obtaining efficiency.
(3)In the present invention, the RFID read-write module of use can realize the read-write capability of ultrahigh frequency electronic tag, simplify
Peripheral circuit, reduce cost of manufacture.
Brief description of the drawings
Fig. 1 is present system schematic diagram;
Fig. 2 is NFC module for reading and writing control principle drawing of the present invention;
Fig. 3 is RFID read-write module control principle drawing of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Fig. 1-3 are referred to, the present invention provides a kind of technical scheme:A kind of three-in-one control based on NFC, RFID and bluetooth
System, including MCU1, NFC module for reading and writing 2, RFID read-write module 3, bluetooth module 4 and power module 5, the MCU1 connect respectively
NFC module for reading and writing 2, RFID read-write module 3, bluetooth module 4, power module 5 are connect, the NFC module for reading and writing 2 connects NFC antenna
6, the NFC antenna 6 is connected with the signal of nfc card piece 7;The RFID read-write module 3 connects RFID antenna 8, the RFID antenna 8
It is connected with the signal of RFID card piece 9;The bluetooth module 4 connects Bluetooth antenna 10, and the signal of Bluetooth antenna 10 connects mobile phone 11;
Wherein, bluetooth module 4 uses BLK-MD-BC04 series bluetooth module or BLK-MD-SPP series bluetooth modules;MCU1 uses type
Number single-chip microcomputer for being N76E003, N76E003 may operate at two kinds of low-power consumption mode-idle pulleys and power-down mode, can pass through
Which kind of pattern software selection operates in.During idle pulley, chip master clock is closed, but partial function module is still run.Power down
Chip whole clock, which is closed, under pattern ensures that chip power-consumption reaches minimum.In the normal mode of operation, master clock also may be selected to remove
Frequency mode works, it is ensured that is flexibly used between power consumption and performance.High-effect, abundant functional module and configuration, N76E003 can
Flexibly it is used for various application scenarios.
In the present invention, NFC module for reading and writing 2 includes radio frequency unit 12, control unit 13, baseband processing unit 14, described to penetrate
Frequency unit 12 includes radio frequency chip subelement 15 and RC resonance modules 16, and described control unit 13 and baseband processing unit 14 collect
Into in radio frequency chip subelement 15, the RC resonance modules 16 connect radio frequency chip subelement 15, and the RC resonance modules
16 connection NFC antennas 6;PN65N chips are set in the radio frequency chip subelement 15.PN65N chips are that NXP companies go out
Second generation NFC chips, it is integrated with NFC chips PN544 and safety chip SmartMx, major function are as follows:It is
The NFC chips specifically for mobile phone that NXP is released, support active/passive pattern.Card reader pattern:Support to read ISO
15693rd, ISO14443TypeA, ISO14443TypeB, Sony Felica and Mifare Classic agreements card;It is empty
Intend mode card:MIFARE cards (integrated SmartMx) are modeled to, also can external UICC;NFC-IP1 patterns (realize point pair
Point communication pattern):Transmission rate 106kbps, 212kbps or 424kbps.In the present invention, the NFC module for reading and writing of use is anti-interference
Ability is strong, and signal transmission rate is fast, further increases NFC signal-obtaining efficiency.
In the present invention, RFID read-write module 3 include control chip 17, low pressure difference linear voltage regulator 18, read write line chip 19,
First impedance variations device 20, the second impedance variations device 21, directional coupler 22, amplifier 23, RF switch 24, the low voltage difference
Linear voltage regulator 18 is connected with control chip 17, and the control chip 17 is connected with read write line chip 19, the read write line chip
19 are connected with the first impedance variations device 20, the second impedance variations device 21 respectively, the first impedance variations device 20 and directional couple
Device 22 is connected, and the second impedance variations device 21 is connected with amplifier 23, and the directional coupler 22, amplifier 23 are respectively with penetrating
The connection of frequency switch 24.Control chip is the main control chip of module for reading and writing, and main function is communicated with external equipment, manages and supervises
Internal module working condition is controlled, realizes the read-write operation of module for reading and writing;Read write line chip is functional module, and groundwork is to complete
The uplink receiving and downlink of module, the coding and decoding of signal and ISO180000-6B/6C protocol processes;Impedance becomes
Change device and complete read write line chip difference turn single-ended transmitting and reception;Amplifier completes rf modulated signal amplification, and faint is penetrated
Frequency signal is amplified to specified power output;Directional coupler completes reception signal coupling and receiving and transmitting signal separation;Radio frequency is opened
The switch switching for completing signal is closed, multichannel is completed by time-sharing multiplex and launched.In the present invention, the RFID read-write module of use can
To realize the read-write capability of ultrahigh frequency electronic tag, peripheral circuit is simplified, reduces cost of manufacture.
The application method of the present invention comprises the following steps:
A, mobile phone connects whole control system by bluetooth module;Being operated by cell phone application, module performs operation, and
Return to corresponding control result;
B, nfc card piece is if desired read and write, then is read mobile phone close to NFC chip, NFC antenna collection NFC signals, NFC module for reading and writing
NFC signals are taken, and the signal of reading is transmitted to MCU processing, and the information of reading is shown on mobile phone;
C, RFID card piece is if desired read, then by mobile phone close to RFID card piece, RFID antenna collection RFID signal, RFID read-write mould
Block reads RFID signal, and the signal of reading is transmitted to MCU processing, and the information of reading is shown on mobile phone.
Structural principle of the present invention is simple, has RFID readings and NFC read-write capabilitys, reduces use cost.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of changes, modification can be carried out to these embodiments, replace without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.