280 likes | 598 Views
A S CRAMBLER FOR A K EYLESS E NTRY S YSTEM. Kaushik Roy and Anne Woo University of Illinois at Urbana-Champaign Department of Electrical Engineering Senior Design, ECE345 November 30, 2001. Introduction to the KES. Consumer uses for a K eyless E ntry S ystem (KES) Garage doors Cars
E N D
A SCRAMBLERFORA KEYLESS ENTRY SYSTEM Kaushik Roy and Anne Woo University of Illinois at Urbana-Champaign Department of Electrical Engineering Senior Design, ECE345 November 30, 2001
Introduction to the KES • Consumer uses for a Keyless Entry System (KES) • Garage doors • Cars • Other security purposes • Diagram of a KES
Diagram of a KES Transmitter: Key Encryption RF Transmitter (mod- ulator, antenna) Numeric Key Code Generated Receiver: RF Receiver (an- tenna, demodulator) Key Recovery and Verification Key Decryption
Motivation for Project • Current KES are insecure • Uses one unique code per system • Code grabbers can be easily assembled and purchased from electronic shops • Other communication devices utilize spread spectrum technology • Cordless phones • Interested in DSP and Communications
Project Goals Develop a scrambler and descrambler for KES • More difficult for signal reproduction when using a cyclic code instead of one unique code. • Utilizes government standards for encryption • Code grabber is useless when implementing the spread spectrum system
Original Design • Used TI DSP boards • Three components • Cyclic Algorithm • Advanced Encryption System • Spread Spectrum • Scrambler components implemented using C-code • System operated at 2 MHz
Labview Implementation • Spread spectrum signal transmitted between National Instrument DAQ cards through cable • Each block implemented individually using Labview virtual instruments • System operated at 1 kHz
Cyclic Algorithm Utilizes an algorithm and seed to produce 128 unique codes
Advanced Encryption System • National Institute for Standards and Technology (NIST) standard • Used to avoid insecure transmission of raw data bits • Distributes all bit sequences evenly
Spread Spectrum System • Used by the government to resist jamming and interference • Looks like noise to the environment • Spreads out narrowband signal over a wider bandwidth • Direct Sequence Spread Spectrum • Unique PN Sequence
How Spread Spectrum Works PN Sequence Data bits Transmitted bits Reproduced from “Transmitter/Receiver Pair Using CDMA Encoding.”
PN Sequence • M-sequences • Kasami Codes • Gold Codes widely used • Low autocorrelation for equal spreading • Ones and zeros are balanced • http://www.associatedpro.com/pn_sim/pnsim.html
Final Transmitter Design Lock/Unlock Operation To Receiver Cyclic Algorithm Advanced Encryption System Spread Spectrum From Receiver “Ack” signal
Final Receiver Design Cyclic Algorithm From Trans- mitter Spread Spectrum Advanced Encryption System Verification of Proper Algorithm Lock/Unlock Action To Transmitter “Ack” signal
Tests Performed 1. Normal transmission between transmitter (TX) and receiver (RX). SIGNAL ACK
Tests Performed Cont. 2. TX unable to communicate to RX.
Tests Performed Cont. 3. RX unable to communicate to TX. SIGNAL
Tests Performed Cont. 4. TX battery failure occurs and system is reset.
Tests Performed Cont. 5. TX and RX have different PN codes. SIGNAL
Testing Hardware Transmitter Receiver Protoboard
Performance • Achieved goal to have transmitter and receiver operate properly to handle various real life test situations • 1kHz sampling rate used (approximately 5 seconds per operation) • 128 unique codes from cyclic algorithm • Implemented spread spectrum with baseband signal
Challenges • Utilizing TI-DSP boards • Receiving spread spectrum signal using Labview • Transmitter receiver synchronization
Future Recommendations • Operate system at 2 MHz • Implement error correction bits • Distinguish between the superposition of signals • Complete RF portion of the scrambler system
Acknowledgements Professor Douglas Jones Professor Richard Blahut Professor Gary Swenson Dave Crowe