Download presentation
Presentation is loading. Please wait.
Published byHomer French Modified over 9 years ago
1
The Electronic Badge System Chia-yang Hung Frans Faizal Man Hing Wong
2
Electronic Badge System Badge DoorModule
3
Overview Door Module Request + DoorID DoorID + BadgeID AUTH sensor Badge 1 2 3 4
4
Requirements
5
XS40 RF FPGA 8051 AUTH INIT ECHO BADGEID REQUEST BUSY IE0 RS232 (sonar) XS40 DoorModule
6
Detecting User Requesting ID Checking ID Detected user within a specified range Time out in ID request ID received Done Checking State Diagram of the DoorModule
7
How to find distance? Diff distance
8
Detecting User: Sonar_Task SEND_INIT INIT = 1 WAIT_ECHO distance++ start RESET INIT = 0 distance = 0 distance > MAX RF_TASK ECHO
9
Protocol Board Data Board Same for Both the DoorModule and the Badge: 8051 RS 232 Virtual Wire Dev. Kit RF Hardware
10
Protocol Board requires: TO/FROMPacket #Packet SizeData Bytes We add: REQUEST RESPONSEBadgeID Request from Door Response from Badge RF Message Formats
11
8051 XS40 RS232 RF 8051 Micro-controller RS232 Badge
12
FPGA (DoorModule) 8051 (DoorModule) Request + DoorID DoorID + BadgeID Request + BadgeID Check BadgeID Sonar INIT ECHO Time Time Line
13
AUTHNOT_AUTH !REQUEST REQUEST and CHECKED !REQUEST or !CHECKED REQUEST CHECKED = 1 if BadgeID exists in the database. Checking ID: FPGA_Task
14
Schematic 8051FPGA
15
Timing Diagram FPGA CLK BadgeID REQUEST BUSY AUTH µC Interrupt
16
Parts PartManufacturerQuantityPart Number FPGA BoardXilinx1XS-40 8051 Micro-controllerAtmel1AT89C55-33PC Virtual Wire Development KitRF Monolithics1DR1004-DK Sonar Ranging KitPolaroid1R11-6500 RS-232 TransceiverDallas Semiconductor2DS275 4.7K Resistor -1-
17
Trade-offs and Issues RF instead of IR: –No aiming But problem from using RF: –Range of RF is long –Signals from a badge far away can be heard by other doors
18
Summary Hand-free. Security checking preserved. Design of the DoorModule and the Badge. –Sonar detects user intention. –RF exchanges user information. –FPGA does the checking. Design issues. Coming soon. –More detail in final design presentation…
19
Design Issue 1: One Badge and Two Doors Door 1 Door 2 BadgeID 3 feet Door Module Question: Should Door1 or Door2 read the BadgeID? Solution: DoorID + BadgeID in reply packet.
20
Design Issue 2: One Badge and Two Doors (cont’) Door 1Door 2 Request 3 feet Door Module Question: Which request should the badge read?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.