Next Article in Journal
Parameter Analysis of Savonius Hydraulic Turbine Considering the Effect of Reducing Flow Velocity
Next Article in Special Issue
A Step Up/Down Power-Factor-Correction Converter with Modified Dual Loop Control
Previous Article in Journal
A Review on the Transformation of Furfural Residue for Value-Added Products
Previous Article in Special Issue
Optimal Configuration with Capacity Analysis of a Hybrid Renewable Energy and Storage System for an Island Application
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Optimal Control of Fuel Consumption for a Heavy-Duty Motorcycle with Three Power Sources Using Hardware-in-the-Loop Simulation

Department of Vehicle Engineering, National Formosa University, Yunlin 63201, Taiwan
*
Author to whom correspondence should be addressed.
Energies 2020, 13(1), 22; https://doi.org/10.3390/en13010022
Submission received: 9 November 2019 / Revised: 16 December 2019 / Accepted: 18 December 2019 / Published: 19 December 2019
(This article belongs to the Special Issue Selected Papers from IEEE ICKII 2019)

Abstract

:
This study presents a simulation platform for a hybrid electric motorcycle with an engine, a driving motor, and an integrated starter generator (ISG) as three power sources. This platform also consists of the driving cycle, driver, lithium-ion battery, continuously variable transmission (CVT), motorcycle dynamics, and energy management system models. Two Arduino DUE microcontrollers integrated with the required circuit to process analog-to-digital signal conversion for input and output are utilized to carry out a hardware-in-the-loop (HIL) simulation. A driving cycle called worldwide motorcycle test cycle (WMTC) is used for evaluating the performance characteristics and response relationship among subsystems. Control strategies called rule-based control (RBC) and equivalent consumption minimization strategy (ECMS) are simulated and compared with the purely engine-driven operation. The results show that the improvement percentages for equivalent fuel consumption and energy consumption for RBC and ECMS using the pure software simulation were 17.74%/18.50% and 42.77%/44.22% respectively, while those with HIL were 18.16%/18.82% and 42.73%/44.10%, respectively.

Graphical Abstract

1. Introduction

Hybrid electric vehicles received much attention in the past few decades due to urgent concerns about the emission of carbon and exhaust gases. The reasons are that, on the one hand, the energy efficiency of the entire powertrain can be enhanced so that the emission of carbon can be reduced; on the other hand, the purely electric drive and smoothness of engine operation during city driving can effectively reduce the emission of exhaust gases [1]. The architectures of hybrid electric vehicles (HEVs) can be divided into two types: series and parallel HEVs [2]. The series operation can solve the problems of low efficiency and high fuel consumption caused by cold starting and the preheating process of engines [3]. Furthermore, ultracapacitors can be used as energy storage systems. Their capacities can affect the times of engine starting. The kinetic energy of vehicles can be restored using regenerative braking. Therefore, the comfort and system efficiency of the integrated powertrain can be improved [2]. Furthermore, if the reactively controlled compression ignition (RCCI) engines can be implemented into a series HEV, not only can the feature of good fuel economy be promoted, but the advantages of low emissions of nitrogen oxides (NOx) and particulate matter (PM) can also be gained [4]. As for the parallel HEVs, the flexibility of utilizing multiple energy storage systems and electric power systems possesses the potential of further reducing fuel consumption, as well as emissions of pollutants. Moreover, compared with conventional vehicles, the energy management strategies can be designed through optimal numerical analysis without sacrificing their drivability [5]. However, the relatively complicated architectures of parallel HEVs result in a higher cost of manufacture and maintenance [6]. Unlike conventional vehicles with internal combustion engines, one of the effective ways to improve fuel economy and emissions of pollutants is utilizing the optimal strategy of energy management [7]. An efficient strategy of energy management for real-time control can be designed through a simulation on an entire power system. This is further modified according to effective engineering experiences. Consequently, the resulting performances of the designed vehicle can be significantly improved especially when dealing with some rather complicated architectures of powertrain [8]. Currently, when facing an urgent impact of ISO 26262, global industries of vehicles, such as factories of original equipment manufacturing (OEM), tier 1 components, vehicular chips, and development tools, started implementing ISO 26262 in the processes of product development or adjusting the software/hardware development tools to meet the requirements of ISO 26262 [9]. To efficiently simplify the extremely high-level and complicated tasks of vehicle dynamic computations, the required core technology will definitely involve low-cost and high-efficiency embedded systems that are integrated with software and hardware and capable of customization of the basic architecture for computing according to the specific functionality [10]. Currently, a real-time simulation coupled with the hardware-in-the-loop (HIL) platform is widely applied in industry [11,12]. A performance evaluation on a hybrid electric system called a molten carbonate fuel cell/micro gas turbine (MCFC-MGT) using an HIL simulation was proven to be an effective means of saving development cost [13]. Furthermore, when performing tests on flexible alternating current transmission systems (FACTSs) under either conventional or newly revised industry specifications, the HIL simulations are regarded as an efficient testing method prior to the actual field tests [14].
With regard to past studies, the main goal to optimize synergy/electricity systems is enhancing the energy efficiency and performance of an entire system for fuel saving coupled with cost reduction. Accordingly, two major factors are the strategy of energy management and design of the synergy/electricity powertrain. For the optimization of the former, especially on HEVs, one of the widely applied control methods is rule-based control (RBC) [15]. Its advantages are easy implementation, highly efficient computation, and fast experimental verification. However, its inherent propensity to evaluate by engineering intuition showed its weakness when dealing with rather complicated and highly nonlinear systems. To overcome this and enhance robustness due to system uncertainty, fuzzy logic control (FLC) was introduced, and it is especially applicable to various types of HEVs [16,17]. Sunddararaj et al. proposed the proportional/integral and fuzzy logic control strategies for direct current DC/DC converters. This hybrid controller further improved the performance of the bi-directional DC/DC converter and the power circuits for voltage gain, filtering, system efficiency, and electricity quality [18]. However, for systems with considerable numbers of control variables requiring a mass of logical rules for effective control, a global search using equivalent consumption minimization strategies (ECMS) is adopted for optimization in a more numerically precise manner [19,20]. Multi-dimensional look-up tables derived from the simulated results based on the ECMS concept can be constructed through computer coding and directly downloaded to the control unit to realize the practical implementation of optimal energy management in the synergy/electricity powertrains. This research can be employed for other types of electric vehicles as long as the characteristics of energy/power sources are built and the objective function (goal) is set. The major advantage of EMCS is to accommodate both the theoretical optimization analysis and the direct usage for the control unit because of the resulting matrix. The drawback is that, compared with the time-independent or predictive control laws (such as dynamics programming), the ECMS optimization cannot handle the system constraints (such as the start-to-end balance for state of charge). However, to deal with the unknown out loads and the complicated system dynamics, it is one of the best candidates for the optimization [21]. Other algorithms are introduced in the paragraph below.
The dynamic programming (DP) algorithm is a commonly used approach for optimization. Basically, the optimal scheme for power distribution can be precisely calculated based on known driving cycles [22,23]. However, traditional DP can only be used to attain the optimal solutions under the designated driving cycles rather than the unpredictable driving patterns in reality. An evolved approach from DP called stochastic dynamic programming (SDP) is capable of dealing with uncertain situations during actual driving and, thus, may further extend the application to real-time control [24]. However, the undesirably high computing load and sophisticated derivation of mathematics limit its application to the practical control of vehicles. Alternatively, the genetic algorithm (GA) is a feasible method to obtain accurate solutions especially for the control systems of vehicles with high nonlinearity [25]. Other control strategies such as bionic optimization algorithms (e.g., particle swarm optimization, bacterial foraging algorithm, etc.) can search for the best solution (minimal equivalent fuel or minimal energy consumption) in real time. The optimal control variable is the power (energy) distribution ratio [26,27]. Nevertheless, the resulting lack of analytical approaches makes control rules hard to amend. Compared with the algorithms mentioned above, predictive control, linear programming, robust control, etc. possess relatively clear expressions of mathematics for advanced modification.
In this paper, the algorithms were implemented into a real vehicular controller for a hybrid electric motorcycle. Therefore, considering the requirements of high computing efficiency and quantitative analysis for control, both RBC and ECMS were adopted for comparison. For ECMS, the cost function was set as the minimum energy consumption of the engine, motor, and integrated starter generator (ISG). Furthermore, the penalty and the relationship between input and output for the optimal search needed to be specified [28,29]. Thereby, a simulation platform for a hybrid electric motorcycle with three power sources, i.e., the engine, motor, and ISG, was constructed. Then, through HIL as the effective testing method, the performance, energy efficiency, and some other related data could be obtained and evaluated.

