Keywords

1 Introduction

The public transportation in urban centers has been a constant problem for the environment and public health. In Brazil, it has not been different. São Paulo, for example, is the largest city in the country with more than 11 million people and, despite the various strategies used by transportation companies to reduce the air pollution and noise emissions, the level is still high.

A solution to change this scenario was to develop the Ecofrota program by municipality of São Paulo. This program implemented in 2009, requires that all public transportion system in the city use renewable fuel until 2018, reducing the use of fossil fuels at least 10 % per year [1].

Currently there are three technologies available to the public transportation in São Paulo: bus with conventional combustion engine, electric bus and hybrid bus (combustion plus electric).

Some researchers believe that the hybrid vehicle becomes an interesting alternative because conventional buses have the disadvantage of being highly polluting, while the pure electric vehicle has the disadvantage of having to continually recharge [2] and [3]. Therefore, a hybrid system may provide the benefits of electric power without abandon the combustion engines for some situations.

To establish the feasibility of adopting a hybrid system by the cities and public transportation companies, is necessary to ensure that hybrid buses can respond the same requirements provided by conventional buses. Hence, our study aims to simulate the adoption of a fuzzy logic system to control the hybrid bus and improve its efficiency.

The simulation could be made using different approaches, but we defined adopt the fuzzy logic method because it is an important tool to solve problems in different areas of knowledge and applications.

According to Li et al. as the hybrid vehicle is nonlinear and multivariable, the fuzzy logic is more suitable for the energy management [4]. Moreover, Neffati et al. demonstrated the efficiency of fuzzy logic applied to control hybrid electric vehicles comparing different methodologies. To solve problems in real time the fuzzy logic shows good results [5].

This work was realized using the city of São Paulo as reference. Thus, the data was collected with the São Paulo Transport Company that manage the public transportation systems, and with the company that provide the electric and hybrid systems for buses in operation in the city, the Eletrabus [1] and [6]. The simulation was made with MATLAB© software using the fuzzy logic mode.

2 Hybrid Systems

The hybrid technology uses the combination of two or more sources of energy to feeds the system [6] and [4].

The hybrid system discussed in this work is performed by a electric motor, where the energy comes from a diesel powered engine. In addition, the vehicle has a battery bank that complements the energy available to the electric motor when required; the diesel powered engine recharges the battery bank, that avoid the use of external recharging of batteries. The combustion engine is fixed in rotation, reaching a reduction of smoke emission in 90 % [6]

A hybrid vehicle uses three different types of settings: Series, Parallel-Series and Parallel [3]. In the case of the Eletrabus, responsible for the project in São Paulo city, the hybrid buses follow the parallel configuration [6], Fig. 1.

Fig. 1.
figure 1

Parallel hybrid vehicle. Source: adapted from[6]

The advantage of using the parallel system is the flexibility, which allows the system to operate whether a problem occurs in the electric generator, control and inverter, battery bank or the electric motor [3].

3 Fuzzy Logic

Fuzzy logic was developed by Lotfi A. Zadeh (1921-) in Berkeley in the 60s. This is a non classical kind of logic that allows intermediate values among False (0) and True (1) [7].

In the real world, there are variables that are vague or uncertain, impossible to be represented by classical logic. Fuzzy logic, enable to work with qualitative values and to infer from these quantitative values [8] and [9].

Zadeh states that there are two main reasons for the use of fuzzy logic, when the information available is too imprecise to justify the use of numbers, and when there is a tolerance for imprecision [8].

The applications of fuzzy logic in information systems began in the 80s. According to Zadeh, some of the first were made by F. L. Smidth to control cement kilns and the Sendai subway system designed by Hitachi [10].

4 Methodology

To answer the objective of this work three variables was considered: velocity, topography and battery status. Currently, Eletrabus uses a controller, as can be seen in Fig. 1, which considers only velocity variable for swapping the system. [6]. We opted to include more variables for two reasons: (i) recommendation of fuzzy logic experts; and (ii) to create a more complex environment to test the potentially of the fuzzy system.

In this study, the main objective was to create a model with the knowledge of experts [9] and make simulations. The interaction of the model with the controller can be discussed in future works.

The fuzzy logic model depends of membership values and basic rules defined by experts. The Table 1 shows the membership values.

Table 1. Membership values

The next steps were to create 27 rules, each with a specific weight, which represents the possible combinations among the input variables. Applied conjunction (and) among the variables. The possible outputs are: “Batteries”, “CombustionEngine” and “Not Applicable”, where the last one reflects situations in which the relationship between the variables are not validated. The output values were defined on a scale ranging from 0 to 10, Table 2.

Table 2. Basic rules

To build the basic rules in MATLAB©, 12 of the 27 combinations were added, where 15 combinations resulting in “Not applicable” were not added because in these cases the actual results are the same value for both “Batteries” and “CombustionEngine”. The composition of the inference engine with the input variables, the rules (Hybrid Engine) using Mamdani method, and the output variables using the method (SOM), can be seen in Fig. 2.

