1. Introduction
With the rapid development of the automobile industry, the problems of energy shortage and environmental pollution become increasingly prominent [
1]. Nowadays, the green revolution in the automobile industry has become a major trend. As a heavy construction vehicle, concrete mixer trucks have high fuel consumption and emissions, which is a pressing problem. An extended-range concrete mixer truck is a good solution. The extended-range concrete mixer truck has two power sources: an auxiliary power unit (APU) and battery pack [
2]. The APU is composed of an engine and generator, and the engine drives the generator to generate electricity for the vehicle [
3]. Since the engine operates independently of the driving conditions, it can operate stably in the optimal working area, which can save fuel while extending the range. The extended-range vehicles are widely recognized as the ideal vehicles for the transition from traditional engineering vehicles to pure engineering electric vehicles.
When the APU is in power generation mode, the improvement in fuel economy and efficiency mainly relies on the control strategy of APU [
4,
5]. The auxiliary power control unit (APCU) decouples the target power sent by the VCU into target speed and target torque. The engine speed is controlled by adjusting the throttle opening and the generator torque is controlled by vector control method to adjust the generator current. However, due to the highly nonlinear and strong coupling between the engine and generator in the APU [
6], in actual conditions, it is usually difficult for the APU to adjust quickly and stably to meet the power demand of the vehicle and output target power under minimum fuel consumption. The phenomena of long regulation time, large overshoot and steady-state error often occur. The dynamic response of the engine and generator are very different; therefore, the coordination control of the engine and generator to improve the dynamic performance, stability and efficiency of APU is of crucial importance.
In terms of the coordination control of APU, researchers have proposed many control strategies [
7,
8]. Nowadays, there are mainly two control strategies. One is to control the engine speed and the generator torque. The generator torque is the load of the engine [
9,
10,
11]. The other is to control the generator speed and engine torque. The engine torque is the load of the generator. Although the second strategy outputs power faster, when the engine torque changes suddenly, the APU speed will change, which can easily cause speed fluctuation in the generator. In addition, since the current of the generator is more stable and the output torque is more accurate than that of the engine, the first strategy can reduce the vibration between engine and generator during the APU start-up phase. Therefore, we control the engine speed and the generator torque for a better control effect.
With the development and application of global optimization algorithms, some researchers have applied them to the coordination control of the APU for optimization, which has further improved the dynamic property and stability of the APU. Specifically, this has included particle swarm optimization (PSO) [
12], a genetic algorithm (GA) [
13,
14], dynamic programming (DP) [
15,
16], model predictive control (MPC) [
17,
18], sliding mode control (SMC) [
19,
20] and neural network (NN) [
21].
In [
22], a cascade PID-based controller was established to control the speed and torque of the powertrain; the results show that the method has a high control accuracy. Taking the minimum fuel consumption as the control goal, Barsali et al. [
23] used a fuzzy prediction algorithm to control the engine speed to make it operate at the optimal operating curve. Darwich et al. [
24] used a PSO algorithm to solve the optimal problem of nonlinear system; the engine speed and generator torque are optimized through the global exploration ability of particle swarms to achieve efficient control of the APU.
A neural network algorithm is used to optimize the PID tuning to realize the real-time adjustment of the engine speed [
25]. In order to improve the robustness and stability of the system, a sliding mode optimum control algorithm is used in the coordination control of the APU [
26]. In [
27], a control strategy combining fuzzy logic and adaptive optimal control was proposed to optimize the transient response of the hybrid powertrain. In [
28], a strategy combining SMC technology with first-order low pass filter and adaptive PID controller was proposed, which can optimize the control parameters
KP,
KI and
KD of PID controller online in a short time. Kang et al. [
29] used the MPC strategy to optimize the engine speed and generator torque online, which greatly improves the power response speed of the APU.
At present, PID controllers are mostly used in the coordinated control of the APU, but due to the strong coupling characteristics of the APU, it is difficult for a single PID control to ensure that the range extender system achieves good dynamics, stability and fuel economy. The fuzzy PID can adjust the control parameters of the PID in real time but relies excessively on the fuzzy rules. The parameters of the fuzzy controller remain unchanged and optimal control cannot be achieved. Therefore, we adaptively optimize fuzzy control parameters by PSO to improve the stability and robustness of the system. According to the working status of the APU, the PID control parameters are adjusted in real time to improve the system adjustment speed and steady-state accuracy, and reduce the amount of overshoot. In this work, the APU power tracking control strategy is proposed. The strategy uses a fuzzy PID algorithm for dual closed-loop control of engine speed and generator torque, and the PSO algorithm is utilized to correct the PID tuning parameters. To minimize fuel consumption, the APU fuel consumption characteristics map is obtained through coupling, and the engine fuel consumption map and generator efficiency map are calculated. Further, the optimal operating curve is also obtained. The target power is decoupled into target engine speed and target generator torque according to the optimal operating curve of APU. The strategy controls APU tracking target power by adjusting the engine speed and generator torque to a certain target value in a dual closed loop. Through the fuzzy adaptive PID algorithm based on PSO, the engine speed and generator torque are adjusted to the target values. As a result, the APU responds to the target power more quickly, accurately and stably. Finally, a hardware in the loop (HIL) test platform is built to verify the effectiveness and reliability of the control strategy. The proposed control strategy has good application prospects in efficient and stable control of the APU.
4. Experiment and Analysis
In this section, the effectiveness and real-time performance of the control strategy are verified through an HIL test. The power response characteristic test of the coordination control strategy is completed at various working conditions. The PID control strategy, fuzzy PID control strategy and fuzzy adaptive PID coordination control strategy based on PSO are all tested and compared, and the test results are statistically analyzed.
4.1. HIL Test Platform
The HIL test platform is shown in
Figure 13. It mainly consists of the real-time system, upper computer software and APU controller. The chip of APU controller is XC2267M, manufactured by Infineon in Munich, Germany. Connect the actual controller to the simulation platform. The real-time system simulates the operation state of the APU and the signals are transferred among the upper computer, controller and real-time system through a CAN bus. The HIL system runtime is synchronized with real time, so it can accurately reflect the control effect of the control strategy.
We build a real-time system based on xPC-Target environment, which operates in “dual-computer mode”. The real time system is composed of the target computer and the host computer. The target computer is composed of a processor, CAN communication board, analog resistance board, etc., which is used to carry the powertrain model of the APU and drive the program code. The host computer is responsible for building the model and monitoring the status of the target computer. The function configuration of the main ports of the real-time system is shown in
Table 6.
4.2. HIL Test
The HIL system adopts a real controller, which can restore real computing environment and sampling time. In order to verify the feasibility and real-time performance of the proposed fuzzy adaptive PID coordination control strategy based on PSO, power response tests under different working conditions are carried out on the HIL test system.
The target power variation for simulation testing is set as 0–1–3–6–10–15–21–28–36–45–55 kW to study the power response at power transitional conditions. The target power increments of this working condition are 1–2–3–4–5–6–7–8–9–10 kW per second. As
Figure 14 shows, when the target power is small, the APU responds quickly and it can control the engine and ISG to execute the corresponding commands in time. With the increase in the amount of power change per unit time, the power regulation time gradually increases, but the overshoot and steady-state error are both within 1 kW. During the test, when the regulation time is less than 1 s, the power tracking effect can be achieved.
In order to further verify the power tracking effect of the control strategy when the operating point is switched, we use three working conditions for the HIL test, as
Table 7 shows.
For the APCU, the response effect of target power is mainly evaluated by the performance index such as overshoot, regulation time and steady-state error at transitional conditions. In this paper, taking power transition from 45 kW to 55 kW in working condition 1, power transition from 20 kW to 30 kW in working condition 2 and power transition from 50 kW to 60 kW in working condition 3 as transitional conditions, the control strategy is validated. The target power for all these three transition conditions is 10 kW per second, and these three transition conditions cover multiple typical power variation intervals, so the control strategy can be validated comprehensively.
Figure 15 is the HIL test results. From
Figure 15, we can see that in the early adjustment stage, the PID control strategy has the phenomenon of oscillation and the largest steady-state error, but it can still meet the power demand. Combined with the test data in
Table 8, we know that the fuzzy PID control strategy has obvious improvement in terms of overshoot and steady-state error compared with traditional PID control strategy, but the regulation time is relatively increased. The fuzzy adaptive PID coordination control strategy based on PSO has the steady-state power closest to the target power as well as the minimal adjustment time and overshoot. The fuzzy adaptive PID coordination control strategy based on PSO has the best control effect. Compared with the PID control strategy, the overshoot, regulation time and steady-state error of the fuzzy adaptive PID coordination control strategy based on PSO are reduced by 55.1%, 11.1% and 77.3%, respectively, which has the best control effect.
The HIL test results indicate that the fuzzy adaptive PID coordination control strategy based on PSO has the best power response effect and control performance, which can effectively reduce the overshoot, regulation time and steady-state error. The proposed control strategy can not only coordinate the control engine and ISG, but also improve the power response speed and stability of APU on the basis of operating at minimum fuel consumption. Regular methods require frequent parameter adjustments to adapt to environmental variations, which is cumbersome. Meanwhile, the proposed PSO_FUZZY_PID can adaptively regulate the parameters, which enables it to be better applied in various operation scenarios.
5. Conclusions
In this paper, three speed-torque adjustment modes are proposed for the control of engine speed and ISG motor torque, and the control performance of simultaneous speed and torque adjustment is proved to be the best through simulation verification. On this basis, the FUZZY_PID and PSO_FUZZY_PID control algorithms are designed to optimize and adjust the control parameters of the system in real time, which have good simulation results. A fuzzy adaptive PID coordination control strategy based on PSO was proposed. HIL test results show that the proposed control strategy can coordinate the operation of the engine and ISG. The strategy can make the APU output the target power quickly and accurately by controlling the engine speed and ISG torque in a dual closed loop. Moreover, it can control the APU to generate power efficiently and stably on the basis of operating at minimum fuel consumption. Compared with PID control strategy, the fuzzy adaptive PID coordination control strategy based on PSO has a 55.1% decrease in power overshoot, 11.1% decrease in regulation time and 77.3% decrease in steady-state error.
The developed range extender control system and control strategy are carried out on the simulation platform, and the follow-up work will be tested on the bench and the real vehicle to further verify its effectiveness and feasibility.