透過您的圖書館登入
IP:18.191.68.50
  • 學位論文

2.43 GHz數位無線收發機之跳碼加密與解密實現

Implementation of Code-Hopping Encryption and Decryption for 2.43 GHz Digital Wireless Transceiver

指導教授 : 余政杰

摘要


本論文分為兩大主軸,數位無線以及韌體加密和解密。在數位無線部份採用Microchip 公司生產的PIC16F887 單晶片以及MRF24J40MA 射頻收發模組,藉由單晶片結合射頻收發機模組進行實驗。透過串列週邊介面(Serial Peripheral Interface; SPI)實驗,寫入/讀出相關暫存器來控制單晶片及射頻收發機模組,最後再加入KEELOQ Code-Hopping 演算法,達成無線封包加解密。在韌體加解密部份包含了KEELOQ Code-Hopping 演算法流程的研究及實現。MRF24J40 射頻收發機模組的封包格式符合IEEE 802.15.4 標準,其中無線數據封包之格式如下:前導碼、開始框架、封包長度、框架控制、序列碼、位址欄位資訊、資料欄位和訊框檢查序列。韌體加解密部份則是以韌體撰寫跳碼加解密程式,使用35 個PIC16 精簡組合語言指令來實現對無線封包的資料保護,起初進行KEELOQ Code-Hopping演算法的韌體程式撰寫及驗證,對KEELOQ Code-Hopping 演算流程詳加學習、分析與討論,並針對同步計數器機制進行提升系統安全實驗,利用基本的加解密技巧,混淆(Confusion)與擴散(Diffusion)來保護同步計數器機制,最後,於開放空間測試整體數位無線收發系統之通訊可靠度與距離,使其可以有效的應用在遠距離遙控系統裝置上。

並列摘要


There are two partitions mainly in this thesis, one is the wireless transmission interface and the other one is the encryption/decryption of the data packet to be communicated. The format of the wireless data packet generated by the 2.4 GHz MRF24J40MA transceiver module produced from Microchip Technology Inc. is IEEE 802.15.4-compliant. The data packet comprises the following various fields: preamble, start of frame, frame length, frame control, sequence number, addressing information, payload data, and frame check sequence (FCS). For the data encryption/decryption, the KEELOQ Code-Hopping algorithm is investigated and applied to enhance the security of the wireless communications undertaken. KEELOQ Code-Hopping algorithm has been studied, analyzed, and discussed in details. Furthermore, use two basic techniques Confusion and Diffusion to enhance security of communicated system on synchronous counters. The Microchip PIC16F887 microcontroller and its 35 PIC16 assembly language instructions are utilized to implement KEELOQ Code-Hopping to achieve improved security for the digital wireless transmission/reception over the open space. Lastly, the communication reliability and range are tested in various open sites; it can be employed in application of remote keyless entry (RKE) system effectively.

參考文獻


[1] E. H. Callaway, Wireless Sensor Networks : Architectures and Protocols, Auerbach, Florida, 2003.
[3] B. A. Forouzan, Data Communications and Networking, McGraw-Hill, New York, 2007.
[18] D. Joan and R. Vincent, The Design of Rijndael, Springer, New York, 2002.
[21] Microchip, Inc., “AN1148 Cyclic Redundancy Check (CRC),” http://www.microchip.com/, 2008.
[22] Wolfgang Rankl and Wolfgang Effing, Smart Card Handbook, 3rd Ed., John Wiley & Sons, 2003.

延伸閱讀