CN202523087U - Radio frequency identification (RFID)-based self-service voice system - Google Patents

Radio frequency identification (RFID)-based self-service voice system Download PDF

Info

Publication number
CN202523087U
CN202523087U CN2012201484126U CN201220148412U CN202523087U CN 202523087 U CN202523087 U CN 202523087U CN 2012201484126 U CN2012201484126 U CN 2012201484126U CN 201220148412 U CN201220148412 U CN 201220148412U CN 202523087 U CN202523087 U CN 202523087U
Authority
CN
China
Prior art keywords
card
master controller
data
self
controller
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.)
Expired - Fee Related
Application number
CN2012201484126U
Other languages
Chinese (zh)
Inventor
李敏通
刘冬
姚志凤
唐传高
张健
甘志鹏
侯局
李小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwest A&F University
Original Assignee
Northwest A&F University
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 Northwest A&F University filed Critical Northwest A&F University
Priority to CN2012201484126U priority Critical patent/CN202523087U/en
Application granted granted Critical
Publication of CN202523087U publication Critical patent/CN202523087U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a radio frequency identification (RFID)-based self-service voice system, which comprises a master controller STC12C5A60S2, a slave controller STC89C52RC, a card reader chip RC500, an audio decoders VS1003, a secure digital (SD) card module, a MifareS50 card, an audio output device and an antenna. The RFID-based self-service voice system has the characteristics of low cost and convenience for popularization, and is applied to the technical field of communication.

Description