2. System Configuration and Dynamic Model

The schematic configuration of the hybrid electric motorcycle with three power sources in this study is shown in Figure 1. The basic specifications of the drivetrain, engine, and ISG were mainly based on a commercially available motorcycle called the Honda PCX Hybrid. Moreover, a 48-V driving motor, a lithium-ion battery, a continuously variable transmission (CVT), and a final drive were included. The control strategy was formulated to optimize the power distribution among three power sources based on instant data of minimum equivalent fuel consumption. The main specifications of the test motorcycle are listed in Table 1.
The test motorcycle was a type of parallel hybrid. The engine was coaxially coupled with the ISG. The ISG was placed between the engine and CVT. The driving motor was mechanically coupled to the final drive gear and the output shaft of the CVT. Finally, the final drive was directly linked to the rear wheel for propulsion. The simulation procedure of the test drive is stated below. The control model tracked the instant driving pattern. This information was imported into the control model of energy management to evaluate it with respect to the instant condition of power distribution. Then, a demanded vehicle speed for the simulation platform was generated and compared with the actual vehicle speed simulated from the vehicle dynamic model. The resulting error of driving speed was transmitted to the driver model where the instant throttle opening and braking torque were calculated based on proportional integral (PI) control. Then, this evaluated torque command was transferred to the energy management system where an appropriate distribution ratio of torque outputs was computed with reference to the instant state of charge (SOC) of the battery and the torque constraints of power source. These evaluated torque commands were sent to the three models of power source. Then, the actual vehicle speed at the next time step could be calculated via the motorcycle dynamics model.

2.1. Driving Cycle Model

The motorcycle density in Taiwan is now the highest in Asia. Even though motorcycles are smaller than cars, their total emissions of pollutants are relatively higher. All the newly produced motorcycles are required to be tested for the emission of pollutants under the specific driving cycle, and they can only be put onto the market when the test is passed. In order to simulate the performance and energy consumption of the test motorcycle when actual driving on roads, the world motorcycle test cycle (WMTC), in compliance with the Stage 6 Gasoline Vehicle Emissions Standards in Taiwan, was utilized, as shown in Figure 2. According to the testing regulations of Taiwan driving cycles in WMTC Class 1, this research focused on engine displacement < 150 cc and maximal speed < 100 km/h, referring to urban driving. The total driving time and maximum driving speed for WMTC were 600 s and 50 km/h, respectively.

2.2. Driver Model

