You are on page 1of 5

International Journal of Advanced Engineering Research and Technology (IJAERT) 643

Volume 5 Issue 8, August 2017, ISSN No.: 2348 – 8190

Design and Implementation of Smart Vending Machine with security


Features for Automatic car Parking System

Chahat Varshney1, Kamal Prakash Pandey2, Naresh Chandra Agrawal3


1
M. Tech. Student, 2, 3Associate Professor, Department of Electronics and Communication Engg.
SIET Allahabad

Abstract
Automatic car Parking system is a very smart application II. ISSUES IN VENDING MACHINE
nowadays. The various designs have been carried out by
different firms. The main problem remains is that the entry and 1. Human-less security is an issue for the system.
exit module is needed to be accurate and well controlled. Also, 2. Traditional vending machines, uses microcontroller
interfacing the automatic vending machine requires security that consumes more power and have less operating
features and maintenance. In our proposed work, we have speed.
designed and implemented an improved and secured vending 3. No theft protection alarm is present
machine for automatic car parking applications. It is included 4. Car parking management systems with the space and
with the security features and the coin management systems. payment authentication is absent in traditional
Similarly, entry and exit module with the slot management has methods.
been intelligently designed. Thus, the cash management (token
management system) and the Parking slot management have III. PROPOSED DESIGN FEATURES
been presented here. Also, the power consumption of the
overall system has been optimized by the PSO Algorithm We have divided the project work into five different modules
(Particle Swarm Optimization). as follows-

Keywords: Vending Machine, Parking systems, Security MODULE I- Designing of the car entry module involving the
system, Token management use of coin sensors and object detection sensors.

I. INTRODUCTION MODULE II- Designing of the car exit module for the car
and the automated update of the status of the slots in the car
The vending machine is a smart machine which dispenses parking.
different products, according to the demands of the consumer,
when he/she inserts currency or credit into the machine. The MODULE III- Designing of the car parking vending machine
vending machines are more able to be easily used and are security and maintenance module involving the use of the
highly in demands than the standard purchasing methods. metal detector sensor.
Nowadays, vending machines are used everywhere like at
MODULE IV- Simulation of the complete software programs
railway stations for train tickets, in schools and in companies
using Xilinx ISE Simulator.
supplying coffee and snacks, in car parking providing parking
tickets to the car parkers, etc. MODULE V- Implementation of the Power Optimization
methods using particle swarm optimization (PSO).
The practical application is very limited due to the improper
design and its limitations of handling the cash and cash
change. Coin management is also an issue since; actual IV. DESIGN AND IMPLEMENTATION
amount could not be always managed. MODULE I- Designing of the car entry module involving
the use of coin sensors and object detection sensors- In this
The available automatic car parking systems are also usually module we have designed a program for the entry of the car
very inefficient designs as their limitation is to handle the which will be detected by the object detection sensors at the
entry and exit details, with cash vending interface systems. gate, thus showing vacant slots available for the selection by
Also, automatic security features are not included in the the customer according to his own choice and in case slots are
designs. In our proposed work, we have smartly included the not available then it is exited.
detail management system in the automatic car parking
systems with interfacing the data from the vending machine Designing is such that the slots count will be decremented as
along with automatic parking slot management system. the car is entered in the area and thus the current status is
Generally, the designs are embedded using the microcontroller available for the other customers. Here we have designed for
systems which are generally very low operating speed four car parking slots in our proposed model where parking
systems. Thus, in order to control the multiple handling system cost for each parking is Rs. 10.
and management we need to improve the existing designs. The
designs can be in-built using the FPGA systems. Thus, we After the selection of the slot for parking of the car, machine
have implemented in VHDL and simulated in MODELSIM prompts for the payment of the required amount into the
and XILINX ISE 9.1i to verify the design and overall working machine. Now if the entered amount is equal to the required
of the system. amount then the final slip is generated with selected slot

www.ijaert.org
International Journal of Advanced Engineering Research and Technology (IJAERT) 644
Volume 5 Issue 8, August 2017, ISSN No.: 2348 – 8190

number printed on it. But in case if the inserted amount is


