1 / 17

RFID Access Control System

RFID Access Control System. Lucius Knight. General System Design. Microcontroller PSoC CY8C29466 24MHz Bus Frequency Memory Available 32kB FLASH 2kB RAM Memory Requirements System Software ~ 5kB FLASH Activity Log ~ 25kB FLASH System Data ~ 250B RAM. Kernel Selection. START.

Download Presentation

RFID Access Control System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RFID Access Control System Lucius Knight

  2. General System Design • Microcontroller • PSoC CY8C29466 • 24MHz Bus Frequency • Memory Available • 32kB FLASH • 2kB RAM • Memory Requirements • System Software ~ 5kB FLASH • Activity Log ~ 25kB FLASH • System Data ~ 250B RAM

  3. Kernel Selection START • Time Slice Cyclic Scheduler • 10ms Period Initialize Timer Event No Yes Key Scan User Interface RFID UpdateTime Output Data Update Display

  4. Initialization • System Initialization • LCD • RFID • Keypad • Period • Only run one time • Execution Time • ~ 100 ms

  5. Time Slice • Sleep timer used for periodic interrupt • Period • 10 ms

  6. Keypad Task • Scans for key presses • Period • 10 ms (Periodic) • Execution Time • ~ 5 us (max)

  7. User Interface Task • Determines menu state based on user input • Period • 100 ms (Periodic) • Execution Time • ~ 1 ms (max)

  8. RFID Task • ID validation • Controls • H-bridge/lock • LED • Buzzer • Period • 100 ms (Periodic) • Execution Time • ~ 1 ms (max)

  9. Update Time Task • Calculates current date and time • Period • 1 s (Periodic) • Execution Time • ~ 1.5 us (max)

  10. Output Data Task • Sends activity log to PC serial port • Period • 10 ms (Sporadic) • Execution Time • ~ 2 ms (max after decomposition)

  11. Update Display Task • Displays current information to LCD • Period • 100 ms (Periodic) • Execution Time • ~ 2.5 ms (max)

  12. System CPU Load • L(max) = 5µs/10ms + 1ms/100ms + 1ms/100ms +1.5µs/1s + 2ms/10ms + 2.5ms/100ms • L(max) = 24.6% • L(avg) = 4.6%

  13. Module List

  14. Update Display Task Communications SeniorProject.c LCD Module LCD I/O Key Scan Key LCD Update Time Update Display Time Structure User Interface State

  15. Update Time Task Communication UserInterface.c Time Module User Interface Update Display Time Structure

  16. User Interface Task Communication Keypad I/O Key.c User Interface Module Keypad Key Scan User Interface Key

  17. Output Data Task Communication UserInterface.c Output Data Module Serial I/O DB9 User Interface Output Data State

More Related