Self-assisted voice system based on RFID
Technical field
The utility model belongs to communication technical field, relates to a kind of self-assisted voice system, particularly based on the self-assisted voice system of RFID.
Background technology
RFID (Radio Frequency Identification) technology; Claim radio RF recognition technology again; Be a kind of communication technology, can discern specific objective and read and write related data, and need not to set up machinery between recognition system and the specific objective or optics contacts through radio signal.
The data redirection technology is the data processing technique of a kind of framework on file system.The purpose of data redirection is to change data flow, makes data stream walk around some equipment as required, and then directly sends into the data processing technique in the target device, can play the effect that improves data transmission efficiency, saves device resource.
The electronics explanation device that exists in the market mainly contains two types: one type is to use the electronics explanation device in the outdoor large place, and used technology mainly is GPS, and for example article are swum electronic guide, and its cost is high, and can't accurately locate at the intensive scenic spot of class in the museum; Another kind of is Destination Management electron-like explanation device, and its function mainly is to assist the guide to do some complementary management, for example checks the number of people, explains in the team, can not realize the function of " automatically ".
The utility model content
The purpose of the utility model is to remedy ordinary electronic explanation device and is not suitable for the shortcoming in indoor intensive scenic spot use, and the self-assisted voice system based on RFID and data redirection technology that a kind of cost is low, be convenient to promote is provided.Its technical scheme is:
Self-assisted voice system based on RFID; Comprise master controller STC12C5A60S2, slave controller STC89C52RC, card reader chip RC500, audio decoder VS1003, SD card module, MifareS50 card, audio frequency output module, antenna; Be connected through serial line interface between master controller and the slave controller; The serial ports transmitting terminal of master controller is connected with the serial ports receiving end of slave controller, and the serial ports receiving end of master controller and the serial ports transmitting terminal of slave controller are connected;
The SD card module adopts the SPI pattern of SD card to be connected with master controller: 4 master controller I/O interfaces are connected with data input pin, data output end, sheet choosing, the clock signal terminal of SD card respectively;
Audio decoder VS1003 adopts the SPI pattern of VS1003 to be connected with master controller: 4 master controller I/O interfaces are connected with data input pin, data output end, sheet choosing, the clock signal terminal of audio decoder VS1003;
Audio frequency output is connected with the earphone interface of audio decoder VS1003 standard;
Slave controller is connected with RC500 Card Reader chip;
RC500 card reader chip is connected with antenna.
Above-mentioned MifareS50 card is a radio frequency label card.MifareS50 fastens and is placed on the place, sight spot.
Above-mentioned audio frequency is output as earphone.
Above-mentioned antenna is a printed antenna.
Above-mentioned slave controller comprised with being connected of RC500 Card Reader chip: interrupt to connect, the sheet choosing connects, write gate connects, the command final election connects, 8 data buss connect, address latch enables to connect, connection resets.
Compared with prior art, the beneficial effect of the utility model is:
1, the utility model moves the function of complex design on hardware resource single-chip microcomputer seldom, can practice thrift cost to greatest extent, increases feasibility;
2, the technical scheme of the utility model in traditional tourist industry, is improved Tourism development bottleneck with electronic science and technology with new technique RFID successful Application;
3, the utility model be indoor intensive sight spot designed and Implemented a cover feasible, the device of electronics explanation cheaply, remedy the only shortcoming used of scenic spot out of doors of electronic guide;
4, native system speech data data is stored in the SD card with the .mp3 form, writes the data in the SD card in order effectively to manage, and the FAT32 file system is implanted on 51 single-chip microcomputers, and single-chip microcomputer can be operated the file on the SD card easily.The implantation of file system is a kind of effective measures of on the processor of low side, developing complication system, also is the innovation part of native system data processing.Native system adopts the data redirection function of file system; So-called redirection function takes out data exactly in batches and directly delivers among the VS1003 and decode from the SD card; Avoid in single-chip microcomputer, opening up data buffer area; With the objective function of VS1003 voice data entrance function pointer as sense data from the SD card, change has promptly taken place in the flow direction of data, the original data that need get into single-chip microcomputer RAM is delivered directly among the VS1003 decodes; And the data in the SD card are by sector (512byte) read-write, the single-chip microcomputer internal RAM of so just having avoided opening up 512byte.
Description of drawings
Fig. 1 is the structural representation of the utility model;
Fig. 2 is the utility model master controller, slave controller software flow pattern;
Fig. 3 is the utility model slave controller software detail flowchart.
Embodiment
Below in conjunction with accompanying drawing and embodiment the utility model is done explanation in further detail.
With reference to Fig. 1; Self-assisted voice system based on RFID; Comprise master controller STC12C5A60S2, slave controller STC89C52RC, card reader chip RC500, audio decoder VS1003, SD card module, MifareS50 card, audio frequency output, antenna; Be connected through serial line interface between master controller and the slave controller, realize data communication through Transistor-Transistor Logic level.The serial ports transmitting terminal of master controller is connected with the serial ports receiving end of slave controller, and the serial ports receiving end of master controller and the serial ports transmitting terminal of slave controller are connected;
The SD card module adopts the SPI pattern to be connected with master controller: adopt 4 master controller I/O interfaces to be connected with data input pin, data output end, sheet choosing, the clock signal terminal of SD card respectively, use the SPI pattern to carry out read-write operation in the software;
Audio decoder VS1003 adopts the SPI pattern of VS1003 to be connected with master controller: adopt 4 master controller I/O interfaces to be connected with data input pin, data output end, sheet choosing, the clock signal terminal of audio decoder VS1003, software control SPI pattern is carried out read-write operation.
Annotate: the data input pin of VS1003 and SD card, data output end use identical I/O mouth with being connected of master controller, adopt time-division multiplex technology here, also are the hardware conditions of data redirection;
Audio frequency output is gone into input pin with left and right acoustic channels pin, the line of audio decoder VS1003, impact damper pin three ports in public ground are connected, i.e. the earphone interface of standard;
Slave controller comprised with being connected of RC500 Card Reader chip: interrupt to connect, the sheet choosing connects, write gate connects, the command final election connects, 8 data buss connect, address latch enables to connect, connection resets;
RC500 card reader chip is connected with antenna: transmitter, the internal reference voltage of the RC500 Card Reader chip printed antenna of extending out.
Total system adopts the 5V power supply.Hardware circuit also comprises 3.3V that controller reset circuit, controller crystal oscillating circuit, RC500 Card Reader chip crystal oscillating circuit, VS1003 audio decoder module and SD card module are required and the system power supply circuit of 2.5V.
In the master controller there be the software of burning: FAT file system program; The VS1003 driver; The SD card driver; The serial port drive program.In the slave controller there be the software of burning: the card running program that meets all layers of ISO14443A communication protocol;
Except that the MifareS50 card, all the other modules are integrated in the circuit board, are arranged in hand-held set; MifareS50 fastens and is placed on the place, sight spot.
When the utility model used, radio-frequency module surveyed in the 10cm scope whether available electron label (MifareS50 card) is arranged, in the time of in electronic tag is in this scope; Label card gets into the READY state and to card reader module return data request command; After single-chip microcomputer received this order, reading tag card interior label signal promptly identified the showpiece code name; Single-chip microcomputer calls the showpiece related data that is stored in the SD card according to this code name; To VS1003 audio decoder module, the audio decoder module outputs to amplifying circuit through decoding with data redirection, and the self-assisted voice system begins explanation.
With reference to Fig. 2, in the utility model master controller software flow pattern, the first step: master controller (STC12A560S2) is carried out initialization operation to each sub-module; Second step: master controller sends order, and the control slave controller calls seeks card command, repeats in 5 seconds at interval to send once, up to there being label card to get into readable area; The 3rd step: master controller sends order successively: the value in a certain district of register in anti-collision, card authentication password, the reading tag card; The 4th step: master controller will read the value of returning as the parameter call FAT file system function that opens file; The 5th step: the FAT file system redirects to voice data decoder module (VS1003 module) with file data, and data realize system's predetermined function through VS1003 decoding, amplification, output.
With reference to Fig. 3, in the utility model, in the software flow pattern of slave controller:
Slave controller adopts " inquiry is interrupted " mode to wait for the command code that master controller is sent." inquiry is interrupted " mode is a controller cycle detection serial ports interrupt flag bit, determines whether a kind of waiting mechanism that data are sent from serial ports;
Slave controller is received command string, and earlier to the command string CRC check, check results is returned host computer, and verification correctly got into for the 3rd step, otherwise returned the first step.The command string form is: data packet length L (1Byte), command word C (1Byte), packet D (L-1Bytes), check word X (1Byte);
Slave controller is carried out corresponding operating according to command word C (1Byte).Command word comprises: " seeking card ", " anti-collision ", " choosing card ", " authentication password ", " Card Reader data ", " writing the card data ", " termination ";
Return the first step after complete.
Above-mentioned software description meets each layer of ISO14443 agreement; The realization of operation is the functional performance of slave controller reading card device chip RC500.
" seek card ", " card authentication password ", " anti-collision ", " reading the card data " all be through serial communication to the command string that slave controller sends, have the judgment model of " seeking card " as shown in Figure 2.
Slave controller is after receiving order, and exectorial process is exactly the process of communicating by letter with card reader chip RC500, and its process meets all layer protocols of ISO14443A.
The course of work of native system is following:
The first step: opening power, master controller begins executive routine: 1, serial ports initialization; 2, send " seeking card " order to the slave controller circulation;
Second step: user's hand-held set is near the MifareS50 card, and in the distance card 10cm time, seeks card successfully;
The 3rd step: after " seeking card " success; Master controller sends " card authentication password ", " anti-collision ", " reading the card data " order; And every order just continues to send next command after all needing correct rreturn value; Finally return data of MifareS50 card internal register to master controller, these data are as the sign of the different MifareS50 cards of difference." seek card ", " card authentication password ", " anti-collision ", " reading the card data " be through the serial data behind the coding in software program;
The 4th step: after master controller obtains the identification data of MifareS50 card, call corresponding with it audio file in the SD card according to this sign.Step is following: 1, SD card initialization; 2, program pointer points to SD card parameter sets; 3, FAT file system initialization, audio decoder module VS1003 initialization; 4, open SD card audio file and be redirected to audio decoder module (VS1003); 5, empty buffer zone.
The 5th step: master controller software turns back to the point of second in the first step.So circulation.
The above; Be merely the preferable embodiment of the utility model; The protection domain of the utility model is not limited thereto; Use controller chip, card reader chip (upgrading products of RC500 etc.), the memory module (USB flash disk formula storage etc.) of different model can both realize systemic-function, any technician who is familiar with the present technique field is in the technical scope that the utility model discloses, and the simple change or the equivalence replacement that obtain technical scheme all fall in the protection domain of the utility model with may be obvious that.