more than the required amount then the software checks for
the availability of the change by using coin sensors. If the
change is available in the machine then the final slip is
generated along with the change else it simply returns the
whole inserted amount back to the customers.

Fig.3 Flow Chart for Security and Maintenance Module

MODULE IV- Simulation of the complete software


programs using Xilinx ISE Simulator- The proposed work
has been implemented and simulated with Xilinx ISE Design
Suite 9.1i.
Fig.1 Flow Chart for Car entry module MODULE V- Implementation of the Power Optimization
methods using particle swarm optimization (PSO)- The
MODULE II- Designing of the car exit module for the car power analysis has been done using the Xpower analyzer tool
and the automated update of the status of the slots in the used in this design suite. Thus, the overall optimization can be
car parking- In this module we have designed a program for achieved using the particle swarm optimization.
the exit of the car which will be detected by the object
detection sensors at the gate and thus machine prompts for V. PARTICLE SWARM OPTIMIZATION
entering the slot number that was being occupied by the car ALGORITHM
parker. Programming is such that the various slot count will
increment after the exit of the car. Particle Swarm Optimization simulates the behavior of a
swarm i.e. a group of birds. It is a computational method that
MODULE III- Designing of the car parking vending optimizes a problem by running several iterations until the
machine security and maintenance module involving the optimal solution is obtained. This stochastic optimization
use of the metal detector sensor- In this module, initially the procedure, inspired by the social behavior of animals such as
metal detector sensor is kept on at the time of setup of the birds or fishes, was introduced by Dr. Eberhart and Dr.
vending machine. In order to open the car parking vending Kennedy in 1995.
machine, it asks for the password being stored in the machine
during its installation. If the inserted password is correct then It is a technique implemented in various applications in order
the theft alarm status will be low and the maintenance work to determine an optimum solution. It simulates the intelligent
can be done else the theft alarm status will switch to high. behavior of a group of birds moving from a place to their
target. The birds adjust their velocity and speed to reach the
target in accordance to their own position as well as
neighbor’s position closest to the optimum solution. Similarly,
initial solutions assumed are moved around in a search space
logically following the PSO algorithm in accordance with the
particular application and varying various parameters to reach
the optimum solution.

PSO has been used to get the optimized solution for the
problems. Initially, depending on the application, a search
space is decided consisting of a number of solutions. Every
particle has a position in the search space of the optimization
problem. Each particle’s initial position and velocity is
assumed. Best solution, among all the solutions in the search
space, is found for optimization of the problem.
Fig.2 Flow Chart for Car Exit Module

www.ijaert.org
International Journal of Advanced Engineering Research and Technology (IJAERT) 645
Volume 5 Issue 8, August 2017, ISSN No.: 2348 – 8190

VI. SIMULATION RESULTS & DISCUSSIONS the final RTL structure at gate level have been defined. All the
internal blocks have been defined for the final implementation.

Fig.6 RTL synthesis design of security and maintenance


module

Here, in Fig.6 the RTL synthesis design of the security and


maintenance module has been shown in detail. It represents all
the blocks functioning combined to form a system. Here, the
input sense denotes the code_enter input, password entry pins
and the metal sensor pins. The output pins includes the
alarm_status and the safety_status. The alarm status indicates
the intruder alarm or for any unauthorized tempering or
handling of the device.

Fig.4 RTL Schematics of Entry Exit Module

Here, in Fig.4 the RTL synthesis design has been shown. It has Fig.7 RTL Schematics of security and maintenance module
the structure of the vending machine that manages the cash
flow management system. It has the modes such as entry and Fig.7 shows the RTL schematics of security and maintenance
the exit module. The above block represents the IOs as: Clk, module at the gate level. Similarly, the safety status indicates
ten_cash_box, ten_in, twenty in. Similarly, the output ports are the final status update in case of any alarm status and thus
represented as no change, No_entry, no_exit, entry sense pins, indicating the theft or the maintenance modes.
exit sense pins, exit pins and payment port pins.
Here, the output pins represent the modes for the entry, exit,
payment that amounts to the final RTL synthesis. The output
pins tends to represent the status of the final implementation.

