Full text
Abstract This paper presents the architecture of an ecodriving assistant. The assistant evaluates the fulfilment of classic eco-driving advices such as: maintain a constant speed, driving at high gear, slow down smoothly and so on. In addition, the assistant issues advices based on the anticipation. Anticipation is the key of eco-driving. The assistant is capable of detecting traffic signs beforehand and it checks if the speed is suitable for not having to slow down sharply. In addition, the system proposes an optimal average speed according to the conditions of the road. To model the environment where the vehicle is moving, we use an Android mobile device. These devices are ideal due to to their multiple network connections (Bluetooth, UTMS and WIFI) and sensors (camera, acceleration sensor, GPS and so on). To obtain the vehicle’s parameters (speed, fuel consumption, RPM, etc.), we use the diagnostic port (OBD2). The proposed system can improve fuel consumption and safety. In addition, it is independent of the type of vehicle. 1 Introduction The number of vehicles has increased in recent years. As a result, it has increased the fuel consumption and the emission of gaseous pollutants. The emission of gaseous pollutants causes more deaths than traffic accidents. On the other hand, the energy resources are limited and the increase in demand causes them even more expensive. In this context, many solutions have appeared that seek to reduce fuel consumption and greenhouse gas emissions. There are solutions based on the reduction of the weight of the vehicle, improvements in aerodynamics, improvements in the engine, etc. Among these solutions, there is one that has gained great importance in recent years: the EcoDriving. Eco-driving is a driving technique that saves fuel regardless of the technology. This driving technique consists on applying set of rules such as: Maintaining constant speed, driving at a high gear, driving at 90 Km/h maximum, avoiding speeding up and slowing down sharply and so on. Applying the eco-driving rules, we may save between 10 and 25% of fuel [Muraki and Kanoh, 2008][Barbé and Boy, 2006][Mierlo et al., 2004][Koskinen, 2008]. However, the percentage of fuel economy will depend on the type of vehicle. For example the hybrid vehicles only save 10% [Lindfeldt et al., 2010] There are a lot of research studies on eco-driving. Some authors try to find parameters that affect fuel consumption and determine how they influence fuel consumption. [Ericsson, 2001], suggested that to save fuel we should avoid heavy acceleration and high speed driving. [Johansson et al, 2003] proposed maintaining low deceleration levels, minimizing the use of 1st and 2nd gears, increasing the use of 5th gear, and block changing gears to save fuel. [Kuhler and Kartens, 1978], identified a set of ten variables that influence energy consumption and in the emission of greenhouse gases. Other authors evaluate the effect of using an eco-driving assistant in the fuel consumption and distractions that may cause. [Boriboonsomsin et al, 2009] evaluates the suitability of eco-driving assistant to acquire knowledge about ecodriving. [Klauer et al., 2006] concluded that distraction due to secondary tasks like interacting with a mobile device contributed to over 22% of all crashes. [Riener et al., 2010] proposed a vibro-tactile notification system into the car seat (either in the safety belt or the seating), to warn about the current CO2 eƥciency. A way to address the eco-driving is to influence in the parameters that the driver controls at any time such as: speed, accelerations and gear. In [Saboohi and Farzaneh, 2009], the authors proposed a control strategy to drive efficiently. This control strategy determines the adequate speed and adequate gear at any given time. [Casavola et al., 2010] analyzed two algorithms to determine the most efficient gear for fuel ARTEMISA: Architecture of an ecodriving assistant based on the anticipation V.Corcoba Magaña1, M.Muñoz Organero1, A. Fernández-Montes2, J. A. Ortega2 1Dpto. de Ingeniería Telemática. Universidad Carlos III. Leganes, Spain [email protected],[email protected], 2Departamento de Lenguajes y Sistemas Informáticos Universidad de Sevilla Spain [email protected],[email protected] $ FWDVGH;,9-RUQDGDVGH$5&$ 6LVWHPDV&XDOLWDWLYRV\VXV$SOLFDFLRQHVHQ ' LDJQRVLV5REyWLFDH,QWHOLJHQFLD$PELHQWDO ) -5XL]1$JHOO-$2UWHJD(GV F
saving at each time. [Barth and Boriboonsomsin, 2009] proposed an algorithm for deriving the recommended set vehicle speed, based on real-time measurements from a traffic measurement system. In [Ke et al., 2010], the authors proposed a Min-Max ant algorithm to find an optimized vehicle speed and acceleration with respect to fuelefficiency. In this paper, we propose an eco-driving assistant to help the driver for adopting an efficient driving style. The assistant will warn the user when it does not comply with the basic rules of eco-driving. Also, it recommends an optimal average speed. The eco-driving assistant runs on an Android mobile device. These devices are suitable due to its multiple connections and sensors. However the presented architecture could be run on another platform. 2 Eco-driving Assistant [Artemisa Project, 2012] aims to save fuel by modifying the behavior of the driver. To do so, we can use static ecodriving advices or dynamic eco-driving advices. Some static advices are: not to drive fast, not accelerate sharply, driving at high gears, maintaining speed constant and so on. Dynamic Eco-driving advices are those which take into account the current conditions such as: traffic density, vehicle speed, weather conditions, traffic accidents and so on. The proposed eco-driving assistant takes into account these two types of advices. The effectiveness of eco-driving assistant attendees to modify the behavior of the driver has been widely proven. Figure 1. Architecture of eco-driving assistant In Figure 1, we can see a schema of the proposed system. Eco-driving assistant has the following components: xData Acquisition System: this component is responsible for obtaining information about the vehicle and the environment. The information obtained will be used to determine what eco-driving advices should be issue. xPreprocessing Module: this component is responsible for filtering the data collected by the data acquisition component and generating additional information by analyzing the data collected. xEco-driving advices: this module is responsible for evaluating the driver driving style and based on this evaluation issuing eco-driving advices, so that, the driver will change the negative aspects of his or her driving style. For example: If the driver brakes sharply, the eco-driving assistant will issue: You should slow down smoothly. xPredictive advices: this module predicts in advance situations that cause an increase in fuel consumption to warn the driver. Also, it indicates that actions should be taken to prevent such situations. xUser interface: this module is responsible for presenting the eco-driving advice and warning the user. 2 Data Acquisition System Data Acquisition System obtains the value of all variables that influence fuel consumption or that can help to predict the actions to be performed by the driver to save fuel. It uses as information sources the following means: xInternet: State of the road and weather conditions xCamera: Traffic Signs Detection xGPS: Vehicle Location xOBD2: Vehicle speed, RPM, fuel consumption and travel distance Internet information Traffic Density and Weather Conditions are obtained from the [DGT, 2012] web service and [AEMET, 2012] web service. The information is provided in XML format. The Android XMLNull library is used for processing the file XML. Camera Eco driving assistant uses [OpenCV project, 2012] library to take the photograph from the road. OpenCV is crossplatform, there are versions for GNU / Linux, Mac OS X , Windows and Android. It contains over 500 functions covering a wide range of areas in the vision process as object recognition (face recognition). This library makes internal use of Android native libraries to access to the camera. User Interface Holo Font TTS Eco-driving tips Eco-driving Advices Data Acquisition System Information Generator OBD2 FilterInternet Filter Optimal Average Speed Module Traffic Signs Detection Preventive Eco-driving tips Pre-Processing Module 9&RUFREDHWDO$57(0,6$$UFKLWHFWXUHRIDQHFRGULYLQJDVVLVWDQWEDVHGRQWKHDQWLFLSDWLRQ
Location Geographical Coordinates are obtained through the GPS from Android mobile device or triangulation of antennas. Eco-driving assistant uses the geographical coordinates to determine the vehicle location. Vehicle location is used to obtain the road conditions. In addition, it also used to save the location of the detected traffic signs. OBD2 Vehicle speed, RPM, fuel consumption and travel distance are obtained from vehicle diagnostic port (OBD2). OBD port [Godavarty et al., 2000][OBD2 Adapter, 2012], was proposed in 1984 and it is known as the standard OBDI. OBDI is strong mind focused on the assessment of the emission of gaseous pollutants from the vehicle. In 1988, OBD was improved and it was named as OBD2. OBD2 provides much more information than OBDI because its aim is not only to evaluate the emission of gas pollutants, but also to be able to do in-depth diagnostic about the operation of vehicle. This diagnostic vehicle port (OBDII) is included in most of today's vehicles. To obtain the vehicle diagnostic values, we connected a Bluetooth adapter to the OBDII port and the adapter sends data to an Android Mobile Device. Figure 2 shows the data acquisition system. Figure 2. Data Acquisition System 3 Pre-Processing module This module is responsible for filtering and extracting information from the data collected by the data acquisition system. OBD Filter On some occasions, the data obtained through the OBD2 port are unusual. For example, when the vehicle is stopped the travel distance value supplied by the diagnostic port is incorrect. This filter is responsible for removing the values that exceed a threshold. Weather Filter This filter is responsible for categorizing weather conditions into three classes: good, regular and bad. Traffic Filter This filter is responsible for categorizing the traffic density in three classes: smooth, moderate and heavy. Image Interpolation We resize the captured image 10x using cubic interpolation. Due to the limited processing capabilities of current mobile devices, we resize only the right half of the image. We resize this region of the image because in Spain the traffic signs are located on this side of the road. Generation of information We can obtain relevant information about the driving if we look at the data collected by the data acquisition system. For example, if we observe that the distance traveled remains constant over a period, we can deduce that the vehicle is stopped. If the vehicle is stopped for more than two minutes, we could issue an Eco-driving advice as: You must turn off the vehicle engine during prolonged stops. 4 Eco-driving Advices This component assesses compliance with the following eco-driving advices: xVehicle Speed should not exceed 110 km / h xAccelerations should not exceed 1.5 m / s ^ 2 xSlowdowns should not be less than -1.5 m / s ^ 2 xDriver must turn off the vehicle engine when vehicle is stopped for more than two minutes xThe driver is driving at low gear 5 Prediction Module There are numerous studies on eco-driving, which states that the key to eco-driving is the anticipation. Our system analyzes the environment and it predicts whether the driver actions will cause an increase in fuel consumption or not. To achieve this goal, the system has two components: Traffic Signs Detection Sharp accelerations cause a considerable increase in the demand for energy, and therefore, an increase in fuel consumption. On the other hand, sharp slowdowns cause a great waste of energy. A large proportion of abrupt decelerations and unnecessary acceleration are due to the driver distractions. These distractions make the driver fails to comply with traffic signals that require or may require stopping. The eco-driving assistant warns the user when the speed at which he or she circulates is not appropriate due to the proximity of a traffic signal that requires or may require stopping. The "adequate" speed is defined as the one that allows the vehicle to stop upon reaching the traffic signal OBD2 Cable Scan tool UTMS/LTE Bluetooth GPS Weather Service Traffic Service Weather XML Traffic XML Road Image 9&RUFREDHWDO$57(0,6$$UFKLWHFWXUHRIDQHFRGULYLQJDVVLVWDQWEDVHGRQWKHDQWLFLSDWLRQ
without exceeding a threshold in the slowdown. We have set the threshold at 1.5 m/s2. Greater decelerations make fuel consumption increase exponentially as we have observed in several tests. Our eco-driving assistant detects three types of traffic signs: stop signals, yield and pedestrian crossing. To detect these traffic signs, we use the method proposed by Viola & Jones [18] that uses a cascade of strong classifiers. This proposal is the first object detection algorithm to provide competitive object detection rates in real-time. Viola & Jones propose to detect objects based on the change of intensity. The method employs features that involve the sums of image pixels within rectangular areas. A learning algorithm, based on AdaBoost, selects a small number of critical visual features and builds a set of strong classifiers (cascade) using these features. The efficiency of this method is due to: •A new image representation for very fast feature evaluation. •At any stage if a classifier rejects the sub-window under inspection, no further processing will be performed and it will continue on searching the next sub-window. So in the early stages, many subwindows (the easiest) are removed with very little processing. Figure 3. Schema of traffic signs system In Figure 3, we can see a schema of the Traffic Signs Detection System. Our proposal uses as input variables: vehicle speed, vehicle location and interpolated image. The detection module looks for traffic signs on the interpolated image using the method of Viola & Jones. It´s important to highlight that the set of classifiers is built on a PC due to low processing power of the mobile phone. Classifiers are saved on the Android mobile device as an xml file. If the detection module detects any traffic signal, it will save its geographical coordinates in a nAndroid SQL database. The objective is to detect the traffic signs in advance because the system is only able to detect signals up to 20 meters distant due to the limitations of the cameras on mobile devices. Then, the Nearest Traffic Sign Module gets the distance to the closest traffic signal. Finally, the Speed Check Module is responsible for checking if the current speed is appropriate using the current vehicle speed and the distance to the nearest traffic signal. Optimal Average Speed Module This module obtains the optimal average speed to minimize fuel consumption and increase safety. Although, vehicle speed is not the only parameter influencing in fuel consumption, it is one of the most decisive because it influences other factors such as acceleration, decelerations and security (control over the vehicle). To get the optimal speed, this module uses an algorithm based on genetic algorithms (ASGA). ASGA defines the problem as a combinatorial optimization problem where the individuals are represented as vectors. Each position of the vector represents a section of the trip. In addition, the position of the vector contains an average speed value and travel time. For example, in Table 1, the 2-position of the vector indicates that the vehicle must run at 90 km / h and travel time is 200 seconds. Table 1 Encoding of an individual for the ASGA Algorithm Variables Stage 0 1 2 Speed 20 90 45 Travel time 500 200 300 The algorithm has as input parameters: speed, traffic flow, weather conditions, R.P.M and the number of estimated stops. The fitness function is defined as: ܨ=ቌ൭൬ேೄೞכଵ ௌೄೞ ൰כሺ ଵሻ൱ሺሺܨ௪ܨ்ሻכܸሻቍܨ Data Acquisition System Traffic Signs Recognition Module Nearest Traffic Signs Module Speed Check Module Traffic signs database Pre-Processing Module Geographic Coordinates, Image and Vehicle Speed Geographic Coordinates, Interpolated Image and Vehicle Speed Traffic Signal Detected, Geographic Coordenates Traffic Signs Distance to the nearest traffic signal 9&RUFREDHWDO$57(0,6$$UFKLWHFWXUHRIDQHFRGULYLQJDVVLVWDQWEDVHGRQWKHDQWLFLSDWLRQ
where ܨ is the estimation fuel consumption(L/100Km) given by Eqs.1, ܵௗ is the section distance(meters), ܰௌ௧௦ is the estimated number of stops, ܨ௪ is a weather factor given by Eqs.2, ܨ் is a traffic density factor given by Eqs. 3 and ݒ is the vehicle speed (Km/h). ܨൌܨכሺሺܴܲܯாכܲሻȀͲʹͶሻݒ(1) where ܨ is the fuel consumption measured using the test ECE-15 cycle. This cycle was introduced by the EEC Directive 90/C81/01 in 1999,ݒ is the vehicle speed,ܲ is the maximum torque value (Nm) and ܴܲܯா is the estimated revolution per minutes at ݒ vehicle speed. ܨ௪ቐͲ݂݅ݓ݁ܽݐ݄݁ݎൌ݃݀ ͲǤͲͷ݂݅ݓ݁ܽݐ݄݁ݎൌݎ݁݃ݑ݈ܽݎ ͲǤͳ݂݅ݓ݁ܽݐ݄݁ݎൌܾܽ݀ (2) ܨ்ቐͲ݂݅ݓ݁ܽݐ݄݁ݎൌ݈ݓ ͲǤͲͷ݂݅ݓ݁ܽݐ݄݁ݎൌ݉݀݁ݎܽݐ݁ ͲǤͳ݂݅ݓ݁ܽݐ݄݁ݎൌ݄݁ܽݒݕ (3) Figure 4 shows a schema of the ASGA algorithm. Initial Population P1,P2,...PN Selection 1 (Best Fitness) P2,P12, P20, P35 Selection 2 (Best Travel Time) P2,P12, P20, P35 CrossOver h1 = (P2+x35)/2 h2=(P12+P20)/2 Mutation h1 = (60+56/2) h2=h2 Figure 4. ASGA Algorithm 6 User Interface Distractions to manipulate devices such as GPS or mobile are the cause of a large number of accidents (Mapfre, 2006). The user interface module is intended that the eco-driving advices are as least intrusive as possible. User interface module is responsible for showing ecodriving advices with clear typographic, and also, it converts text to voice. Driver does not have to look at the screen. We use the ROBOTO font to show the Eco-driving advices. This typography was introduced on Android 4.0 to improve visibility on devices with small screen. To convert the advices to voice, we use the TTS library that supports Android since version 2.1. 7 Conclusions In this paper, we have presented the architecture of an ecodriving assistant developed inside the ARTEMISA project. The proposed eco-driving assistant evaluates eco-driving rules whose effectiveness has been widely tested. On the other hand, the eco-driving assistant is directly influencing the driver through the speed parameter. In addition, the use of the assistant increases safety because the proposed speed for the vehicle is suited and adapted to the current conditions of the road. A large proportion of accidents of traffic are due to an inadequate speed The proposed assistant runs on an Android mobile device. Today's mobile devices are suitable for modeling the environment due to to their multiple network connections (Bluetooth, Wi-Fi, UTMS) and sensors (GPS, Light Sensor, Accelerations sensor). In addition, the cost of implementing the solution is low. We can find Android mobile devices for less than $ 100. Furthermore, the proposed architecture could be easily moved to another platform. As future work, we want to improve the eco driving assistant carrying out an exchange of information between the vehicles on the road. In this way, we can issue new ecodriving advices based on the anticipation. For example, if a vehicle is circulating at an unusual speed and it issues this information to vehicles that follow, these can shape slowdowns more smoothly. Acknowledgments The research leading to these results has received funding from the ARTEMISA project TIN2009-14378-C02-02 within the Spanish "Plan Nacional de I+D+I", from the European Union's Seventh Framework Programme managed by REA-Research Executive Agency (FP7/2007-2013) under grant agreement n° 286533 and from the Spanish funded HAUS IPT-2011-1049-430000 project. References [Muraki and Kanoh, 2008] “Wide-area traffic signal control using predicted traffic based on real-time information,” Proceedings of the 11th International IEEE Conference on Intelligent Transportation Systems, Beijing, China, October 12-15, 2008. [Barbé and Boy, 2006], “On-board system design to optimize energy management,” Proceedings of the European Annual Conference on Human Decision-Making and Manual Control (EAM'06), Valenciennes, France, September 27-29, 200The Risk Observatory. Institute for se9&RUFREDHWDO$57(0,6$$UFKLWHFWXUHRIDQHFRGULYLQJDVVLVWDQWEDVHGRQWKHDQWLFLSDWLRQ
curity studies (IDES), «Traffic: Civilization or Barbarism,» 2006. [Mierlo et al., 2004], «Driving style and traffic measuresinfluence on vehicle emissions and fuel consumption,» Journal of Automobile Engineering, 2004. [Koskinen, 2008], “Improving vehicle fuel economy and reducing emissions by driving technique,” Proceedings of the15th ITS World Congress, New York, Nov 15-20, 2008 Structure and Interpretation of Computer Programs. MIT Press, Cambridge, Massachusetts, 1985. [Erik G. Lindfeldt et al., 2025], “Strategies for a road transport system based on renewable resources – The case of an import-independent Sweden in 2025”, Applied Energy, Volume 87, Issue 6, June 2010, Pages 1836-1845. [Ericsson, 2001], “Independent driving pattern factors and their influence on fuel-use and exhaust emission factors” Transportation Research Part D: Transport, 2001 – Elsevier, 325-345. [Johansson et al, 2003], «Impact of EcoDriving on emissions» International Scientific Symposium on Transport and Air Pollution, Avignon, 2003. [Kuhler and Kartens, 1978], “Improved driving cycle for testing automotive exhaust emissions”. SAE Technical Paper Series 780650. 1978. [Boriboonsomsin et al, 2009], «Co Eco-Driving: Pi-lot Evaluation of Driving Behavior Changes among U.S. Drivers» 2009. [Klauer et al., 2006] The Impact of Driver Inattention On Near-Crash / Crash Risk : An Analysis Using the 100Car Naturalistic Driving Study Data. Analysis, (April), 224. National Highway Traffic Safety Administration. [Riener et al., 2010], "Subliminal vibro-tactile based notification of CO2 economy while driving", 2nd International Conference on Automotive User Interfaces and Interactive Vehicular Applications AutomotiveUI 2010), November 11-12, 2010, Pittsburgh, Pennsylvania, USA, ACM, ISBN: 978-1-4503-0437-5, pp. 92-101, 2010. [Saboohi and Farzaneh, 2009], «Model for developing an eco-driving strategy of a passenger vehicle based on the least fuel consumption,» Applied Energy, vol. 86, nº 10, pp. 1925-1932, 2009. [Casavola et al., 2010], "Efficient gear shifting strategies for green driving policies," American Control Conference (ACC), 2010, vol., no., pp.4331-4336, June 30 2010-July 2 2010. [Barth and Boriboonsomsin, 2009] Energy and emissions impacts of a freeway-based dynamic eco-driving system, Transportation Research Part D: Transport and Environment, Volume 14, Issue 6, August 2009, Pages 400410, ISSN 1361-9209, 10.1016/j.trd.2009.01.004. [Ke et al., 2010], ”Fuel-efficient driving strategies for highway vehicles”, in Proc. Industrial Electronics and Applications, pp.2070 - 2075, 2010. [Artemisa Proyect, 2012]. URL: http://www.gast.it.uc3m.es/artemisa/index.php/Portada, [Last access: May 2012]. [DGT, 2012], URL: http://infocar.dgt.es/etraffic/rss_todas.xml. [Last access: May 2012]. [AEMET, 2012] URL: http://www.aemet.es/es/portada. [Last access: May 2012]. [OpenCV project, 2012], “The OpenCV documentation”. URL: http://opencv.willowgarage.com/wiki/. [Last access: May 2012]. [Godavarty et al., 2000], “Interfacing to the on-board diagnostic system”. Vehicular Technology Conference, 2000. [OBD2 Adapter, 2012], URL: http://www.scantool.net/. [Last access: May 2012]. 9&RUFREDHWDO$57(0,6$$UFKLWHFWXUHRIDQHFRGULYLQJDVVLVWDQWEDVHGRQWKHDQWLFLSDWLRQ