The driver model in the simulation platform was used to simulate the driver’s control and operational response for the accelerator and brake. The actual vehicle speed and demanded vehicle speed plus the difference between them calculated from the simulation platform were input into the driver model and converted to the required throttle opening and brake torque as outputs via the PI controller for modulating the vehicle dynamics at the next instant.

2.3. Engine Model

The specifications of the internal combustion engine model in this study were adopted from the original design data of the Honda PCX Hybrid and, accordingly, the brake specific fuel consumption (BSFC) in terms of engine torque and rotational speed was constructed. Then, the required torque output of the engine plus that of the ISG due to the coaxial coupling between the engine and ISG was sent to the CVT model.

2.4. Motor and ISG Model

The type of motor used for the motor and ISG models was a brushless DC motor. The torque commands of the motor and ISG were sent from the energy management system to the motor and ISG models where the appropriate torque for propulsion was evaluated by considering the maximum physical constraint for protection. The corresponding efficiencies of the motor and ISG can be calculated through two-dimensional (2D) look-up tables in terms of input torque and rotational speed as shown below.
η m ( t ) = f ( T m ( t ) ,   N m ( t ) ) ,
η i s g ( t ) = f ( T i s g ( t ) ,   N i s g ( t ) ) ,
where η m is the efficiency of the motor, T m is the torque of the motor, N m is the rotational speed of the motor, η i s g is the efficiency of the ISG, T i s g is the torque of the ISG, and N i s g is the rotational speed of the ISG.

2.5. Lithium-Ion Battery Model

A lithium-ion battery was used to provide the electric energy to the driving motor and ISG. The relationships between internal resistance and voltage were obtained from the experimental data, allowing the SOC of the battery to be estimated. Since the precision of estimating the SOC affects the vehicle dynamics and strategy of energy management, an internal resistance model was adopted. Accordingly, the equivalent internal resistance of battery was expressed in terms of SOC and temperature, as shown below.
R b = R b ( S O C , T b ) ,
where SOC is in a range of 0–1 (0%–100%). The formula to calculate SOC is described as
S O C = S O C i n t × A H I b 3600 d t S O C i n t × A H ,
where S O C i n t is the initial state of charge of the battery, A H is the nominal capacity of the battery, I b is the discharging current of the battery, I b is the current flowing to the motor, and ISG is calculated based on the following expression:
I b = V O C V O C 2 4 × P b × R b 2 × R b ,
where V O C is the open-circuit voltage of the battery that is a function of SOC and T b , i.e., V O C = V O C ( S O C , T b ) , and determined by a look-up table from experimental data; P b is the power of the motor or ISG. Then, the voltage of the battery under charge/discharge loading, V L , can be calculated as follows:
V L = V O C I b × R b .

2.6. CVT Model

The CVT model was used to calculate the required torque and rotational speed of the engine coupled with the ISG via the CVT transmission system. The output torque and rotational speed of the CVT were related to those of the wheel, T w and N e , through the final drive with a final speed reduction ratio. According to the original data of the Honda PCX Hybrid, two one-dimensional (1D) lookup tables of the gear ratio and gear efficiency versus the engine speed were constructed, as shown in Figure 3.

2.7. Motorcycle Dynamics Model

Considering the various types of resistance in driving, the wheel driving force is mainly the sum of air resistance, rolling resistance, grade resistance, braking force, and inertia resistance. Based on this mathematics model of dynamics, the rotational speed of wheel and vehicle speed at every instant could be calculated, serving as feedback to the CVT model and driver model for correcting the instantaneous motion of the motorcycle. Accordingly, the acceleration of the motorcycle in terms of the various forces and resistances mentioned above can be written as
m v d V v d t = T f η f R w 1 2 ρ a C d A f V v 2 μ m v g cos ( θ ) m v g sin ( θ ) F b r k ,
where m v is the gross vehicle mass, i.e., the sum of vehicle mass and driver mass,   T f is the torque of the drivetrain, R w is the tire radius, η f is the total efficiency of the drivetrain, μ is the coefficient of rolling resistance, g is the acceleration of gravity, C d is the coefficient of air drag, A f is the frontal area of motorcycle, ρ a is air density, F b r k is the braking force, V v is the vehicle speed, and θ is the inclined angle.

2.8. HIL Architecture

In this study, the HIL system of HEV consisted of two real-time Arduino DUE controllers, as shown in Figure 4. One served as the embedded system of the vehicle called the energy management system, and the other acted as the vehicle simulation platform comprising the driving cycle, driver, motor, ISG, engine, lithium-ion battery, CVT, and motorcycle dynamics models. A transit circuit of UART to USB was required for the computer to communicate with the Arduino controllers through the interface pin locations named UART, SPI, andI2C. Furthermore, the Simulink Support Package for Arduino Hardware in Matlab/Simulink® (2017a, MathWorks, Natick, MA, USA) was utilized to connect with the HIL system so that a real-time simulation model could be built.
The schematic diagrams of the input/output interface between two real-time controllers and the software structure for the energy management system controller are illustrated in Figure 5 and Figure 6, respectively. To manage the insufficient analog outputs of the microcontroller, the digital outputs were combined with analog signals as shown in Figure 5 and Figure 6. By using the signal scale transform, the resolution of the analog signal was maximized. Furthermore, for the digital-to-analog transformation, values 0–4095 represent 0.56–2.76 V of output voltage. Therefore, the initial value needed to be compensated for the signal inverse as best as possible. The simulation process is briefly described below. Initially, the information of actual and demanded speeds of the vehicle were taken from the driving cycle model and transmitted to the driver model. Then, the demanded torque of vehicle, T d e m , was calculated based on PI control. In addition, the SOC was evaluated via the lithium-ion battery model, and the rotational speed of the engine, as well as the ISG, N e , was determined through the CVT model. These three variables, i.e., T d e m , SOC, and N e , were converted to voltage signals as shown in the input interface of Figure 5 and then directed to the receiving port of the controller of the energy management system as shown in Figure 6. Based on these input data, the demanded torques of the engine, motor, and ISG, as well as the switching mode, were evaluated via the energy management system model and transmitted through the transmitting port shown in Figure 6 back to the output interface of Figure 5. During the simulation, the processed variables were constantly switched between digital values and voltage signals back and forth.