Fig.8 Simulation of the Entry-Exit Module

Here, in Fig.8 the simulation of the entry –exit module has


been shown in detail. It represents all the entry and exit
Fig.5 RTL Schematics of Entry Exit Module modules / payment flags and different sensor for the entry and
exit sense. Here the final simulation has been shown for the
Here, in Fig.5 the RTL synthesis design of the entry-exit exit and entry systems. The simulations have been done for the
module has been shown in detail. It represents all the blocks payment /exit/entry module.
functioning combined to form a system. Here, the details of

www.ijaert.org
International Journal of Advanced Engineering Research and Technology (IJAERT) 646
Volume 5 Issue 8, August 2017, ISSN No.: 2348 – 8190

billing features. International Journal of VLSI design


& Communication Systems (VLSICS), Vol.3, No.2, pp
19-28.

[2] A. Monisha, J. Prathiba, Sk.Sadulla, and V.V.S.Vijay


krishna, 2013. Design and implementation of an
automatic beverages vending machine and its
performance evaluation using Xilinx ISE and
Cadence. 4th International Conference on Computing
Communication and Networking
Technologies (ICCCNT) 2013, Tiruchengode, July 4
– 6, 2013, pp 1-6.

[3] Balwinder Singh and Ramneet Kaur, 2013. Design


Fig.9 Simulation of the security and maintenance module and implementation of car parking system on FPGA.
International Journal of VLSI design &
Here, in Fig.9 the simulation of the security and maintenance Communication Systems (VLSICS) ,Vol.4, No.3, pp
module has been shown. It represents the security module with 69-77.
metal detection and the maintenance mode as well. Here, the
final simulation shows the entry of the password module and [4] Amjad Ali, Kashif Ahmed, Muhammad Asif
safety status. The simulation has been shown for the code Manzoor, Rehanullah Khan, Yasir Ali Shah and
entering, alarm status and password entering. Here, the Zeeshan Khan, 2013. Intelligent car parking
simulation denotes the entry of the password and thus output management system on FPGA. IJCSI International
denotes the final status of the password entered. Also, Journal of Computer Science Issues, Vol. 10, Issue 1,
maintenance module can has been shown in the simulation No 3, pp 171-175.
results.
[5] Hua-Chun Tan, Hui-Ze Li, Jie Zhang, Pei Zhu, Qing-
Hua Zhao and Xin-Chen Ye, 2009. Intelligent car-
searching system for large park. Proceedings of the
Eighth International Conference on Machine
Learning and Cybernetics 2009, Baoding, July 12-15,
2009, pp 3134-3138.

[6] Mohd. Suhail and Saima Beg, 2014. Implementation


of FSM based automatic dispense machine with
expiry date feature using VHDL. International
Journal of Modern Engineering Research, Vol. 4, Iss.
4, pp 29-33.
Fig.10 Static Power consumption of overall system
[7] Brian Caulfield and Margaret O’Mahony, 2005.
Fig.10 shows the static power consumption of the overall
Passenger Requirements of a Public Transport
system which has been minimized using the PSO algorithm.
Ticketing System. Proceedings of the International
Here, the gate count has been calculated using the particle
IEEE Conference on Intelligent Transportation
swarm optimization method.
Systems 2005, Vienna, September 13 - 16, 2005, pp
VII. CONCLUSION 32-37.
The proposed design is simple and cost effective since it does [8] Ishita Verma , Nitin Nitin1 , Pranav Bhasker, Rohit
not require use of expensive cameras or any image processing. Sharma and Vivek Kumar Sehgal, 2009. design and
Thus, the overall simulation and RTL Design synthesis has implementation of a 64-bit RISC processor using
been presented. Here, RTL Design is optimized to low power VHDL. Proceedings of the 11th International
consumption using PSO. Thus we have implemented an Conference on Computer Modeling and Simulation
improved and secured vending machine for automatic car 2009, Cambridge, March 25-27, 2009, pp 568-573.
parking applications. The proposed work has been
implemented and simulated with Xilinx ISE Design Suite 9.1i. [9] Clhie Dou, Ming-Hwa Sheu, Ming-Der Shieh and
The proposed design is cost effective as well provides security Sheng-Wei Liu, 1997. An efficient hardware design
for the machine itself. The software results indicate that the approach from system-level specification.
vending machine for automatic car parking is very flexible and Proceedings of the 40th Midwest Symposium
reliable since the number of slots for car parking can easily be on Circuits and Systems 1997, Sacramento, August 6,
increased from four slots to further number of slots. 1997, pp 1213-1216.
REFRENCES
[10] Fakhreddine Karray, Henrick Han, Howard Li, Insop
[1] Ana Monga and Balwinder Singh, 2012. Finite state Song, Jason Nery, Keith Gowan and Tony Sheng,
machine based vending machine controller with auto- 2006. Intelligent parking system design using FPGA.

