Safer Design and Less Cost Operation for Low-Traffic Long-Road Illumination Using Control System Based on Pattern Recognition Technique ()
1. Introduction
Various road classifications existed in terms of traffic such as; Principal Arterials, Minor Arterials, Rural Collectors, Local Roads and Very Low-Volume Roads. This paper focuses on Very Low-Volume Roads. Statistically, for low-traffic roads the flow rate of the vehicles is assumed to be 400 vehicles per day [1]. In low these roads, even simple lighting system is not installed mostly, and authorities rely on vehicle lights put human life and valuable product transported under the risk. The main reason of non-lighting system is to save the energy. However, fully lightened roads cause wastage of electricity as one vehicle may appear every three or four hours and even more during the night time. Each of these two scenarios is extremely significant issue.
Several researchers did some projects and published their work related to this topic; however, none of them has considered the lighting automation system on low traffic road. Articles are mainly related to smart or automated street lighting systems. In the following paragraphs, several researches’ results are discussed, and main points are drawn into attention.
In P. V. K. Bhangdiya (2016) a suggestion to use two sensors in order to consume less power with maximized efficiency of a system is proposed [2]. Light Dependent Resistor (LDR) sensor is utilized to measure the sun light intensity to control the switching action of LED streetlights, and Passive Infrared Resistor (PIR) motion sensor is used for changing the intensity of LED light when there is no motion of object at mid-night on street; then all the streetlights are dimmed. However, Noor Lina Ramli (2015) indicates that LDR and PIR sensor are used for same purpose, but without dimming the light, just switched on or off [3]. Sindhu A.M., (2016) worked on this topic using Infrared Resistor (IR) sensors which measure the heat of an object and detects the motion, in contrast to what previous researchers did [4]. They developed the system using Arduino Uno R3 while M. Kokilavani (2017) achieved the same by Raspberry Pi 3 micro controller [5].
In Faiz Ansari (2017), the paper offered Zigbee Based Smart Street Light Control System using LabVIEW [6]. Here, movement is detected by motion sensors; communication between lights is enabled by Zigbee technology. So, when a passer-by is detected by a motion sensor, it will communicate this to neighboring streetlights, which will brighten so that people are always surrounded by a safe circle of light.
Kumar A (2020), the author developed Intelligent Street Lighting System Using GSM technology [7]. The aim is to achieve the energy saving and autonomous operation on economical affordable for the streets by installing chips on the lights. These chips consist of a micro-controller along with various sensors like CO2 sensor, fog sensor, light intensity sensor, noise sensor and GSM modules for wireless data transmission and reception between concentrator and PC. The emissions in the atmospheres would be detected along with the consumption of energy and any theft of electricity.
Automatic street-light control system using wireless sensor networks is proposed. The system contains lamp station and base station in D.SA.S. Rajasri (2017). Each lamp station consists of Arduino Uno board as microcontroller, PIR sensor, emergency switch, LDR sensor, nRF24L01 transceiver, ultrasonic sensor, relay, LED light and a solar panel as energy source [8]. The base station consists of Raspberry Pi as processor, nRF24L01 transceiver, and a GSM module. The automatic streetlight turns on under three conditions. Firstly, when PIR sensor detects a human or a moving object vehicle LED light is turned on. Secondly, an ultrasonic sensor is used to detect distance objects and turn on the light accordingly. Lastly, a switch is included for manual operation in case of maintenance work. The LDR sensor is included to measure the light intensity for identification of the day and night. There nRF24L01 wireless transceiver transmits the sensor information and the light status to the Raspberry web server to upload on the web page. Also, it receives commands sent from the web page to turn on or off the light at a particular node. The entire system is powered using solar cells making it more energy efficient.
In Muhammad M. A. S. Mahmoud (2018), the author tried to solve the problem of high operational cost of low traffic light that use HPS lighting by using LED light fitting instead of HPS luminaries [9].
Many real projects have been done on this area, but few of them are related to this topic exactly. Most of them consider street, campus, parking, park or any small area lighting system. The rest of them is devoted to road light and control systems. Some of them will be analyzed, discussed and compared [10] [11].
From the above literature review, firstly, all systems mentioned above used LDR sensor to sense night-time to operate the control system itself. In the system prosed in this paper, the same day/night sensor idea is also use to know exact hours of night-time or any dark time during the day time due to heavy cloud or any other reasons.
Secondly, all systems above have used motion sensors to detect the object movement whatever this object is, and hence control the lights in terms of switching ON/OFF or dimming. IR sensors and PIR sensor were the preferred sensors used to detect the object. These types of sensors detect mainly warm object and their movement. But, for the suggested system in this paper that needs to be used for low traffic road, movement of only vehicle is needed to be recognized and hence switch on the light or dim them. The proposed system need to be designed to avoid any other motion such as animals, birds, or other objects which may be detected by IR or PIR sensors as this unnecessary detection of motion can cause unjustified energy consumption. Therefore, it is needed to give new approach to tackle with such problems. New approach could be to add the night vision smart camera to the system in order to recognize only the vehicles among all other objects that the camera detects.
Thirdly, some systems control the illumination by measuring the intensity of the objects movement and change the dimming of the lights accordingly. But for illumination system of low traffic roads, the intensity of the vehicles is continuously very low, and hence dimming technique is not effective solution.
Fourth, using LED light continuously operate during the night for low traffic roads can reduce the cost of illuminating the road compared with any other HID lighting, but still this is not best solution because the utilization of this system by this operational philosophy is not an efficient utilization because most of the time the light is ON unnecessary.
Fifth, in general, previous researches have been done on lighting automation system for the roads which serve both pedestrians and vehicles. But, this paper tries to design automation lighting system for long road with low traffic, where no need to switch on the lights for movement of any object except the vehicles.
Regarding pattern recognition technique, it is the process of identifying input data of objects based on their key features to recognize things such as search for tanks in an aerial/satellite military image, search for a cancerous cell in a medical image or searching for a face from a dataset. Simply you can say it uses image processing as preprocessing steps.
Several researches are done to recognize the vehicle at night based on vehicle lamp light detection [12] [13]. This method will not work in case the vehicle lights are switches off for any reason. Other researches are carried out to detect the information in vehicle number-plate using artificial intelligent methods [14] [15]. However, using such artificial intelligent method is time consuming and not useful for the application of this paper. In this paper, recognition of the number-plate rectangular frame is simple method and more than enough to confirm that the moving object is “Vehicle”.
In this paper, efficient, safe and cost effective solution to design automated lighting system suitable for long roads with low-traffic is provided. In Section 2, description of the entire system design is discussed. Section 3 illustrates the methodology and the programing of vehicles recognition using camera images. Section 4 provides economic analysis for the proposed system. Conclusion is given in Section 5.
2. System Design Description
Lighting automation system in low traffic roads is intended to implement in the illuminated roads. It is supposed to have source power supply, feeder pillar with controller, light poles with day/night sensor. Such conventional system can be upgraded by new automated system. The methodology of lighting automation system in low traffic roads is achieved by applying the moving object recognition technique using cameras. Firstly, the road is sectionalized into several zones. Each zone depends on how much distance is existed between two feeder pillars, typically 400 meters. So, light poles in each zone will be switch on/off together. It means that each zone will have its feeder pillar (control panel) with controller, day/night sensor, motion sensor, and camera. Night vision cameras are installed on the road in such way to detect the vehicle arrival-to and departure-from each zone. The controller is designed to illuminate only the zones in which the vehicle is detected. The type and span of the zone are calculated based on the road design considering straight spans and roundabout.
Lighting Control Conceptual Design
The control scheme of the automatic lighting system is illustrated in Figure 1. Day/night switch detects darkness status to start the controller and hence motion sensor and night vision cameras. Now, let us consider that there are two adjacent zones (Zone N) and (Zone N + 1), and vehicle enters to Zone (N + 1). Mainly, day/night sensor and motion sensors of (Zone N + 1) need to be installed before the camera of (Zone N + 1), while camera of (Zone N + 1) need to be installed in (Zone N) near to the end. This is because camera need to start capture the moving objects images only after motion sensor detects any object in advance and sends the signal to the camera to start operation, and hence the controller takes the proper decision for switch the light of (Zone N + 1) before the object enter the zone.
For that, camera is installed on a light pole about 80 m before each zone. This distance provides approximately 2 seconds for data processing and control assuming maximum speed is approximately 60 km/hour. Figure 2 illustrates the installation location of (Zone N + 1) camera, day/night sensor and motion sensors in (Zone N).
The software in the controller extracts the image from the camera and analyzes it to determine whether the object is vehicle or not. If the object is not a vehicle, no action is taken by controller. In case the object is vehicle, signal shall be sent to Zone N + 1 lighting feeder pillar to switch on the light of Zone N + 1. Simultaneously signal shall be sent to Zone N controller to switch off lightning system of Zone N (Figure 3).
3. Vehicle Number-Plate Pattern Recognizing
3.1. Methodology
The process of detection of vehicle number-plate consists of the following steps: capture of image, pre-processing, plate region extraction (Figure 4).
Figure 1. Automatic lighting system schematic.
Figure 3. Control flow chart for Zone N and Zone N + 1 lighting system.
Figure 4. Vehicle recognition flowchart for camera N.
1) Capture of image:
In this step, the images are captured by electronic devices such as infrared digital camera or any other camera suitable for night time and different environmental conditions. The images captured for the vehicles with different backgrounds presenting variant of geographical locations, then images are stored in JPEG format. After that the captured image is converted into gray scale image for easy analysis as it consists of only two color channels.
2) Pre-processing:
The next step after capturing the image is the pre-processing of the image. Noises are found in the captured images. Reducing the noises from the image are required to obtain an accurate result. Image edge detection algorithm is applied on images to remove noises that are presented in the image during capturing. Sobel edge detection operator and threshold function techniques are used to achieve noiseless edge detection on images.
The aim of this pre-processing is to improve the quality of the image. Image enhancement techniques are used in this step. Image enhancement techniques consists process of sharpening the edges of image, contrast manipulation, reducing noise, color image processing and image segmentation.
3) Plate region extraction:
The most important stage is the extraction of number-plate from eroded image significantly. The extraction of number-plate can be done by using image segmentation method. Mathematical morphology is used to detect the region of interest and Sobel operator is used to calculate the threshold value.
In general, any vehicle has its own number-plate which is always in rectangular shape consists characters. Accordingly, the basic approach in the detection of a vehicle is to recognize its number-plate which is mainly frame with characters (numbers and letters). So, it is necessary to detect two criteria: the edges of the rectangular plate and there are characters within the rectangular.
A morphology based approach for detection number-plates is used. Our proposed method applies basic mathematical morphology operations like dilation and erosion.
3.2. MATLAB Code and Flowchart for Number-Plate Recognition
The software model using the image processing technology is designed. The programs are implemented in MATLAB. The algorithm is divided into the following parts: capture image, pre-processing, plate region extraction, characters recognition (Figure 5).
The following steps are used in MATLAB for number-plate recognition:
· Image capturing from camera
% Read Image
Input_image = imread(‘Car.jpg’);
· RGB to Gray Scale
% Convert the truecolor RGB image to the grayscale image
I = rgb2gray(Input_image);
· Edge detection
% Sobel Operator Mask
Mx = [−1 0 1; −2 0 2; −1 0 1];
My = [−1 −2 −1; 0 0 0; 1 2 1];
% Sobel Masking for filtering image
S = imfilter(I, Mx, ‘replicate’);
· Vertical and Horizontal Dilation
% Vertical Dilation
Dy = strel(‘rectangle’, [80,4]);
Iy = imdilate(M,Dy);
Iy = imfill(Iy, ‘holes’);
Figure 5. Flowchart for number-plate recognition.
% Horizontal Dilation
Dx = strel(‘rectangle’, [4,80]);
Ix = imdilate(M,Dx);
Ix = imfill(Ix,’holes’);
% Joint Places
JP = Ix.*Iy;
Dy = strel(‘rectangle’, [4,30]);
ID = imdilate(JP,Dy);
ID = imfill(ID,‘holes’);
· Erosion
% Erosion
E = strel(‘line’,50,0);
IE = imerode(ID,E);
· Filtering of digits
By filtering, the unwanted substances or noise can be removed or filtered out that is not a character or digits. Small objects or connected components should be removed and then the frame line that is connected to the digits should be identified and separated.
bwareaopen (Image Processing Toolbox) is applied for removing all the connected components from the binary image that have value less than P pixels.
image2 = bwareaopen(image, min(numberofpixel, 100));
Stats = regionprops(L, properties) is applied for measuring a set of properties for each labeled region in the label matrix L.
stats = regionprops(image2,‘all’);
· Recognize number-plate
If number-plate recognized output = 1, if not output = 0
file = fopen(‘MyFile.txt’,‘w’);
fprintf(file, ‘%f\n’, output);
fclose(file).
3.3. Program Validation Process
The validation of the of the number-plate recognition program, and hence the detection of vehicle, is done by two tests.
1) Number-plate Recognized
In this first test it needs to insure that the program recognizes any object, that is captured by the camera, has number-plate. Therefore, the test is carried out to detect the number-plate for different vehicle models and types with different orientations. The test result is illustrated in Figure 6.
The program succeeded to detect the number-plate represented by its rectangular frame includes characters. It is worth to highlight here that it is not part of the program function to “read” the full numbers in the plate.
2) No Number-plate Recognized
The objective of the second test is to ensure that for any object that doesn’t have number-plate, the program shall detect no number-plate. The test is done using four images for different objects consist of people and animals (camels and dog). The program also succeeded to detect no number-plate. The test result is illustrated in Figure 7.
3.4. Object Recognition in the Road
Any moving object enters any zone of the road shall be subject to two steps of recognition process: the first recognition process is by the motion sensor which detects that there is a moving object leaving the zone (serves-zone) and enters the next zone. The second recognition process is carried out by the image processing software that detects the moving objects which has rectangular plate with characters (vehicle). If the two condition is satisfied simultaneously, the intelligent lighting system puts ON the road lighting of the next zoon (vehicle entering zoon) and switch off the lighting of the service-zoon after short time delay (vehicle leaving zoon).
(a) (b) (c) (d)
Figure 7. The results for objects with NO Number-plate.
4. Economic Analysis
Highlight the following comprehensive economic study is carried out to estimate the financial benefits of using the proposed lighting automation system for the low traffic roads. The Study has considered the following factors:
Direct Benefits [16]
1) The initial cost of the replacement the lighting fixtures.
2) The energy saving.
3) The maintenance cost.
In Indirect Benefits, two benefits are considered: First benefit is the gas sales opportunity that will be gained from the reduction of the power consumption in case LED light is used. Natural gas valued using the wholesale price of $4.618/MMBtu based on US Energy Information Administration Henry Hub/NYMEX futures prices; Equivalent energy rate of 5.6 ¢/kWhr is used to value the energy produced over 10 years, assuming 1% annual escalation factor and Euro to USD exchange rate of 1.2.
Accordingly,
(1)
where ΔkWhr is the reduction in the power consumption.
However, the second benefit is the cost saving due to the reduction of the CO2 emission, and hence less pollution. Carbon credits based on current market is 6 euro/ton. Where, CO2 emission is considered to be 0.83 kg/kWh. Assuming Euro to USD exchange rate of 1.2, the annual saving in pollution reduction can be calculated as following:
(2)
Assuming for low traffic; the vehicle flow is 400 vehicles per day [1], vehicle speed is 60 km/hour, zone distance is 400 meter, lighting pole span is 40 meter, LED fixture consumption per pole is 75 Watts [17] and Azerbaijan electricity tariffs is 0.09 AZN (0.053$) per kWh [18].
From the above assumptions, flow rate of the vehicle can be calculated to be 17 vehicles per hour. Considering worst road operation scenario, at which the 17 vehicles are driven with constant speed of 60 km/hour and equal distances from each other, it is obvious to conclude that one vehicle shall enter the first zone each 212 seconds and leaving the zone (400 meter) after approximately 24 seconds. Accordingly, the zone lighting fixtures shall be switched on for 29 seconds and switched of for 183 second approximately. From that, the percentage saving in power consumption using the proposed controller compared with the power consumption when road is illuminated continuously during the night is approximately 183 × 100/212 = 86% saving.
Considering 4 km low traffic road operating for typically 50 years, Direct benefits and Indirect benefits can be calculated as following
· Direct Benefits [16]:
1) Initial cost of the new control system
Considering the cost of camera (approximate number), day/night sensor, motion sensor, controller (simplest version) [19], signal transmission between zones by RS-485 network [20], and installation [16] (manpower, crane, dumping etc …), Table 1 can be obtained. The table illustrates that approximately $ 26662.88 is needed to provide the proposed automation lighting system for 4 km.
2) Energy saving
Table 2 illustrates the comparison of energy consumption between using the proposed automation lighting system versus conventional system which operates all night, considering that both systems utilize LED fixtures with 75-Watt as minimum consumption for the conventional system. The table shows reduction in the power consumption of 86.31%. This reduces drastically the electrical fault probability in the lighting electrical circuits [21] [22].
3) Saving in Maintenance cost
Table 3 indicates the maintenance cost saving [16] (in terms of light fixture) such as lamp, manpower, crane, etc. for 50 years’ operation of the proposed automation lighting system and the conventional system.
· Indirect Benefits [16]:
In indirect saving, two benefits of implementing the lighting system will be drawn into attention.
4) Natural Gas Sales opportunity
First benefit is natural gas sales opportunity (Table 4) gained from reduction of the power consumption calculated based on below formula (1).
5) Saving in Pollution
Second benefit is the cost saving due to reduction of the CO2 emission, hence less pollution (Table 5) calculates the related saving based on formula (2).
6) Total Saving analysis
Table 6 summaries the calculations in direct and indirect savings. It is obvious that total saving for only 4 km road in 50 years is $ 234238.47.
Table 3. Saving in maintenance cost.
Table 4. Natural gas sales opportunity.
Table 6. Net saving analysis in 50 years.
· Discussion
To sum up, huge amount of money can be saved if such project is implemented. In case that this system is applied to only 100 km road, total annual saving becomes about $117119.24; total saving in 50 years becomes $5855961.75. It means that such system saves huge amount of energy and hence expenditure that can be utilized in other projects’ finance. From is discussion, it is also possible to calculates the “Saving Norm” for the proposed system to be $1171.19/km/Year.
5. Conclusion
The paper provided automation design for the illumination system for low traffic roads in order to solve the problem of operating the road not only economically but also safely. Pattern recognition techniques were used based on identification of vehicle number-plate to recognize the objects, is it vehicles or not? Pattern recognition algorithm was tested on different objects. The result from test has proved the validity of the algorithm that is used to detect different types of vehicle. Comprehensive techno-economic analysis was carried out and the result showed a great saving can be achieved, and hence. “Saving Norm” of $1171.19/km/Year was calculated for the proposed system too. This “Saving Norm” is a good index to support project management for both project decision makers and for cash-flow controllers.
Acknowledgements
I would like to thank Nazrin Dolxanova for her effort in the survey and collecting information.
Appendix
Professor Dr. Muhammad M.A.S. Mahmoud, Egyptian, Received the B.S. degree in Electrical Engineering from Cairo University and the M.Sc. degree from Kuwait University. First Ph.D. degree from Transilvania University of Brasov, Romania in IT and Computer. Second PhD Degree in Electrical Power system and Machine, Cairo Univ. Egypt. He occupies a position of Professor in Process Automation Engineering Department, Baku Higher Oil School, Azerbaijan. His current research interests in Fuzzy and Artificial Neural Network Techniques application include power delivery, protection reliability, control, safety, building automation, smart city, and energy management. Prof. Dr. Muhammad is IEEE Senior Member (SM) since 2001 and TFS-IEEE Reviewer 2016.
Associate Professor Dr. Leyla Muradkhanli has received BSc/MSc degrees in Control Systems from Azerbaijan Institute of Oil and Chemistry and a PhD in Management Information Systems from the Azerbaijan State Oil Academy. She also received an MSc in Energy Management from BI Norwegian School of Management, Norway. She is Associate Professor in Process Automation Engineering Department, Baku Higher Oi School, Azerbaijan. Her research interests include Artificial Intelligence, Machine Learning, Data Science, Energy Management and Alternative Technologies.