3. Energy Management System

RBC and ECMS were used to develop the control strategies for the energy management system capable of optimization in favor of fuel economy. Furthermore, the physical characteristics of the related vehicle dynamics were built into mathematical models. By combining these models and strategies, various simulation cases could be performed. In consequence, the favored results of maximum energy efficiency accompanied by the optimized strategy could be attained.

3.1. RBC Method

In this study, the RBC method was utilized to establish the decision-making algorithms for driving torque distribution of three power sources for a hybrid electric motorcycle. Initially, the demanded torque of the vehicle T d e m was calculated from the energy management system through PI control, while SOC was evaluated in the lithium-ion battery model. Furthermore, N e , which is equal to the rotational speed of ISG due to their coaxial coupling, was obtained, while N m was determined via the CVT model based on a parallel configuration. Then, based on these three inputs of rotational speed, an appropriate set of driving torque distribution of three power sources was calculated through three 1D lookup tables along with the related power limitations and physical constraints. Accordingly, the demanded torques of the motor, engine, and ISG ( T m C V T , d e m , T e , d e m , and T i s g , d e m ), as well as the operation mode (Mode), were determined based on the control strategy of the energy management system.
The RBC method is briefly described below. Three driving modes were formed by two torque constraints as shown in the performance map of the engine in Figure 7. The blue line and black line in Figure 7 indicate the torque constraints of 2 kW and 6 kW, defined as “low power” and “high power”, respectively. Then, the lower-left region of the blue line is designated as the purely electric drive mode, and the region between the blue and black lines is defined as the purely engine-driven mode, while the upper-right area of the black line is set as the fully hybrid drive mode. The corresponding operational conditions are described in Table 2. The RBC strategy was based on the engine characteristics. The efficient BSFC area was chosen to be used to modify the engine output. A lower BSFC value would result in a higher engine efficiency. Therefore, from Figure 7, the low-load area was avoided to raise the average engine efficiency.
When the demanded torque of the driver (T_dem) is zero, the motorcycle is operated in the system ready mode where the demanded torques of the engine, motor, and ISG are all set to be zero. When the demanded torque of driver is greater than 0.2 Nm, the operation is switched to the purely electric drive mode, i.e., the EV mode. In this mode, if T_dem exceeds the limit of maximum engine torque (Te,max) indicated by the red dotted line in Figure 7, the motor and ISG simultaneously deliver driving torque in a ratio of 7:3; otherwise, the ratio is 8:2. When T_dem lies between the low-power and high-power lines, or the instant SOC is too low to sustain the supply of electricity for the motor and ISG, the operation is then changed to purely engine-driven mode, i.e., engine mode. In this mode, if T_dem is greater than Te,max, the deficiency of engine torque is supplemented with the assistance of the motor. The output torques of the engine and motor are in a ratio of 7:3. Otherwise, the demanded torque is totally supported by the engine. Now, if T_dem is beyond the high-power limit, the operation enters into boost mode. In this mode, the genset mode is activated at SOC < 0.2, while the safety mode is on if both T_dem = 0 and SOC = 0.

3.2. ECMS Method

The power ratio (PR) was determined based on the ECMS that converts the variation of SOC into an equivalent expression of fuel consumption. Therefore, the algorithm flow was constructed as follows:
  • By constructing the performance models of the powertrain, defining the corresponding objective function, and planning a global search for optimization, the minimum solutions of equivalent fuel consumption with the optimal results of the power ratio of engine ( α ) and power ratio of motor ( β ) were then obtained. Then, the multi-dimensional table was constructed and implemented into the controller of energy management system for optimization. The power ratios of the three power sources are expressed below.
    T e = α × T d ,
    T m , C V T = β × T d × C V T ,
    T i s g = ( 1 α β C V T ) × T d ,
    T e + T i s g + T m , C V T = α T d + β C V T T d + T d α T d β C V T T d ,
    T d = T e + T i s g + T m , C V T ,
    where T d is the total demanded torque, T e is the demanded torque of the engine, T i s g is the demanded torque of the ISG, and T m , C V T is the demanded torque multiplied through the CVT.
  • The test data of the engine from the Honda PCX Hybrid motorcycle, ISG, and 48-V motor coupled with physical constraints were uploaded into the program in the form of 1D or 2D look-up tables. The tables of test data included the open-circuit voltage of battery vs. the SOC, the charge/discharge efficiency of the battery vs. the SOC and current, the charge/discharge efficiency of the motor vs. the torque and rotational speed, the BSFC of the engine vs. torque and rotational speed, and the efficiency of the ISG vs. torque and rotational speed; those of the physical constraint contained the maximum output torque of the engine vs. rotational speed, the maximum output torque of the motor vs. rotational speed, the maximum output current of the motor vs. torque and rotational speed, the maximum output torque of the ISG vs. rotational speed, the maximum output current of the ISG vs. torque and rotational speed, etc. All the quantized data mentioned above were loaded into the program so as to proceed with the optimization algorithm.
  • The global search of optimal solutions based on ECMS was executed by six for loops with respect to the discretized SOC, demanded torques, rotational speeds of the engine and motor, etc. The various operating modes were judged through conditional statements of “if–then–else” in the program. Then, required variables such as the BSFC of the engine, efficiencies of the motor and ISG, demanded torques of the engine and motor, etc. could be calculated. After that, the results of equivalent fuel consumption based on the ECMS under various conditions could be obtained and stored in a four-dimensional (4D) matrix named mf_total_boost. Therefore, the minimum equivalent fuel consumptions under various engine torques with respect to the specific SOC, rotational speed, and demanded torque could be attained and, accordingly, the optimal power ratios could be derived.
