48J264 A7 B7 五、發明說明(之) PA890501.TWP - 4/8 10 15 經 濟 部 智 慧 財 產 局 員 工 消 費 合 作 社 印 製 20 方法。 【發明目的】 本^明之目的即在於提供以七位元計數器處理職r 二mg:解碼演算方法,是在使用最少的硬體下,以七位 益為主’ g己合簡易變數’以簡單之演算法則即可解 項出卡片讀寫裝置所傳送至非接觸耽卡片之訊息,由於 此技術之發展成功,可逐步建立非接觸咖卡片之設計技 術’進而創造額外商機。 【技術内容】 可達成上述發明目的之以七位元計數器處理Milk c—g的解碼演算方法,是在使用最少的硬體下,以七位 謂數器為主’配合簡易'變數,以簡單之演算法則即可解 讀出卡片讀寫裝置所傳送至非接觸式1C卡片之訊息。其中 該忙卡片為獲取自身電路運作所需能量,並從其中讀取數 位況息,故電路需要盡量簡單,以降低能量的消耗,僅包 括兩模、、且.二隙彳§號檢出模組以及解碼處理模組。 【圖式簡單說明】 4麥閱以下有關本發明一較佳實施例之詳細說明及其 附圖’將可進一步瞭解本發明之技術内容及其目的功效; 有關該實施例之附圖為: 圖一為本發明以七位元計數器處理Miller Coding的解碼 演异方法之使用Miller Coding的編碼訊號; 圖二為該以七位元計數器處理Miller Coding的解碼演算 方法之位元時間分布示意圖; -4 請 先 閱 讀 背 面 之 注 意 事 訂 線 本紙張尺^中^家鮮297公爱) 483264 PA890501.TWP - 5/8 五 經濟部智慧財產局員工消費合作社印製 Α7 Β7 發明說明($) 圖三為該以七位元計數器處理Miller Coding的解碼演算 方法之1C卡片硬體架構圖; 圖四為該以七位元計數器處理Miller Coding的解碼演算 方法之clock訊號處理流程圖;以及 5 圖五為該以七位元計數器處理Miller Coding的解碼演算 方法之gap訊號處理流程圖。 【主要部分代表符號】 1空隙信號檢出模組 2解碼處理模組 【較佳實施例】 非接觸式1C卡片以A型編碼方式作為讀寫裝置傳送電 10 源與數位信號至1C卡片時,是透過MillerCoding方式作訊號 之編碼,Miller Coding編碼方式如圖一所示,讀寫裝置係以 此編碼方式,提供給非接觸式卡片上積體電路(1C)動作所 需的能量與所要傳送的訊息。 如圖中所示,高位準時表示有載波存在,而低位準時 15 表示沒有載波存在,沒有載波存在時就如圖二中所述的空 隙。其中,一個位元的寬度相當於載波128個脈波寬度, 在13.56MHz的載波條件下,沒有載波的3με空隙寬度相當 於40個脈波寬度。 因為要保證讀寫裝置送至卡片端之能量要足夠應付卡 20片積體電路之電力消耗,故在信號為〇時,一個位元之開 始端有時有載波,有時則沒有載波,有無載波視前一位元 為0或1來決定。 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 【裝--------訂---------線| 04 五、發明說明(Zf)48J264 A7 B7 V. Description of the invention (of) PA890501.TWP-4/8 10 15 Printed by the Consumers' Cooperatives of the Intellectual Property Bureau of the Ministry of Economy 20 methods. [Objective of the invention] The purpose of the present invention is to provide a seven-bit counter to process the two mg: decoding algorithm, which uses seven bits as the main 'g-combined simple variable' to simplify the use of the least hardware. The algorithm can decipher the message sent by the card reader to the contactless delay card. Due to the successful development of this technology, the design technology of contactless card can be gradually established to create additional business opportunities. [Technical content] The seven-bit counter can be used to achieve the purpose of the invention above. The decoding calculation method for processing Milk c-g is to use a seven-bit predicator as the main 'matching simple' variable with the least amount of hardware. The algorithm can interpret the message sent by the card reader to the contactless 1C card. The busy card is to obtain the energy required for the operation of its own circuit and read the digital information from it. Therefore, the circuit needs to be as simple as possible to reduce the energy consumption. It only includes two modes, and. Group and decoding processing module. [Brief description of the drawings] 4 Reading the following detailed description of a preferred embodiment of the present invention and the accompanying drawings' will further understand the technical content of the present invention and its purpose and effect; the drawings related to this embodiment are: One is a coding signal using Miller Coding using a seven-bit counter to process Miller Coding decoding variants; Figure 2 is a schematic diagram of the bit time distribution of the seven-bit counter to process Miller Coding's decoding computation method; -4 Please read the note on the back of this book. Thread ruler ^ Middle ^ Jia Xian 297 public love) 483264 PA890501.TWP-5/8 Printed by the Consumers ’Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs Α7 Β7 Description of Invention ($) Figure 3 is 1C card hardware architecture diagram of the 7-bit counter processing Miller Coding decoding algorithm; Figure 4 is a flowchart of the clock signal processing of the 7-bit counter processing Miller Coding decoding algorithm; and 5 Figure 5 is the Gap signal processing flowchart of Miller Coding's decoding algorithm with a seven-bit counter. [Representative symbols of main parts] 1 Gap signal detection module 2 Decoding processing module [Preferred embodiment] When a contactless 1C card uses an A-type encoding method as a read-write device to transmit power and digital signals to a 1C card, The signal is encoded by the MillerCoding method. The Miller Coding encoding method is shown in Figure 1. The reading and writing device uses this encoding method to provide the energy required for the operation of the integrated circuit (1C) on the contactless card and the transmission. message. As shown in the figure, the high-level punctuality indicates the presence of a carrier, while the low-level punctuality 15 indicates the absence of a carrier. When no carrier exists, the gap is described in Figure 2. Among them, the width of one bit is equivalent to 128 pulse wave widths of the carrier. Under the carrier condition of 13.56 MHz, the 3με gap width without the carrier is equivalent to 40 pulse widths. Because it is necessary to ensure that the energy sent from the reader to the card end is sufficient to meet the power consumption of the 20-chip integrated circuit of the card, when the signal is 0, there is sometimes a carrier at the beginning of a bit, and sometimes there is no carrier. The carrier depends on whether the previous bit is 0 or 1. This paper size applies to China National Standard (CNS) A4 specification (210 X 297 mm) (Please read the precautions on the back before filling this page) [Packing -------- Order ------- --Line | 04 V. Description of the Invention (Zf)
PA8905Q1TWP - 6/8 10 15 經濟部智慧財產局員工消費合作社印製 20 、/ 一田則位元為0時,位元之開始端沒有載波。當前一 位元為1時,位元之開始端則有載波。 、2田本位兀資料為1時,位元之開始端就一定有載 =有載波之時段稱為空隙(Gap),此空隙分起始空隙 與L時空隙兩種,當出現在一個位元之起始位置時稱為起 =隙’而出現在—個位元之中央靠近後半段時則稱為1 寺二隙這在資料為丨時才會出現,起始空隙與1時空隙等 兩種都分別佔用侧載波週期時間。 卡片要k 5賣寫裝置送來微弱的訊號中,獲取自身電 =!!所需能量,並從其中讀取數位訊息,故電路需要盡 i簡單以降低旎量的消耗。本發明僅使用中央處理單元 配合簡單的電路,而不增加使用較複雜的振盪器、解碼器 或計數器等電路,以節省電力的消耗,使所獲得的能量能 用於貧料後續的處理與儲存。本發明的硬體架構如圖三所 不,包括有:空隙信號檢出模組丨、解碼處理模组2。 經過研究分析,於作編碼訊號之解碼處理時,除了利 用讯唬本身當作中央處理單元(cpu)的驅動脈波(a〇ck)外, 亚利用簡易電路將空隙訊號(Gap)取出。透過分析編碼訊 號與空隙訊號等兩個訊號,再與隱藏其中數位訊號之間的 關係,我們發現利用一個七位元計數器即可把數位訊號解 出。當該七位元之計數器遇到空隙信號時,就將此計數器 歸零,·至於一個位元是〇或丨在丨時空隙時段就可決定。本 發明的程式處理流程如第四圖與第五圖所示,其中第四圖 是於有載波信號(clock)出現時之處理流程,而第五圖是於 -6 - 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公爱) (請先閱讀背面之注意事項寫本頁) 訂· 丨線· 483204 A7 五、發明說明(f ) PAftQQ501-TWp ^ 7/g- 10 15 經濟部智慧財產局員工消費合作社印製 20PA8905Q1TWP-6/8 10 15 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs. 20 / YITA When the bit is 0, there is no carrier at the beginning of the bit. When the previous bit is 1, there is a carrier at the beginning of the bit. When the data of Tian Tianwei is 1, the beginning of the bit must be loaded = the period with the carrier is called the gap (Gap). This gap is divided into the initial gap and the L-time gap. When it appears in a bit The starting position is called “start = gap” and it appears in the center of a bit when it is close to the second half. It is called “1 temple two gap”. This will only appear when the data is 丨. Each of them occupies the side carrier cycle time. The card needs k 5 selling device to send a weak signal to get its own electricity = !! required energy, and read digital information from it, so the circuit needs to be as simple as possible to reduce the amount of consumption. The invention only uses a central processing unit with simple circuits, and does not increase the use of more complicated circuits such as oscillators, decoders, or counters, so as to save power consumption and enable the obtained energy to be used for subsequent processing and storage of lean materials. . The hardware architecture of the present invention is shown in Figure 3 and includes: a gap signal detection module 丨 and a decoding processing module 2. After research and analysis, in the process of decoding the encoded signal, in addition to using the signal itself as the driving pulse (aock) of the central processing unit (cpu), the gap signal (Gap) is taken out by a simple circuit. By analyzing the relationship between the two signals, such as the coded signal and the gap signal, and the hidden digital signal, we found that the digital signal can be solved by using a seven-bit counter. When the seven-bit counter encounters a gap signal, it resets the counter to zero. As long as a bit is 0 or the gap period can be determined. The program processing flow of the present invention is shown in the fourth and fifth figures, where the fourth figure is the processing flow when a carrier signal (clock) appears, and the fifth figure is -6-This paper size applies to China Standard (CNS) A4 specification (210 X 297 public love) (Please read the notes on the back to write this page) Order · 丨 line · 483204 A7 V. Description of the invention (f) PAftQQ501-TWp ^ 7 / g- 10 15 Economy Printed by the Ministry of Intellectual Property Bureau's Consumer Cooperatives 20
有空隙信號(gap)出現時之處理流裎。程式處理流程中,主 要使用了四個變數,其意義說明如下: Lcoum:用以計數在載波中脈衝的數目。 2.startjlag · p幵’始旗標,用以記錄是否為一個池資料的 開頭。 ,、丄3.Start_gap:空隙旗標,用以記錄是否於編時發生空 隙。 4-output :資料序歹^輸出。 【特點及功效】 ^么月所提供之以七位疋計數器處理Miller Coding的解 碼廣异方法,更具有下列之優點·· 非現金交易中’由於IC卡具有智慧性之電子錢包的特 點,對自動交易之需求日益殷切,尤其將來一卡行遍天下 之便利性_下,1c卡具有取代其他_卡的趨勢,尤盆 ^接觸式IC卡片之高㈣性與高可祕之特點,更是非現 孟父易方式中獨領風騷者。 上列詳細說明係針對本發明之一可行實施例之具體說 2惟該實施例並非肋限制本發明之專·圍,凡未脫 =本發明技藝精神所為之等效實施或變更,均應包含於本 案之專利範圍中。 抑用本案不但在技術思想上確屬創新,並能較 =ασ冑進上衫項功效,應已充分符合新祕及進步 性之法定發明專利要件,纽法μ申請, 准本件發明專财料,㈣發明,⑼德便。、X 私紙張尺度4財g ®^T(CNS)A4規!公釐「 · — :--------------------訂---------線 j (請先閱讀背面之注意事項再填寫本頁)Processing flow when gap signals appear. In the program processing flow, four variables are mainly used, and their meanings are explained as follows: Lcoum: used to count the number of pulses in the carrier. 2.startjlag · p 幵 ’start flag, used to record whether it is the beginning of a pool data. , 丄 3.Start_gap: Gap flag, used to record whether a gap occurs during editing. 4-output: Data sequence output. [Features and effects] ^ The month-by-month counter provided by Million Coding to decode Miller Coding's wide-ranging method has the following advantages: · In non-cash transactions, 'the IC card has the characteristics of a smart electronic wallet. The demand for automatic transactions is increasing day by day, especially in the future, the convenience of one card travels the world. 1c card has the tendency to replace other cards, especially the high reliability and high confidentiality of contact IC cards. He is now the leader in the way of Mencius. The above detailed description is specific to one of the feasible embodiments of the present invention. 2 However, this embodiment is not intended to limit the scope of the present invention. Any equivalent implementation or change that does not deviate from the spirit of the present invention should include Within the scope of the patent in this case. The use of this case is not only innovative in terms of technical ideas, but also can be compared with the effect of ασ 胄. It should have fully complied with the new and progressive statutory invention patent requirements. The New Zealand μ application is allowed for this invention. , I invented it, and I did it. , X private paper size 4 g g ^ T (CNS) A4 regulations! Mm "·-: -------------------- Order ------ --- Line j (Please read the notes on the back before filling this page)