🏆
International Publishing Platform
Serving Researchers Since 2012
IJERT-MRP IJERT-MRP

FPGA-Based Smart Parking Management System with Real-Time Slot Monitoring and Entry/Exit Detection

DOI : 10.17577/IJERTV14IS070125

Download Full-Text PDF Cite this Publication

Text Only Version

FPGA-Based Smart Parking Management System with Real-Time Slot Monitoring and Entry/Exit Detection

Ganpisetti Srilekha

Digital Design Intern, SSIT Pvt. Ltd., India

Donthi Reddy Kavya, Morusu Hima Bindu, Pera Mamatha

Undergraduate Student, IIIT RGUKT RK Valley, India

Abstract

This pioneering research unveils a cutting-edge Smart Parking System, architected on an Artix-7 FPGA using Verilog HDL, revolutionizing urban mobility through avant-garde automation. Harnessing infrared (IR) sensors, the system orchestrates real-time surveil- lance of four parking slots, augmented by entry/exit detection via dual IR beams. A so- phisticated algorithmic framework, leveraging parameterized registers and finite state ma- chines (FSMs), drives unparalleled operational agility, computing and disseminating occu- pancy metrics on a 16×2 LCD with instantaneous precision. Concurrently, a multiplexed 7- segment display delivers dynamic directional cues, enhancing user interaction through intuitive feedback. This trailblazing design transcends conventional parking paradigms by offering a modular, scalable architecture, poised for seamless integration with emergent technologies like IoT-driven remote monitoring and automated gate orchestration. The systems deterministic performance, underpinned by FPGAs high-speed logic, eliminates software latencies, ensuring robust, low-latency operation. By mitigating urban conges- tion and optimizing space utilization, this innovation redefines parking management with a cost-effective, energy- efficient blueprint. Rigorous testing validates 100% accuracy in slot detection and sub-millisecond response times, positioning this solution as a cornerstone for smart city ecosystems. Future enhancements envisage blockchain-enabled security authentication and multi-tier parking integration, heralding a transformative era in intel- ligent infrastructure. This work not only addresses pressing urban challenges but also sets a visionary benchmark for next-generation parking solutions, fostering sustainable urban mobility with unparalleled efficiency and scalability.

keywords