For the purpose of simplifying the algorithm of the control model so as to satisfy the heavy loads on real-time calculation for logical control in the embedded systems, the analytical procedures for determining the optimal power ratios were constructed using some key parameters among the models, such as the BSFC, efficiencies of the motor and ISG, maximum torque constraints of the three power sources, and battery parameters. Then, the optimal solutions of the power ratios with respect to the discretized input parameters, i.e., SOC, demanded torques, and rotational speeds of the engine and motor, were obtained using the global search for the minimum objective function based on the ECMS algorithm, as shown below.
J = ( m ˙ e + f ( S O C ) m ˙ m + f ( S O C ) m ˙ i s g ) + γ ,
where   J is the optimal objective function, m ˙ e is the actual consumption rate of fuel mass for the engine, f ( S O C ) is the factor as a function of the SOC, m ˙ m is the equivalent consumption of fuel mass for the motor, m ˙ i s g is the equivalent consumption of fuel mass for the ISG, and γ is the mathematical term indicating the relationship between SOC and the penalty value. Moreover, m ˙ m can be written as
m ˙ m = B S F C ¯ η m × η b × P m ,
where B S F C ¯ is the average value of B S F C , η b is the efficiency of the battery, and P m is the power of the motor. Similarly, m ˙ i s g is described below.
m ˙ i s g = B S F C ¯ η i s g × η b × P i s g ,
where P i s g is the power of the ISG.
By substituting Equations (14) and (15) into Equation (13), J becomes
J = [ m ˙ e + f ( S O C ) B S F C ¯ η m × η b × P m + f ( S O C ) B S F C ¯ η i s g × η b × P i s g ] + γ .
When a searching point exceeds the specific physical constraints, a penalty value with an extremely large number is assigned to γ ; otherwise, a normal value of zero is replaced instead, as seen below.
γ = 10 6   ( Penalty ) ; γ = 0   ( Normal ) .
The schematic diagram of the global search for the optimal energy management is shown in Figure 8. The main target was to search for optimal operating points with respect to the minimum J by computing the fuel consumption of the engine and total consumption of electric energy, along with the equivalent fuel consumption of the motor and ISG under the discretized variables of demanded torque, SOC, rotational speeds of the engine and motor, and power ratios of the engine and motor. A final optimal 4D table of distribution could be obtained by way of performing double interpolation for minimization twice, as expressed below.
J ( a , b , c , d ) = m i n [ J ( a , b , c , d , e , f ) ] .
This optimized 4D parametric table was integrated with operation modes to form a multi-dimensional table for optimal control and supervising the fuel economy of the entire system. This considerably reduced the loading for real-time computation and desirably fulfilled the requirement for real-time control of the embedded systems.

4. Simulation and Experimental Results

The simulation results for the output efficiency of the entire vehicle were obtained using an efficient algorithm consisting of an optimized 4D parametric table built into the energy management system as an embedded system. The parameter values are listed in Table 3.

4.1. HIL Simulation Results of RBC

In this section describing the simulation study, RBC was applied to the HIL system to obtain the results of torque distribution based on the required speed indicated by the WMTC. The simulated results are shown in Figure 9. In Figure 9a, the demanded speeds of the WMTC and the simulated speeds are expressed by a blue solid line and red dotted line, respectively. It can be found that the actual speeds of the hybrid electric motorcycle calculated using the proposed HIL system matched the demanded speeds with satisfactory tolerance when compared with those from the pure software simulation. Furthermore, it can be observed from Figure 9b that, whenever the vehicle started off, the simulated torques increased abnormally high, generating undesired spikes shown in the graph. This was because of the inaccuracy due to signal processing and the delay problem of data transmission between the two Arduino DUE microcontrollers, causing the torques in the HIL environment to exceed those of the software simulation.

4.2. HIL Simulation Results of ECMS

ECMS was alternatively applied to the HIL system to simulate the torque distribution based on the demanded speed indicated by the WMTC. The calculated outcomes are shown in Figure 10. Similarly, from Figure 10a, the calculated speeds of the hybrid electric motorcycle using the proposed HIL system were very close to the demanded speeds with satisfactory tolerance when compared with those from the pure software environment. In addition, Figure 10b again shows unduly high spikes of calculated torque mainly due to the inaccuracy from signal processing, transmission delay of data transmission, and AD/DA conversion between the two microcontrollers.

4.3. Energy Consumption Results