www.ijaert.org
International Journal of Advanced Engineering Research and Technology (IJAERT) 647
Volume 5 Issue 8, August 2017, ISSN No.: 2348 – 8190

International Conference on Field Programmable Benmakhlouf, Soukaina Elaouad and Yassine Salih
Logic and Applications, 2006, Madrid, August 28-30, Alj, 2015. Car parking management system using
2006, pp 1-6. AMR-sensor technology. 1st International Conference
on Electrical and Information Technologies (ICEIT),
[11] Eung Soo Kim, 2009. Fabrication of auto-braking 2015, Marrakech, March 25-27, 2015, pp 414-418.
system for pre-crash safety using sensor.
International Journal of Control and Automation, [18] Jia Hui Chin, Jin Teong Ang, Siew Wen Chin, Yu
Vol. 2, No. 1, pp 41-48. Ming Chang and Zyn Xian Choo, 2013. iSCAPS –
innovative smart car park system integrated with
[12] Deming Chen, Jason Cong, Kyle Rupnow, Swathi NFC technology and e-valet function. World
Gurumani, Wen-mei Hwu and Zhiru Zhang, 2016. Congress on Computer and Information Technology
Platform choices and design demands for IoT (WCCIT), 2013, Sousse, June 22-24, 2013.
platforms: cost, power and performance tradeoffs.
The Institution of Engineering and Technology [19] Garima Grover and Ila Chaudhary, 2014.
Cyber-Phys. Syst., Theory Appl., 2016, Vol. 1, Iss. 1, Implementation of particle swarm optimization
pp. 70–77. algorithm in VHDL for digital circuits optimization.

[13] Varun Vaid, 2014. Comparison of different attributes International Journal of Information Engineering and
in modeling a FSM based vending machine in 2 Electronic Business, 2014, 5, pp 16-21.
different styles. International Conference on
Embedded Systems - (ICES), 2014, Coimbatore, July [20] Ashish Papreja, Gaurav Verma, Shikhar Maheshwari,
3-5, 2014, pp 18-21. Sukhbani Kaur Virdi and Sushant Shekhar, 2016.
Low power implementation of FSM based vending
[14] Danielius Adomaitis, Gytis Dalangauskas, Igor Sajev machine on FPGA. 3rd International Conference on
and Vilius Dziaugys, 2016. Car parking information Computing for Sustainable Global Development
system. Open Conference of Electrical, Electronic (INDIACom), 2016, New Delhi, March 16-18, 2016,
and Information Sciences (eStream), 2016, Vilnius, pp 2054-2058.
April 19, 2016.

[15] Huaijun Wang, Junhuai Li, Rong Fei, and Yang An,
2016. Smartphone based car-searching system for
large parking lot. IEEE 11th Conference on Industrial
Electronics and Applications (ICIEA), 2016, Hefei,
June 5-7, 2016, pp 1994-1998.

[16] A. Chandra, H. Prasad, J. Kumar, K. A. Mamun, K.


Prakash, P. Chand, P. Prasad, U. Mehta and V.
Padiachy, 2015. Development of an automated multi-
level car parking system. 2nd Asia-Pacific World
Congress on Computer Science and Engineering
(APWC on CSE), 2015, Nadi, December 2-4, 2015,
pp 1-7.

[17] Mohamed Amine Dmini, Naoufel Tobaji, Salima

www.ijaert.org

You might also like