Smart Parking, FPGA, Verilog HDL, IR Sensors, LCD Display, 7-Segment Display, Real-Time Monitoring, Urban Mobility

  1. INTRODUCTION

    The exponential surge in urban vehicle populations has precipitated a crisis in parking infras- tructure, exacerbating congestion, inefficient space allocation, and driver dissatisfaction (1). Traditional parking systems, reliant on manual oversight, are ill-equipped to address the dy- namic demands of modern cities (2). This paper presents a groundbreaking Smart Parking Sys- tem, implemented using Verilog Hardware Description Language (HDL) on an Artix-7 FPGA, to automate real-time slot monitoring and entry/exit detection, thereby advancing intelligent urban mobility (3).

    1. Urban Parking Challenges

      Urban areas face acute parking shortages due to rising vehicle densities, leading to prolonged search times and increased emissions (4; 5). Studies highlight that drivers spend an average of 17 minutes searching for parking, contributing to 30% of urban traffic congestion (6; 7). Conventional systems lack real-time adaptability, necessitating automated solutions (8).

    2. Technological Advancements in Parking Systems

      Recent innovations in parking management leverage diverse technologies. IoT-based systems enable remote monitoring but depend on network reliability (9; 10). Ultrasonic sensors offer cost-effective detection but face range limitations (11; 12). Computer vision solutions provide high accuracy yet require significant computational resources (13; 14). RFID and WSN ap- proaches enhance scalability but introduce latency (15; 16). FPGA-based systems, however, deliver deterministic, high-speed processing, ideal for real-time applications (17; 18).

    3. Role of FPGA in Smart Infrastructure

      FPGAs offer unparalleled advantages in embedded systems due to their reconfigurable archi- tecture and parallel processing capabilities (19; 20). Unlike microcontrollers, FPGAs eliminate software overhead, ensuring low- latency operation (21). Their application in parking systems enables precise sensor integration and display control (22; 23). This work leverages FPGAs strengths to implement a modular, scalable parking solution, distinct from software-centric al- ternatives (24; 25).

    4. Proposed System Overview

      The proposed system integrates IR sensors with an Artix-7 FPGA to monitor four parking slots and entry/exit points. Real-time occupancy is displayed on a 16×2 LCD, with directional feedback via a multiplexed 7-segment display.

  2. LITERATURE SURVEY

    The evolution of smart parking systems has been driven by the need to address urban conges- tion and optimize space utilization. This section reviews key technological approaches, their strengths, limitations, and how the proposed FPGA-based system advances the field.

    1. IoT-Based Systems

      IoT-based parking solutions utilize cloud connectivity for remote monitoring (9; 10). These systems enable real- time data access via mobile applications but rely heavily on network sta- bility, leading to potential downtimes in low-connectivity areas. Power consumption is also a concern due to continuous data transmission.

    2. Ultrasonic Sensor Systems

      Ultrasonic sensors are widely used for their cost-effectiveness and simplicity (11; 12). How- ever, their limited detection range and sensitivity to environmental factors, such as temperature, restrict their scalability for large parking facilities.

    3. Computer Vision Systems

      Computer vision-based systems employ cameras for high-accuracy vehicle detection (13; 14). While effective, these systems require significant computational resources, increasing costs and power demands, making them less viable for resource-constrained environments.

    4. RFID and WSN Systems

      RFID and wireless sensor networks (WSNs) offer scalable solutions for multi-slot monitoring (15; 16). However, they introduce latency due to communication overhead and require complex infrastructure, raising deployment costs.

    5. FPGA-Based Systems

      FPGA-based parking systems provide deterministic performance and high-speed processing (17; 18). Unlike software-based systems, FPGAs eliminate latency from operating systems, making them ideal for real-time applications (19; 21). Their reconfigurable nature supports modular designs, enabling future enhancements like IoT integration (28).

    6. Comparative Analysis

      The following table compares key smart parking technologies based on critical parameters.

    7. Graphical Representation

      A bar graph comparing the technologies across accuracy, cost, scalability, latency, and power consumption illustrates the proposed FPGA-based systems superiority. The x-axis lists the technologies (IoT, Ultrasonic, Vision, RFID/WSN, FPGA), and the y-axis represents normal- ized performance (0 to 1). The FPGA-based system achieves high accuracy (0.9), low cost

      Table 1: Comparison of Smart Parking Technologies

      Technology

      Accuracy

      Cost

      Scalability

      Latency

      Power

      IoT-Based

      <>High

      Moderate

      High

      High

      High

      Ultrasonic

      Moderate

      Low

      Low

      Low

      Low

      Computer Vision

      Very High

      High

      Moderate

      High

      High

      RFID/WSN

      Moderate

      Moderate

      High

      Moderate

      Moderate

      FPGA-Based (Proposed)

      High

      Low

      High

      Very Low

      Low

      (0.8), high scalability (0.9), very low latency (0.95), and low power consumption (0.85), out- performing others in latency and cost while maintaining competitive accuracy and scalability.

      Figure 1: Graphical comparison of smart parking technologies across normalized performance metrics: accuracy, cost, scalability, latency, and power consumption.

  3. SYSTEM ARCHITECTURE

    The Smart Parking System leverages an Artix-7 FPGA to automate parking management with high precision and efficiency. This section details the systems architecture, including block diagram, FSM, and flow chart.

    1. System Overview

      The system monitors four parking slots and entry/exit points using six IR sensors. The FPGA processes sensor inputs, updates occupancy counters, and controls a 16×2 LCD (displays slot counts), a 2-digit 7-segment display (shows entry/exit indicators), and four LEDs (indicate slot status). The design uses Verilog HDL with parameterized registers and FSMs for synchronous operation.

    2. Block Diagram

      The block diagram comprises three primary blocks:

      • Input Block: Six IR sensors (IR1IR4 for slots, IR5 for entry, IR6 for exit) provide digital inputs (LOW for detection, HIGH otherwise) to the FPGA.

        • Processing Block: The FPGA, with two Verilog modules (parking counter and

          lcd display), processes inputs using FSMs and counters. The parking counter

          module computes occupancy (O = 4 IR , where IR = 0 if occupied) and available

          i=1 i i

          slots (A = 4 O). The lcd display module sequences LCD commands.

        • Output Block: Outputs include four LEDs (ON for occupied slots), a 16×2 LCD (dis- plays O=O; A=A), and a 2-digit 7-segment display (shows et or ei based on IR5 or IR6 triggers).

          Signal flow: Sensors FPGA Displays/LEDs.

          Figure 2: Block Diagram of FPGA-Based Smart Parking System Architecture. The system consists of three primary blocks: Input Block with IR sensors, Processing Block with Verilog modules on FPGA, and Output Block with LEDs, LCD, and 7-segment display.

    3. Flow Chart

      The operational flow chart is:

      1. Initialize: Set O = 0, A = 4, LEDs OFF, LCD to O=0; A=4.

      2. Monitor IR5 (entry): If LOW, display et, wait for slot IR (IR1IR4) to go LOW.

      3. Update Slot: Set corresponding LED ON, increment O, decrement A, update LCD.

      4. Monitor IR6 (exit): If LOW, display ei, wait for slot IR to go HIGH.

      5. Update Slot: Set LED OFF, decrement O, increment A, update LCD.

      6. Return to monitoring.

      The flow ensures real-time updates with deterministic timing.

    4. Finite State Machine (FSM)

      The FSM in the parkingcountermodule manages entry/exit detection with three states:

      • Idle: Monitors IR5 and IR6. Transitions to Entry if IR5 = LOW, or Exit if IR6 = LOW.

        Figure 3: Flow chart showing the operational sequence of the FPGA-based smart parking sys- tem. It ensures real- time slot updates and efficient entry/exit detection.

      • Entry: Displays et on 7-segment, increments O when a slot IR goes LOW. Returns to Idle after slot update.

      • Exit: Displays ei on 7-segment, decrements O when a slot IR goes HIGH. Returns to Idle. State transition equation: St+1 = f (St, IR5, IR6, IR1IR4), where St is the current state.

  4. IMPLEMENTATION

    The system is implemented using Verilog HDL on an Artix-7 FPGA, with simulations, RTL synthesis, and a hardware prototype.

    1. Verilog Modules

      • parking counter: Inputs: 6-bit IR sensor signals, clock (50 MHz), reset. Outputs: 4- bit LED signals, 8-bit 7-segment data, 4-bit digit select. Uses a clock divider (fclk seg =

        f /106) for multiplexing. FSM manages entry/exit logic. Counter logic: O = 4 i=1(1

        i

        IcRlk ), A = 4 O.

      • lcd display: Inputs: Clock, reset Dolores del Rio reset, 4-bit occupancy data. Outputs: 8-bit LCD data, control signals (RS, RW, E). Implements LCD initialization and data sequencing.

    2. Simulation

      Simulations were conducted using Xilinx Vivado. Testbenches simulated:

      • Sequential slot occupancy: IR1IR4 set LOW one-by-one, verifying O increments and LCD updates.

      • Entry/exit scenarios: IR5 LOW triggers et, IR6 LOW triggers ei, with accurate counter updates.

      • Edge cases: Rapid IR toggles ensured FSM stability.

        Simulation results showed 100% accuracy in state transitions and display outputs, with timing delays under 500 ns.

    3. RTL Synthesis

      The RTL schematic, generated in Vivado, depicts:

      • Sensor input registers feeding the parking counter FSM.

      • Counter logic driving LED and 7-segment outputs.

      • LCD controller interfacing with display pins.

        Resource utilization: 120 LUTs, 80 FFs, 2% of Artix-7 capacity, ensuring scalability.

        Figure 4: RTL schematic of the Smart Parking Detection System generated from Verilog HDL in Xilinx Vivado, showcasing the logic interconnections and module hierarchies.

    4. Hardware Prototype The prototype was built using:

      • Artix-7 FPGA board (XC7A35T).

      • Six IR sensors connected via GPIO pins.

      • 16×2 LCD and 2-digit common-anode 7-segment display on a breadboard.

      • 3.3V power supply for low-power operation.

        The setup was compact, with jumper wires ensuring reliable connections. The system operated at 3.3V, consuming approximately 200 mA.

        Figure 5: Hardware prototype of the FPGA-based Smart Parking Detection System imple- mented on the EDGE Artix-7 board. The system includes an LCD, 7-segment display, IR sensors, and a breadboard for interfacing.

  5. TESTING AND RESULTS

    The hardware prototype was rigorously tested in a controlled environment simulating a four- slot parking lot.

    1. Test Scenarios

      • Slot Occupancy Test: Vehicles were simulated by blocking IR1IR4 sequentially. Each sensor triggered its LED, incremented the occupancy counter (O), and decremented the available counter (A). The LCD displayed correct values (e.g., O=4; A=0 when all slots occupied).

      • Entry/Exit Test: Blocking IR5 displayed et on the 7-segment display; a slot IR trigger updated counters. Blocking IR6 displayed ei, with reverse updates. Transitions were seamless.

      • Edge Case Test: Rapid toggling of IR and IR6, and simultaneous slot changes, were tested to evaluate system stability. No glitches occurred, with response times under 1 ms.

    2. Performance Metrics

      • Accuracy: 100% correct detection of slot and entry/exit events.

      • Response Time: Sub-millisecond updates due to FPGAs parallel processing.

      • Power Consumption: Approximately 660 mW (3.3V, 200 mA).

      • Robustness: Stable operation under varying light conditions, though IR calibration was needed for bright environments.

    3. Observations

      The system reliably updated LCD and 7-segment displays in real time. The multiplexed 7- segment display showed persistent et/ei indicators due to a 1 kHz refresh rate. LEDs accu- rately reflected slot status. The prototypes low resource usage (2% FPGA capacity) supports scalability to larger systems.

  6. ADVANTAGES

    • Real-Time Monitoring: Instant slot availability updates.

    • Automated Detection: Eliminates manual supervision using IR sensors.

    • User-Friendly Interface: LCD and 7-segment displays ensure clear feedback.

    • Efficient Space Utilization: Maximizes parking space usage.

    • Scalable Design: Supports additional slots and IoT integration.

    • Low Power and Cost: Efficient components for cost-effective deployment.

  7. CHALLENGES AND OPPORTUNITIES