Claims (6)

1. based on the self-assisted voice system of RFID; It is characterized in that; Comprise master controller STC12C5A60S2, slave controller STC89C52RC, card reader chip RC500, audio decoder VS1003, SD card module, MifareS50 card, audio frequency output module, antenna; Be connected through serial line interface between master controller and the slave controller, the serial ports transmitting terminal of master controller is connected with the serial ports receiving end of slave controller, and the serial ports receiving end of master controller and the serial ports transmitting terminal of slave controller are connected;
The SD card module adopts the SPI pattern of SD card to be connected with master controller: 4 master controller I/O interfaces are connected with data input pin, data output end, sheet choosing, the clock signal terminal of SD card respectively;
Audio decoder VS1003 adopts the SPI pattern of VS1003 to be connected with master controller: 4 master controller I/O interfaces are connected with data input pin, data output end, sheet choosing, the clock signal terminal of audio decoder VS1003;
Audio frequency output is connected with the earphone interface of audio decoder VS1003 standard;
Slave controller is connected with RC500 Card Reader chip;
RC500 card reader chip is connected with antenna.
2. self-assisted voice according to claim 1 system is characterized in that said MifareS50 card is a radio frequency label card.
3. self-assisted voice according to claim 1 system is characterized in that, said MifareS50 fastens and is placed on the place, sight spot.
4. self-assisted voice according to claim 1 system is characterized in that said audio frequency is output as earphone.
5. self-assisted voice according to claim 1 system is characterized in that said antenna is a printed antenna.
6. self-assisted voice according to claim 1 system; It is characterized in that said slave controller comprised with being connected of RC500 Card Reader chip: interrupt to connect, the sheet choosing connects, write gate connects, the command final election connects, 8 data buss connect, address latch enables to connect, connection resets.
CN2012201484126U 2012-04-11 2012-04-11 Radio frequency identification (RFID)-based self-service voice system Expired - Fee Related CN202523087U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012201484126U CN202523087U (en) 2012-04-11 2012-04-11 Radio frequency identification (RFID)-based self-service voice system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012201484126U CN202523087U (en) 2012-04-11 2012-04-11 Radio frequency identification (RFID)-based self-service voice system

