CN103188118B - A kind of 14443 interface PCD frame end detection methods - Google Patents
A kind of 14443 interface PCD frame end detection methods Download PDFInfo
- Publication number
- CN103188118B CN103188118B CN201110461136.9A CN201110461136A CN103188118B CN 103188118 B CN103188118 B CN 103188118B CN 201110461136 A CN201110461136 A CN 201110461136A CN 103188118 B CN103188118 B CN 103188118B
- Authority
- CN
- China
- Prior art keywords
- frame end
- signal
- buffer memory
- data
- character buffer
- 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
Landscapes
- Communication Control (AREA)
- Dc Digital Transmission (AREA)
Abstract
The invention provides a kind of 14443 interface PCD holds physical layer to cause frame end to detect the processing method of mistake to noise signal.14443 carrier signals, by after radio frequency reception demodulation, amplification, quantification, are delivered to digital decoding circuit and are processed, and the amplitude of noise signal after amplifying then is quantized out after exceeding the threshold level of sample circuit.In order to the false judgment preventing noise signal from causing frame end, the detection adopting the mode of Character mother plate to increase frame end judges the time, thus the probability that raising frame end correctly detects, avoid, after frame end, noise signal is mistaken for useful signal, improve the communication efficiency of interface.
Description
Technical field:
The present invention relates to the detection technique of 14443 interface PCD being held to physical layer Received signal strength frame end.
Background technology:
In contactless smart card field, communication system is divided into read write line (PCD) and card (PICC) two parts.The physical layer signal of PICC end after rf modulations is launched and propagated by air traffic channel, inevitably can introduce Noise and Interference, when these signals are after PCD holds radio demodulating, amplification, quantification, then noise can be introduced digital decoding circuit.Due to the existence of noise, digital decoding circuit can be caused to occur the situation of process by mistake in links such as postamble detections, noise signal is mistaken for useful signal after frame end, or is mistaken for frame end when Signal transmissions, thus causing this time communication to make mistakes, communication efficiency reduces.When operating distance is far away, this problem is especially outstanding, the modulation amplitude of useful signal is little, signal to noise ratio reduces, the amplitude of useful signal and noise has comparativity, ration the power supply to put down by demodulation, filtering or adjustment quantification gate and be all difficult to correctly differentiate useful signal and noise, much noise signal enters digital decoding circuit.
In order to address this problem, need the noise signal treatment mechanism introducing some necessity at frame end detection.Data frame structure generally comprises three parts: start-of-frame (SOF), character (Characters), frame end symbol (EOF), as shown in Figure 1.Wherein frame end symbol is the code shape being different from character of definition separately, and the form of character comprises 1bit logic ' 0 ' start bit, 8bit data and 1bit logic ' 1 ' stop bits, and frame end symbol is the fixed logic ' 0 ' of certain hour.The character masterplate that the present invention utilizes agreement to provide judges frame end, increases the judgement time to improve the correct probability judged, effectively can solve the problem that the correct judgment frame of noise effect terminates.
Summary of the invention:
The invention provides a kind of 14443 interface PCD holds physical layer Received signal strength to detect the method for frame end.
Concrete methods of realizing step is as follows:
(1) when signal is input to digital decoding circuit by radio demodulating, detection signal width, filtered signal width is less than the signal of threshold value th1;
(2) the filtered deration of signal and threshold value th2 are compared, if the deration of signal is less than or equal to this threshold value, then by after data decode stored in character buffer memory, go to step (3); If be greater than threshold value, then go to step (4);
(3) judge whether the data in character buffer memory reach whole byte, if reach whole byte, by the data conversion storage in character buffer memory to data buffer, and empty character buffer memory, if not enough whole byte, circulate and perform step (1)-(3); .
(4) judge whether the data in character buffer memory reach whole byte, if reach whole byte, by the data conversion storage in character buffer memory to data buffer, and empty character buffer memory, if not enough whole byte, be judged as frame end, and empty character buffer memory.
In frame end detection method, need to consider the data-signal change that the deration of signal occurs after radio demodulating to the threshold value th1 of the deration of signal, the setting of th2, leave certain allowance.
Embodiment:
Below in conjunction with accompanying drawing, illustrate the present invention.
Fig. 2 frame end overhaul flow chart is depicted as the process chart causing judging by accident frame end in the present invention to noise signal, according to concrete implementation, comprises the following steps:
Step 201, in filtered signal, width is less than the noise spike of protocol requirement, and consider that useful signal deration of signal after demodulation can change a lot, the filtering threshold of setting needs to leave certain nargin.
Step 202, judges whether the filtered deration of signal is greater than corresponding threshold value, if be not more than corresponding threshold value, then carry out step 203, otherwise performs step 206.In like manner, consider that useful signal deration of signal after demodulation can change a lot, the threshold value of setting needs to leave certain nargin.
Step 203, by after signal decoding stored in character buffer memory.
Step 204, judges whether the data bit number in character buffer memory equals 8, if equal 8, then carry out step 205, otherwise circulation performs step 201 to step 204.
Step 205, by whole character 8bit data stored in data buffer, empties character buffer memory simultaneously.
Step 206, judges whether the data bit number in character buffer memory equals 8, if equal 8, then carry out step 205, otherwise performs step 207.
Step 207, is judged as frame end, empties character buffer memory simultaneously.
Should be understood that, the present embodiment is used for illustrative purposes only, but not limitation of the present invention.Person skilled in the relevant technique, without departing from the spirit and scope of the present invention, can also make various conversion or change, and therefore all equivalent technical schemes also should belong to category of the present invention by each claim.
Accompanying drawing illustrates:
The frame end form that Fig. 1 is desirable and the actual frame end form comprising noise
Fig. 2 frame end overhaul flow chart
Claims (1)
1. 14443 interface read write line PCD hold physical layer Received signal strength to detect a method for frame end, it is characterized in that step is as follows:
(1) when signal is input to digital decoding circuit by radio demodulating, detection signal width, filtered signal width is less than the signal of threshold value th1;
(2) the filtered deration of signal and threshold value th2 are compared, if the deration of signal is less than or equal to this threshold value, then by after data decode stored in character buffer memory; If be greater than threshold value, then go to step (4);
(3) judge whether the data in character buffer memory reach whole byte, if reach whole byte, by the data conversion storage in character buffer memory to data buffer, and empty character buffer memory, if not enough whole byte, circulate and perform step (1)-(3);
(4) judge whether the data in character buffer memory reach whole byte, if reach whole byte, by the data conversion storage in character buffer memory to data buffer, and empty character buffer memory, if not enough whole byte, be judged as frame end, and empty character buffer memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110461136.9A CN103188118B (en) | 2011-12-30 | 2011-12-30 | A kind of 14443 interface PCD frame end detection methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110461136.9A CN103188118B (en) | 2011-12-30 | 2011-12-30 | A kind of 14443 interface PCD frame end detection methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103188118A CN103188118A (en) | 2013-07-03 |
CN103188118B true CN103188118B (en) | 2015-08-19 |
Family
ID=48679090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110461136.9A Active CN103188118B (en) | 2011-12-30 | 2011-12-30 | A kind of 14443 interface PCD frame end detection methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103188118B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103684671A (en) * | 2012-09-18 | 2014-03-26 | 北京中电华大电子设计有限责任公司 | 14443 interface PCD frame ending detection method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101441724A (en) * | 2007-11-19 | 2009-05-27 | 飞力凯网路股份有限公司 | IC card, information processing device, communication type identification method, and program |
CN101615260A (en) * | 2008-06-27 | 2009-12-30 | 株式会社瑞萨科技 | SIC (semiconductor integrated circuit), the IC-card that this circuit is installed and this IC-card method of operating |
CN101847215A (en) * | 2009-03-26 | 2010-09-29 | 上海华虹集成电路有限责任公司 | Clock circuit and data decoding circuit of non-contact type IC (Integrated Circuit) card |
WO2010119772A1 (en) * | 2009-04-15 | 2010-10-21 | ルネサスエレクトロニクス株式会社 | Semiconductor integrated circuit device and ic card mounting same |
CN102103701A (en) * | 2009-12-16 | 2011-06-22 | 索尼公司 | Signal processing apparatus and signal processing method |
-
2011
- 2011-12-30 CN CN201110461136.9A patent/CN103188118B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101441724A (en) * | 2007-11-19 | 2009-05-27 | 飞力凯网路股份有限公司 | IC card, information processing device, communication type identification method, and program |
CN101615260A (en) * | 2008-06-27 | 2009-12-30 | 株式会社瑞萨科技 | SIC (semiconductor integrated circuit), the IC-card that this circuit is installed and this IC-card method of operating |
CN101847215A (en) * | 2009-03-26 | 2010-09-29 | 上海华虹集成电路有限责任公司 | Clock circuit and data decoding circuit of non-contact type IC (Integrated Circuit) card |
WO2010119772A1 (en) * | 2009-04-15 | 2010-10-21 | ルネサスエレクトロニクス株式会社 | Semiconductor integrated circuit device and ic card mounting same |
CN102103701A (en) * | 2009-12-16 | 2011-06-22 | 索尼公司 | Signal processing apparatus and signal processing method |
Also Published As
Publication number | Publication date |
---|---|
CN103188118A (en) | 2013-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102693567B (en) | Coding-decoding method based on communication of access control system | |
US8250451B2 (en) | IC card, information processing device, communication type identification method, and program | |
CN102880842B (en) | A kind of method strengthening non-contact card and card reader communication robust | |
US20100226461A1 (en) | Communication device, communication method, and program | |
CN102340358A (en) | Apparatus applied for detection and transmission of low frequency signal | |
CN103188118B (en) | A kind of 14443 interface PCD frame end detection methods | |
CN102054186B (en) | Information encoding method and device for electronic tag | |
CN103595421A (en) | A decoder for TYPE A basic data rate signals transmitted by a decoding card | |
CN103684671A (en) | 14443 interface PCD frame ending detection method | |
CN106508105B (en) | For RF identification read write line to label information transferring method | |
CN105743826A (en) | Miller subcarrier decoding method | |
CN102129586B (en) | Information encoding method, method and device for transmitting information from reader-writer to label | |
CN106506416B (en) | Method and apparatus for pulse shaping of radio frequency transmitters | |
CN103916209A (en) | Low-power-consumption decoding method for passive FRID (radio frequency identification) tag PIE code | |
CN101771432B (en) | Demodulation method and system used in hybrid transmission of uplink pilot signal and service signal | |
CN102946255B (en) | For the code and decode method of passive radio frequency identification system | |
CN106897762A (en) | A kind of adaptive demodulation circuit and method for RFID label tag | |
CN105718835A (en) | Digital shaping circuit | |
CN105654014B (en) | A kind of radiofrequency signal demodulator circuit of compatible high low speed signal demodulation | |
CN101013465A (en) | Multi-label anti-collision algorithm in ultrahigh frequency remote auto-recognition system | |
CN110490015A (en) | A kind of method of elevating ultrahigh baud rate (VHBR) communication compatibility | |
CN104573587A (en) | Multipath recognition method with two-way communication function | |
CN105224894B (en) | Decode the circuit of the type A signal that card reader is sent in ISO/IEC14443 agreements | |
CN103595422A (en) | Decoder for decoding TYPE A high-speed data rate signal sent by card | |
CN102904847A (en) | Double denoising signal modulation identification method based on instantaneous information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP02 | Change in the address of a patent holder |
Address after: 102209 Beijing, Beiqijia, the future of science and technology in the south area of China electronic network security and information technology industry base C building, Patentee after: Beijing CEC Huada Electronic Design Co., Ltd. Address before: 100102 Beijing City, Chaoyang District Lize two Road No. 2, Wangjing science and Technology Park A block 5 layer Patentee before: Beijing CEC Huada Electronic Design Co., Ltd. |