DESIGN OF A LOW COST DIGITAL LOCK

Similar documents
Why FPGAs? FPGA Overview. Why FPGAs?

Sharif University of Technology. SoC: Introduction

9 Programmable Logic Devices

DETERMINISTIC AUTOMATIC TEST PATTERN GENERATION FOR BUILT-IN SELF TEST SYSTEM

UNIVERSITI SAINS MALAYSIA. First Semester Examination. 2014/2015 Academic Session. December 2014/January 2015

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Field Programmable Gate Arrays (FPGAs)

CSE140L: Components and Design Techniques for Digital Systems Lab. CPU design and PLDs. Tajana Simunic Rosing. Source: Vahid, Katz

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

DESIGN METHOD TO TRANSMIT AND RECEIVE SOURCE SYNCHRONOUS SIGNALS USING SOURCE ASYNCHRONOUS TRANSCEIVER CHANNELS

Integrated circuits/5 ASIC circuits

INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

Contents Circuits... 1

A Low Power Delay Buffer Using Gated Driver Tree

INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

FPGA Design with VHDL

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi

Implementation and Analysis of Area Efficient Architectures for CSLA by using CLA

International Research Journal of Engineering and Technology (IRJET) e-issn: Volume: 03 Issue: 07 July p-issn:

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Laboratory 4. Figure 1: Serdes Transceiver

8-BITS X 8-BITS MODIFIED BOOTH 1 S COMPLEMENT MULTIPLIER NORAFIZA SALEHAN

Reduction of Clock Power in Sequential Circuits Using Multi-Bit Flip-Flops

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

Pattern Based Attendance System using RF module

Experimental Study to Show the Effect of Bouncing On Digital Systems

AN EFFICIENT LOW POWER DESIGN FOR ASYNCHRONOUS DATA SAMPLING IN DOUBLE EDGE TRIGGERED FLIP-FLOPS

FPGA Based Implementation of Convolutional Encoder- Viterbi Decoder Using Multiple Booting Technique

International Journal of Scientific & Engineering Research, Volume 5, Issue 9, September ISSN

DEE2034: DIGITAL ELECTRONICS

Metastability Analysis of Synchronizer

COE328 Course Outline. Fall 2007

A Briefing on IEEE Standard Test Access Port And Boundary-Scan Architecture ( AKA JTAG )

EKT 121/4 ELEKTRONIK DIGIT 1

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD)

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

Bit Swapping LFSR and its Application to Fault Detection and Diagnosis Using FPGA

Evaluation of Fibonacci Test Pattern Generator for Cost Effective IC Testing

IMPLEMENTATION OF A BINARY SELECTION SYSTEM CREATED IN XILINX USING FPGA

Designing for High Speed-Performance in CPLDs and FPGAs

CSE140L: Components and Design Techniques for Digital Systems Lab. FSMs. Tajana Simunic Rosing. Source: Vahid, Katz

PICOSECOND TIMING USING FAST ANALOG SAMPLING

A Fast Constant Coefficient Multiplier for the XC6200

Electrical and Telecommunications Engineering Technology_TCET3122/TC520. NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York

Laboratory Exercise 7

Performance Evolution of 16 Bit Processor in FPGA using State Encoding Techniques

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55)

IC Layout Design of Decoders Using DSCH and Microwind Shaik Fazia Kausar MTech, Dr.K.V.Subba Reddy Institute of Technology.

DESIGN AND IMPLEMENTATION OF SYNCHRONOUS 4-BIT UP COUNTER USING 180NM CMOS PROCESS TECHNOLOGY

Chapter 7 Memory and Programmable Logic

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Digital IC Tester by Using PIC18F4550

Encoders and Decoders: Details and Design Issues

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

The Design of Efficient Viterbi Decoder and Realization by FPGA

2.6 Reset Design Strategy

Prototyping an ASIC with FPGAs. By Rafey Mahmud, FAE at Synplicity.

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Design of Fault Coverage Test Pattern Generator Using LFSR