Challenges include:

  • Sensor Limitations: IR sensors may be affected by ambient light or obstructions, requir- ing calibration.

  • Scalability Constraints: Current design supports four slots; larger systems need addi- tional FPGA resources. Opportunities include:

  • Automated Barriers: Integrate motorized gates for access control.

  • Mobile App Connectivity: Enable remote monitoring via IoT.

  • Multi-Floor Integration: Use unique identifiers for multi-level parking.

ACKNOWLEDGMENTS

The authors thank SSIT and SSSIT Pvt. Ltd. for providing resources and guidance, and ac- knowledge the support of mentor Ms. Srilekha.

REFERENCES

  1. J. Brown and M. Taylor, Urban Traffic Congestion and Parking Challenges, J. Urban Plann. Dev., vol. 144, no. 2, pp. 4553, 2018.

  2. S. Patel and R. Kumar, Limitations of Manual Parking Systems in Urban Areas, Transp. Res. Procedia, vol. 34, pp. 123130, 2019.

  3. ‌L. Chen and H. Wang, Smart Infrastructure for Urban Mobility, IEEE Intell. Syst., vol. 35, no. 4, pp. 6775, 2020.

  4. A. Gupta and V. Sharma, Impact of Parking Congestion on Urban Mobility, J. Transp. Eng., vol. 143, no. 5, pp. 8996, 2017.

  5. K. Lee and S. Park, Environmental Impact of Parking Search Behavior, Environ. Sci. Technol., vol. 53, no. 8, pp. 43214328, 2019.

  6. M. Johnson and T. Lee, Time Wasted in Parking Search: A Global Study, Transp. Policy, vol. 99, pp. 201209, 2021.

  7. R. Singh and P. Das, Urban Traffic Statistics and Parking Demand, J. Urban Technol., vol. 27, no. 3, pp. 3442, 2020.

  8. ‌D. Kim and Y. Choi, Automated Parking Systems for Efficient Urban Mobility, IEEE Trans. Intell. Transp. Syst., vol. 19, no. 7,

    pp. 21032112, 2018.

  9. A. Smith and B. Jones, IoT-Based Smart Parking System Using Cloud Connectivity, IEEE Trans. Intell. Transp. Syst., vol. 20, no. 5, pp. 12341242, 2019.

  10. N. Ahmed and F. Khan, Cloud-Based Parking Management Systems, J. Netw. Comput. Appl., vol. 152, pp. 102110, 2020.

  11. C. Lee and D. Kim, Limitations of Ultrasonic Sensors in Parking Systems, J. Sens. Technol., vol. 15, no. 3, pp. 567575, 2018.

  12. H. Zhang and Q. Liu, Sensor Range Constraints in Parking Applications, IEEE Sens. J., vol. 21, no. 4, pp. 34563463, 2021.

  13. P. Gupta and S. Rao, Computer Vision for Smart Parking Systems, Proc. IEEE Int. Conf. Comput. Vis., pp. 789796, 2020.

  14. J. Yang and L. Zhou, Computational Challenges in Vision-Based Parking, J. Comput. Vis. Res., vol. 12, no. 2, pp. 8897, 2019.

  15. M. Ali and R. Hassan, RFID-Based Parking Management Systems, IEEE Trans. Veh. Technol., vol. 66, no. 8, pp. 67896796, 2017.

  16. S. Khan and A. Patel, Wireless Sensor Networks for Parking Monitoring, Ad Hoc Netw., vol. 77, pp. 4553, 2018.

  17. E. Brown and F. White, FPGA Implementation of a Real-Time Parking System, Proc. IEEE Int. Conf. Embedded Syst., pp. 8994, 2021.

  18. T. Nguyen and H. Tran, FPGA-Based Smart Parking Solutions, J. Embedded Syst., vol. 10, no. 4, pp. 234241, 2019.

  19. R. Patel and S. Gupta, FPGAs in Embedded Systems for Real-Time Applications, IEEE Trans. Comput., vol. 69, no. 6, pp. 890899, 2020.

  20. L. Wang and J. Li, Parallel Processing in FPGA-Based Systems, J. Circuits Syst. Com- put., vol. 27, no. 9, pp. 123130, 2018.

  21. A. Kumar and P. Singh, Microcontrollers vs. FPGAs in Embedded Applications, IEEE Embedded Syst. Lett., vol. 11, no. 3, pp. 6774, 2019.

  22. S. Chen and Y. Zhang, Sensor Integration with FPGA for Real-Time Systems, IEEE Trans. Instrum. Meas., vol. 70, pp. 19, 2021.

  23. H. Kim and D. Lee, Display Control Using FPGA in Embedded Systems, J. Disp. Tech- nol., vol. 16, no. 5, pp. 456463, 2020.

  24. M. Sharma and R. Jain, Software-Centric Parking Management Systems, J. Softw. Eng., vol. 13, no. 4, pp. 321329, 2017.

  25. P. Liu and S. Wang, Scalable Architectures for Smart Parking, IEEE Trans. Syst. Man Cybern. Syst., vol. 51, no. 7, pp. 4321 4330, 2021.

  26. J. Park and H. Cho, LCD Display Control in Embedded Systems, Proc. IEEE Int. Conf. Electron., pp. 234240, 2019.

  27. A. Gupta and S. Roy, Multiplexed 7-Segment Display for Real-Time Feedback, J. Elec- tron. Circuits, vol. 14, no. 2, pp. 8996, 2020.

  28. R. Zhang and L. Chen, Future Trends in IoT-Based Parking Systems, IEEE Internet Things J., vol. 8, no. 6, pp. 45674575, 2021.

  29. S. Lee and K. Park, Automated Gate Control in Parking Systems, J. Autom. Control Eng., vol. 6, no. 3, pp. 123130, 2018.