This study focused on the comparative evaluation of equivalent total fuel consumption and total energy consumption for various control methods, as well as the pure software simulation vs. the HIL simulation. The results of equivalent fuel consumption and energy consumption under the pure engine mode, RBC mode, and ECMS mode based on the software simulation are listed in Table 4. They reveal that the resulting consumptions were in descending order, and those under ECMS control were the lowest. Compared with the pure engine mode, the improvement percentages of the equivalent fuel consumption and energy consumption for ECMS were 42.77% and 44.22%, respectively.
The outcomes of equivalent fuel consumption and energy consumption under the pure engine mode, RBC mode, and ECMS mode using the HIL simulation are described in Table 5. Compared with Table 4, even though the HIL simulation was affected by the accuracy of data processing, transmission delay, and AD/DA conversion, it was found that its results were quite close to those of the pure software simulation without a significant difference. Likewise, the calculated consumptions were in descending order, and ECMS offered the best results. The improvement percentages of equivalent fuel consumption and energy consumption for ECMS with respect to the pure engine mode were 42.73% and 44.10%, respectively. The reason why the results of Table 4 and Table 5 were close is because the HIL scheme could successfully simulate the offline simulation by using two microcontrollers in real time. Moreover, it proves that the performance of analog-to-digital or digital-to-analog technology is good for signal transformation. With the same sampling time, the results demonstrate that the ECMS could be implemented with real microcontrollers.

5. Conclusions

In this study, a simulation platform for a hybrid electric motorcycle with three power sources of engine, driving motor, and ISG was proposed. This platform comprised the driving cycle, driver, lithium-ion battery, continuously variable transmission (CVT), motorcycle dynamics, and energy management system models. Furthermore, a hardware-in-the-loop simulation was performed using TWO Arduino DUE microcontrollers coupled with the required circuit to process analog-to-digital signal conversion for the input and output. The WMTC driving cycle was used for evaluating the performance characteristics and response relationship among subsystems. Control strategies used for optimization were the pure engine, RBC, and ECMS. As a result, the improvement percentages of equivalent fuel consumption and energy consumption for RBC and ECMS compared with the pure engine mode using the pure software simulation were 17.74%/18.50% and 42.77%/44.22%, respectively, while those with the HIL were 18.16%/18.82% and 42.73%/44.10%, respectively.
ECMS is a global optimal search method that searches for the optimal solution based on the system parameters and physical characteristics. The ECMS optimal results can be calculated offline in the form of a multi-dimensional matrix which is downloaded to the microcontroller of the HIL environment. Due to the significant reduction in computational load of the matrix compared to other optimal algorithms, the ECMS has strong advantages in terms of computational loading and computational time. This research successfully transformed the analog-to-digital or digital-to-analog signals without signal distortion as best as possible. At the same sampling time, the results showed that the ECMS can be practically applied with microcontrollers. Compared to the previous HIL system with a more complicated structure and expensive resources, this novel structure can be directly employed on the three-power-source hybrid motorcycles. In future development, the optimization of the microcontroller on the vehicle simulation platform is expected to enhance the accuracy and stability of signal processing so as to realize practical implementation into actual vehicles, greatly contributing to energy saving and environmental protection.

Author Contributions

Conceptualization, C.-H.W.; methodology, C.-H.W.; software, Y.-X.X. and C.-H.W.; validation, Y.-X.X.; formal analysis, C.-H.W. and Y.-X.X.; investigation, C.-H.W.; data curation, Y.-X.X.; writing—original draft preparation, C.-H.W.; writing—review and editing, C.-H.W.; visualization, C.-H.W.; supervision, C.-H.W.; project administration, C.-H.W.; funding acquisition, C.-H.W. All authors have read and agreed to the published version of the manuscript.

Funding