[Krishna*, 4.(12): December, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Syed Muhammad Yasser Sherazi CURRICULUM VITAE

A MISSILE INSTRUMENTATION ENCODER

Copyright 2011 by Enoch Hwang, Ph.D. and Global Specialties. All rights reserved. Printed in Taiwan.

Chapter 2. Digital Circuits

OF AN ADVANCED LUT METHODOLOGY BASED FIR FILTER DESIGN PROCESS

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

RELATED WORK Integrated circuits and programmable devices

HS Digital Electronics Pre-Engineering

Chapter 7 Counters and Registers

Hardware Modeling of Binary Coded Decimal Adder in Field Programmable Gate Array

Chapter 5 Flip-Flops and Related Devices

Super-Doubler Device for Improved Classic Videogame Console Output

An Efficient IC Layout Design of Decoders and Its Applications

TSIU03, SYSTEM DESIGN. How to Describe a HW Circuit

IE1204 Digital Design F11: Programmable Logic, VHDL for Sequential Circuits

ME 515 Mechatronics. Introduction to Digital Electronics

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

Scan. This is a sample of the first 15 pages of the Scan chapter.

HIGH PERFORMANCE AND LOW POWER ASYNCHRONOUS DATA SAMPLING WITH POWER GATED DOUBLE EDGE TRIGGERED FLIP-FLOP

Embedded System Design

SRAM Based Random Number Generator For Non-Repeating Pattern Generation

A Symmetric Differential Clock Generator for Bit-Serial Hardware

California State University, Bakersfield Computer & Electrical Engineering & Computer Science ECE 3220: Digital Design with VHDL Laboratory 7

FPGA Implementation of Convolutional Encoder And Hard Decision Viterbi Decoder

Digital Blocks Semiconductor IP

Gated Driver Tree Based Power Optimized Multi-Bit Flip-Flops

Solutions to Embedded System Design Challenges Part II

UNIVERSITI MALAYSIA PERLIS. EKT 124 Digital Electronics 1 [Electronik Digit 1]

IE1204 Digital Design. F11: Programmable Logic, VHDL for Sequential Circuits. Masoumeh (Azin) Ebrahimi

MODULE 3. Combinational & Sequential logic

Decade Counters Mod-5 counter: Decade Counter:

LUT Optimization for Memory Based Computation using Modified OMS Technique

INTRODUCTION OF INDEXED PUBLICATION SEMAKAN PENERBITAN RADIS KATEGORI INDEXED PUBLICATION

Reconfigurable Architectures. Greg Stitt ECE Department University of Florida

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

High Speed Reconfigurable FPGA Architecture for Multi-Technology Applications

Transcription:

Journal of Industrial Technology 1.J (2), 2004, 49-55 DESIGN OF A LOW COST DIGITAL LOCK Liakot Ali, Haslina Jaafar, Nurul Amziah Md.Vunus and Wan Zuha Wan Hasan Dept. of Electrical and Electronic Engineering Universiti Putra Malaysia (UPM) 43400 Serdang, Selangor Darul Ehsan Malaysia ( liakot@eng.upm.edu.my ) RINGKASAN: Kertas kerja ini mengemukakan reka bentuk sebuah kunci digit berkos rendah menggunakan perisian EDA. Sistem kunci konvensional yang sedia ada kini bo/eh diganti dengan kunci digd yang dicadangkan. Data yang dikodkan disimpan ke da/am ingatan kunci sebagai kunci utama. Apabila pengguna memasukkan kata laluan ke dalam sistem, kata laluan tersebut akan dibandingkan dengan kata /a/uan pada kunci utama dan seterusnya isyarat keluaran untuk mengaktifkan kunci dijana jika kata laluan tersebut betul. Kod boleh diprogram oleh pengguna untuk memantapkan lagi sistem keselamatan kunci int'. Sistem kunciyang dicadangkan ini mempunyai kos yang rendah dan mampu dimiliki oleh pengguna berpendapatan rendah. ABSTRACT: This paper presents the design of a low cost digital lock using EDA (Electronic design automation) software. The conventional lock and key system can be replaced using the proposed digital lock. A coded data word is stored in the memory of the lock as a master key. When user inserts his password in the lock, it is compared with the master key and an output signal for the actuation of the lock is generated if the password is correct. The code word is user programmable, which enhances the security of the lock. The proposed lock is low cost and affordable for the low budget people. KEYWORDS: Digital Lock, ASIC, PLD, FPGA 49

Liakot Ali, Haslina Jaafar, Nurul Amziah Md Yunus and Wan Zuha Wan Hasan INTRODUCTION Digital technology has been improved dramatically during the last fifty years. Electronic products and equipment have become a part and parcel of our daily life (Liakot et. al., 2004). Digital lock is a demand of this electronic era. The important features of the digital lock are keyless, flexible and reliable. For many applications such as maintaining entry only to authorised person into a large building, the digital lock eliminates the problem associated with duplication, distribution and loss of the key. Traditional locks are hardwired and are therefore inflexible. The use of electronic locks has spread rapidly in recent years. Security code using push button, electromagnetic, smart card, wireless, voice tone, fingerprint and eye retina recognition system have replaced the conventional lock and key system. The security code door opening system offers a convenient way of opening and closing a door by entering a personal identification number (PIN) via a keypad. This is the most popular and affordable system in the market. Electronic card access is now the best technology for opening locked common area doors and gates. The card is software programmed and can be used to monitor employee attendance time. In wireless door opening system, which consists of transmitter and receiver, user can open the door remotely. Consequently, this system is commonly used for car, gate and garage opening system. Biometric is the statistical use of variations in the elements of living organisms such as fingerprint, voice and eye retina. This method is extremely accurate. Design of a micro-processor based electronic lock has been proposed (Poirier and Vishnubhotla, 1990). The system uses discrete electronic components, which are to be assembled on a printed circuit board (PCB). Hence the system is still costly. Due to high cost of the door opening system described in this paragraph, only selective customers use the electronic lock till now and get benefit of the modern technology. To break the red brick of the price-wall, this paper presents the design of low cost digital lock using EDA software. The following sections of this paper describe the features, architecture and simulation result of the proposed digital lock. FEATURES OF THE DIGITAL LOCK The digital lock has the following features: 3-bit key for the input Require 3 bit-combination for pass-code Reprogrammable pass-code Alarm would active after detection of errors of the pass-code entered. The alarm is activated when the 3,d error pass-code is entered since the last correct pass-code. The activated alarm can only be deactivated when the correct pass-code is entered. 50

Design of a Low Cost Digital Lock ARCHITECTURE OF THE DIGITAL LOCK Figure 1 shows the block diagram of the digital lock. It consists of several modules such as decoder, counter, multiplexer and comparator. LED Decoder Counter 8 Encoder Signal I re> Mux Alarm Counter - - Comparator Generator Control Logic re> (FEN re> Memory Figure 1. Block diagram of the digital lock The digital lock runs on asynchronous mode. Due to its asynchronous operation, it can operate much faster because the user will not be bounded and constrained to any clock transitions. To open the lock, the correct combination of 3-bit input is to be keyed in using the buttons of a keypad. A signal generator is used to produce the pulse needed for its asynchronous operation when the key is pressed. An encoder has been designed to convert the input signal into useful signal before flowing into the internal circuitry of the digital lock. A counter is used in the design to keep track of the current bit of the input of the digital lock while it is processing. This counter plays an important role in the digital lock which allows only the wanted memory data to flow to the comparator and also inform the other part of the circuit of the current state of the digital lock. A memory circuit is designed to store the correct pass-code to open the digital lock. When the user keys-in the pass-code, the input signal is then compared with the memory data; if data input is correct, the open signal would be generated. If any of the pass-code is wrong, the digital lock would only respond after the user has pressed three buttons. As this digital lock is made programmable, a special memory counter has been designed to activate the specific memory circuit when the user wants to alter the pass-code to open the digital lock. The 51

liakot Ali, Haslina Jaafar, Nurul Amziah Md. Yunus and Wan Zuha Wan Hasan comparator is used to compare the signals from the input and the signals from the memory. If the signals are identical, it will produce a signal which goes to the control logic circuit. The control logic circuit is designed to control all the actions of the digital lock such as comparison of the pass-code, to produce the open signal etc. The alarm counter is designed to activate the alarm when attempts to open the lock have failed. It increases the security of the digital lock and also avoids someone from tempting with the pass-code by trial- and error. When the alarm is activated, the user has to key in the correct pass-code to deactivate it. The decoder is designed to activate the LEDs. There are three LEDs, only one would light up at a time, each LED indicates the current bit of input. SIMULATION RESULTS The proposed digital lock has been designed using Max+ plus II EDA software (Altera, 1998). Block by block design technique has been used in the proposed design. Every micro-functional block is designed and simulated in this approach and once its functionality is verified then another block is designed using the same approach (Floyd, 2002, Rabaev et. al. 2002, Mano, 2002, Nelson et. al. 1995). Finally, all the blocks are integrated and the whole system is verified again. Figure 2 shows the software generated symbolic diagram of the digital lock. la 1 H l~~6t j!2 Newmem _;c~r! + :a 'rr""' digitallock4 '-+--+---! NEWMEM LED 1 : OUTPUT LED 1 LED 2 i i ;ttput... ~~-~.~--... i LED2 LED3 A OPEN f---,,------i,;c"-"tc::,pute... - OPEN... i B c STROBING :~UTPUT ----------------... i h2 STROBING... ':~~r : Figure 2. Symbolic diagram of the Digital Lock 52 -t

Design of a Low Cost Digital Lock Table 1 describes the input/output signals as shown in the symbolic diagram. Tabl~ 1. / signals of the digital lock Name Type ( I ) Description 1 Always 'high' NewMem 'High' when reprogramming new pass-code into digital lock A,B,C Keypad to receive input signal from the user STROBING Signal used by internal circuitry to eliminate glitches LED1 To indicate the digital lock is currently waiting for bit 1 of pass-code. LED2 To indicate the digital lock is currently waiting for bit 2 of pass-code LED3 To indicate the digital lock is currently waiting ior bit 3 of pass-code. OPEN Signal to mechanical devices to open the lock Signal to alarm, when error has occurred 3 times consecutively Figure 3 shows the simulation results of the digital lock. Part I as indicated in Figure 3 shows the digital is being programmed into having the pass-code as A-8-A. While programming, NewMem input is at logic high. While the NewMem input is activated, the digital lock would stop all the signaling process and proceed to receive data only. After the digital lock is programmed, the NewMem input is deactivated. In part II, Ill and IV, the digital lock is tested by three wrong pass-codes. In part 11, the digital lock is tested by the input A-8-C. As a result, the digital lock did not respond to open the lock because of the wrong pass-code. In part Ill, the digital lock is tested by the input B-C-B as this is the second error since the last time a correct pass-code is entered. The digital lock did not respond to open the lock and the LEDs return indicating the digital lock is waiting for the first bit of the combinational input. In part IV, the digital lock is tested by the input C-8-8, which is also the wrong pass-code. As the 3rd error of pass-code entered into the digital lock, the alarm is activated. As shown in the simulation the alarm remains aloud. In part V, the correct pass-code is entered which is A-8-A. When the correct pass-code is entered, the alarm is deactivated and at the same time the digital lock would send a signal to open the lock. 53

Liakot Ali, Haslina Jaafar, Nurul Amziah Md. Yunus and Wan Zuha Wan Hasan Simulation results as shown in different parts of Figure 3 prove the proper functionality of the lock when it is realised into physical hardware. Hardware realisation of the design can be performed using a single chip field programmable gate array (FPGA) or programmable logic device (PLO) circuit. It can also be fabricated as an application specific.integrated circuit (ASIC) for improved performance., - STROBING 1»- Newmem LED 1 LED 2 LED 3 OPEN Part I Part II Part III Part IV PartV Figure 3. Simulation results of the digital lock CONCLUSION Design of a digital lock using EDA software has been presented in this paper. Its simulation results ensure the proper functionality of the lock in its different mode of operation. Since the design of the digital lock can be realised into single chip hardware, it will be low cost with improved performance. The design concept proposed in this paper can be further extended to a more complex circuit, which may have larger word for pass-code and also more input keys, to enhance the security as well as performance of the lock. 54

Design of a Low Cost Digital Lock REFERENCES Altera (1998). Data Book, Altera Corporation, 37(1) pp: 17-28 San Jose, USA. Floyd, T. L. (2002). Digital fundamentals, Prentice Hall, USA Liakot, A., Roslina, S., Ishak, A., Alauddin M.A. and Bambang S. S. (2004). Challenges and directions for IC testing, integration. VLSI Journal, Elsevier Science, Netherland. Mano, M. M. (2002). Digital design, Prentice-Hall International Inc., New Jersey, USA. Nelson, V. P., Nagle, H. T. and Irwin, J. D. (1995). Digital logic circuit analysis, Prentice Hall International Inc., New Jersey, USA. Poirier, D. C. and Vishnubhotla, S. R (1990). A microprocessor-controlled door lock system. Consumer Electronics, IEEE Transactions, 36(2): pp 129-136. Rabaev, J. M., Anantha C. and Borivoje N. (2002). Digital integrated circuits, Prentice Hall, UK. 55