scieee AI-readable full text Open interactive document viewer

Contributions to power management and dynamics control in hybrid vehicles.

Marcos Rodríguez, David

Full text

Contributions to Power Management and Dynamics Control in Hybrid Vehicles D. Marcos . Contributions to Power Management and Dynamics Control in Hybrid Vehicles Tesis Para obtener el grado de Doctor en la Escuela Superior de Ingenier´ıa de la Universidad de Sevilla David Marcos Rodr´ıguez. Ingeniero Industrial, M´aster en Autom´atica, Rob´otica y Telem´atica, nacido en Sevilla. Esta tesis ha sido dirigida por: Carlos Bordons Alba catedr´atico en el departamento de Ingenier´ıa de Sistemas y Autom´atica de la Universidad de Sevilla. Acknowledgements — I would like to thank the people I have had the pleasure to work with: Ignacio, Juanma, Luis, Silvia, Jose, Filiberto, Manuel, Ram´ on, Jorn, Antonio, Cristina, Mar´ ıa, Ezequiel, Teodoro, Eduardo, Fernando, Felipe, Miguel, Marina, Jos´ e Luis, Pablo, Daniel. And very specially to Carlos Montero, Elena Gonz´ alez, Alejandro Oliva, Vicente Madero, Manuel Rodr´ ıguez, Juan Cabrera and Javier Pino. I feel very fortunate for having shared all this workand time with you. - I would like to thank Professors Eduardo Fern´ andez and Miguel ´ Angel Ridao for all I have learnt from you, and to Professor Carlos Bordons for so manythings, that would not fit this page. - Finally, I would like to thank my friends and family (by blood and in law) for asking, helping and supporting me. In special to my parents, for being acontinuous guidance for me, and to my wife for her patience, comprehension, and love during all thistime. — David Marcos Rodr´ıguez, Sevilla, July 2014. V Contents Acknowledgements V 1. Introduction 1 1.1. Motivations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1.1. Control systems in cars . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1.2. Hybrid cars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2. Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.3. Thesis overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2. Power management in fuel cell hybrid vehicles 19 2.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2. Delf´ın projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.1. Delf´ın I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.2. Delf´ın II . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.3. H´ercules Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.3.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.3.2. Vehicle description . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.3.3. Model description . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.3.4. Controller description . . . . . . . . . . . . . . . . . . . . . . . . 40 2.3.5. Batteries/ultracapacitors comparative . . . . . . . . . . . . . . . . 45 2.4. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3. Power management of a plug-in hybrid electric vehicle based on cycle energy estimation 49 3.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2. System description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.3. Controller description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.3.1. Global description . . . . . . . . . . . . . . . . . . . . . . . . . . 52 3.3.2. Mode selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 3.3.3. Engine power controller . . . . . . . . . . . . . . . . . . . . . . . 55 3.3.4. Low level control . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 3.4. Cycle energy estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.4.1. Energy estimation . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.4.2. Efficiency estimation . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.5. Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.5.1. Acceleration tests . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.5.2. Driving cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 VII VIII Contents 3.6. Analysis of Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.6.1. Acceleration tests . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.6.2. Cycle tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 3.7. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4. The development and validation of a thermal model for the cabin of a vehicle 67 4.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.2. Model description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 4.3. Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 4.4. Model validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 4.4.1. Testing and Simulation . . . . . . . . . . . . . . . . . . . . . . . . 73 4.4.2. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4.5. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 4.5.1. Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5. Power management in hybrid vehicles with Heating, Ventilation, and Air Conditioning (HVAC) 81 5.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 5.2. Air conditioning model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 5.3. Integration into the model of the vehicle . . . . . . . . . . . . . . . . . . . 83 5.4. Description of the tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 5.5. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5.5.1. BMW 1 series . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5.5.2. Chevrolet Volt . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 5.6. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 6. Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 93 6.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 6.2. Vehicle Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 6.2.1. Motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 6.2.2. Batteries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 6.2.3. Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 6.3. CAD model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.1. Vehicle body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.2. Suspension and steering . . . . . . . . . . . . . . . . . . . . . . . 99 6.3.3. Wheels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 6.4. Simmechanics model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 6.4.1. Introduction to Simmechanics . . . . . . . . . . . . . . . . . . . . 102 6.4.2. Simmechanics for a vehicle model . . . . . . . . . . . . . . . . . . 103 6.4.3. Assumptions and simplifications . . . . . . . . . . . . . . . . . . . 104 6.4.4. Reference systems . . . . . . . . . . . . . . . . . . . . . . . . . . 105 6.4.5. External forces . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 6.4.6. Wheel model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.4.7. Steering system . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 6.4.8. Model validation . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Contents IX 6.5. ADAMS Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 6.5.1. Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 6.5.2. Testing and experimental validation . . . . . . . . . . . . . . . . . 119 6.6. Torque distribution controllers . . . . . . . . . . . . . . . . . . . . . . . . 120 6.6.1. Understeering and oversteering . . . . . . . . . . . . . . . . . . . 121 6.6.2. Influence of the torque distribution over the performance of the vehicle124 6.6.3. Equal torque distribution controller . . . . . . . . . . . . . . . . . 126 6.6.4. PI yaw rate controller . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.6.5. Description of the tests . . . . . . . . . . . . . . . . . . . . . . . . 128 6.6.6. Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 6.6.7. Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 6.7. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 7. Conclusions and future research 137 7.1. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 7.2. Future research . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 A. Convective heat transfer coefficient calculation 141 Bibliography 145 Glossary 157 Resumen 163 Summary 171 XVI List of Tables 6.5. Horizontal forces calculation depending on vw. . . . . . . . . . . . . . . . 112 6.6. Burckhardt model parameters. . . . . . . . . . . . . . . . . . . . . . . . . 129 6.7. Understeer gradient for the equal torque distribution. . . . . . . . . . . . . 129 6.8. Understeer gradient for the PI yaw rate controller. . . . . . . . . . . . . . . 132 6.9. PI output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Chapter 1 Introduction 1.1. Motivations Road transportation has had a vital role in the history of humanity. Since the wheel invention, a large sort of vehicles have been used to transport goods, animals or people. In the 1880s, Karl Benz built the first vehicle driven by an Internal Combustion Engine (ICE). Thus, the first long trip (around 100 km, round trip) in an Internal Combustion Engine Vehicle (ICEV) was successfully done by Bertha Benz (Karl’s wife) and their two children in 1888, demonstrating the feasibility of this kind of cars for personal transportation [78]. Today, the number of vehicles is continuously increasing, as shown in Figure 1.1, where the evolution of the number of vehicles in the world and in Europe is represented. Thus, in 2012 the motorization rate in Europe was of 449 vehicles per 1000 inhabitants, as pointed out by the Organisation Internationale des Constructeurs d’Automobiles (OICA) [87]. On the other hand, the excessive pollutant emissions have become an important problem. The OICA calculates that 16% of CO2human made emissions come from the road transport sector. In fact, road transport emissions are only exceeded by the electricity generation and heating sector, as shown in Figure 1.2 [88]. In fact, the first sector in final energy consumption in Europe is transport, as pointed out by the latest published data of the European Environment Agency (EEA), shown in 2005 2006 2007 2008 2009 2010 2011 2012 0.8 1 1.2 x 109 Number of vehicles (World) Year 2005 2006 2007 2008 2009 2010 2011 2012 3 3.5 4 x 108 Number of vehicles (Europe) 2005 2006 2007 2008 2009 2010 2011 2012 3 3.5 4 x 108 Figure 1.1: Number of vehicles in the world and in Europe. 1 2 1 Introduction Figure 1.2: Human-made CO2emissions. Figure 1.3: Total final energy consumption in Europe by sectors (2010). Figure 1.3 [32]. Besides, this agency also provides information about the consumption of petroleum products, where the transportation sector represents 75.3% of the total. Thus, one of the main goals of the new automotive technologies is precisely to reduce these numbers. To achieve that aim, the combustion engine is being substituted or complemented by electric motors. Meanwhile batteries, Ultra Capacitor (UC)s and FCs are becoming the new energy sources. Besides, the control systems of the vehicles are also becoming more sophisticated, playing a vital role in this change. On one hand, the mentioned technologies need these to operate. On the other hand, the controllers are programmed not just to enable the operation of the vehicle, but to minimize fuel consumption and pollutant emissions. This is changing the patterns of consumption, and despite the fact that the average power of the new vehicles is increasing, the trend in fuel consumption is the opposite (Figures 1.4 and 1.5. Data taken from Association des Constructeurs Europens d’Automobiles (ACEA) [2]). This shows a higher concern about the pollution problem in customers and manufacturers. Therefore, vehicles of the future should reduce, or avoid if possible, their pollutant emissions, while they improve their performance in power, comfort and safety. 1.1 Motivations 3 1990 1993 1996 1999 2002 2005 2008 2011 2013 0 20 40 60 80 100 Year Average power (kW) Figure 1.4: Average power of new registered cars. 1995 1998 2001 2004 2007 2008 2009 2010 2011 2012 0 10 20 30 40 50 60 70 80 90 Year Ratio (%) CO2: >160 g/km CO2: 141-160 g/km CO2: 121-140 g/km CO2: <120 g/km Figure 1.5: New passenger cars in the EU, by CO2emissions. 1.1.1. Control systems in cars Overview In the last decades, the development of electronics and automation hardware and software have changed our way of living. Electronics are present in almost all fields, nowadays. Evidently, a technified sector like the automotive could not obviate these advances. If a vehicle of the 1950s is compared to one manufactured today, it would have several important mechanical differences, and absolutely nothing to do in the electric/electronic system. The cars in the 50s had about 40 lines of cables, that were used just for the lights, the spark plugs and other basic devices. Today, all the systems have several sensors, a control unit, and hundreds of meters of cable supply and communicate these elements. The first electronic advance in automotive was the injection system, in the 60s. This system sprays the fuel into the intake manifold. Even the original analog units used for the injection systems were more precise than the carburettors, achieving a better performance in power as well as in fuel consumption. The second advance in automotive electronic was the Anti-lock Braking System (ABS) (1978) [18]. This was a huge milestone: this system did not improve the operation of the vehicle, but it actuated directly on the behaviour of the vehicle in case of an emergency brake. Today, this system is a standard. In the following decades hundreds of electronic systems were introduced in the car. Some of them are just useful (power windows, power door locks), and some others have saved uncountable lives (airbag, seatbelt pretensioners...). 4 1 Introduction Figure 1.6: Development of ECUs. Figure 1.7: Bosch MS 5.2 ECU. ECU Each of these systems needed a control unit that reads the signals from the sensors, and sends the orders to the corresponding actuators. These systems are named Electronic Control Units, and they are basically composed of a microcontroller, and different semiconductor memories (RAM, ROM) [18]. The number of ECUs has increased up to approximately 100 per vehicle nowadays. The improvements in the electronics and semiconductors industry have made the ECUs evolute to a higher performance in a smaller size, increasing control possibilities in vehicles. Figure 1.6 shows a comparison between the Bosch ECUs from 1990 to 2007 [18]. Nowadays, the Bosch Motorsport MS5.2 ECU (Figure 1.7) wears a Freescale Semiconductor MPC5200B microcontroller, with a MPC603e series e300 core at 400 MHz [17, 39]. Sensors and actuators As described in the definition, the ECU processes the data from sensors and sends the set points to actuators. As the ECUs, the units per vehicle of these devices have increased 1.1 Motivations 5 Figure 1.8: Google autonomous vehicle. significantly in the past few years. The sensors convert a physical or chemical variable into an electric variable, while the actuators are the interface between the electric signal of the ECU and the actual process. These can be classified as: Electromechanical actuators. Fluid-mechanical actuators. •Hydraulic actuators. •Pneumatic actuators. Electrical machines. Classification of the control systems in vehicles The control systems of a car can be divided into three functional groups: Systems that do not influence directly over the dynamics of the vehicle. Systems that help the driver. Systems that substitute the driver. The first group includes internal control systems (injectors [93, 122], etc.), safety systems (airbag, etc.) and several utilities (rear view mirrors positioning, alarms, etc.). On the other hand, the third group covers the systems that directly substitute the driver: in a certain task, like speed control (Adaptive Cruise Control (ACC)) [61, 110], in a manoeuvre (like the self parking vehicles [36], already available for some Volvo and Ford models) or even in the whole driving. Google has announced that at mid-2015 one hundred of their autonomous cars will be on the roads of the USA (Figure 1.8). These systems are not included in the field of study of this thesis. The systems of the second group evaluate continuously the behaviour of the vehicle, actuating in case the car approaches to a physical limit. Probably the best example of this group is the well-known Anti-lock Braking System. In the car without ABS, if the driver pushes violently the brake pedal, the wheels tend to get 6 1 Introduction Figure 1.9: Control scheme of a four-motor vehicle. locked. This reduces the grip of the tyres, and the driver looses control. The ABS system estimates the tyre-road friction, and it prevents locking by an actuator in each brake that can increase or reduce the braking force, avoiding wheels to get locked. Similar to the ABS, the Traction-Control System (TCS) actuates over the engine and the brakes, in case any wheel looses grip during acceleration. Finally, the Electronic Stability Program (ESP) estimates the correct trajectory of the vehicle, by reading the data from the pedals and the steering wheel, and actuates in case the real behaviour differs excessively from the estimated. This system integrates ABS and TCS. There is a strong line of development about TCS [85, 126], and even over ABS, for more than 35 years [24, 109]. In the ICEVs, the ESP controls the torque in each wheel by actuating on the brakes, and communicating the main ECU a new set point for the engine torque. This implies that this system cannot be used continuously, due to the excessive wear of the brakes and the constraint of the minimum speed of the engine idle speed. Therefore, the program will only actuate in extreme situations, like emergency brakings or violent obstacle avoiding. The actuation differs in an Electric Vehicle (EV) for these issues, due to the characteristics of the motors. In contrast with the ICEs, the electric motors: Have good response in all their working range (the vehicle does not need a gearbox). Have good response idle/in low speed (no idle speed needed). Can work as a motor or as a generator (regenerative braking). The negative and the positive torque has a similar degree of magnitude (depending on the energy storage system). Moreover, the development of vehicles with one motor per wheel allows a better and simpler torque control in each wheel. The torque in each motor is completely independent from the rest. This allows a continuous torque distribution control that improves the behaviour of the vehicle in standard driving, as well as in extreme situations, where the mechanical brakes may also be used. The most common control scheme consists on a high level controller that generates the reference for the vehicle and a low level controller that sets the torque in each wheel for the vehicle to behave the closest to the reference [23, 33, 123, 124] (Figure 1.9). The control of vehicles with in-hub wheels opens many challenging issues. Some of them are dealt within this thesis. 1.1 Motivations 7 1.1.2. Hybrid cars Definition of hybrid vehicle All the road vehicles must have an energy source storage system. The most common source nowadays is a fossil fuel, like gasoline or diesel. A car is considered hybrid if it has more than one kind of energy source store, independently of its type [40, 44, 51]. These sources can be [51]: Fuel. •Fossil fuels (gasoline, diesel, LPG). •Hydrogen. Batteries. Ultra capacitors. Flywheels. Hydraulic accumulators. Pneumatic systems. Motivations of the hybrid car A hybrid car has more than one kind of energy source store. Therefore, the vehicle must have at least two systems that convert their corresponding stored energy into the final kinematic energy for the vehicle. This increments the complexity of the whole system and increases the weight of the system. These disadvantages are compensated by several advantages compared to the non hybrid cars. The most important of them are listed below [40, 51]. Downsize of the engine/motor. A second device may supply the rest of the mechanical power. For example, the engine of a fossil fuel/batteries hybrid can be downsized, considering that an electric motor will actuate in case the driver demands more power than the limit of the engine. Another interpretation for this point is the upgrading of the vehicle. Thus, in the previous example, if the engine is powerful enough, the driver will have even an extra power source for any particular requirement. This would happen in hybrid race cars or in high end hybrid vehicles. Regenerative braking. Despite injection cars do not consume fuel while braking (unless the vehicle is not clutched), the fuel can never be recovered. On the contrary, if the car includes a rechargeable electric power source (batteries/ultracapacitors), part of the braking energy can be saved, instead of being wasted in friction braking. Optimize the power distribution. If the vehicle has more than one mover, the system has several options to reach the power set point of the driver, and that implies that the losses can be reduced by controlling the power supplied by each mover. 8 1 Introduction Figure 1.10: Lohner-Porsche Elektromobil. Eliminate the idle fuel consumption. Hybrid vehicles with electric motors do not need to keep the engine on when the car is idle, and that reduces significantly the fuel consumption, mainly in urban driving. History In the late 1800s and early 1900s, a person who wanted to acquire a car could choose between electric and internal combustion engine vehicles. This was equivalent to choosing between reliability or comfort. Thus, a failure in a ICEs was not an exceptional situation, while in the case of the electric cars, the charging process was too slow. In 1901 Ferdinanz Porsche modified his Lohner-Porsche Elektromobil by adding an ICE, to recharge the batteries while the vehicle was being used, becoming the first hybrid car. In the same year some prototypes were shown in Paris Automobile Salon [40]. In the following decade, Woods designed his gas-electric car and introduced it into the market of the USA. The vehicle did not succeed due to its high price, compared with the non-hybrids, and in particular with the popular Ford T. At that point, ICEs started to be more reliable and ICEVs became not the main but practically the only option, for approximately eight decades. The first hybrid vehicle to be massively produced was the first generation of Toyota Prius, in 1997. The improvements in batteries as well as the possibility of having a powerful processor at a relatively low price have made the Prius to be a reliable vehicle. Despite its price being still higher than average vehicles of its segment, the lower consumption and the increasing environmental concerns have made Toyota Prius to be a relatively popular car. The success of Toyota Prius has forced the car companies to focus on the fuel consumption problem. As a consequence, almost all the most important companies have at least one micro-hybrid vehicle (see Section 1.1.1). Despite the fact that the number of hybrid cars is still low compared to the non-hybrids, it is increasing continuously. Toyota Prius is still the most popular hybrid car, but it is not 1.1 Motivations 9 Figure 1.11: Ferrari Laferrari. difficult to see the models of other companies (Honda Insight,Ford Fusion Hybrid, or Opel Ampera/Chevrolet Volt...) and the hybrid versions of other cars from Toyota (Auris and Yaris [111]) in the streets. Probably the most surprising hybrid car is Ferrari Laferrari: a limited edition 963 HP hybrid car (800 HP ICE, 163 HP Electric Motor (EM)) [67]. Hybridness has also reached the Formula 1 competition. In 1999 the Federation Internationale de l’Automobile (FIA) authorised the teams the use of the Kinematic Energy Recovery System (KERS). This device stores energy when the vehicle is braking, and can be used by the driver as an extra power source in a certain moment of the race [57]. Classification The first classification for hybrid vehicles is made regarding how hybrid the vehicle is. To measure this ratio, a new parameter is defined: the DoH. The DoH is the relation between the power of the batteries an the total power of the energy sources. Thus, Equations 1.1 and 1.2 show the expressions for a FCHV and an ICEHV respectively. DoH =Battery power Battery power +Fuel cell power (1.1) DoH =Battery power Battery power +ICE power (1.2) The closest the DoH is to 0.5, the more hybrid the vehicle is. For instance, for the latter equation, if the DoH is close to 0, the car is almost an ICEV, while on the contrary, if the value is 1 it is a pure EV. Regarding the DoH, the hybrid vehicles can be defined as: Micro hybrids. These are usually ICEVs with a higher battery capacity and different auxiliary devices (like an alternator that provides a higher regenerative braking power) that enables the possibility to stop the engine in idle situations (traffic jams, traffic lights, etc.). This will reduce the fuel consumption in urban driving. These cars 16 1 Introduction Figure 1.18: Energy sources in future automobiles. Future At present time, most of the automobiles in the world are ICEVs. However, there are several signs of a big change coming in the sector. The success of Toyota Prius is pushing the rest of the companies to hybridness or other alternatives, like the BEVs (Peugeot Ion, Renault Twizzy, etc.) or micro hybrids. Actually, the latter option is already included by default in all the models of several important companies. It is not easy to predict how the car of the future will be. But it is known that fossil fuels reservoirs are limited, so the present scenario will not be valid in the far future. Substituting the ICEs is not an option. The ICEHVs can be considered as the first step of this process, as they do not have a complete dependency on fossil fuels. In [40], it is assumed that future vehicles will be driven by fuel cells (Figure 1.18). Perhaps it is too soon to predict what the car of the future will be like. However, it is very significant that the most important motor companies are researching about this energy source, and the first commercial vehicles are about to be released. Maybe in some years a new technology will arrive, or batteries will solve their charging time problem and become the future energy source for vehicles. But, at the moment, fuel cells seem to be the best option for the future, while ICEHVs represent the present. In any case (ICEHV, FCV or EV), the role of control systems will become vital in the future. New features, like autonomous driving or coordination with the traffic control centre or with other vehicles will be based on a control platform; while the solutions to the main issues (dynamics control, HVAC and power management) will have to evolute with the cars and be adapted to the nature of the own vehicles. 1.2. Goals As exposed in Section 1.1.1, the importance of control systems in the cars is increasing, specially since the hybrid and electric cars have become a real option. This thesis will deal with some of the most important aspects of control for the HVs nowadays: power management, HVAC and dynamics control. The power management is a need in HVs. This issue will be covered in this thesis by a MPC and a rule-based control strategy for three HVs with different configurations, degrees of hybridness and power sources: a range extender FCHV, a pure hybrid FCV and a ICE PHEV. Regarding the HVAC issue, in this thesis the influence of the HVAC system over a HV will be address. Thus, a thermal model of a vehicle and a ACS model will be developed and integrated into the models of the power systems of a FCHV and a ICE PHEV to calculate the differences in performance and consumption in both vehicles when the HVAC system is 1.3 Thesis overview 17 active. Finally, a complete mechanical model of a four in-wheel independent driving vehicle will be presented and validated. Moreover, two differential torque controllers will be designed and implemented to improve the performance of the vehicle in normal driving. In summary, the goal of this thesis is to cover the main issues of control in three kinds of vehicles: ICE PHEVs, FCHVs and four in-wheel independent driving vehicles, that represent the main trends for vehicles in the short and medium term. 1.3. Thesis overview This thesis is organized as follows: In Chapter 2, the control systems for two series FCHVs are presented. The first vehicle is a commercial BEV that was hybridized by the addition of a 12 kW fuel cell, a hydrogen storage system, a power converter and an embedded PC. A specific software was designed to control the operating modes of the FC and the converter and to manage the flows of power between the devices. A second configuration is presented for this vehicle, with different batteries and converters, and two 2.4 kW FCs. For both configurations, real tests were performed to validate the controllers. The second vehicle is a prototype FCHV with a 56 kW fuel cell. In this case, the power system of the vehicle was modelled, and a MPC strategy was used for its management. Two variants were added to the model: one with UC substituting the batteries, and another one with both kinds of power sources. The three configurations are compared in terms of efficiency and performance. In Chapter 3 a power management controller is designed for the model of a combined architecture (series-parallel) PHEV (Chevrolet Volt) provided for a special benchmark session at Ecosm’12. The vehicle has one ICE and two EMs that can be combined in four modes of operation, that correspond to three degrees of hybridness: 1 or 2 motor pure electric, range extender, and power split. And also different series/parallel architectures. It is assumed that a Global Positioning System (GPS) device supplies approximate data of the total distance and average speed of the cycle. The philosophy of the controller is to estimate the energy required to complete the cycle and compare it to the energy stored in the batteries. A higher level controller distributes the energy of the batteries to fulfil the requirements, and in case this energy is not enough, the ICE will supply the rest in the most efficiency way. Meanwhile, a lower level controller guarantees the good performance of the car. In Chapter 4 the problem of thermal management in HVs is addressed. As a first step, a thermal model of the cabin of a hybrid vehicle is presented. The aim of this model is to estimate the heat fluxes in the cabin, being used as a part of a more complex HV model. The heat fluxes taken into account in this chapter have been: the solar irradiation to the external surfaces of the cabin and to the internal elements, the convection in the external and internal surfaces of the cabin, the conduction between the external and the internal surfaces, the human heat and the air mass flow from the ambience. 18 1 Introduction The temperature of the air of the cabin in the simulations was compared with real data, taken from a temperature sensor network installed in a real vehicle. The model was validated with several tests in different ambient conditions: solar irradiation, external air temperature, car occupants and driving cycles. In Chapter 5, the influence of a HVAC system in a HV is studied, in terms of performance and energy/fuel consumption. For this aim, the model of an ACS is designed. This system, coupled with the thermal model of the cabin of a vehicle presented in Chapter 4, estimates the power required to keep the temperature of the air of the cabin in a constant value. This system was integrated into the models of two HVs with different energy sources, degrees of hybridness and series/parallel configurations. The first one is a BMW 1 series FCHV: a series range extender HV with a MPC strategy to control the power management. The second HV is the ICEHV Chevrolet Volt, which is a combined series/parallel PHEV with a rule-based controller based on energy estimation. The results in both vehicles are discussed and compared. In Chapter 6, the dynamics control of a four in-wheel independent driving vehicle is presented. A mechanical model in this vehicle was made for this thesis, in a 3D Computer-Aided Design (CAD) software. Two different versions of the steering systems were introduced, so the model could be ported to Matlab-Simulink Simmechanics and ADAMS/ADAMS Car software. The Matlab-Simulink Simmechanics is also presented in this chapter. This model was validated with data taken from tests performed with the real vehicle. Finally, two torque distribution controllers were designed and tested on the simulator. In Chapter 7 the conclusions and contributions for this thesis are summarized, as well as the future lines of research in the fields of study of this work. Chapter 2 Power management in fuel cell hybrid vehicles 2.1. Introduction FCHV are being investigated in many research and development programs motivated5 by the urgent need for more fuel-efficient vehicles that produce fewer harmful emissions. Hybridization can greatly benefit FC technology. There are many potential advantages such as the improvement of transient power demand, the ability of regenerative braking and the opportunities for optimization of the efficiency of the vehicle. The coordination among the various power sources requires a high level of control in the vehicle.10 The objective of a hybrid vehicle power management is to control the power flows accordingly to operational objectives, usually related to fuel consumption minimization, taking into account other aspects, like the final state of charge of batteries or driving comfort, while satisfying operating constraints and ensuring that variables as engine torque and speed, SOC, etc., are within their limits. Many different approaches have been used to15 implement power management strategies for hybrid electric vehicles [51]. Most of the practical controllers in real vehicles are heuristic rules based [71, 97, 119, 120]. These strategies are based on the requested drive torque and on the speed of the vehicle. Most of these approaches try to maintain the state of charge of the batteries between an upper and a lower limit. An algorithm for a hybrid vehicle with combustion engine,20 trying to operate the engine in the highest efficiency range is presented in [101]. The main advantage of these controllers is that they are intuitive and easy to implement but they present a limited robustness. Some other approaches are based on optimal or suboptimal control strategies. A method to define and calculate an equivalence factor that weighs the fuel energy with the electrical energy is presented in [51, 102]. Then, the cost function is25 defined taking into account the fuel energy and the fuel equivalent of the electrical energy. This strategy is called ECMS. The main problem in this approach is the computation of the equivalence factors, because they are different in battery charge and discharge phases and depend on energy conversion efficiencies. Adaptive approaches, where the equivalence factors are computed during the real time operation are presented in [66] and [89]. Also, the30 19 20 2 Power management in fuel cell hybrid vehicles Figure 2.1: GEM eL car. T-ECMS [103] approach estimated continuously the control parameters on-board by using data from the static features of the route and from a telemetry system. Recently, MPC [21] is appearing as a practical alternative for power management method in hybrid vehicles. Different applications can be found in [7, 13, 95]. A hybrid MPC strategy has been proposed for the Hercules Project with the objective of preserving battery35 lifetime by imposing charging and discharging strategies. Other optimal control strategies, like the one based on the Pontryagins minimum principle is suggested as a viable realtime strategy in [65]. However, it has not been tested on vehicles. 2.2. Delf´ ın projects40 The goal of these research projects is to prove the feasibility of the use of hydrogen as an energy source for automotive applications. For this aim, a commercial electric car (GEM eL, Figure 2.1) was acquired as an experimental platform. This vehicle was used in two projects (Delf´ın I and II). In both projects, a fuel cell, a hydrogen storage system and a power converter were installed in the vehicle. Additionally, a control system has been45 developed for the power management tasks, and to guarantee a safe operation of the vehicle. Both projects and their tests are detailed and explained in the following subsections. The main characteristics of the original vehicle are shown in Table 2.1 [42]. 2.2.1. Delf´ ın I Description50 The original power train of the vehicle has been used. The power of the D.C. electric motor is 3.72 kW at 72 Volts, with 6 gel batteries of 12 V each. The PEM fuel cell is the HyPM-12XR, supplied by Hydrogenics, which main characteristics are shown in Table 2.2. Hydrogen is stored on board at 200 bar using a tank supplied by Dynetek (model L033), with a capacity of 5.8 Nm3, equivalent to 476.25 grams of hydrogen and 33 litres of volume.55 The hydrogen storage system includes pressure sensors, electro valves, regulators and the 2.2 Delf´ın projects 21 Table 2.1: GEM eL specifications. Curb Weight 1,285 lb GVW 2,300 lb Payload Capacity 1,015 lb Length 144” Height 70” Width 55” Wheelbase 114” Cubic Feet of Cab 47 ft3 Turning Radius 17 ft Tires 12-inch Top Speed 25 mph Ground Clearance 8” Table 2.2: Hydrogenics HyPM-12XR specifications. Maximum output power 12.5 kW Otuput voltage range 37-57 V Maximum current 350 A Dimension 96 x 50 x 32 cm. Volume 153.6 l Weight 90 kg outlet connection for refuelling. Figure 2.2(a) shows a scheme of the disposition of the fuel tank and the rest of the devices of the vehicle, while Figure 2.2(b) shows the real vehicle. (a) Delf´ın I scheme. (b) Delf´ın I (vehicle). Figure 2.2: Delf´ ın I 22 2 Power management in fuel cell hybrid vehicles Figure 2.3: Control system scheme. Control System and integration The controller must determine how to operate the different power units (fuel cell, bat-60 teries and converters) to fulfil the power demanded by the motor in the most convenient way. Also, the most important parameters of the system are monitored and historical data are stored. The control system is based on an embedded controller located in the dashboard of the car. Figure 2.3 shows a scheme with the different modules of the system and communication65 among them. CANBus protocol (CAN 2.0A) has been implemented for linking the control system and the fuel cell, allowing the operation of the fuel cell and the reception of its status and parameters for control and monitoring purposes, with a communication speed 250 kbits/s. Communication between the control system and the power converter is performed using a RS-232 protocol.70 The main tasks of the control system are: Start-up and shut-down procedures: The start-up procedure has been designed to efficiently start up the different units in an ordered way, taking into account security aspects. That includes the hydrogen storage system, power converter and, in communication with the electronic control unit (ECU) of the fuel cell, switch among the75 different states of the fuel cell. Also, procedures have been implemented to shut-down the system. Power management: Power management is the most important task. It consists of computing the power that must be demanded to the fuel cell in real time. This computation is done in order to satisfy the power demand of the electric motor taking80 into account the state of charge of the batteries and the operating regime of the fuel cell. This is accomplished by manipulating the electronic converter which demands the power that the fuel cell supplies to the batteries. In this case, the aim was to develop a simple power management, as a preliminary step. The controller checks the SOC of the batteries continuously, recharging them in case they do not reach a certain85 threshold. Monitoring: The control system monitors fuel cell and other systems operating conditions. Most of the variables of the system (voltages, currents, temperature and 2.2 Delf´ın projects 23 Figure 2.4: Display of the driver. hydrogen pressure) are shown under user request and historical data are stored and are available for studying the vehicle performance. Also, the operator is informed of90 any critical system condition to facilitate user intervention when needed. HMI: Control actions can be executed and the system status is displayed in a touch screen. Figure 2.4 shows one of the screens, where the general status of the vehicle can be seen, including alarms in different subsystems and buttons to launch start-up and shut-down procedures.95 Experimental results The control system has been tested under several driving conditions and it has shown that it is able to fulfil the requested objectives, showing useful information to the driver about system functioning. The software stores a sort of data, useful for the developers: converter input and output current, voltage of the batteries, hydrogen pressure, etc. Analysing this100 information it is possible to see the performance of the system, previewing hypothetical problems, and correcting possible developing mistakes. Figure 2.5 shows a graphic that represents some of the stored variables. The graphic shows the first minutes of operation of the car. Several time windows can be identified corresponding to different situations:105 Window A-B: The system has been started. The car is stopped until the driver/passengers are ready, or it is running at low speed. Window B-C: At ’B’ the batteries voltage reaches the threshold. The fuel cell enters run mode; therefore its voltage increases fast from 0 to 52 volts. The system waits some time for the fuel cell to stabilize before requesting any power, so the fuel cell110 current is still zero. The oscillations of the voltage of the batteries are produced by the driving cycle. The driver may be accelerating and braking the car continuously. 24 2 Power management in fuel cell hybrid vehicles Figure 2.5: Evolution of electrical variables. Window C-D: At ’C’ the converter starts requesting power to the fuel cell, so its current experiences a fast increase, until it reaches 12-14 A approximately. The oscillations of the current correspond to the ones of the voltage, caused by the aggressive115 driving mode. The falling of the voltage means that the motor requires more power; therefore the current from the fuel cell must be increased. The electronic power converter turns the fuel cell voltage from about 50 volts to more than 70, so its current is lower than the output current of the fuel cell as it is shown in the graphic. Window D-E: Everything is still the same except for the driving. The batteries voltage120 has very little oscillation, which means that the car is set to a constant and moderated speed. Consequently, current suffer very low variations. Despite the voltage keeps higher than the threshold for a period of time, the fuel cell continues running and power is still being required for charging the batteries. Actually, the fuel cell will work until the batteries voltage reaches a higher threshold; and it will not be stopped125 until the voltage falls again lower than the threshold shown in the figure, as previously explained. Coolant temperature: During the time that the fuel cell is running, the coolant temperature increases about two degrees. However, the fuel cell will not get damaged unless the temperature reaches 75oC, and this is not supposed to happen. Nevertheless, if the limit130 temperature is exceeded the fuel cell would automatically be stopped by the controller. The Figure 2.6 shows the evolution of the coolant temperature in a longer experiment (about five hours long). In the same test it is possible to see how the batteries voltage increases from about 73 to 77 volts. Figure 2.7 shows the oscillations of the first few minutes caused by a testing135 driving (accelerating and braking continuously), and a constant evolution when the car is running at cruise speed. Another interesting variable is hydrogen consumption. Figure 2.8 shows the evolution of the tank level, that decreases at 0.625 g/min average. Assuming that the tank capacity is 476.25 grams, the system could be working for more than twelve hours.140 2.2 Delf´ın projects 25 Figure 2.6: Coolant temperature. Figure 2.7: Battery voltage evolution. Figure 2.8: Hydrogen consumption. 32 2 Power management in fuel cell hybrid vehicles Figure 2.15: Main display of the HMI. Figure 2.16: Fuel cell control. The first experiment, used to obtain a standard type of polarization curve, lasts about one hour and starts increasing gradually the current demand to the stack to provide approximately 30 A and then decreases gradually, returning to the minimum operating current of 5 A. It can be seen that as the power provided by the fuel cell increases, the intervals between295 purges of hydrogen, represented by vertical lines along the horizontal axis, become smaller. The set point temperature of the stack (the line represented by a magenta dashed line) is tracked by the temperature of the stack due to the fan control action, providing a consistent performance. Another experiment, represented in Figure 2.17, shows other important variables for the correct operation of the stack, like the average voltage of the 56 cells of300 each one of the two fuel cell stacks and their individual deviation. The voltage of the cell 2.2 Delf´ın projects 33 Figure 2.17: Cell control. with a larger deviation from the mean voltage (variable ’Cell Max Voltage Deviation’) is also represented. The controller will continuously try the average voltage of the cell to resemble the values recommended by the manufacturer as a current value of the stack. The controller forces the305 stack to provide its maximum performance with an oxidant stoichiometry between 50 and 200. Once the operation of a single fuel cell stack has been exposed, the way the second-level controller manages both fuel cell stacks together is shown below. Figure 2.18 shows the case of a low state of charge of the battery. In this case it is observed that Fuel Cell Stack 2, which310 operates as master, provides most of the energy and Fuel Cell Stack 1, which operates as a slave, begins operating at its minimum until the master cannot provide more power. At that moment, the slave provides the rest needed to achieve the demand of power. Finally, the results of power management of the entire system, comprised of battery and fuel cells, will be discussed. The control manages the power delivered from each source to315 the electric motor of the vehicle at any time. Besides, the controller can decide to recharge the battery with the energy provided by the fuel cells if necessary. Figure 2.19 shows the power of the fuel cells, the power of the DC-LINK (the power consumed by the motor) and the power of the batteries for a low-level SOC scenario. The batteries will track sudden changes in energy demand from the electric motor because of320 their faster dynamics. The demand signal is represented by the throttle as a percentage. The power in the DC-LINK is updated according to the command captured from the throttle, and then the power management system distributes the power in order to satisfy their energy demands. In this case, the fuel cells provide power directly to the electric motor and also provide power to recharge the batteries, which power is positive only in the peaks.325 Figure 2.20 shows a case of medium-level SOC. Here, the fuel cell stacks start running in idle state until they start to charge the battery, while the motor does not demand power. After the second minute of the test, the driver requests power, and it is supplied mainly by the battery. During the third part of the test (after four minutes), the driver releases the 34 2 Power management in fuel cell hybrid vehicles Figure 2.18: Fuel cells management. Fuel Cell Stack 1 as slave and Fuel Cell Stack 2 working as master. Figure 2.19: Power management in a low-level SOC scenario. throttle but the fuel cells continue charging the batteries.330 Figure 2.21 shows a case of high-level SOC. Like in the previous case, the fuel cells start running in idle state. However, when the driver requests power the fuel cells remain in idle state. The batteries supply the rest of the power in order to diminish their state of charge, avoiding a full charge state that could last in an undesirable overcharge. 2.2 Delf´ın projects 35 Figure 2.20: Power management in a medium-level SOC scenario. Figure 2.21: Power management in a high-level SOC scenario. 36 2 Power management in fuel cell hybrid vehicles 2.3. H´ ercules Project335 2.3.1. Introduction The development of a free-emission vehicle is the objective of Hercules Project, as detailed in [8]. It is a proof project that implies the development and integration of technology throughout the hydrogen value chain, including renewable hydrogen production, distribution and supply of hydrogen as vehicle fuel and finally, the design, development and test340 of a fuel cell car prototype. Hercules Project uses photovoltaic panels to generate electrical energy, which areused in a electrolyzer for the production of renewable hydrogen. A refuelling station to supply the electrical vehicle with hydrogen was installed. This section is focused on the hybrid fuel cell vehicle developed in Hercules Project and specifically in the power management control system. The goal of a hybrid vehicle power management is to345 control the power flow accordingly to control objectives, usually related to fuel consumption minimization, taking into account other aspects, as the final state of charge of batteries or driving comfort, while satisfying operating constraints, ensuring that variables as engine torque and speed, state of charge, etc., are within their limits. Many different approaches have been used to implement power management strategies for pure [75] or hybrid electric350 vehicles [3, 41, 51, 80]. This section presents a multivariable MPC approach for power management in Hercules hybrid fuel cell vehicle that will minimize hydrogen consumption and will keep the state of charge of the battery around a desired level. The strategy is compared with two common approaches: a heuristic algorithm and the ECMS method. In addition, the powering system355 has been compared with another in which the batteries are substituted by UCs, and a third one composed of both types of power sources. 2.3.2. Vehicle description The vehicle is based on a commercial Santana 350 SUV (Figure 2.22). In this vehicle the engine and its auxiliary devices have been removed. In their place,360 the following devices have been installed: A PEM fuel cell: Nuvera with a maximum peak power of 56kW (Figure 2.23(a)). A pack of Lithium-ion Batteries: four modules of 13 Li-ion 3.7 V cells in series, model Kokam SLPB 125255255H. The specifications of each cell are shown in Table 2.3.365 A Permanent Magnet Synchronous Motor (PMSM): the nominal power is 66 kW and the maximum torque is 460Nm (Figure 2.23(b)). A hydrogen storage system: it consists on two tanks of 33land one of 24l, the three of them with a maximum pressure of 350 bar. This system could store up to 2.4kg of hydrogen (Figure 2.23(c)).370 As explained in Section 2.3.1, the possibility of substituting the batteries for UCs, or combining both types of sources is also studied. In the first case, two modules in parallel of 126 Maxwell BCAP 2000 capacitors in series would substitute the pack of batteries. For 2.3 H´ercules Project 37 Figure 2.22: H´ ercules vehicle. Nominal capacity 75 Ah Nominal voltage 3.7 V End of discharge 3.0 V Max. charging voltage 4.15 V Max. charging current 225 A Max. discharging current 450 A Operating temperature ranges Charge: 10 to 45 oC; Discharge: -20 to 55 oC Weight Max. 1.73 kg Dimensions 262x257x12,3 mm Table 2.3: Specifications of the batteries. the second, only two of the four modules of batteries and one of the two modules of UCs would be used.375 A scheme of the Hercules vehicle is shown in Figure 2.24. The fuel cell and the lithiumion batteries feed an electrical motor through DC/DC converters to connect the different systems to the DC bus. The DC/DC converter which connects the fuel cell to the DC bus is unilateral and rises the fuel cell voltage to the DC bus voltage. The other two converters are bidirectional, allowing regenerative braking and battery recharging.380 2.3.3. Model description The objective of the vehicle submodel is to obtain the power demanded by the electric motor to achieve a certain pre-specified driving cycle. This submodel is not required for the control design but it is necessary to calculate the motor power demand which the power 38 2 Power management in fuel cell hybrid vehicles (a) Nuvera 56kW fuel cell. (b) Electric motor. (c) Hydrogen tanks in the vehicle. Figure 2.23: H´ ercules devices. Figure 2.24: H´ ercules scheme. management control must satisfy to achieve the desired driving cycle. Its inputs are speed,385 acceleration and road slope profiles and its output is the motor power demand. The speed profile depends on the driving pattern, for instance urban or highway patterns. The model starts with the balance of the forces that actuate over it (Ecuation 2.5). Ft(t) = mv·av(t) + Fa(t)+ Fr(t)+ Fg(t)(2.5) Where Ftis the tractive force in the wheels, mvis the mass of the vehicle, avis the linear acceleration of the car, Fathe air resistance, Frthe rolling resistance and Fgthe force of390 gravity. These forces are calculated with the expressions 2.6, 2.7 y 2.8: Fa(v) = 1 2·ρa·av(t)·Af·cd·v2(2.6) Fr=cr·mv·g·cos(α),v>0 (2.7) Fg(α) = mv·g·sin(α)(2.8) Where cdis the drag factor, Afthe front area, ρathe air density, cris the rolling resistance coefficient, gis the gravitational acceleration and αis the slope. From the force Ftthe torque395 is calculated (T(t)). T(t) = Ft(t)·r(2.9) 2.3 H´ercules Project 39 ρa1.204kg/m3 Af1.9675m2 cd0.32 mv1850kg cr0.011 g9.8m/s2 r0.32m Table 2.4: Parameters of the model of the car. Where ris the radius of the wheel. The rotational speed of the wheel can be calculated from the linear speed: 2.10. ω(t) = v(t) r(2.10) The values of these parameters are shown in Table 2.4. The wheels are connected to the transmission, which is also connected to the motor by400 a gearset, which is defined by the parameter γ: γ=ωe·r v(t)(2.11) Where ωeis the speed of the motor. In this case, γ=4.021. Once γis known, the rotational speed and the torque of the motor can be calculated: ωe(t) = γ·ω(t)(2.12) Te(t) = T(t) γ(2.13) Where Teis the torque of the motor. The poqer of the motor is given by Equiation 2.14.405 Pe(t) = Te(t)·ωe(t)(2.14) Finally, the motor losses are given by equations 2.15 to 2.17. If ωe<2000rpm: Pperd =0.0016 ·T2 e+0.0082 ·ω2 e(2.15) If ωe≥2000rpm: Pperd =4.05 ·T2 e·ω2+0.0082 ·ω2 e(2.16) Therefore, the net power of the motor is: Pm=Pe+Pperd (2.17) 40 2 Power management in fuel cell hybrid vehicles The batteries were modelled from their datasheet, as described in [98]. The UCs were410 modelled using the basic equations of behaviour of a capacitor, and from their datasheet. The model of the FC was taken from [28], and for the electric motor a first order behaviour, with a time constant of 0.1s was assumed; since the motor has not been characterized by the vendor. The response of the power converters is much faster than the response of the other devices. Therefore, a static behaviour was assumed for this device.415 2.3.4. Controller description Model Predictive Control The MPC controller minimizes a cost function, predicting the future outputs with an internal model, taking into account the present and the predicted values of the inputs (in a certain interval of time). Always respecting the constraints of all the variables. The cost420 function is a quadratic function that penalises the error in the system outputs (total power and batteries SOC) and the difference to the target value of the manipulated variables (MV) and their rates, as shown in Equation 2.18: J=min ∆u(k|k),...,∆u(m−1+k|k),ε(p−1 ∑ i=0 ny ∑ j=1 |wy i+1,j(yj(k+i+1|k)−rj(k+i−1))|2+ + nu ∑ j=1 |w∆u i,j∆uj(k+i|k)|2+ nu ∑ j=1 |wu i,j(uj(k+i|k)−ujtarget (k+i))|2!+ρεε2)(2.18) where the subscript jindicate the output/MV number, nyis the number of outputs, nu the number of manipulated variables, pis the prediction horizon, ware the weights and the425 expression X(k+i|k)is referring to the calculation of the parameter Xat the moment k+i, with the information known at the moment k. The variable ε≥0 and its weight ρεdetermine the constraint softening. Equations 2.19 to 2.22 show the constraints of the system, where variables Vrepresent the Equal Concern for the Relaxation (ECR) vectors. These values set the priority of the430 softness of each constraint. ujmin (i)−εVu jmin(i)⩽uj(k+i|k)⩽uj max(i) + εVu jmax(i)(2.19) ∆ujmin (i)−εV∆u jmin(i)⩽∆uj(k+i|k)⩽∆uj max(i) + εV∆u jmax(i)(2.20) yjmin (i)−εVy jmin(i)⩽yj(k+i|k)⩽yj max(i) + εVy jmax(i)(2.21) where: ∆u(k+h|k) = 0,h=m,...,p−1 (2.22) 2.3 H´ercules Project 41 Figure 2.25: Simulink scheme. MPC for the power management of a FCHV435 The aim of the control strategy is to compute the power that must be supplied by each power source (fuel cell, UC and/or batteries) to fulfil the mechanical power demanded by the driver while the operational constraints are fulfilled. The control actions are computed in real time solving a multivariable MPC problem that will minimize fuel consumption and will keep the state of charge of the batteries at the desired level. The power system of440 the vehicle is composed on several subsystems, some of them non linear (like the fuel cell or the losses in the vehicle). The aim of the power management controller is to track a sort of parameters (SOC of the energy storage devices and power demand), avoiding the violation of some constraints (maximum/minimum power and power rate of each device) and minimizing the fuel consumption. This kind of system fits the philosophy of the MPCs,445 described in Section2.3.4. The controlled variables of the MPC are the power required by the vehicle to track the cycle (Section 2.3.3) and the SOC of the batteries and/or UCs. The manipulated variables are the power transferred or absorbed by all the devices as well as the power dissipated for braking the car in case the storage devices cannot absorb it all.450 A scheme of the Simulink model is shown in Figure 2.25. The MPC controller was used by P´erez et al. [15] to compare this approach with a heuristic and a ECMS control strategy. Three tests were performed to make this comparison. For the first and the last one, a NEDC was tracked by the vehicle. The difference between both cycles is the initial value of the batteries SOC (0.4 and 0.8 respectively). In the second455 test a highway cycle was tracked by the car. The speed profiles of both tests are shown in Figures 2.26(a) and 2.26(b). The final SOC for each test is shown in Table 2.5, while the hydrogen consumption is shown in Table 2.6 In order to make a better comparison, both fuel consumption and final SOC are com-460 bined in the computation of the equivalent fuel consumption, which is the sum of the fuel 48 2 Power management in fuel cell hybrid vehicles This chapter also presented an alternative configuration for this FCHV, as well as the560 control system developed and the experimental validation on the real vehicle. In this configuration, two FCs are used to supply power to the motor and charging the batteries in case it is needed. The control system was designed in three levels: low level controllers for each one of the fuel cell stacks, the power split between the two fuel cell stacks and a general power management system including the battery. The hybrid vehicle has been tested under565 real driving conditions with a good performance of the developed controllers. A second FCHV was presented in which, using the physical structure of a commercial fossil fuel car, an electric motor was installed, powered by a FC and a set of batteries. This project was made in collaboration with several automotive and research companies ( National Institute for Aerospace Technology (INTA), Santana Motor, Abengoa Hidr´ogeno,570 GPTech...). This vehicle and its power devices were modelled in Matlab-Simulink, where a MPC strategy power manager was designed. Finally, three energy storage configurations were simulated and compared. Chapter 3 Power management of a plug-in hybrid electric vehicle based on cycle energy estimation 3.1. Introduction5 Awareness about environment and the continuous rising of the fuel price have forced car manufacturers to search for alternative sources of power, with a better efficiency and decreasing harmful emissions. Some companies have launched production of full electric vehicles, like Renault Fluence, and Twizzy, or Peugeot Ion. But these vehicles are just usable in the city because of their limited autonomy, so the vehicle is not acceptable for10 most of the drivers. New kind of batteries and UCs are being developed with the aim of increasing the autonomy, but it seems that nowadays the best way to extend the range is by means of hybridizing, adding an extra power source such as an internal combustion engine or a fuel cell. These new technologies will be fully operational in a few years. Users want their ve-15 hicles to perform the same or better than any Internal Combustion Engine Vehicle (ICEV). Combustion engine/electric motor hybrid vehicles have similar specifications than a ICEV, with a significant lower consumption. The first hybrid vehicles (first generations such as Toyota Prius or Honda Insight) included an electric motor that sent part of the braking energy to the batteries and powered the vehicle, helped, if necessary, by the engine.20 The objective of a hybrid vehicle power management is to control the power flows accordingly to operational objectives, usually related to fuel consumption minimization, taking into account other aspects, as the final SOC of batteries or driving comfort, while satisfying operating constraints, ensuring that variables as engine torque and speed, SOC, etc., are within their limits.25 The current generations of hybrid cars include the possibility of plugging the vehicle, and recharge the batteries with an external source, giving extra degrees of freedom to the control design. This is the case of the Chevrolet Volt, which is the car being studied in this chapter. 49 503 Power management of a plug-in hybrid electric vehicle based on cycle energy estimation The solution proposed in this work is based on the knowledge of the operational maps30 of the units (motors and engine) and journey information and it tries to optimize efficiency while fulfilling driver’s request. In order to do that, a two-level control scheme is proposed in this work that minimizes a cost function that penalizes the use of fuel in the engine as well as it tries to track a certain value in the SOC. It will be discussed in detail in Section 3. 3.2. System description35 As told in the introduction, this chapter deals with the power management of a PHEV, in particular the Chevrolet Volt (Figure 3.1). The controller is tested on a simulator, which has been provided by the organizer of a special benchmark session scheduled at E-Cosm 2012. The simulator is quasi-static and it accounts for longitudinal vehicle dynamics and battery SOC dynamics, while the engine and electric machines are modelled using stationary maps.40 The Chevrolet Volt model implemented has been obtained using data made available by its manufacturer, General Motors (see for instance [48]). Figure 3.1: Chevrolet Volt. This simulator consists of three blocks. The first one is the driving cycle block. It reads the data from a driving cycle, and a virtual driver sends the torque set point to the control strategy block for the vehicle to track the cycle. This block is explained in section 3.3. The45 third one is the vehicle model block, which runs a quasi-static model of the powertrain and the vehicle dynamics, which is briefly explained in this section. The powertrain architecture powering the Chevrolet Volt consists of a power-split, planetarybased system, named Voltec and shown in Figure 3.2. The system integrates three machines: an internal combustion engine (ENG), an electric generator (GEN) and the main traction50 machine, which is an electric motor (MOT). Both electric machines can actually work in both motoring and generating mode. The connection or disconnection of these machines is achieved by three clutches (C1, C2, C3), giving rise to four possible modes, shown in table 3.1. The planetary gear set is implemented using static relationships among speeds and55 torques of each axis, neglecting the dynamics of the machines and the inertia of the gears. The generator is connected to the ring, the motor is connected to the sun and the transmission output is the satellite carrier. The engine and electric machines are represented by their efficiency maps and the battery model implemented is based on a simple circuit model composed of a voltage source60 and a resistance, both functions of the SOC. 3.3 Controller description 51 Table 3.1: Operating modes. Mode Engine Clutch 1 Clutch 2 Clutch 3 1. One-motor EV Off Closed Open Open 2. Two-motor EV Off Open Closed Open 3. Range-extender On Closed Open Closed 4. Power-split On Open Closed Closed Figure 3.2: Voltec planetary gear set. The total torque generated by the powertrain is applied to the vehicle and the actual speed is computed by integrating the standard longitudinal dynamics equation: mdv dt =Tpwt +Tbrake rwheel −mgsinα−c0−c1v−c2v2(3.1) where mis the vehicle mass, vthe speed, Tpwt is the powertrain torque at the wheels, Tbrake is the mechanical braking torque, rwheel the wheel radius, αthe road slope and c0,c1and c2 65 the road load coefficients. Real operation constraints are added to the model, such as idle speed in the engine or rate limitation in the generator speed. 3.3. Controller description The controller is divided into two levels: the upper one calculates the power that must be supplied by the engine at each moment taking into account the estimation of the energy70 that must be supplied by the powertrain until the end of the journey. The lower one manages the torque/speed set points for all the devices. Besides, the operation modes are changed according to some heuristic rules. The controller receives from the driver the torque set point, and from the vehicle model the vehicle speed and the batteries SOC. It also has three more inputs. One of them is75 the maximum braking torque that the system is able to regenerate at any time. The rest of the braking torque should be given by the mechanical brake. The other two inputs are 523 Power management of a plug-in hybrid electric vehicle based on cycle energy estimation approximations of the distance and the average speed of the complete cycle, which are supposed to be obtained by a GPS device. The outputs of the controller are the set points for the speed of the generator and the80 torques of the motor, the engine and the mechanical brake. It also has four binary outputs, that represent the states of the three clutches and the engine on/off state. 3.3.1. Global description The controller has two high level sub-controllers. One of them chooses the best possible mode at that moment. The second calculates the power the engine must supply, taking85 into account an estimation of the energy the vehicle needs for the rest of the cycle, and the batteries SOC. As described in section 3.2, the models of the engine and the motors are based on their consumption maps. The controller should power the devices trying always to get the maximum possible efficiency, taking into account the torque set point of the driver and the90 constrains of the system. Four operating modes are available. The controller must choose the best for each moment, and the power that each device must supply. The battery at the beginning of the cycle is supposed to be at its maximum value (95%), and the benchmark rules allow it to finish at 30%. Therefore, it is possible to estimate the energy that the batteries are able to supply to95 the vehicle. The energy of the engine and the motors is dissipated in the friction with the air and in the mechanical brake, if its use is necessary. Some of it will also be lost by the electric devices, and part of it may be transformed into potential energy, in case the cycle starts and finishes at a different height.100 The motors can only supply the energy that is stored in the battery. The rest of the demanded energy must be supplied by the engine. Some of it will be recovered by the motors in regenerative braking, but it must be obtained from the fuel. Ecycle =Ebatteries +Ef uel (3.2) The energy supplied by the batteries is supposed to be ’cleaner’ and cheaper than the one supplied by the fuel besides being less efficient. Actually, in the Energy and economy105 section of the benchmark rules, they are weighted as shown in table 3.2. Table 3.2: Energy and economy weights. Total energy use (fuel+electricity) 15% Fuel consumption 20% Well-to-wheel CO2emissions 15% Even when the well-to-wheel emissions per energy unit are a little higher in the case of the batteries, it is clear that the energy obtained from the fuel penalizes more than the energy obtained from the batteries. It is then obvious that the batteries should supply all the energy they are able to. Spending all this energy at the beginning of the cycle starting the engine if110 necessary would be an option. However, there are some inputs that will help the controller 3.3 Controller description 53 to manage the energy in a more efficient way. These are the approximations of the distance of the cycle and the average speed. Having these data, the controller is able to estimate the energy the car needs to complete the cycle. Therefore, it is known the energy the battery can supply and an estimation of the energy for the whole cycle, so using equation 3.2, the115 controller will have an estimation of the energy the engine must give, supplying it in the most efficient way. In summary, the controller has two high level sub-controllers. One of them chooses the best possible mode at that moment, and the second one calculates the power the engine should supply. A set of low level controllers manage the torque/speed set points for all the120 devices in the defined mode. 3.3.2. Mode selector This module will choose the best mode at each moment in the cycle. The election will depend on the speed of the vehicle, the torque set point of the driver, the SOC of the batteries and the engine power calculated (sec. 3.3.3).125 Mode description Before describing how this selector works, it is important to explain the characteristics of all the cycles, sorted by efficiency, as well as their transitions, shown in figure 3.3. Figure 3.3: Transitions graph. These transitions are all immediate except if the motor switches its state to ’ON’. In that case the generator is set to, at least, the engine idle speed, and the command to start the130 engine is set. The generator powers the engine during one second until it launches. Mode 2: This is the most efficient mode. It will be set by default. Mode 2 to mode 1: The torque limitation of the generator is lower than the limitation in the motor. If the driver torque set point exceeds the limit in the generator, mode 1 must be set, so the motor can supply the torque.135 Mode 2 to mode 4: Both modes are similar, but in mode 4 the engine is on and it helps 543 Power management of a plug-in hybrid electric vehicle based on cycle energy estimation the generator which can be even recharging the batteries. Fuel consumption makes mode 2 more convenient than mode 4. This transition will only take place if the batteries SOC falls below the SOC threshold (0.37) or the calculated engine power reaches the engine power threshold (20 kW).140 Mode 1: The electric motor is the only one working. It is the configuration of a classic pure electric car. The motor is not as efficient as the generator, but it can give more torque and power to the powertrain. Mode 1 to mode 2: This transition will take place if the torque set point is low enough for the generator to work.145 Mode 1 to mode 3: Even when the motor is able to reach its limits in this mode, the battery could limit the power before it happens, as shown in figure 3.4. In this case, mode 3 will be set, the engine would power the generator and this new electric power will be sent to the motor, enabling it to supply the required power. The engine is off in mode 1, so if the SOC is under the SOC threshold, mode 3 will be150 set. -400 -300 -200 -100 0 100 200 300 400 0 100 200 300 400 500 600 700 800 900 1000 -60000 -60000 -60000 110000 110000 Torque (Nm) Speed (rpm) Motor limits Max Torque Min Torque Battery limit Figure 3.4: Motor limits. Mode 3: This mode is the only in which all the torque and the power of the motor can be supplied. Mode 3 to mode 1: This transition will take place if the batteries SOC is high enough (>0.37) and the motor does not need more than the maximum power of the batteries.155 Mode 3 to mode 4: The generator is coupled to the engine, but it is disconnected to the powertrain. This has the advantage that the engine can give the required power in the most efficient point. However, part of this power is lost due to the generator, batteries and motor efficiencies. In mode 4 the controller cannot always choose the most efficient point of work, but the torque of the engine is directly transmitted to the powertrain. Modes 3 and 4 will160 switch constantly when the batteries SOC gets low enough (under the SOC threshold). Mode 4: Mode 4 to mode 2: This transition happens if the batteries SOC increases and reaches the threshold. 3.3 Controller description 55 Mode 4 to mode 3: See mode 3 to mode 4. 3.3.3. Engine power controller165 As described in section 3.3.1, this module calculates the power set point for the engine. This calculation is based on the energy of the batteries and on the estimation of the remaining energy of the cycle, which is the subtraction of the total energy of the cycle (sec. 3.4) and the energy already used. The power set point is calculated minimizing the following normalized cost function:170 J=Weng Peng Peng max 2 +Wbat Ebat −Ebat sp Ebat tot 2 + +Wcycle Ecycle rem Ecycle tot (3.3) Where Wxis the weight of each term, Peng is the set point power to the engine and Peng max is the maximum power the engine can supply. This term penalizes the fuel consumption, which, as explained in 3.3.1, should be minimized. The SOC of the batteries may change depending on the engine energy. Therefore, it is important to include a term (the second one in eq. 3.3) where this parameter is taken into175 account. There, Ebat represents the remaining energy of the batteries, which can be easily calculated from the SOC, Ebat sp is the target remaining energy (equivalent to target SOC) and Ebat tot is the total energy the batteries are able to store. The third term penalizes the remaining energy of the cycle. If this term was not included, the controller would try to deplete the batteries, and it would then supply the rest of the180 energy with the engine. With this term, the energy the engine supplies is better distributed, increasing the system efficiency. Ecycle rem represents the remaining energy of the cycle, and Ecycle tot the total energy of the cycle (sec. 3.4). Once the cost function minimization is done, and the power is found, lower and higher limits are applied. The power cannot be higher than the maximum power of the motor. It185 neither can be lower than a certain value, which has been set to 18 kW. This constraint will prevent the engine from working in the lowest efficiency zone (fig. 3.6). On the other hand, if SOC gets too close to the lower limit, the current driver requested power is added to the power calculated by the controller, in order to avoid the complete discharge of the batteries. 3.3.4. Low level control190 Mechanical brake torque. The mechanical brake converts the kinetic energy of the vehicle into heat. This energy is dissipated, so the mechanical brake should be used only when the driver requires a braking torque lower (higher in absolute value) than the lowest torque limit (power limit) of the motor (battery).195 Tbrake =Tsp −Tregen (3.4) The mechanical brake torque can never take a positive value. 563 Power management of a plug-in hybrid electric vehicle based on cycle energy estimation Motor torque. The motor is always connected to the sun, and this is connected to the carrier by the planetary gear set. This forces the motor to track the driver’s set point, taking into account the drive gearing and the efficiency of the gears. This is mandatory for the motor whatever200 the mode is: in case it gave less torque, the simulation of cycle would fail, and the controller would not pass the minimum performance limit and that test would not be valid. Generator speed and engine torque. Mode 1: In this mode, both C2 and C3 clutches are open. It means, the generator is not connected to any other mechanical device. However, the controller does not set its speed205 to zero, but to the engine launch speed. Some power is wasted, but it has several benefits. If the engine needs to be started, the generator has already its minimum operational speed, so it starts faster. On the other hand, speed rate is limited in the generator, and the engine launch speed is probably closer to any set point speed than the idle state. The engine is off. 210 Mode 2: In this mode both motor and generator are connected to the powertrain. The engine is off. The torque in the carrier is set by the driver’s set point. The torque in the motor is set proportional to this value, and the torque in the ring, which in this case is the same as the torque of the generator due to the inactivity of the engine, is proportional to the set point too (eq. 3.5).215 Tr ρ=Tc ρ+1=Ts(3.5) Where ρis the gear ratio. ρ=83/37. The torque in the generator is set by the torque of the motor. But the speed of the generator is directly set by the controller. Once it is set, the speed of the motor will depend on the speeds of the ring (generator) and the carrier (locked to the powertrain), so the speed of the motor, once the speed of the generator is chosen, is known (eq. 3.6).220 ρωr+ωs=ωc(ρ+1)(3.6) The speed of the generator con vary between zero and the speed of the carrier (multiplied by the gear ratio) or the speed limited by the generator speed rate constraint. The controller will choose the possible speed that minimizes the total power consumption. This is, the addition of the electric power of the motor and of the generator. An example is illustrated in fig. 3.5. The blue line in the motor represents its torque.225 Eq. 3.5 forces the generator to work in the blue line shown in its graph. Each point in the generator blue line is corresponded by another in the motor line (color points in the figure). From all the possible points, the controller chooses the one that minimizes the total electric power (Pelgen +Pelmot ). 230 Mode 3: In this mode the engine is on, C3 is locked and C2 is open. This is, both generator and engine are connected. The engine power controller sends a power set point. In mode 3, the engine torque and the generator speed can be controlled. The working point will be the one in which the required power is generated in the most efficient possible way. 3.4 Cycle energy estimation 57 This is, following the line plotted in fig. 3.6, which is the optimal operation line.235 Mode 4: In this mode the three tractive devices are connected to the powertrain. The idea of the controller is similar to the one explained in mode 2. In this case, the generator speed and the engine torque must be set to supply the required power, in the most efficient way. The operation line of the motor is a straight line as in mode 2. However, the operation240 line of the engine is more difficult to find. First, the mechanical power required at that moment is calculated, by eq. 3.7. Pmech =Tspringωcarrier ρ+1 ρ(3.7) This power is subtracted to the power set point of the engine, previously calculated by the controller explained in section 3.3.3. The result of this operation is the electric power the generator has to supply. The curve of this electric power is found, and the set point245 torque is added. Finally this line is cut by the constrains of the generator. The resulting line will be the operation line, as shown in fig. 3.7. 3.4. Cycle energy estimation 3.4.1. Energy estimation As mentioned before, the controller calculates the power that must be delivered by the250 engine based on the estimation of the energy for the complete cycle. It must be computed from the only data the controller has about the complete cycle: the approximations of the Figure 3.5: Mode 2 generator speed controller. 643 Power management of a plug-in hybrid electric vehicle based on cycle energy estimation are set, while the space in the center is shared by modes 2, 3 and 4. In the generator and the345 engine graphs it is shown how in mode 3 the requested engine torque and generator speed trend to fit the optimal operation line (fig. 3.6) 3.7. Conclusions In this chapter a two-level power management controller is proposed. Two upper level controllers were designed. The first one changes the operation mode depending on the state350 of the vehicle (SOC, vehicle speed) and on the torque requested by the driver. The second one calculates the power required to the engine, depending on the same parameters than the first and on the estimation of the remaining energy to finish the cycle. For this variable an estimator was implemented. It calculates the cycle energy not only with the initial data of total distance and average speed: the estimation is refreshed every sample time, converging355 in almost the real value. The lower level is composed on a set of controllers that manage the devices minimizing the wasted power. Several tests were simulated, in which the controller has been able to perform high accelerations and low fuel energy consumption. 0 50 100 150 200 250 350 400 450 500 550 600 650 700 750 0 0 10000 20000 30000 30000 40000 40000 50000 50000 60000 70000 80000 90000 100000 100000 110000 110000 T (Nm) w (rad/s) Motor 110000 110000 Pel Pel lim Tlim Tlim Set Point Mode 1 Mode 2 Mode 3 Mode 4 Figure 3.10: Motor working points for 70-120 km/h acceleration test. 0 1000 2000 3000 4000 5000 1 1.5 2 2.5 3 3.5 4 time (s) mode Figure 3.11: Mode switching for VAIL2NREL Cycle. -200 0 200 0 100 200 300 400 500 600 700 800 900 1000 Motor T (Nm) w (rad/s) Pel lim Tlim Tlim Set Point Mode 1 Mode 2 Mode 3 Mode 4 -200 0 200 0 100 200 300 400 500 600 Generator T (Nm) w (rad/s) -50 0 50 100 150 0 100 200 300 400 500 600 Engine T (Nm) w (rad/s) Figure 3.12: Devices working points for VAIL2NREL Cycle. Chapter 4 The development and validation of a thermal model for the cabin of a vehicle 4.1. Introduction5 Over the past few years, research has focused on the electric HV, including those vehicles with internal combustion engines or fuel cells [53, 83]. The main aim of this research has been the design of an electric system capable of running an electric motor to yield the same or similar performance as an ICEV. This research is the first step in substituting the ICEV for the HV because the final user will not accept any downgrades.10 In this context, the majority of research efforts have focused on vehicle mobility and performance, which are important parameters for drivers. In addition, cars provide other types of services that make vehicles more comfortable, such as air conditioning. Even the smallest modern vehicles must include a HVAC system. Therefore, the HVAC system and its effect on the energy management of a vehicle must be accounted for in the design of a15 hybrid or pure EV. In particular, heating in these kinds of vehicles is different from that in the ICEV case, in which a large amount of exhaust heat is freely available. In fact, several types of HVAC systems are being studied for use in these types of vehicles. Lee et al. [68] analysed the effect of using different refrigerants for the HVAC system. Miranda et al. described a thermoelectric chip-based HVAC in [81], whereas Pethaiaha et al. proposed an20 HVAC system powered by an auxiliary fuel cell [94]. In addition, Ibrahim et al. [54] focused their work on developing an efficient controller. The HVAC modelling and control issue was thoroughly examined in studies by Kayyam and Farzaneh [37, 58] for conventional ICEV. However, the issue remains open for EVs and HVs. The power consumption of HVAC systems directly depends on the thermal load of the25 vehicle cabin. The load in an EV or an HV is similar to that in other cars as long as the cabins do not differ from each other. The thermal model developed should be coupled with an electric compression air conditioning cycle model (under development) and other models intended for analysing power management in HVs. 67 68 4 The development and validation of a thermal model for the cabin of a vehicle Other analytical thermal models for car cabins have been established. Sanaye et al. [100]30 developed a thermal model coupled with an air conditioning evaporator model to simulate the control strategy for indoor air temperature. Levinson et al. [69] used a simplified thermal model to analyse the use of solar reflective car shells and explain their benefits, such as fuel savings and emission reduction. Mezrhab and Bouzidi [79]described a thermal model of a car cabin (with higher complexity) in which surfaces and the indoor air volume are35 divided into nodes. Fayazbakhsh et al. [38] estimated the thermal load of a vehicle cabin using a lumped-body approach. However, in none of these cases were the simulation results compared with experimental data. 4.2. Model description The external and internal surfaces of the cabin considered in this study have been sim-40 plified. All surfaces are considered flat. This simplification has been successfully adopted in several thermal cabin models, such as those of Khayyam et al. [58], Fayazbakhsh et al. [38] and Wang et al. [118]. The car cabin used is shown in Figure 4.1, where only the indoor air and the lower base have thermal inertia. The lower base simulates the contact area between the dashboard and45 the seats and the indoor air. Figure 4.1: Surfaces considered in the car cabin. The variation in the indoor air temperature is calculated by Equation 4.1: mairCpair dTair dt =Qwindows +Qceiling +Qbase +Qhuman (4.1) where mair and Cpair are the mass and the heat capacity of the indoor air respectively, Tair is the temperature of the indoor air, Qwindows,Qceiling, and Qbase are the convective heat flows between the indoor air and the cabin surfaces, and Qhuman is the sensible heat supplied50 by the car occupants (calculated using ISO 7730 norm). The cabin scheme is presented in Figure 4.2. The lower cabin base surface represents the dashboard, seats, and other surfaces that come in contact with the indoor air. The area of the base surface is the sum of the areas 4.2 Model description 69 of all of the elements considered, whose surfaces are assumed to be flat to facilitate the55 calculation of the convective heat transfer coefficient. For the convective heat transfer from the windows, four different surfaces are considered: the windshield (ws), rear window (rw), left side window (lsw) and right side window (rsw). The convective heat transfer from the windows is calculated using the following equations:60 Qws =hwsAws(Tws −Tair)(4.2) Qrw =hrwArw(Trw −Tair)(4.3) Qlsw =hlswAsw(Tlsw −Tair)(4.4) Qrsw =hrswAsw(Trsw −Tair)(4.5) Qwindows =Qws +Qrw +Qlsw +Qrsw (4.6) where his the convective heat transfer coefficient (see Section A), Tis the temperature65 of the surfaces and Ais the area of the window. Heat transfer from the door panels is considered negligible compared with the heat transfer from the windows. To obtain the temperature of the windows surfaces, heat balances must be performed. The heat balances for the windshield are described by Equations (4.7) to (4.9). The heat balances for the rear window and side windows are similar. The heat fluxes are illustrated70 in Figure 4.3. Qcv,e+Qrd,e=Qcd +AwsGws,a(4.7) Qcd =Qws (4.8) Gws,inc =Gws,r+Gws,a+Gws,t(4.9) where: Qcv,eis the external convective heat flow, Qrd,eis the long-wave radiative heat flow and Qcd is the conductive heat flow inside the window. The incident solar irradiance75 (Gws,inc) is calculated using the horizontal global irradiance and the normal beam irradiance (both measured) via the method described in [30] and is discomposed into three terms: reflected (Gws,r), absorbed (Gws,a) and transmitted (Gws,t) solar irradiance. The heat flows are calculated using the following equations: Qcv,e=heAws(Tws,e−Text )(4.10) Figure 4.2: Cabin heat fluxes. 70 4 The development and validation of a thermal model for the cabin of a vehicle 80 Qrd,e=εwsσAws(Tws,e4−Tsky4)(4.11) Qcd =kwsAws ews (Tws,e−Tws)(4.12) Gws,r=ρwsGws,inc (4.13) Gws,a=αwsGws,inc (4.14) Gws,t=τwsGws,inc (4.15) where Text is the ambient air temperature and Tsky is the sky equivalent temperature (cal-85 culated using the method proposed in [56]). The external convective heat transfer coefficient is he. The properties of the windows are: Area (A), thickness (e), thermal conductivity (k), long wave emissivity (ε), reflectivity (ρ), absorptivity (α), and reflectivity (τ). The Stefan- Boltzman constant is σ. Heat transfer from the ceiling to the indoor air is calculated from a heat balance for the90 ceiling element: Qcv,roo f +Qrd,roo f =Qcd,ceiling +αroo f Aroo f Groo f ,inc (4.16) Qcd,ceiling =Qceiling (4.17) where Qcv,roo f is the convective heat flow between the roof and the ambient air, Qrd,roo f is the radiative heat flow between the roof and the sky and Qcd,ceiling is the conductive heat flow inside the ceiling. Groo f ,inc is the incident solar irradiance of the cabin roof. The95 absorptivity of the external surface is αroo f , and Aroo f is the area. The corresponding heat flows are modelled using the following equations: Figure 4.3: Heat fluxes in windshield. 4.3 Experimental setup 71 Qcv,roo f =hroo f Aroo f (Troo f −Text )(4.18) Qrd,roo f =εroo f σAroo f (Troo f 4−Tsky4)(4.19) Qcd,ceiling =kceilingAceiling eceiling (Troo f −Tceiling)(4.20) 100 Qceiling =hceilingAceiling(Tceiling −Tair)(4.21) where hroo f and hceiling are the roof and the ceiling convective heat transfer coefficients respectively. The temperature of the lower base is calculated using the following equation: Cbase dTbase dt =αbase (AwsRws,t+ArwGws,t+Asw(Glsw,t+Grsw,t))−Qbase (4.22) where Tbase is the temperature of the lower base and Cbase is the thermal inertia of the base elements (dashboard, seats and panels).105 The assumption is that all of the solar irradiance transmitted through the windows reaches the lower base, whose bottom is adiabatic. The radiative heat transfer between the lower base, windows, and ceiling is considered negligible. Qbase is the convective heat flow between the lower base and the indoor air: Qbase =hbaseAbase(Tbase −Tair)(4.23) The convective heat transfer coefficient between the lower base and the indoor air is110 hbase. The procedure for calculating the indoor air temperature of the cabin is illustrated schematically in Figure 4.4. The first step is to determine the solar irradiance incident on the windows and the roof, which is calculated using the global horizontal irradiance and the direct normal beam irradiance, the cars position, the cars orientation and slope (all measured),115 and the cabin geometry. Next, the indoor air temperature of the cabin is calculated using the incident solar irradiance determined previously, the car speed, the sky and ambient air temperatures, the cars occupants, the properties of the cabin elements, and the geometry of those elements. The secondary results obtained from the model are the internal and external window temperatures, the base temperature, the roof and ceiling temperatures, and all of120 the convective heat transfer coefficients. These calculations are performed for each step. The indoor air temperature of the cabin must be recirculated in a second module due to the thermal inertia of the indoor air and the lower base. 4.3. Experimental setup The modelled vehicle is a BMW 1 series with five doors and chassis code, E87, Space-125 grau grey (Figure 4.5). For each surface, the radiation and conduction properties of the glass and the roof are shown in Tables 4.1 and 4.2. The radiation properties of the glass were obtained from [90], 72 4 The development and validation of a thermal model for the cabin of a vehicle whereas the rest of the properties were obtained from [55]. The reflectivities of the side and rear windows were readjusted, according to the experimental results.130 The properties of the cabin lower base are presented in Table 4.3. The thermal inertia of the base has been adjusted based on the results of several experimental tests in which the vehicle was parked inside an underground parking garage. A GPS device (model: MIO C230) was installed in the vehicle so that the latitude and longitude of the vehicle could be determined for every instance. The latitude and longitude135 of the vehicle can be used to calculate the speed and the heading angle, which provide the direction of the velocity vector. These calculations were performed using the online tool Figure 4.4: Algorithm scheme for cabin indoor air temperature calculation. Table 4.1: Radiation properties. Material ε ρ τ Position Glass 0.90 0.246 0.452 Windshield 0.100 0.311 Rear window 0.200 0.475 Side windows Paint 0.90 0.740 0 Roof panel Table 4.2: Conduction properties. Panel Angle Length Width Thickness k ϕ(m) (m) (mm) (W/mK) Windshield 60o0.63 1.30 6.0 1.4(Glass)Rear Window 55o0.29 1.00 5.0 Side Windows 20o1.45 0.29 3.0 Roof Panel 90o1.80 1.10 0.5 14.9 (Steel) 0.1 26.3·10−3 (Air) 5.0 0.06 (Cotton) 4.4 Model validation 73 GPS Visualizer [47]. The cabin temperature data were logged using Maxim DS18B20 digital thermometers, which were connected to an Arduino Duemilanove board. The main characteristics of the140 DS18B20 are listed in Table 4.4. The small size (Figure 4.6) of the DS18B20 provides the ability to install a temporary temperature sensor network in the vehicle. Moreover, the DS18B20 does not require calibration, and its digital communication protocol facilitates measurement, which prevents possible errors due to wire connections (noise, resistance, etc.).145 Seven sensors were placed in the vehicle as shown in Figure 4.7. These sensors were arranged at different heights and were placed at a distance from each other to measure the different temperature changes in the cabin. However, the model assumes the temperature to be homogeneous for the entire cabin. The only temperature used for the model is the temperature measured by sensor 5. This150 sensor was placed at an intermediate height to measure a representative temperature. The logs of the remaining sensors were used for verification, as detailed in Section 4.4.2, where the validity of the sensor 5 measurements for the cabin temperature is discussed. 4.4. Model validation 4.4.1. Testing and Simulation155 Several tests were performed to establish and validate the thermal model. The first test and the corresponding simulations were performed on 6/21/2013. The external conditions (solar irradiance and ambient air temperature) are shown in Figure 4.8. The vehicle was located outdoors and had no passengers inside. The results of the simulation are shown and discussed in Section 4.4.2.160 Two other tests were performed to demonstrate the validity of the model for different Figure 4.5: Vehicle. Table 4.3: Lower base properties. Area ρ α Cbase 6m20.3 0.7 144.24 kJ/K Figure 4.16: 6/21/2013 test internal surfaces temperature. Figure 4.17: 3/21/2013 test compartment temperature. Figure 4.18: 5/7/2013 test compartment temperature. Chapter 5 Power management in hybrid vehicles with HVAC 5.1. Introduction In Chapter 4, a validated thermal model of a vehicle was described. The aim of this5 model is to measure how the performance and the consumption of a hybrid vehicle are affected by the HVAC system. In order to perform this analysis, the thermal model has been coupled with two vehicle models. The first one is a virtual fuel cell hybrid BMW 1 series. It is assumed that the power system of the vehicle (fuel cell, batteries and motor) is the same as the ones used10 by the vehicle of the H´ ercules project (Section 2.3). The second model is the Volt model described in Chapter 3. In the case, it is assumed that the thermal load of the cabin of the hybrid Chevrolet Volt is similar to the BMW 1 series’ one. 5.2. Air conditioning model The air conditioning system scheme is represented in Figure 5.1. The scheme is based on15 a standard refrigeration cycle. The refrigeration fluid is R-134a. The evaporator extracts the thermal load of the cabin by passing an air flow through it. The refrigeration fluid absorbs the heat load and transfers it to the environment via the condenser. The refrigeration fluid is moved by the compressor. This model will be used for both vehicles. The thermal load is divided in two terms: sensible heat and latent heat. The sensible20 heat is calculated using Equation 5.1: Qsensible =Qwindows +Qceiling +Qbase +Qhumans +˙mevap (1−β)Cpair (Tout −Tair)(5.1) where ˙mevap is the air flow circulating through the evaporator. βis the air recirculation fraction (not all the air introduced in cabin is from outside). In this model, βhas a value of 0.7. Tout is the temperature of the environment air. 81 82 5 Power management in hybrid vehicles with HVAC Figure 5.1: ACS scheme. The latent heat is related to the condensation of moisture of cabin air. It is calculated25 using the methodology explained in [9]. The behaviour of the air conditioning system and its efficiency (Coefficient Of Performance (COP)) is affected by the cabin and the environment conditions (temperature and relative humidity), and the partial load (relation between heat demanded from cabin and nominal capacity of ACS in operation conditions). These variations from the nominal val-30 ues of the HVAC are estimated using the following corrective factors [35]: capTotRe f T(Th,in,Tout ): Corrective factor for the total refrigeration capacity, with the temperatures. f cp: Partial load factor. conRe f T (Th,in,Tout): Corrective factor for the refrigeration consumption, with the35 temperatures. conRe f FCP(f cp): Corrective factor for the refrigeration consumption, with the partial load. where Th,in is the wet-bulb temperature of the air of the cabin. The factors are calculated using the following Equations:40 capTotRe f T (Th,in,Tout ) = 0.000554364 ·T2 h,in +0.014247648 ·Th,in+ 0.0000329832 ·T2 out −0.007558056 ·Tout −0.000191711 ·Th,in ·Tout +0.880784506 (5.2) f cp =demSenRe f capSenRe f =Qevap Qnom ·capTotRe f T (5.3) conRe f T(Th,in,Tout) = 0.000161125 ·T2 out +0.021414276 ·Tout− 0.000411156 ·T2 h,in +0.028493334 ·Th,in +0.000679104 ·Th,in ·Tout +0.1117801 (5.4) conRe f FCP(f cp) = −1.1205104 ·f cp3+ 1.9504979 ·f cp2−0.0312175 ·f cp +0.20123007 (5.5) 5.3 Integration into the model of the vehicle 83 Table 5.1: ACS characteristics Nominal Capacity 5 kW Nominal COP 3 ˙mevap 0.174 kg/s Cabin set point temperature 25 oC Figure 5.2: Integration of the models. where Qevap is the desired heat exchanged by the evaporator and Qnom is the nominal power of the ACS. Finally, the power of the compressor is calculated with Equation 5.6. Pcomp =Qnom COPnom ·conRe f T·conRe f FCP (5.6) The ACS characteristics are summarized in Table 5.1. 5.3. Integration into the model of the vehicle45 Figure 5.2 shows an scheme of the integration of the thermal and the ACS models into the model of the power system. The thermal model calculates the heat that the air of the cabin needs to transfer to the evaporator of the ACS to track the temperature setpoint. As seen in Chapter 4, the inputs of the thermal model are the ambient conditions and the speed of the vehicle, which is taken50 from the model of the car. On the other hand, the HVAC model takes as input the heat found by the thermal model, calculating the power consumption of the HVAC. This variable is read by the power management controller, and considering also the torque/power request of the virtual driver, determines the power of each device. Finally, the model of the vehicle calculates the total55 consumption. 84 5 Power management in hybrid vehicles with HVAC 0 200 400 600 800 1000 1200 1400 0 20 40 60 80 100 Time (s) Speed (km/h) Figure 5.3: Federal Urban Driving Schedule. 0 200 400 600 800 1000 1200 0 50 100 150 Time (s) Speed (km/h) Figure 5.4: ARTEMIS highway driving cycle. 5.4. Description of the tests Two driving cycles were used for this work. The first one is the Federal Urban Driving Schedule (FUDS) driving cycle, destined to simulate a typical urban cycle. Also known as Urban Dynamometer Driving Schedule (UDDS), this cycle was proposed by the United60 States Environmental Protection Agency (EPA) for light duty vehicle testing. Figure 5.3 shows the FUDS speed profile. The cycle time is 23 minutes, the total distance of the cycle is 12.07 km and the average speed, 31.5 km/h. The second cycle is the ARTEMIS highway cycle. In this case, the cycle time is 18 minutes, the total distance is 29.55 km and the average speed is 99.7 km/h. Its speed profile65 is shown in Figure 5.4. For a better evaluation of car behaviour and hydrogen consumption, these tests were performed three times consecutively, and under different initial conditions. In particular, the tests were done with an initial SOC of batteries 0.4 in some cases, and 0.8 in others. The thermal conditions were also different for each test. As the number of occupants70 affects to the heat transfer in cabin, tests were performed with different number of people, varying from 1 to 5. The ambient conditions (temperature, humidity and radiation) were taken from the typical meteorological year in Seville (Spain) on July 19th, using the software Meteonorm. The starting time differed from one test to the others to have smooth outside conditions (during first hour in the morning) and extreme outside conditions (at so-75 5.5 Results 85 0 5 10 15 20 25 0 200 400 600 800 1000 Time (h) Irradiation (W/m2) Figure 5.5: Global horizontal irradiation. 0 5 10 15 20 25 20 25 30 35 40 45 Temperature (oC) Time (h) 0 5 10 15 20 25 0.3 0.4 0.5 0.6 0.7 0.8 Relative humidity ratio Figure 5.6: Ambient temperature and relative humidity ratio. lar midday). The weather conditions also have influence on heat transfer processes in cabin. The global horizontal irradiation, ambient temperature and relative humidity ratio are shown in Figure 5.5 and Figure 5.6 respectively. In Table 5.2, a summary of conditions and fixed parameters in all cases simulated is shown. The parameters considered are: weather, number of occupants and, in the case of80 the BMW 1, the initial SOC of the batteries. For the Volt case, the initial SOC is always 0.95 to follow the rules of the benchmark (see Section 3.3). 5.5. Results In this section the results of the tests described in Section 5.4 are presented. Moreover, they have also been simulated assuming the ACS is not active in order to compare the fuel85 consumption in both cases. 5.5.1. BMW 1 series Figures 5.7(a) and 5.7(b) show the energy supplied to the powertrain and the energy consumed by the HVAC system during the cycles, in the cases 1A and 1F, where in both 86 5 Power management in hybrid vehicles with HVAC Table 5.2: Simulated cases. Number Initial SOC Case Cycle Weather of of batteries occupants BMW 1 Volt 1A ARTEMIS highway Extreme 5 0.8 0.95 2A ARTEMIS highway Extreme 3 0.8 0.95 3A ARTEMIS highway Extreme 1 0.8 0.95 4A ARTEMIS highway Smooth 5 0.8 0.95 5A ARTEMIS highway Extreme 5 0.4 - 1F FUDS Extreme 5 0.8 0.95 2F FUDS Extreme 3 0.8 0.95 3F FUDS Extreme 1 0.8 0.95 4F FUDS Smooth 5 0.8 0.95 5F FUDS Extreme 5 0.4 - cases the HVAC consumption is sensibly lower than energy managed by the powertrain, but90 it is not negligible. Table 5.3 summarizes the results of the simulations. The information shown in this table is: Initial and final SOC of the batteries (the initial SOC is the same with and without the ACS operating).95 Hydrogen consumption. Increment of hydrogen consumption. According to the results of the simulations, some general conclusions can be obtained: In FUDS cycle the final SOC of the batteries is higher than the initial due to the regenerative braking and the fuel cell operation in low power/idle situations. In these100 situations, the fuel cell is operating at its minimum power, far from its nominal point, and consequently, with very low efficiency. This makes the urban cycle have a bigger consumption than the ARTEMIS highway. In both cycles, the variation of a parameter that affect to the ACS system gives a similar increment of hydrogen consumption.105 Due to the size of power equipment (fuel cell and batteries) not deficit of electric power to motor occurred in any time of cycle. In the following subsections a more detailed analysis of the effect of the simulation parameters is done. In particular, the considered parameters are: Number of occupants.110 Climatology. 5.5 Results 87 0 500 1000 1500 2000 2500 3000 3500 0 1 2 3 4 5 6x 104 t(s) E (kJ) Epowertrain EHVAC (a) ARTEMIS Highway (1A). 0 500 1000 1500 2000 2500 3000 3500 4000 4500 0 2000 4000 6000 8000 10000 12000 14000 t(s) E (kJ) Epowertrain EHVAC (b) FUDS (1F). Figure 5.7: Energy supplied to the powertrain and energy consumed by the HVAC system (FCHV). Table 5.3: Simulation results for the BMW 1 series. Final Hydrogen Increment of Case Initial SOC Consumption (kg/100km) Hydrogen SOC Without With Without With consumption ACS ACS ACS ACS (%) 1A 0.8 0.598 0.562 1.50 1.64 9.2 2A 0.8 0.598 0.571 1.50 1.60 7.0 3A 0.8 0.598 0.578 1.50 1.58 5.2 4A 0.8 0.598 0.583 1.50 1.56 3.8 5A 0.4 0.408 0.405 1.97 2.15 11.5 1F 0.8 0.860 0.772 1.71 1.91 9.4 2F 0.8 0.860 0.790 1.71 1.85 7.0 3F 0.8 0.860 0.807 1.71 1.82 5.0 4F 0.8 0.860 0.821 1.71 1.80 2.9 5F 0.4 0.608 0.555 2.04 2.32 13.1 88 5 Power management in hybrid vehicles with HVAC 12345 5 6 7 8 9 10 Number of occupants Increment of H2 consumption ARTEMIS highway FUDS Figure 5.8: H2consumption increment vs car occupants. 1 2 0 5 10 15 Climatic conditions (1=smooth, 2=extreme) H2 consumption increment (%) ARTEMIS highway FUDS Figure 5.9: H2consumption increment in smooth and extreme conditions. Number of occupants Figure 5.8 shows the increment of the hydrogen consumption when the number of passengers varies from 1 to 5 for ARTEMIS highway and FUDS cycles. The number of passengers affects directly to the hydrogen consumption in the two cy-115 cles. The average increment of hydrogen is 0.96% per occupant. The climatology is the same in both cycles. Climatology Two climatic scenarios have been considered: extreme and smooth conditions. In the extreme conditions, the solar irradiation and the ambient temperature are higher than 630120 W/m2and 30oCrespectively, while in the smoothies conditions, the average solar irradiation and ambient temperature are 80 W/m2and 25oCrespectively. In all the simulations, the vehicle has five occupants. The results are shown in Figure 5.9. The increment of hydrogen consumption is similar in both cycles. The urban cycle accuses the weather change more than the ARTEMIS highway. This is caused by the speed of the car. In those conditions, the125 temperature of the external surface of the vehicle is higher than the ambient air temperature. At higher speeds, the convection heat transfer increments, so the surface gets cooler and the conduction heat decrements. 5.5 Results 89 0 500 1000 1500 2000 2500 3000 3500 0 1 2 3 4 5x 104 t(s) E (kJ) Epowertrain EHVAC (a) ARTEMIS Highway (1A). 0 500 1000 1500 2000 2500 3000 3500 4000 4500 0 1000 2000 3000 4000 5000 6000 7000 8000 t(s) E (kJ) Epowertrain EHVAC (b) FUDS (1F). Figure 5.10: Energy supplied to the powertrain and energy consumed by the HVAC system (PHEV). 5.5.2. Chevrolet Volt The energy supplied to the powertrain of the Chevrolet Volt and the energy consumed130 by the HVAC system are represented in Figures 5.10 (a) and (b), for the cases 1A and 1F respectively. In both cases, the energy supplied to the powertrain is higher than the energy required by the HVAC. However, the difference is lower than in the previous vehicle, specially in the urban cycle.135 Tables 5.4 and 5.5 show the values of the most important variables at the end of each simulation. The first one shows the results if the HVAC is off, while the second one includes the results when it is active. The information shown in these tables is: Speed error (maximum and RMS). Final SOC of the batteries.140 Real and equivalent fuel consumption. Increment of the equivalent fuel consumption. According to these results, some conclusions can be obtained: 96 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle (a) Charging curves. (b) Discharging curves. Figure 6.5: Batteries charging and discharging curves. 6.2.3. Sensors Several sensors of different types have been installed in the car, with two aims: set the parameters of the model and, in the end of the modelling process, compare the results with the real case, and validate the model, and measure some parameters to obtain the state of the vehicle and the signals set by the driver, so the controller actuates consequently.55 Vehicle behaviour sensors Suspension position sensors. These sensors are placed in parallel to the shock absorbers, measuring continuously their compression. The aim of these sensors is to estimate the vertical forces in each wheel. This magnitude will be used to model the forces between the tyres and the road and also to develop further controllers that60 consider pitch/roll angles. Main characteristics: Operating temperature range: From −50oCto +85oC Table 6.1: Motor power converters specifications. Frequency of Operation 16.6kHz. Standby Battery Current <0.5mA. 5V Sensor Supply Current 40mA. Controller supply voltage range, PWR 18V to 90V. Configurable battery voltage range, B+. Max operating range 18V to 90V. Analog Brake and Throttle Input 0-5 V. Full Power Operating Temperature Range 0oCto 50oC Operating Temperature Range −30oCto 90oC Motor Current Limit 400A, depending on the model. 6.2 Vehicle Description 97 Figure 6.6: Suspension position sensor. Maximum shaft velocity: 10 m/s (rear), 1000 mm/s (front) Operating force: 2.45 N horizontal Measure range: Up to 150 mm Nominal resistance: 6kΩ(rear), 1 kΩ(front). Inertial Measurement Unit (IMU) This device measures the linear and angular accelerations in the three axis, as well as the magnetic field. It also include a GPS, that will add an external position measurement. The IMU installed in the vehicle is the model65 3DM-GX3-35, from the manufacturer Microstrain. Main characteristics: Ranks: Table 6.2: Specifications of the batteries. Nominal Voltage 12.8V (4X 3.2 V) Nominal Capacity 100 Ah Operation Voltage Range 11.2 to 14.4V Weight 12.9 kg Dimension 270 X 140 X 241 mm Max Charging Current 3C Max Discharge Current 3C (continuous) / 10C (pulsed) Cycle Life >2000 (80%DOD) Operating Temperature 20 to 65 oC Self Discharge Rate <3% monthly 98 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Accelerometers: ±5g Gyroscopes: ±300o/s Magnetometer: ±2.5Gauss GPS (acceleration): ±4g GPS (speed): 500m/s Aligning error: ±0.05o GPS precision (speed): 0.1m/s Sensors of the driver devices Accelerator. 0 to 5 volts signal, proportional to the pedal position.70 Brake pedal sensor. Potentiometer. Main characteristics: Nominal resistance: 10 kω Accuracy: 0.034%75 6.3. CAD model A CAD model of the vehicle was done. The aim of the model is double: on one hand, the devices can be allocated in the model before their real integration, checking easily not only where to fit each component, but how it affects the global physical parameters (center of mass, inertia...). On the other hand, the model will be ported to two numerical software80 (ADAMS and Matlab-Simmechanics) for simulating the dynamics of the vehicle [73] and design and test new controllers for the dynamics of the vehicle. In the following subsections, the different parts of the car model are explained, detailing their physical characteristics. 6.3.1. Vehicle body85 The vehicle body is composed on the chassis, and all the devices fixed at it. Two occupants are also included in this part. Chassis This is the only part of the car that was not modelled by the author. In fact, the model was given by the manufacturer of the vehicle (Silver Car). A confidentiality agreement was90 signed, so the characteristics of this body will not be detailed. Power devices The power devices (fuel cell, hydrogen tanks, batteries, ultracapacitors and power converters) were modelled following the physical characteristics given by their manufacturers. 6.3 CAD model 99 Figure 6.7: Power devices. Unfortunately, none of the inertias of the devices were given, so a homogeneous distribution95 of the mass is supposed for all the elements. The devices were placed as shown in fig. 6.7, which is the location of each one in the real vehicle. Car occupants For the vehicle occupants, a free CAD model of a person sat in a car was included. A weight of 78 kg was assumed for each person, as well as a homogeneous mass density.100 6.3.2. Suspension and steering Both the front and the rear suspensions are of the individual double wishbone type. Rear suspension The rear suspension is modelled as is. As shown in fig. 6.8, the wishbones and the knuckle arms are placed according to the real vehicle. The shock absorbers were modelled105 as two concentric cylinders. The force element will be added afterwards in the simulator (secs. 6.4 and 6.5). 100 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Figure 6.8: Rear suspension. (a) Real (b) Model for ADAMS Figure 6.9: Front suspension. Front suspension For the front suspension, two different configurations were modelled. The first one is the most realistic, and it will be used in the ADAMS vehicle model. The second one includes110 several simplifications in order to facilitate the Simmechanics model. Figures 6.9(b) show the configuration for the ADAMS model, where the geometry of the original system was respected. The shape of the knuckle was slightly modified due to the difficulty of modelling the original one. However, its joints are placed as in the vehicle knuckles, so their behaviour does not differ from the original one.115 The steering system was modelled following the vehicle rack and pinion steering mechanism (fig. 6.10). On the other hand, fig. 6.11 shows the model for Simulink-Simmechanics. The knuckle is a simpler piece, where the vertical movement of the suspension and the rotation of the steering are separated. The shock absorbers were joint directly to the lower whishbones, in120 order to simplify the system. The steering system was not included in the CAD design. It will be calculated numeri- 6.3 CAD model 101 Figure 6.10: Steering system (model for ADAMS). Figure 6.11: Front suspension (model for Simmechanics). cally in the Simmechanics model (sec. 6.4). 6.3.3. Wheels In the Simmechanics model, the reaction forces between the road and the wheels cannot125 be directly calculated, as it is not an specific program for vehicle modelling. Thus, the joint between those mentioned parts cannot be properly modelled directly. A modification of the CAD design is necessary for this model. It consists on two parts. One on them is a bar, that is fixed to the knuckle, and which ends in the tyre surface. The second part is the interface between the bar and the road, as shown in fig. 6.12, where the motor and the rim were130 hidden, in order to show the virtual bar. The Simmechanics model for the wheels will be explained in section 6.4. 102 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Figure 6.12: Front left wheel (variation for Simmechanics) 6.4. Simmechanics model 6.4.1. Introduction to Simmechanics Simmechanics is a Matlab/Simulink toolbox that facilitates working with mechanical135 systems. This toolbox uses two basic specific blocks: bodies and joints. A body block represents a single part of the mechanical system. These blocks contain a mathematical model of the piece (mass and inertia ellipsoid), as well as the position of the center of gravity and the orientation of the body. It also contains the coordinates and orientation of some important points of the body, like, for example, the point where a force140 will be applied and its direction. A joint block represents a link between two bodies. There are several kind of joints, depending on the degrees of freedom between the linked bodies. For example, a rotative joint, which allows only the rotation movement around one direction, would be used for a hinge model.145 Some other specific Simmechanics blocks are used. The most important are the actuators and the sensors. Both kind of blocks can be linked to a body or to a joint, and they are the interface between these blocks and the common Simulink blocks. The actuators apply forces/torques to bodies or joints, or force the body/joint to track a certain trajectory. These forces/trajectories are set by common Simulink blocks, connected to the actuator blocks.150 On the other hand, the sensor blocks measure the forces/torques or the kinematics of the bodies/joints. These blocks are connected to the common ones, which will take this data, processing it as any other Simulink variable. 6.4 Simmechanics model 103 Figure 6.13: Simmechanics 3D model representation Simmechanics incorporates a software tool, Simmechanics link, that helps porting a CAD design into a Simmechanics model. This tool not only eases modelling the mechanical155 system: it also provides a 3D animation, representing the modelled mechanical system. 6.4.2. Simmechanics for a vehicle model Creating the mathematical model of a non trivial mechanical system is not a simple issue. As a matter of fact, most of the vehicle models make several simplifications, usually removing some degrees of freedom by simplifying or even blocking the suspension system.160 For the rest of the models, a large number of differential equations must be implemented [34, 108, 117, 125]. Simmechanics implements internally all the equations of the dynamics of the system. This does not only save time, but it prevents possible errors when enunciating the equations. Though, any change the user wants to have in the system is easily made just by changing any165 body/joint block. The equations will be reset automatically. Simmechanics Link eases this labour. If the primitive CAD design is changed, the Simmechanics model can be updated, taking into account the changes, and respecting the rest of the model. The only limitation of this tool for its use in a vehicle model is the tyre-road interface modelling. This kind of joint is not modelled in the tool, so the user must create an equiva-170 lent mechanical system for this aim. However, despite this inconvenient, the reasons explained above, and the possibility of utilizing any common Simulink function to manage/set/interpret the model data, make Simmechanics a very good option to model a vehicle, and develop the controllers of its driving devices.175 For the FOX vehicle, the Simmechanics block diagram was imported from its Solidworks CAD design. It includes 35 bodies and 38 joints. A simplified block diagram of the model is shown in Figure 6.14. Despite the ADAMS model described in Section 6.5 may be more accurate, a Simme- 104 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Figure 6.14: Simplified Simmechanics block diagram chanics model is worth being done due to its versatility and simplicity. It is directly inte-180 grated in the Matlab-Simulink environment, what eases any change, addition or removal. 6.4.3. Assumptions and simplifications In order to simplify the model, these assumptions were done: All the parts of the vehicle are rigid bodies, including the tyres. The occupants of the vehicle are also modelled as rigid bodies, fixed to the chassis.185 The force between the tyre and the road is applied at the lowest point of the center circumference of the wheel (the green point in Fig. 6.15). The front knuckles were modified. Instead of having three spherical joints, they have three rotative joints. Two of them allow the movement respect the wishbones. The third joint allows the steering movement.190 The vehicle always moves over a flat surface . The air friction force is considered only for the longitudinal axis. 6.4 Simmechanics model 105 Figure 6.15: Wheel-road forces application point 6.4.4. Reference systems Before describing the model, it is necessary to define some reference systems, important for some parts of the model. The zaxis is perpendicular to the ground, and parallel for all195 the cases, so it will not be included in the descriptions. All the systems are summarized in Figure 6.16 Global reference system (xG,yG): It is an inertial reference system, where the origin is located in the starting point of the mass center of the vehicle. Center of gravity reference system (xCG,yCG): This system has its origin in the mass200 center of the vehicle, while the xCG axis is oriented to the longitudinal axis of the car. Wheel reference systems (xi,yi): There is one reference system of this type per wheel. The subscript iis defined as f l,f r,rl,rr, depending on the wheel (forward and rear, left and right). The origin of this system is placed in the contact point between the wheel and the road (see Section 6.4.3). The xaxis is oriented to the longitudinal axis of the wheel.205 Wheel velocity reference systems (xwi,ywi): As in the previous case. the subscript iis defined as f l,f r,rl,rr. The origin of this system is also placed in the contact point between the wheel and the road. However, the xaxis is oriented to the speed vector of the wheel. Figure 6.16: Reference systems 112 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Figure 6.22: Steering system model. 6.4.7. Steering system As explained in Section 6.3.2, the steering system is not imported from the CAD model.340 It is based on the rack and pinion mechanism of the vehicle (Fig. 6.10), but it was simplified into the four-bar linkage shown in Figure 6.22, where: l1=1.17m,l2=1.01mand l3=l4= 0.12m. It is assumed that the horizontal component (xaxis) of the point ’O’ is proportional to the angle of the steering wheel.345 6.4.8. Model validation In this section, the results of two simulations are compared with the data taken from two real test. This tests were performed in a dry, flat and horizontal concrete surface (Figure 6.23). The inputs of the model are the torque set point and the steering wheel angle. The latter350 is taken from the value measured with the sensor of the vehicle (Sec. 6.2.3). The torque set point is given to the real car by the throttle and brake pedals. However, despite the positions of these pedals are logged, the lack of a model for the motor and brakes make these values useless at the moment. The torque set point is given by a PI controller that tracks the vehicle speed. The value of the speed given by the GPS device is corrected with the calculation355 done using the contrasted online tool GPSvisualizer [47], based on the GPS position data. Unfortunately, this will not avoid some errors due to the GPS precision. However, the speed measurement is accurate enough. Table 6.5: Horizontal forces calculation depending on vw. Longitudinal f orce Side f orce |vw|<vtl FwL =FwLls FwS =FwSls vtl ≥ |vw|<vthm/s FwL =FwLls vth−vw vtl +FwLB vw−vtl vtl FwS =FwSls vth−vw vtl +FwSB vw−vtl vtl |vw| ≥ vth FwL =FwLBFwS =FwSB 6.4 Simmechanics model 113 Figure 6.23: Test track. Figure 6.24: MEchanical differential. Rear Wheel Drive (RWD) test RWD test conditions360 For the first test only the rear wheel motors were active. Both rear wheel motors applied the same torque. The front wheels rolled freely. This configuration is similar to the RWD ICEV case, where a mechanical component (differential) distributes the torque equally between the rear wheels. Figure 6.24 shows a mechanical differential. Figures 6.25 and 6.26 show the steering wheel position and the speed set point and365 tracking. 114 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 0 5 10 15 20 25 30 -150 -100 -50 0 50 100 150 200 Time(s) Angle (degrees) Steering wheel angle Figure 6.25: Steering wheel angle. 0 5 10 15 20 25 30 0 1 2 3 4 5 6 7 8 Time(s) Speed (m/s) Speed GPS speed (device data) GPS speed (from position data) Vehicle speed (simulation) Figure 6.26: Speed. RWD test simulation results Figure 6.27 shows the longitudinal, side and resultant slips in the four wheels. The main difference between the front and the rear wheels is the longitudinal slip. While in the rear wheels it takes values quite similar to the side slip, in the front wheels both parameters vary370 in different orders of magnitude. As the front wheel motors do not make any torque, the only resistance to the movement is the inertia of the wheel. On the other hand, the torque applied by the rear motors makes the longitudinal slip increase, and so the longitudinal force, as shown in Figure 6.28, where the longitudinal and side forces of the wheels are represented. The side slip takes its highest values when the vehicle is turning, due to the inertial375 forces. This is easy to check comparing Figure 6.27 with the steering wheel angle (Figure 6.25). The slip angle, defined in Section 6.4.6, is represented in Figure 6.29. As expected, 6.4 Simmechanics model 115 0 5 10 15 20 25 30 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 Time (s) Slip Front left wheel Sl Ss Sres 0 5 10 15 20 25 30 -0.1 -0.05 0 0.05 0.1 Time (s) Slip Front right wheel Sl Ss Sres 0 5 10 15 20 25 30 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 Time (s) Slip Rear left wheel Sl Ss Sres 0 5 10 15 20 25 30 -0.04 -0.02 0 0.02 0.04 Time (s) Slip Rear right wheel Sl Ss Sres Figure 6.27: Slips in each wheel. 0 10 20 30 -1500 -1000 -500 0 500 1000 Time (s) Force (N) Front left wheel Fwl Fws 0 10 20 30 -1000 -500 0 500 1000 1500 Time (s) Force (N) Front right wheel Fwl Fws 0 10 20 30 -1000 -500 0 500 1000 Time (s) Force (N) Rear left wheel Fwl Fws 0 10 20 30 -1000 -500 0 500 1000 1500 2000 Time (s) Force (N) Rear right wheel Fwl Fws Figure 6.28: Forces in each wheel. the value of this angle increases with the curvature of the trajectory and the speed of the car. 116 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 0 10 20 30 -0.1 -0.05 0 0.05 0.1 Time (s) α (rad) Front left wheel 0 10 20 30 -0.1 -0.05 0 0.05 0.1 Time (s) α (rad) Front right wheel 0 10 20 30 -0.06 -0.04 -0.02 0 0.02 Time (s) α (rad) Rear left wheel 0 10 20 30 -0.04 -0.02 0 0.02 Time (s) α (rad) Rear right wheel Figure 6.29: Slip angle in each wheel. -6.003 -6.0029 -6.0029 -6.0028 -6.0028 -6.0027 -6.0027 -6.0026 -6.0026 37.4106 37.4106 37.4107 37.4107 37.4108 37.4108 37.4109 37.4109 37.411 Longitude (degrees) Latitude (degrees) Real vehicle trajectory (GPS data) (a) Vehicle trajectory (GPS). -25 -20 -15 -10 -5 0 5 10 -20 -10 0 10 20 30 40 X (m) Vehicle trajectory (simulation) Y (m) (b) Vehicle trajectory (simulation) Figure 6.30: Vehicle trajectory. Finally, the trajectories of the real test and the simulation are compared in Figures 6.30 (a) and (b).380 6.4 Simmechanics model 117 0 5 10 15 20 25 -20 0 20 40 60 80 100 120 140 160 180 Time(s) Angle (degrees) Steering wheel angle Figure 6.31: Steering wheel angle. 0 5 10 15 20 25 0 1 2 3 4 5 6 Time(s) Speed (m/s) Speed GPS speed (device data) GPS speed (from position data) Vehicle speed (simulation) Figure 6.32: Speed. Four wheel drive (4WD) test 4WD test conditions A second test was performed, where the four wheels applied the same torque. The speed and the steering wheel angle are shown in figures 6.31 and 6.32. 4WD test simulation results385 The slips are shown in Figure 6.33. In this case all the slips are of the same order, and the total drive is shared between the four wheels. The trajectories of the real test and the simulation are shown in Figures 6.34 (a) and (b). Discussion The accuracy of the model cannot be quantified, due to the poor precision of the GPS de-390 vice, that affects not only to the trajectory graph, but to the speed measurement, as explained 118 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 0 5 10 15 20 25 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 Time (s) Slip Front left wheel Sl Ss Sres 0 5 10 15 20 25 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 Time (s) Slip Front right wheel Sl Ss Sres 0 5 10 15 20 25 -0.01 -0.005 0 0.005 0.01 Time (s) Slip Rear left wheel Sl Ss Sres 0 5 10 15 20 25 -0.01 -0.005 0 0.005 0.01 Time (s) Slip Rear right wheel Sl Ss Sres Figure 6.33: Slips in each wheel. -6.003 -6.0029 -6.0029 -6.0028 -6.0028 -6.0027 -6.0027 -6.0026 -6.0026 -6.0025 37.4106 37.4106 37.4107 37.4107 37.4108 37.4108 37.4109 37.4109 37.411 Longitude (degrees) Latitude (degrees) Real vehicle trajectory (GPS data) (a) Vehicle trajectory (GPS). -15 -10 -5 0 5 10 15 20 -10 -5 0 5 10 15 20 25 30 35 40 X (m) Vehicle trajectory (simulation) Y (m) (b) Vehicle trajectory (simulation) Figure 6.34: Vehicle trajectory. at the beginning of Section 6.4.8. The conversion from geographical to UTM coordinates would involve a second source of error. The tests were performed at low speed due to the small dimensions of the track. With higher speeds, the slip would be more significant.395 However, the shape of the trajectories (Figures 6.30 and 6.34) demonstrates that both the real vehicle and the model have a very similar behaviour in both RWD and 4WD tests. Therefore, it is proved that the model performs a realistic trajectory, so it valid to test any kind of traction controller before its implementation in the car, which is the aim of designing this model.400 6.5 ADAMS Model 119 Figure 6.35: ADAMS model. 6.5. ADAMS Model 6.5.1. Description A numerical model of the dynamic behaviour of the vehicle has been developed and implemented in ADAMS software by M´antaras and Luque [73]. As explained in section 6.3, the ADAMS model (Fig. 6.35) is based on a CAD design. This section brings a brief405 explanation of the model. The kinematic configuration of the vehicle is composed of 40 bodies, 15 revolute joints, 16 spherical joints, 3 translation joints, 4 homokinetic joints and 13 fixed joints. Some masses have been added to the model in order to increase its precision and to take into account some elements of the vehicle that have not been included in the CAD model.410 The final model has 14 degrees of freedom. The dynamic characterization is determined by the modelling of several elements, like the helical springs, the telescopic shock-absorbers and the pneumatic wheels. For the tyres Pacejka’s Magic Formula [92] has been used. The identifying parameters have been obtained from the curves of the manufacturer (Avon [10]). The suspension wishbones are assumed to be rigid, and linked to the tubular chassis415 with ideal spheric joints (no friction nor clearance). It is also assumed that the springs and absorbers are linear in their operational zone. Several inputs have been included for the simulation of the model. The kinematics are essentially controlled by the movement of the steering system. The control is imposed by the movement of the steering wheel.420 The dynamic control of the vehicle is regulated by torque in each wheel. As a first approach to the model, an equitable distribution of the torque is used (ie. same torque for each wheel). For imposing the torque, a PID controller is used, in which the speed and linear acceleration values are set. 6.5.2. Testing and experimental validation425 For the validation of the ADAMS model, an experimental program based on static and dynamic tests in the real vehicle is proposed [76]. For this program, two kinds of tests will 120 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Figure 6.36: Mixed trajectory. be performed: 1. Static: Several loads and controlled displacements were applied for obtaining information necessary to set some parameters of the model:430 a Weight distribution in each wheel and mass centre. b Preload of the suspension helicoidal springs. c Gearing of the steering system. d Equivalent wheel suspension stiffness. 2. Dynamic: Several dynamic tests were performed in order to collect the data necessary435 to set and validate the model. a. Acceleration in a straight line and in curves. b. Braking in a straight line and in curves. c. Slalom. d. Circular curves at constant/increasing speed.440 e. Mixed trajectories. For instance, the simulation of a mixed slalom, circular curves, slalom, and braking curve is shown in Figure 6.36. After the final adjustment of the model, it is seen that the most representative variables of the vehicle movement (trajectory, speed and acceleration) are reproduced correctly, as445 well as the dynamic response of some significant elements, as the steering, suspension and the tyres. 6.6. Torque distribution controllers Modern cars have several active safety systems that actuate over the torque of the wheels, like Anti-lock Braking System, Traction-Control System or Electronic Stability450 Program. However, these systems actuate only in extreme cases (lost of grip in one or more wheels) and usually to reduce the torque, by braking and/or stopping the fuel supply 6.6 Torque distribution controllers 121 (a) Understeering (b) Oversteering to the engine (reducing the power in case of EVs). The rest of the time, the torque of the engine/motor is equally distributed between the tractive wheels. As explained in Section 6.1, the use of one motor per wheel opens a wide range of455 possibilities of torque control. An easier and safer driving can be achieved with a better torque distribution, increasing or reducing the torque in each wheel depending on the circumstances. In this section, two distribution controllers for the vehicle are presented and compared. The first one emulates a mechanical differential system, in which the same torque is applied460 to the four wheels. This is a simple but effective control, used by almost all the Four Wheel Drive (4WD) vehicles in the world. It will be considered the baseline controller. The second controller is based on a PI that controls the yaw rate of the vehicle. These controllers have been tested in the Simmechanics model. 6.6.1. Understeering and oversteering465 Definition In [84], the National Highway Traffic Safety Administration (NHTSA) defines oversteering and understeering as ”typically cases of loss-of-control where vehicles move in a direction different from the drivers intended direction. Oversteering is a situation where a vehicle turns more than drivers input because the rear end of the vehicle is spinning out or470 sliding out. Understeering is a situation where a vehicle turns less than the drivers input and departs from its intended course because the front wheels do not have sufficient traction.” Figures 6.37(a) and 6.37(b) show graphically both cases. Obviously these situations are both undesirable. The avoidance or diminution of the effects of understeering and oversteering will be the aim of the torque distribution controllers.475 128 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 0 10 20 30 40 -200 -150 -100 -50 0 0 1 2 3 4 5 6 7 Speed (m/s) Steering wheel angle (degrees) Desired yaw rate (rad/s) Figure 6.45: Desired yaw rate against speed and steering wheel angle. 0 2 4 6 8 10 0 5 10 15 t (s) Steering wheel angle (degrees) Figure 6.46: Steering wheel angle for the dynamic test. 6.6.5. Description of the tests To evaluate the goodness of the two controllers, three tests were performed. The first one is the ’constant radius method’ to calculate the understeer gradient. This method was described in Section 6.6.1. This method was applied to the vehicle with both controllers for two radius of turn: 80 and 200 meters.570 In the second test, the vehicle starts at constant speed (70 km/h) and with the steering wheel in neutral position (0 degrees). This angle starts rising in a 60 degrees/s ramp (smoothed in the edges) until it reaches 11.08 degrees, which is the Ackermann steering wheel angle for a radius of turn of 80 m (Figure 6.46). The aim of this test is to evaluate the dynamic response of the vehicle.575 For the last scenario, the vehicle starts at the end of the previous test (steady-state, speed=70 km/h, steering wheel angle=11.08 degrees), and the ground changes from dry asphalt to wet asphalt. This is simulated changing the ciparameters of the Burckhardt 6.6 Torque distribution controllers 129 0 0.2 0.4 0.6 0.8 1 0 0.5 1 1.5 Sres res Dry asphalt Wet asphalt Figure 6.47: Resultant friction coefficient. model (Section 6.4.7). The values of these parameters are shown in Table 6.6, while Figure 6.47 shows the resultant friction coefficient in both cases.580 Table 6.6: Burckhardt model parameters. Asphalt condition c1c2c3 Dry 1.1973 25.168 0.5373 Wet 0.857 33.822 0.347 6.6.6. Results Equal torque distribution The graphics for the constant radius method are shown in Figures 6.48(a) and 6.48(b) In both cases, the steering angle increments with the lateral acceleration. This implies a positive understeer gradient, what means that the vehicle has an understeering tendency585 with the equal torque distribution controller. Table 6.7 shows the numeric values of the gradients for the final part of each graph. Table 6.7: Understeer gradient for the equal torque distribution. Radius (m)aym/s2Gradient rad m/s2 80 5.385 8.009 ·10−4 200 2.359 3.230 ·10−4 For the second test, the resulting yaw rate is shown in Figure 6.49, where the reference line is the yaw rate the vehicle would have in neutral steering. In the graph, a certain steady 130 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 0 1 2 3 4 5 6 0.031 0.0315 0.032 0.0325 0.033 0.0335 ay(m/s2) δ (rad) Neutral steering Equal torque control (a) R=80m 0 0.5 1 1.5 2 2.5 0.0124 0.0126 0.0128 0.013 0.0132 0.0134 ay(m/s2) δ (rad) Neutral steering Equal torque control (b) R=200m Figure 6.48: Constant radius method graphics (equal torque distribution). 0246810 0 0.05 0.1 0.15 0.2 0.25 t (s) Yaw rate (rad) Reference Equal torque distribution Figure 6.49: Dynamic test for the equal torque distribution controller. state error is outlined (3.5%). Thus, the yaw rate of the vehicle in steady state is always590 lower than the reference, what confirms the vehicle is in an understeering situation. Finally, the result of the third test is shown in Figure 6.50. The yaw yaw rate error increments (3.5% to 4.8%), as expected. 6.6 Torque distribution controllers 131 0123456 0.225 0.23 0.235 0.24 0.245 t (s) Yaw rate (rad/s) Dry  Wet Reference Equal torque distribution Figure 6.50: Disturbance test for the equal torque distribution controller. 0123456 0.031 0.0312 0.0314 0.0316 0.0318 0.032 ay (m/s) δ (rad) Neutral steering PI control (a) R=80m 0 0.5 1 1.5 2 2.5 0.0122 0.0124 0.0126 0.0128 0.013 ay (m/s) δ (rad) Neutral steering PI control (b) R=200m Figure 6.51: Constant radius method graphics (PI yaw rate controller). PI yaw rate controller The graphs of the constant radius method for the PI yaw rate controller are represented595 in Figures 6.51(a) and 6.51(b). In this case the steering angle is almost constant respect the lateral acceleration, and very close to the Ackermann steering angle. It implies that the car has a neutral steering behaviour. Table 6.8 shows the numeric values of the gradient for the end of the graphs. Table 6.9 shows the values of the PI output for different speeds, and a constant radius600 of turn of 80m. In all the cases, the values are higher than 0.5, what means that the torque is higher in the outer and rear wheels. This is coherent with the results of the previous controller, considering its understeering tendency. The PI output increments with the speed. 132 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle Table 6.8: Understeer gradient for the PI yaw rate controller. Radius (m)aym/s2Gradient rad m/s2 80 5.385 2.133 ·10−7 200 2.359 2.683 ·10−7 0246810 0 0.05 0.1 0.15 0.2 0.25 t (s) Yaw rate (rad) Reference PI yaw rate controller Figure 6.52: Dynamic test for the PI yaw rate controller. This is also coherent with the previous results, due to increase of the understeer gradient with the lateral acceleration (Figure 6.7).605 Table 6.9: PI output. Radius (m)v(km/h)PI output 80 30 0.5394 80 50 0.5695 80 70 0.6229 Performing the second test, the vehicle tracks the yaw rate reference, as shown in Figure 6.52, where the overoscillation is insignificant. Figure 6.53 shows the PI output for this test. Finally, the results of the third test are shown in Figure 6.54. In this case, after a very small peak (0.3%), the vehicle is able to track the reference again. Therefore, the driver would hardly notice the variation in the condition on the road, and does not need to actuate at all.610 The controller output for this case is shown in Figure 6.55. When the vehicle enters the wet zone, the friction coefficients of the wheels get lower. This increases the slip in all the wheels, specially in those where the torque is higher, in this case the rear and outer wheels. A side slip increase in the rear wheels causes an increment in the yaw rate, what makes the controller smooth its output.615 6.6.7. Discussion Comparing the results of the understeer gradients of the two controllers in Figures 6.56 and 6.57, it is easy to see how the PI yaw rate controller improves the behaviour of the vehicle. Comparing Tables 6.7 and 6.8, there is a difference of three orders of magnitude in 6.6 Torque distribution controllers 133 0246810 0.45 0.5 0.55 0.6 0.65 0.7 t (s) PI output (ratio) Figure 6.53: PI signal of control. 0 1 2 3 4 5 6 0.23 0.235 0.24 0.245 t (s) Yaw rate (rad/s) Dry  Wet Reference PI yaw rate controller Figure 6.54: Disturbance test for the PI yaw rate controller. the understeer gradients. The difference in the sign of the gradient is not significant, due to620 its negligible value. For the two last tests, the comparison between both controllers is summarized in Figure 6.58, where the vehicle enters the wet asphalt in the second 10. The figure shows the better behaviour when the car where the PI yaw rate controller is acting. This difference becomes more evident when plotting the trajectories of the vehicle625 using both controllers (Figure 6.59). 0123456 0.6 0.61 0.62 0.63 0.64 WetDry Figure 6.55: PI output. 134 6 Modelling and torque distribution control for a four in-wheel independent driving electric vehicle 0123456 0.031 0.032 0.033 0.034 0.035 ay(m/s2) δ (rad) Neutral steering PI control Equal torque control Figure 6.56: Constant radius method graphics (R=80m). 0 0.5 1 1.5 2 2.5 0.0125 0.0126 0.0127 0.0128 0.0129 0.013 0.0131 ay(m/s2) δ (rad) Neutral steering PI control Equal torque control Figure 6.57: Constant radius method graphics (R=200m). 0 5 10 15 0.2 0.21 0.22 0.23 0.24 0.25 t (s) Yaw rate (rad/s) WetDry Reference PI yaw rate controller Equal torque distribution Figure 6.58: Comparison between both controllers in tests 2 and 3. 6.7 Conclusions 135 -40 -20 0 20 40 60 80 100 120 0 20 40 60 80 100 120 x (m) y (m) Ideal trajectory PI controller Equal torque distribution Figure 6.59: Trajectories of the vehicle. 6.7. Conclusions In this chapter, a 3D CAD model of the FOX four wheel-motor electric vehicle was presented. This model has two variants, that differ in the steering system. The most realistic variant was used to create a numeric dynamic model of the vehicle using the ADAMS soft-630 ware. The simplified model was ported into the Simulink Simmechanics toolbox to create a dynamic model. This model was validated with real data. Finally, two torque distribution controllers were developed for the vehicle and tested on Simmechanics model. The first one (considered the baseline controller) distributes the torque equally in the four wheels, while the second one controls the rate of the yaw angle635 with a PI controller. The simulations demonstrate the better performance of the PI-based torque distribution over the baseline controller. Chapter 7 Conclusions and future research 7.1. Conclusions A commercial BEV was hybridized by the addition of a hydrogen storage system and a fuel cell as a second energy source. The power converter (also introduced) and the fuel cell are controlled by a central power management system, depending on the SOC of the batteries. This system was tested, and the experimental results demonstrated the feasibility of the fuel cell as an energy source for automotive applications. Another variant for the same car was also presented, in which the fuel cell was substituted by two lower power FC stacks. The new controller is divided in three levels. The highest level consists on a global power management system, that includes the power converter and the batteries. The middle level controller determines the power supplied by each of the stacks, and finally the low level controls both FCs. These controllers were successfully tested in real performance. Despite the use of two FCs instead of one implies the introduction of a new device, both FCs are not only smaller, but simpler than the one used in the first variant. As a consequence, the coolant circuit has been removed and the FCs are controlled by the ECU of the vehicle, what makes it easier to coordinate with the power management, specially in case of errors. The power management controller of a second FCHV prototype was presented. This vehicle was made in collaboration with several companies and public institutions. The car consists on a electric motor driven by a set of batteries and a fuel cell. A model of the power supply system of this vehicle was made. A MPC strategy was implemented for the power management system in the model. Besides, the use of UC as a substitute of the batteries was also studied, as well as the use of both storage devices. The MPC was able to fulfil the power requirements of the system, respecting the constraints and minimizing the fuel consumption. Despite it requires a high computational cost, the simulations demonstrate that it is fast enough to be implemented in a real ECU. Regarding the use of batteries or UCs as storage devices, the results of the three configurations were almost equivalent, so it is recommended to use only one source in order to simplify the system. 137