The authors would like to thank the Ministry of Science and Technology of the Republic of China, Taiwan, for financial support of this research under Contract No. MOST 107-2221-E-150-036 and 108-2221-E-150-012; the authors also thank the Industrial Technology Research Institute (ITRI) project for advanced vehicle control.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Capata, R. Urban and extra-urban hybrid vehicles: A technological review. Energies 2018, 11, 2924. [Google Scholar] [CrossRef] [Green Version]
  2. Passalacqua, M.; Carpita, M.; Gavin, S.; Marchesoni, M.; Repetto, M.; Vaccaro, L.; Wasterlain, S. Supercapacitor storage sizing analysis for a series hybrid vehicle. Energies 2019, 12, 1759. [Google Scholar] [CrossRef] [Green Version]
  3. Wang, D.; Song, C.X.; Shao, Y.L.; Song, S.X.; Peng, S.L.; Xiao, F. Optimal control strategy for series hybrid electric vehicles in the warm-up process. Energies 2018, 11, 1091. [Google Scholar] [CrossRef] [Green Version]
  4. Solouk, A.; Shahbakhti, M. Energy optimization and fuel economy investigation of a series hybrid electric vehicle integrated with diesel/RCCI engines. Energies 2016, 9, 1020. [Google Scholar] [CrossRef] [Green Version]
  5. Zou, Y.; Liu, T.; Sun, F.C.; Peng, H. Comparative study of dynamic programming and pontryagin’s minimum principle on energy management for a parallel hybrid electric vehicle. Energies 2013, 6, 2305–2318. [Google Scholar]
  6. Chen, J.S. Energy efficiency comparison between hydraulic hybrid and hybrid electric vehicles. Energies 2015, 8, 4697–4723. [Google Scholar] [CrossRef] [Green Version]
  7. Fan, J.X.; Zhang, J.Y.; Shen, T.L. Map-based power-split strategy design with predictive performance optimization for parallel hybrid electric vehicles. Energies 2015, 8, 9946–9968. [Google Scholar] [CrossRef] [Green Version]
  8. Qin, F.Y.; Xu, G.Q.; Hu, Y.; Xu, K.; Li, W.M. Stochastic optimal control of parallel hybrid electric vehicles. Energies. Energies 2017, 10, 214. [Google Scholar] [CrossRef]
  9. Road Vehicles-Functional Safety-Part 1~10; ISO/DIS 26262-1~10; International Organization for Standardization: Geneva, Switzerland, 2009.
  10. Sayadi, H.; Makrani, H.M.; Randive, O.; PD, S.M.; Rafatirad, S.; Homayoun, H. Customized machine learning-based hardware-assisted malware detection in embedded device. In Proceedings of the 17th IEEE International Conference on Trust, Security and Privacy in Computing and Communications (IEEE TrustCom-18), New York, NY, USA, 1–3 August 2018. [Google Scholar]
  11. Maclay, D. Simulation gets in the loop. IEE Rev. 1997, 43, 109–112. [Google Scholar] [CrossRef]
  12. Sung, C.O. Evaluation of motor characteristics for hybrid electric vehicles using hardware-in-the-loop concept. IEEE Trans. Veh. Technol. 2005, 54, 817–824. [Google Scholar]
  13. Yang, C.; Deng, K.J.; He, H.X.; Wu, H.C.; Yao, K.; Fan, Y.Z. Real-time interface model investigation for MCFC-MGT HILS hybrid power system. Energies 2019, 12, 2192. [Google Scholar] [CrossRef] [Green Version]
  14. Kotsampopoulos, P.; Georgilakis, P.; Lagos, D.T.; Kleftakis, V.; Hatziargyriou, N. FACTS providing grid services: Applications and testing. Energies 2019, 12, 2554. [Google Scholar] [CrossRef] [Green Version]
  15. Sheu, K.B. Simulation for the analysis of a hybrid electric scooter powertrain. Appl. Energy 2008, 85, 589–606. [Google Scholar] [CrossRef]
  16. Tzeng, S.C.; Huang, K.D.; Chen, C.C. Optimization of the dual energy-integration mechanism in a parallel-type hybrid vehicle. Appl. Energy 2005, 80, 225–245. [Google Scholar] [CrossRef]
  17. Erdinc, O.; Vural, B.; Uzunoglu, M. A wavelet-fuzzy logic based energy management strategy for a fuel cell/battery/ultra-capacitor hybrid vehicular power system. J. Power Sources 2009, 194, 369–380. [Google Scholar] [CrossRef]
  18. Sunddararaj, S.P.; Rangarajan, S.S.; Gopalan, S. Neoteric fuzzy control stratagem and design of chopper fed multilevel inverter for enhanced voltage output involving plug-in electric vehicle (PEV) applications. Electronics 2019, 8, 1092. [Google Scholar] [CrossRef] [Green Version]
  19. Katrašnik, T. Analytical method to evaluate fuel consumption of hybrid electric vehicles at balanced energy content of the electric storage devices. Appl. Energy 2010, 87, 3330–3339. [Google Scholar] [CrossRef]
  20. Liu, X.X.; Qin, D.T.; Wang, S.Q. Minimum energy management strategy of equivalent fuel consumption of hybrid electric vehicle based on improved global optimization equivalent factor. Energies 2019, 12, 2076. [Google Scholar] [CrossRef] [Green Version]
  21. Hung, Y.H.; Tung, Y.M.; Li, H.W. A real-time model of an automotive air propulsion system. Appl. Energy 2014, 129, 287–298. [Google Scholar] [CrossRef]
  22. Chen, Z.; Mi, C.C.; Xu, J.; Gong, X. Energy management for a power-split plug-in hybrid electric vehicle based on dynamic programming and neural networks. IEEE Trans. Veh. Technol. 2014, 54, 1567–1580. [Google Scholar] [CrossRef]
  23. Škugor, B.; Petrić, J. Optimization of control variables and design of management strategy for hybrid hydraulic vehicle. Energies 2018, 11, 2838. [Google Scholar] [CrossRef] [Green Version]
  24. Wang, Y.Y.; Jiao, X.H.; Sun, Z.T.; Li, P. Energy management strategy in consideration of battery health for PHEV via stochastic control and particle swarm optimization algorithm. Energies 2017, 10, 1894. [Google Scholar] [CrossRef] [Green Version]
  25. Guerrero, J.I.; Personal, E.; García, A.; Parejo, A.; Pérez, F.; León, C. Distributed charging prioritization methodology based on evolutionary computation and virtual power plants to integrate electric vehicle Fleets on smart grids. Energies 2019, 12, 2402. [Google Scholar] [CrossRef] [Green Version]
  26. Chen, S.Y.; Wu, C.H.; Hung, Y.H.; Chung, C.T. Optimal strategies of energy management integrated with transmission control for a hybrid electric vehicle using dynamic particle swarm optimization. Energy 2018, 160, 154–170. [Google Scholar] [CrossRef]
  27. Yuan, G.H.; Yang, W.X. Study on optimization of economic dispatching of electric power system based on hybrid intelligent algorithms (PSO and AFSA). Energy 2019, 183, 926–935. [Google Scholar] [CrossRef]
  28. Hung, Y.H.; Wu, C.H. An integrated optimization approach for a hybrid energy system in electric vehicles. Appl. Energy 2012, 98, 479–490. [Google Scholar] [CrossRef]
  29. Hung, Y.H.; Wu, C.H. A combined optimal sizing and energy management approach for hybrid in-wheel motors of EVs. Appl. Energy 2015, 139, 260–271. [Google Scholar] [CrossRef]