Publications (1)

Publication Number Publication Date
CN202523087U true CN202523087U (en) 2012-11-07

Family

ID=47106025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012201484126U Expired - Fee Related CN202523087U (en) 2012-04-11 2012-04-11 Radio frequency identification (RFID)-based self-service voice system

Country Status (1)

Country Link
CN (1) CN202523087U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637398A (en) * 2012-04-11 2012-08-15 西北农林科技大学 Self-service audio system based on RFID (radio frequency identification) and digital redirection technology
CN110489359A (en) * 2019-08-22 2019-11-22 苏州国芯科技股份有限公司 A kind of data transfer control method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637398A (en) * 2012-04-11 2012-08-15 西北农林科技大学 Self-service audio system based on RFID (radio frequency identification) and digital redirection technology
CN102637398B (en) * 2012-04-11 2014-04-16 西北农林科技大学 Self-service audio system based on RFID (radio frequency identification) and digital redirection technology
CN110489359A (en) * 2019-08-22 2019-11-22 苏州国芯科技股份有限公司 A kind of data transfer control method and system
CN110489359B (en) * 2019-08-22 2021-05-14 苏州国芯科技股份有限公司 Data transmission control method and system

Similar Documents

Publication Publication Date Title
JP5367847B2 (en) Terminal supporting enhancement type short-range wireless communication and processing method thereof
CN101894281B (en) Baseband signal processing SOC chip of multi-protocol UHF RFID reader
US9589160B2 (en) Working method for smart card reader
WO2016011971A1 (en) Double-frequency multi-protocol multifunctional near field communication integrated system and application method
CN102768781B (en) NFC (Near Field Communication) mobile phone electronic lock control system and NFC mobile phone electronic lock control device
WO2006103510A1 (en) Radio frequency identification device
US9514067B2 (en) Interface arbitration for a wired tag
CN101968854A (en) RFID method and device for animal traceability management
CN201689446U (en) Study and entertainment interaction system utilizing radio-frequency identification and wireless sensor network
CN102968325A (en) USB (Universal Serial Bus) equipment and method and device for automatically initializing same
CN202523087U (en) Radio frequency identification (RFID)-based self-service voice system
CN202102425U (en) Port conversion device
KR101570374B1 (en) Dual interface near field communication tag apparatus, and method for sharing an information of payment using a dual interface near field communication tag
CN102637398B (en) Self-service audio system based on RFID (radio frequency identification) and digital redirection technology
CN103489016B (en) RFID anti-collision read-write device and control method thereof
WO2021143094A1 (en) Radio frequency identification chip supporting digital communication interface, and application method thereof
CN203054881U (en) Radio-frequency card reader writer based on single-chip microcomputer
CN104699644B (en) A method of driving NFC modules under Android platform
CN104809494B (en) Label assembly, the method and electronic system that burning is carried out to label assembly
CN102810164B (en) RFID card-issuing equipment and processing method thereof
CN101882231A (en) RFID (Radio Frequency Identification Devices) reader-writer and data transmission method thereof
CN202110567U (en) Ultrahigh-frequency RFID (Radio Frequency Identification) reader-writer and corresponding mobile terminal
CN105590075A (en) Method for rapidly getting access to SD card and intelligent terminal
CN211830768U (en) Exhibition room bilingual explanation system
CN213484868U (en) Radio frequency identification device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121107

Termination date: 20130411