Fig. 2.
figure 2

Inference engine MATLAB

After the construction of the model, we made six simulations on MATLAB©R2014a with addition of the Fuzzy Logic Toolbox: five simulations with data within the specified range of values that meet any of the 12 rules defined in MATLAB©, and 1 simulation based on data within the set of values that do not meet any of the 12 rules defined in MATLAB©. Each simulation produce a representation of the results such as performed in Fig. 3.

Fig. 3.
figure 3

Graphic resulted from MATLAB© simulations

The analysis presented in the results and discussion section are performed using the graphic resulted of the fuzzy logic simulation.

5 Results and Discussion

The results of these inferences indicate a degree of priority for Batteries or Combustion Engine, ranging from 0 to 10. The use of Mamdani and SOM methods in defuzzification brought the lowest possible results for the simulations.

The allocation of specific weights for each rule, demonstrated a more detailed control of inference. The system performance is effected by the input variables settings and the basic rules that can be refined [11].

For the first simulation, the values attributed were 10 for Velocity, 0 for Topo- graphy and 88 for BatteryStatus presented low speed, topography plan and high battery charge (rule 4) in Table 2. According to this rule, the lower the speed, the flatter the terrain and the higher battery load, increase the expectation of minimum result. The value found was 3.8 that indicates the minimum priority of batteries.

For the second simulation, the values attibuted were 7 for Velocity, -12 for Topography and 76 for BatteryStatus and showed low speed, slope topography and average battery life (rule 10) in Table 2. According to this rule, the lower the speed, the lower the slope of the land and the higher battery load, increase the expectation of minimum results. The value of 1.2 is the minimum priority of batteries. In this case, the slope of the terrain in 12 degrees affected the result to a low value. This result is consistent, because the weight of the vehicle and the inclination uses the gravity, requiring fewer batteries.

For the third simulation, the values attributed were 58 for Velocity, 1.2 for Topography and 22 for BatteryStatus, considering the high speed, flat topography and low battery (rule 24) in Table 2. The flatter the terrain and the lower the battery load, increase the expectation of minimum results. The variation at high speed does not affect the result in most value ranges. The value of 2.8 is the minimum priority of the combustion engine.

For the fourth simulation the values attributed were 25 for Velocity, 11 for Topography and 32 for BatteryStatus, which relates to the average speed, slope topography and low battery (rule 26) in Table 2. The flatter the terrain and the lower the battery load, increase the expectation of minimum results. The variation in the average speed does not greatly effect the outcome in most ranges of values. The value of 5.6 is the minimum priority of the combustion engine.

For the fifth simulation the values attributed were 55 for Velocity, 12 for Topography and 22 for BatteryStatus, with high speed, slope topography and low battery (rule 27) in Table 2. The greater the slope of the land, and the lower the battery load, increase the expectation of minimum results. The variation at high speed does not effect the result in most ranges of values. The value of 7 is the minimum priority of the combustion engine; it is consistent due to the slope of 12 degrees, which requires more combustion engine to suppress gravity.

For the sixth simulation, the values attributed were: 55 for Velocity, 12 for Topography and 92 for BatteryStatus, considering the high speed, slope topography and high battery charge (rule 9) in Table 2. This rule has not been allocated in the database for the simulation, since the combination of its variables are not applied; however the data may occur, which in this case returns the values of 5 for batteries and 5 for combustion engine.

For the 15 rules where the output value is “Not Applicable" rather than prioritize the combustion engine, the inference points to a neutral outcome, allowing other considerations for decision. Moreover, due to the limitations of the fuzzy control [12], these outputs could also be entered as input values to other fuzzy systems or expert systems, such as neural networks. For example, Barzegar et al. studied a hybrid adaptive model, based on a combination of coloured Petri nets, fuzzy logic and learning automata, to efficiently control traffic signals [13].

So, this results and discussions indicated the feasibility of applying the fuzzy logic to control hybrid vehicles.

6 Conclusions and Outlook

The simulation results performed an effective use of the system, apparently showing no flaws or inconsistencies. The system behaved properly according to the rules and the specified values. For the cases that resulted in neutral or equal, the hybrid system could use the combustion engine and batteries (both), or prioritize the use of one in function of other variables. As a suggestion, we recommend using the outputs that returned equal to 5 (sixth simulation) as input values to other systems and new simulations.

This work have presented some limitations, being thus for future works the next steps aim to use SIMULINK on MATLAB© to demonstrate the behaviour of the fuzzy system proposed.

São Paulo like many big cities in the world are suffering with problems of gas and noise emissions and alternatives need to be finding out to reduce or solve these issues. Our studies have indicated the benefits of the use of hybrid systems in public transportation to reduce air pollution and noise emissions.