Figure 1. The schematic configuration of the test motorcycle.
Figure 1. The schematic configuration of the test motorcycle.
Energies 13 00022 g001
Figure 2. Speed profile of the world motorcycle test cycle (WMTC) driving cycle.
Figure 2. Speed profile of the world motorcycle test cycle (WMTC) driving cycle.
Energies 13 00022 g002
Figure 3. Gear ratio and gear efficiency vs. time for continuously variable transmission (CVT).
Figure 3. Gear ratio and gear efficiency vs. time for continuously variable transmission (CVT).
Energies 13 00022 g003
Figure 4. Hardware-in-the-loop (HIL) architecture for heavy-duty motorcycle.
Figure 4. Hardware-in-the-loop (HIL) architecture for heavy-duty motorcycle.
Energies 13 00022 g004
Figure 5. Schematic diagram of the input/output interface between two real-time controllers.
Figure 5. Schematic diagram of the input/output interface between two real-time controllers.
Energies 13 00022 g005
Figure 6. Schematic diagram of the software structure for the energy management system controller.
Figure 6. Schematic diagram of the software structure for the energy management system controller.
Energies 13 00022 g006
Figure 7. Constraint diagram for rule-based control (RBC) strategy.
Figure 7. Constraint diagram for rule-based control (RBC) strategy.
Energies 13 00022 g007
Figure 8. Schematic diagram of software configuration of the global search for the optimal energy management.
Figure 8. Schematic diagram of software configuration of the global search for the optimal energy management.
Energies 13 00022 g008
Figure 9. (a) Vehicle speed of driving cycle vs. time for the RBC + HIL; (b) torque distribution vs. time for RBC + HIL.
Figure 9. (a) Vehicle speed of driving cycle vs. time for the RBC + HIL; (b) torque distribution vs. time for RBC + HIL.
Energies 13 00022 g009
Figure 10. (a) Vehicle speed of driving cycle vs. time for equivalent consumption minimization strategy (ECMS) + HIL; (b) torque distribution vs. time for ECMS + HIL.
Figure 10. (a) Vehicle speed of driving cycle vs. time for equivalent consumption minimization strategy (ECMS) + HIL; (b) torque distribution vs. time for ECMS + HIL.
Energies 13 00022 g010
Table 1. The main specifications of the test motorcycle. CVT—continuously variable transmission.
Table 1. The main specifications of the test motorcycle. CVT—continuously variable transmission.
ItemParameters
VehicleWeightCurb (kg)≤225
Gross (kg)285
PropulsionEngineTypeInternal combustion engine
Peak power (kW)9 kW/8500 rpm
Peak torque (Nm)11.8 Nm/3000 rpm
MotorTypePermanent magnet synchronous motor
Peak power (kW)3 kW/2500 rpm
Peak torque (Nm)12 Nm/2500 rpm
Integrated starter generatorTypePermanent magnet synchronous motor
Peak power (kW)1.2 kW/3000 rpm
Peak torque (Nm)6 Nm/3000 rpm
TransmissionTypeCVT
Gear ratio2.55–0.81
Table 2. Modes and conditions in rule-based control (RBC). SOC—state of charge.
Table 2. Modes and conditions in rule-based control (RBC). SOC—state of charge.
ModeCondition
System ReadyT_dem = 0
EVT_dem > 0.2 & T_dem < low power
EngineT_dem ≥ low power & T_dem < high power||SOC < 0.2
GensetSOC < 0.2
BoostT_dem ≥ high power
SafetyT_dem = 0 && SOC = 0
Table 3. Parameter values of targeted vehicle model.
Table 3. Parameter values of targeted vehicle model.
ParameterValue
Gross vehicle mass,   m v 225 kg
Tire radius, R w 0.262 m
Air density, ρ a 1.2 kg / m 3
Frontal area of motorcycle, A f 0.5 m 2
Coefficient of air drag, C d 0.7
Coefficient of rolling resistance, μ 0.01
Inclined angle, θ 0 %
Acceleration of gravity, g 9.81 m / s 2
Total efficiency of the drivetrain, η f 95%
Initial state of charge of the battery, SOCint80%
Average value of BSFC, B S F C ¯ 372 g / kWh
Table 4. Comparison of equivalent fuel consumption and energy consumption to pure software simulation.
Table 4. Comparison of equivalent fuel consumption and energy consumption to pure software simulation.
ItemEquivalent Fuel Consumption (g)Energy Consumption (kJ)Improvement Compared to Baseline Case (%)
Pure Engine63.20092722.5-/-
RBC51.99512218.617.74/18.50
ECMS36.16981518.542.77/44.22
Table 5. Comparison of equivalent fuel consumption and energy consumption to HIL simulation.
Table 5. Comparison of equivalent fuel consumption and energy consumption to HIL simulation.
ItemEquivalent Fuel Consumption (g)Energy Consumption (kJ)Improvement Compared to Baseline Case (%)
Pure Engine63.85622750.3-/-
RBC52.25972232.618.16/18.82
ECMS36.56981537.342.73/44.10

Share and Cite

MDPI and ACS Style

Wu, C.-H.; Xu, Y.-X. The Optimal Control of Fuel Consumption for a Heavy-Duty Motorcycle with Three Power Sources Using Hardware-in-the-Loop Simulation. Energies 2020, 13, 22. https://doi.org/10.3390/en13010022

AMA Style

Wu C-H, Xu Y-X. The Optimal Control of Fuel Consumption for a Heavy-Duty Motorcycle with Three Power Sources Using Hardware-in-the-Loop Simulation. Energies. 2020; 13(1):22. https://doi.org/10.3390/en13010022

Chicago/Turabian Style

Wu, Chien-Hsun, and Yong-Xiang Xu. 2020. "The Optimal Control of Fuel Consumption for a Heavy-Duty Motorcycle with Three Power Sources Using Hardware-in-the-Loop Simulation" Energies 13, no. 1: 22. https://doi.org/10.3390/en13010022

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop