Monitoring traffic volume in a petrol station with PLC Arduino
Industrial Controller based on Open Source Hardware
Industrial Arduino for energy savings
In this case, our client located in Tarragona, Spain, wanted to monitor the traffic of vehicles at his petrol station. In 2016, gas stations in Spain could only change the price of fuel once a day. Currently, each station tries to develop its own system to fluctuate prices according to customers' behavior.
Our customer therefore wanted to have a real-time study of vehicle traffic in his area to have solid data and have a market strategy based on the data collected.
Today, service stations are not just places to fill your car with gasoline. They are centers that concentrate a very wide commercial offer of products and services for vehicles and occupants: refueling, restaurant, car wash services, workshop, supermarket, among others.
Knowing the behavior of the consumer in different periods of time, and on specific dates, allows service station managers to plan the commercial offer. This data acquisition allow the launch of special promotions or even adapt the price of fuels at key moments like weekends or the busiest hours on holidays.
The industrial automation solution proposed by Industrial Shields in this case adapts to the environment and uses wireless communication to collect and send the data to a server.
The fuel company wants to know the average duration of the stay of the vehicles. Doing that they can forecast specific moments where queues are generated to refuel, and when to make changes in the price of gasoline, among other utilities.
Our customer also wants to know the rate of vehicles accessing the service area without refuelling. This is important to know not only the vehicles that do not refuel but also those that stop to consume at the bar or the store of the gas station. Using an industrial plc to control this it is possible to know the best time to promote products from the store, the cafeteria or the gas station.
The project has also planned to measure the volume of traffic that passes along the road in front of the service station every hour to compare data with customers' consumption.
In order to obtain all the traffic information from the area near the service station, the following system has been prepared as follows:
To detect vehicles: electromagnetic transducers have been located in each of the lanes of the highway that pass just in front of the service area. The transducers have also been placed at the entrance and exit to the service station to be able to study the vehicles entering, and the average time each of them spend inside the station.
Each time they detect a vehicle, the electromagnetic transducers send the data captured via radio to the receiver. The receiver is an OpenMote B module that receives data from all transducers installed in the area. OpenMote B modules work with Open Source 6TiSCG implementation.
The OpenMote B receiver is connected to a controller Arduino from the WiFi & Bluetooth LE family. The Industrial Shields PLC can log into the local network of the service area via WiFi using the Modbus TCP/IP protocol.
The data is stored on the server and monitored with the use of Node-Red. The customer can access the data and visualize it according to the area, the desired time slot and even compare them with other days to facilitate the study of traffic.
All the programming has been done using Arduino IDE, that can be downloaded for free from the Arduino website.
Check the products of this case study
Industrial Arduino PLC and HMI Raspberry Pi
Do you want to receive more information about Industrial Automation?
Open Source technology allows you to develop your Monitor applications.
Just fill the form and we will send you several examples about how to use Open Source based devices on your projects.