Next Article in Journal
Perceptions of Autonomous Vehicles: A Case Study of Jordan
Previous Article in Journal
Construction of Nitrogen Content Observer for Fuel Cell Hydrogen Circuit Based on Anode Recirculation Mode
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Coordinated Control Strategy for Drive Mode Switching of Double Rotor In-Wheel Motor Based on MPC and Control Allocation

School of Mechanical Engineering, Anyang Institute of Technology, Anyang 455000, China
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2023, 14(5), 132; https://doi.org/10.3390/wevj14050132
Submission received: 15 April 2023 / Revised: 9 May 2023 / Accepted: 18 May 2023 / Published: 20 May 2023
(This article belongs to the Topic Advanced Electric Vehicle Technology)

Abstract

:
To overcome the problems existing in the practical application of traditional in-wheel motors used for electric vehicles, an integrated double rotor in-wheel motor was proposed, which can realize three drive modes to meet variable operating condition requirements of the vehicle. The process of switching between different drive modes affects the ride comfort of a vehicle. Taking the mode switching from a single inner motor drive to a dual-motor coupling drive as a research object, a dynamic modeling method of drive mode switching based on the switching system was proposed. According to the critical conditions of each state transition, the switching rules expressed by the segmental constant function were designed. At the engagement stage of electromagnetic clutch II, the torque coordination control strategy based on model predictive control (MPC) and control allocation was proposed. The simulation results show that the proposed strategy can effectively reduce the impact degree of a vehicle and the slipping-friction work of the clutch on the premise of ensuring the fast response of mode switching and the steady increase in vehicle speed. The switching quality of the mode-switching process is effectively improved. In addition, the drive mode switching control of the double rotor in-wheel motor prototype was tested, which proves its ability to operate in multi-drive mode.

1. Introduction

Double rotor motor (DRM) is a new type of electric power coupling mechanism proposed more than ten years ago, which has the functions of continuously variable speed, variable torque and starting engine and can realize all the operating modes of traditional series–parallel hybrid electric vehicles (HEV). Therefore, it is considered a feasible alternative to the mechanical power coupling system. Zheng et. al. [1] proposed the concept of using a four-quadrant transducer (4QT) in the power train of HEV, which was integrated radially by two permanent-magnet synchronous machines. Xu et. al. [2] explored a dual mechanical port (DMP) electric machine and discussed the salient features and suitability of a DMP machine for HEVs. Pisek et. al. [3] presented a double-rotor permanent magnet synchronous machine used in HEVs as a four-quadrant drive system. The no-load, load and temperature rise characteristics were analyzed. Xiang et. al. [4] proposed a dual mechanical port flux-switching permanent magnet motor used potentially for HEVs. With the advantages of a compact structure and efficient transmission, an in-wheel motor-driven electric vehicle has become a typical representative of the development direction of future electric vehicles [5,6,7]. However, the existing inner-rotor and outer-rotor in-wheel motors have some problems in practical application, which have limited applications. In particular, their operating points cannot always be maintained in the high-efficiency zone under full driving conditions. Therefore, an integrated double rotor in-wheel motor (DRIWM) is proposed in this paper. It has three drive modes, such as single drive and coupling drive for the inner and outer motors, which can give full play to the high-efficiency characteristics of the two motors under different driving conditions. Now, there are few research reports about the DRIWM, and there are only some patent applications. Literature [8] presented a DRM applied to an in-wheel driven electric vehicle, and only the outer rotor was used for driving. Literature [9] proposed an electric wheel based on DRM, but its inner rotor was used for driving and the outer rotor was used for recovering braking energy. Literature [10] proposed a wheel-side power drive system based on DRM, which also had only one drive mode. There are no specific descriptions of the drive mode of in-wheel motor drive systems based on DRM in Literature [11] and Literature [12]. Only one drive mode is provided in the structural schemes mentioned above, which cannot meet the requirements of actual driving conditions. For electric vehicles with multiple drive modes, impact and vibration of the transmission system will be caused in the process of mode switching. In order to improve the ride comfort of vehicles, scholars at home and abroad have conducted relevant studies on torque coordination control in the mode-switching process. Huang et al. [13] presented a model reference adaptive controller for series–parallel HEVs during the mode shift, which decreases the vehicle jerk and frictional loss of clutch. He et al. [14] divided the mode-switching process of parallel HEV into three stages based on the switching system, and designed a fuzzy-PI controller and an adaptive sliding-mode controller to coordinate the torque of the engine and motor, which realize the continuity of power transmission. Zhang et al. [15] took a dual-mode series–parallel electromechanical compound transmission system as object and proposed a control strategy based on MPC for torque coordination, which effectively reduces the torque ripple of the output shaft and the sliding friction loss of clutch. Lin et al. [16] proposed a coordinated control strategy based on MPC for the mode-switching process of HEVs with clutch engagement, which effectively suppresses the vehicle jerk and improves the ride comfort. Hu et al. [17] took the jerk as an optimization objective and proposed a torque control strategy for a dual-motor coupled drive system during mode switching, which realized an interruption-free transmission of power. Zeng et al. [18] proposed a dynamic coordinated switching strategy for the dual-motor system of electric CVT according to the torque compensation characteristics of the motor, which significantly reduced the jerk of the vehicle.
When the three drive modes of the DRIWM switch, it is necessary to control the engagement or disengagement of different electromagnetic clutches. The mode-switching processes show the hybrid characteristics of both continuous and discrete dynamic variables. During the drive mode switching process of the DRIWM, how to achieve torque coordination control of the inner motor, outer motor and electromagnetic clutch so as to ensure the switching quality is the key problem to be solved. Considering these problems, a dynamic model of mode switching was established according to the switching system theory, and a torque coordination control strategy based on MPC and control allocation was proposed.
The rest of this paper is organized as follows: the structure and drive modes of the DRIWM are first introduced in Section 2. Taking the mode switching from a single inner motor drive to a dual-motor coupling drive as the research object, the model of the mode switching dynamic system is established based on the switching system theory in Section 3. The torque coordination control strategy based on MPC and control allocation is proposed for the engagement stage of electromagnetic clutch II in Section 4. The effectiveness of the proposed strategy is verified by simulation in Section 5. The DRIWM prototype is made and the drive mode switching control is tested in Section 6. Section 7 draws a conclusion and points out the direction of further research.

2. Structure and Drive Modes of the DRIWM

2.1. Structural Scheme

The structure of the proposed DRIWM is shown in Figure 1, which integrates the DRM, electromagnetic clutch I/II, planetary gears and output shaft. The inner rotor and outer rotor of the DRM are arranged, respectively, on the inner and outer sides of the middle stator. Figure 2 shows the cross-section of the DRM. From the perspective of structure, it can be regarded as the combination of an inner rotor motor and an outer rotor motor in radial space. The ring gear is fixedly connected to the inner wall of the motor shell. Electromagnetic clutch II is arranged between the inner rotor and the sun gear, and electromagnetic clutch I is arranged between the outer rotor and the planet carrier. The powers of the inner and outer motors are transferred to the output shaft through the planet carrier.

2.2. Drive Modes Analyses

As shown in Table 1, by controlling the engagement and disengagement of electromagnetic clutch I and electromagnetic clutch II, the DRIWM can operate in three different drive modes, such as single inner motor drive (SIM), single outer motor drive (SOM), and dual-motor coupling drive (DMC).
  • Single inner motor drive. In this mode, electromagnetic clutch I and electromagnetic clutch II are disengaged and engaged, respectively. As shown in Figure 3, the power of the inner motor is transferred to the wheel through the sun gear, the planet carrier and the output shaft. The inner motor can be regarded as a deceleration-driven in-wheel motor. It is mainly suitable for driving conditions with general torque demand, such as vehicle starting and low-speed driving.
2.
Single outer motor drive. In this mode, electromagnetic clutch I and electromagnetic clutch II are engaged and disengaged, respectively. As shown in Figure 4, the power of the outer motor is transferred to the wheel through the planet carrier and the output shaft. The outer motor can be regarded as a direct drive in-wheel motor. It is mainly suitable for high-speed driving conditions.
3.
Dual-motor coupling drive. In this mode, both electromagnetic clutch II and electromagnetic clutch I are engaged, the power flows of the inner and outer motors are shown in Figure 5. The driving torques of two motors are coupled at the planet carrier and then transferred to the wheel. It is mainly suitable for driving conditions with high torque demand, such as the vehicle climbing or acceleration at a low speed.

3. Dynamic Modeling of Drive Mode Switching Process of the DRIWM

3.1. Description of the Drive Mode Switching

During the switching processes of the three drive modes of the DRIWM, not only continuous variable dynamic behaviors are included, such as vehicle speed, SOC of battery, etc., but also some discrete event actions are included, such as engagement/disengagement of electromagnetic clutch I and electromagnetic clutch II, operation/stop of inner and outer motor, etc. These variables with different characteristics affect each other so that the drive modes switching processes of the DRIWM show typical hybrid characteristics.
In the mode switching process of the SIM drive to the DMC drive, electromagnetic clutch II will experience two working states of “slipping-friction” and “synchronous locking” at the engagement stage, and the torque transmission is non-linear. When the current torques of the inner and outer motors change to the target torque, the output torque will change greatly if the conventional control strategy is adopted. It will result in a large impact on the vehicle. Therefore, this paper takes the impact degree of the vehicle and the slipping-friction work of the clutch to evaluate the smoothness of power transmission during the mode switching, and the expressions are:
j = d a d t = d 2 v d t 2 ,
where, a is vehicle acceleration; v is vehicle speed.
W d = 0 t c ( ω 2 ω 1 ) T c d t ,
where, ω1 and ω2 are, respectively, the angular velocities of the active and driven ends of electromagnetic clutch II; Tc is the friction torque of electromagnetic clutch II; tc is the moment of the clutch locking.

3.2. Hybrid Dynamic Modeling of the Drive Mode Switching Process

The transmission system model of the mode switching from the SIM drive to the DMC drive is shown in Figure 6. When the mode-switching model is established, the transmission efficiency of each moving part is not considered, and they are regarded as rigid bodies. Jo and Ji are, respectively, the moments of inertia of the outer and inner motors; Jco1 and Jco2 are, respectively, the moment of inertia of the active and driven ends of electromagnetic clutch II; Js is the moment of inertia of the sun gear; Jci is the moment of inertia of electromagnetic clutch I (engaged state); Jpc is the moment of inertia of the planet carrier; ip is the transmission ratio of planetary gears, Teo and Tei are, respectively, the electromagnetic torque produced by the outer and inner motors; Tmi is the torque acting on the planet carrier by the inner motor, and Tmi = (1+p)Tei; TL is the load torque; p is the characteristic parameter of planetary gears.
In order to facilitate the study of torque coordination control with the consideration of the friction torque of electromagnetic clutch II, Figure 6a can be further simplified into the equivalent model shown in Figure 6b. J1 and J2 are, respectively, the equivalent moment of inertia simplified to the active and driven ends of electromagnetic clutch II, and the calculation expressions are as follows:
J 1 = J o + J c o 1 ,
J 2 = J i + J c i + J s i p 2 + J p c + J c o 2 + 1 4 m r 2 ,
where, m is vehicle mass; r is wheel radius.

3.2.1. Discrete Event Dynamic System

When the SIM drive mode switches to the DMC drive mode, the whole switching process goes through three stages: single inner motor drive, engagement of electromagnetic clutch II and dual-motor torque coupling drive, as shown in Figure 7.
Because the three stages correspond to different discrete states, the system structure and dynamic characteristics of each state are different. According to the modeling method of the switching system, set I is a finite set of discrete states, which is used to describe different states of the mode switching of the DRIWM. Therefore, set I of discrete states can be expressed as:
I = { i 1 , i 2 , i 3 } ,
where, i1 represents the SIM drive mode, i2 represents the engagement stage of electromagnetic clutch II, and i3 represents the DMC drive mode.
The discrete event set E can be expressed as:
E = { ( i 1 , i 2 ) , ( i 2 , i 3 ) } ,
where, e1 = (i1, i2) represents the transition from the SIM drive mode to the engagement stage of electromagnetic clutch II; e2 = (i2, i3) represents the transition from the engagement stage of electromagnetic clutch II to the DMC drive mode.

3.2.2. Continuous Variable Dynamic System

This system is used to describe the variation of vehicle speed under different drive torques. In the process of the SIM drive mode switching to the DMC drive mode, the dynamic equations of three different stages can be expressed as:
1.
Single inner motor drive: electromagnetic clutch II is disengaged.
J 2 ω ˙ 2 = ( 1 + p ) T e i T L ,
2.
Engagement stage of electromagnetic clutch II: electromagnetic clutch II is in the engagement.
{ J 1 ω ˙ 1 = T e o T c J 2 ω ˙ 2 = ( 1 + p ) T e i + T c T L ,
2.
Dual-motor coupling drive: electromagnetic clutch II is locked.
( J 1 + J 2 ) ω ˙ 0 = T e o + ( 1 + p ) T e i T L ,
where, ω0 is the common angular velocity of the active and driven ends of electromagnetic clutch II after it is locked, and ω1 = ω2. The corresponding sets of state variables and control variables are selected as:
{ x ( t ) = [ ω 1 , ω 2 ] u ( t ) = [ T e o , T m i , T c ] ,
Since there are three different working states in the mode-switching process, the differential equation is also different when the selected state is different. Then, the mapping relationship between the discrete states and the dynamic system with continuous variables can be expressed as:
i k f k : x ˙ ( t ) = A k x ( t ) + B k u ( t ) ( k = 1 , 2 ) ,
where, Ak is the matrix of the state variable, Bk is the matrix of the control variable, and fk is the state mapping function.

3.3. Determination of the Mode Switching Rule

Combined with the applicable working conditions of the three drive modes of the DRIWM and the switching system idea, the specific mode-switching process from the SIM drive to the DMC drive can be described as follows: when the vehicle speed is less than 60 km/h and the vehicle demand torque is less than the critical value of the mode switching torque, the system is in the SIM drive mode. When the vehicle speed is less than 60 km/h and the demand torque of the vehicle is greater than the critical value of the mode-switching torque, the outer motor starts. When the speed difference between the active and driven ends of electromagnetic clutch II is less than the threshold, the discrete event e1 is triggered and the system enters the engagement stage of electromagnetic clutch II. When the speed difference between the active and driven ends of electromagnetic clutch II is about 0, electromagnetic clutch II is locked, the discrete event e2 is triggered, and the system enters the DMC drive mode. The control flow chart of the mode switching is shown in Figure 8.
The speed difference of electromagnetic clutch II in the engagement process can be expressed as:
Δ ω c = | ω 1 ω 2 | = | ω m o 1 1 + p ω m i | ,
where, ωmo is the angular velocity of the outer motor, and ωmo = ω1; ωmi is the angular velocity of the inner motor, and ωmi = (1 + p)ω2○.
According to the control flow of the mode switching, the switching signal is represented by a segmental constant function, and then the drive mode switching rules of the DRIWM are formulated as follows:
σ ( t + ) = { 1 2 , { σ ( t ) = 1 , v < 60 , T r e q > T v max , | ω m o 1 1 + p ω m i | ω ¯ c } 3 , { σ ( t ) = 2 , v < 60 , T r e q > T v max , | ω m o 1 1 + p ω m i | 0 } ,

4. Torque Coordination Control Strategy for the Mode Switching Based on MPC and Control Allocation

From the above analysis, we will focus on the engagement stage of electromagnetic clutch II in this section. Combined with its dynamics model, the torque coordination control strategy based on MPC and control allocation was designed.

4.1. Description of the Control Allocation Problem

Equation (8) shows the relationship between the speed of the active and driven ends and the torque of the driving system in the engagement stage of electromagnetic clutch II. In order to prevent the deadlock phenomenon and algebraic loop problem in the online optimization process of model predictive control, the damping coefficients δ1 and δ2 were introduced into the active and driven ends of electromagnetic clutch II. The state variables are selected as x1(t) = ω1(t), x2(t) = ω2(t); the input variable are selected as u1(t) = Teo(t), u2(t) = Tmi(t), u3(t) = Tc(t); the output variable are selected as y1(t) = x1(t), y2(t) = x2(t); the load disturbance is d(t) = TL(t). Therefore, the state space expression of the engagement stage of electromagnetic clutch II can be written as:
{ x ˙ = A x + B u + B ˜ d y = C x ,
where, x = [ x 1 ( t ) x 2 ( t ) ] T , u = [ u 1 ( t ) u 2 ( t ) u 3 ( t ) ] T , y = [ y 1 ( t ) y 2 ( t ) ] T , d = [ 0 d ( t ) ] T , A = [ δ 1 J 1 0 0 δ 2 J 2 ] , B = [ 1 J 1 0 1 J 1 0 1 J 2 1 J 2 ] , B ˜ = [ 1 J 1 0 0 1 J 2 ] , C = [ 1 0 0 1 ] .
Meanwhile, the input variables are constrained by the following constraints:
{ T e o min u 1 ( t ) T e o max T m i min u 2 ( t ) T m i m a x T c min u 3 ( t ) T c max ,
where, Teomin, Tmimin and Tcmin are, respectively, the minima of the electromagnetic torque of the outer motor, the torque acted on the planet carrier by the inner motor, and the friction torque of electromagnetic clutch II. Teomax, Tmimax and Tcmax are, respectively, the maxima of the electromagnetic torque of the outer motor, the torque acted on the planet carrier by the inner motor, and the friction torque of electromagnetic clutch II.
Since there are three control input variables and two output variables in the state space of the above system, this is an overdriven system with input constraints and control redundancy. At present, the modularized scheme based on control allocation is mostly adopted when the drive control system is designed [15,19,20]. By adding the control distribution layer between the controller and actuator, the actual control variables are represented by virtual control variables with smaller dimensions, as shown in Figure 9.
Based on the idea of control allocation, the virtual control instruction ν = [ν1 ν2]T was introduced, ν1 and ν2, respectively, represent the virtual torque of the active and driven ends of electromagnetic clutch II. Then, the relationship between the actual control input variables and the virtual control instruction can be expressed as:
v = B u u ,
where, B u = [ 1 0 1 0 1 1 ] , so the control matrix B can be decomposed into:
B = B v B u ,
where, B v = [ 1 J 1 0 0 1 J 2 ] , then the equivalent state space corresponding to the state space expression of electromagnetic clutch II in the engagement stage can be expressed as:
x ˙ = A x + B v v + B ˜ d s . t . v min v v max ,
Aiming at the overdrive problem existing in the engagement process of electromagnetic clutch II, the MPC and control allocation algorithm will be adopted, as shown in Figure 10. The basic idea is that the optimal virtual control variables will be firstly calculated by MPC based on the reference speed and the actual speed. Then, the optimal virtual control variables are allocated according to the idea of control allocation. After the actual control variables are obtained, they act on the vehicle together with the external disturbance. In addition, by adjusting the weight relation of the control matrix, the impact on the system caused by the discontinuity of the friction torque of the clutch can be reduced to ensure the smooth transition of the mode-switching process.

4.2. Building of Reference Model

The dynamic model after the mode switching was selected as the reference model. At this time, electromagnetic clutch II is locked. The system is driven by both inner and outer motors. The actual output speed of the controlled object tracks the target speed of the reference model in real time. Therefore, the dynamic equation of the reference model can be expressed as:
( J 1 + J 2 ) ω ˙ r e f = T e o + ( 1 + p ) T e i T L ,
where, ωref is the reference speed.

4.3. Design of Model Predictive Controller

Here the discrete-time model prediction algorithm was adopted, and the sampling time interval was set as τs. Then, the discrete form of the state equation in the engagement stage of electromagnetic clutch II can be written as:
x d ( k + 1 ) = A d x d ( k ) + B d v d ( k ) + B ξ d ( k ) ,
where, x d ( k ) = [ x 1 ( k ) x 2 ( k ) ] T , v d ( k ) = [ v 1 ( k ) v 2 ( k ) ] T , d ( k ) = [ 0 d ( k ) ] T , A d = [ 1 δ 1 τ s J 1 0 0 1 δ 2 τ s J 2 ] , B d = [ τ s J 1 0 0 τ s J 2 ] , B ξ = [ τ s J 1 0 0 τ s J 2 ] .
Rewrite Equation (20) into an incremental model:
Δ x d ( k + 1 ) = A d Δ x d ( k ) + B d Δ v d ( k ) ,
where, the state increment is Δxd(k) = xd(k) − xd(k − 1), the control increment is Δνd(k) = νd(k) − νd(k − 1). Define a new state variable:
x ¯ ( k ) = [ Δ x d ( k ) T x d ( k ) T ] T = [ Δ x 1 ( k ) Δ x 2 ( k ) x 1 ( k ) x 2 ( k ) ] ,
Then the new augmented model is:
{ x ¯ ( k + 1 ) = A a u g x ¯ ( k ) + B a u g Δ v d ( k ) y ¯ ( k ) = C a u g x ¯ ( k ) ,
where, A a u g = [ 1 δ 1 τ s J 1 0 0 0 0 1 δ 2 τ s J 2 0 0 1 δ 1 τ s J 1 0 1 0 0 1 δ 2 τ s J 2 0 1 ] , B a u g = [ τ s J 1 0 0 τ s J 2 τ s J 1 0 0 τ s J 2 ] , C a u g = [ 0 0 1 0 0 0 0 1 ] .
Because the calculation amount of the system is determined by the size of the prediction time domain N and the control time domain M, N = 10 and M = 6 are taken here after comprehensive consideration. Therefore, v ¯ ( k ) = v ¯ ( k + 1 ) = = v ¯ ( k + 9 ) , the predicted output variable of Equation (23) can be expressed by iterative operation as:
Y p = S x x ¯ ( k ) + S v Δ V ( k ) ,
where, Y p = [ y ¯ ( k + 1 | k ) y ¯ ( k + 2 | k ) y ¯ ( k + 10 | k ) ] , S x = [ C a u g A a u g C a u g A a u g 2 C a u g A a u g 10 ] , S v = [ C a u g B a u g C a u g A a u g B a u g C a u g A a u g 9 B a u g ] .
r(k) = [ωref(k) ωref(k)]T is assumed to be the reference signal of output variable y1(k) and y2(k) in the model prediction controller so that the speed of the active and driven ends of electromagnetic clutch II can track the reference signal in real time and realize the clutch transition from slipping-friction to locking stage. Hence the control objective of the system is to find the optimal control increment ΔV that minimizes the error between the reference signal and the predicted output. The objective function can be expressed as:
J = ( R Y p ) T ( R Y p ) + Δ V T R v Δ V ,
where, R is the reference signal matrix, and Rv is the weight matrix of the control variables. When the objective function is minimum, the necessary condition is:
J Δ V = 0 ,
The optimal control increment can be obtained by solving:
Δ V ( k ) = ( S v T S v + R v ) 1 S v T ( R S x x ¯ ( k ) ) ,
Therefore, the optimal virtual control variables of the current system can be expressed as:
v d ( k ) = v d ( k 1 ) + Δ v ( k ) ,

4.4. Control Allocation Method

In order to ensure a well-coordinated control effect of the mode switching, the optimization method is usually adopted to allocate virtual control variables. This paper adopts the allocation method based on the minimization of control variables, which can be expressed as:
min u J u = 1 2 W u ( u u d ) 2 2 s . t . v * = B u u u min u u max ,
where, W u = W u T > 0 represents the actual control weight matrix, W u = [ w 1 0 0 0 w 2 0 0 0 w 3 ] , and w1 > 0, w2 > 0, w3 > 0; ud indicates the target value of the control variable.
The Lagrange function of the above optimization problem can be written as:
L ( u , λ , μ ) = J u + i = 1 2 λ i h i ( u ) + k = 1 6 μ k g k ( u ) ,
where, hi(u)(i = 1, 2) represents the equality constraint, and its expression is:
{ h 1 ( u ) = u 1 u 3 v 1 * h 2 ( u ) = u 2 + u 3 v 2 * ,
where, gk(u)(k = 1, 2, ∙∙∙, 6) represents inequality constraint, and its expression is:
{ g i ( u ) = u i u i max ( i = 1 , 2 , 3 ) g j + 3 ( u ) = u j min u j ( j = 1 , 2 , 3 ) ,
The Kuhntucker (KKT) condition is usually used to solve the optimization problems with both equality and inequality constraints.
{ L u | u = u * = 0 λ i 0 , μ k 0 , i = 1 , 2 ; k = 1 , 2 , , 6 μ k g k ( u * ) = 0 h i ( u * ) = 0 g k ( u * ) 0 ,
Finally, the actual optimal control input variables u* are obtained:
{ u 1 * = ( w 2 2 + w 3 2 ) v 1 * + w 2 2 v 2 * w 1 2 + w 2 2 + w 3 2 u 2 * = w 1 2 v 1 * + ( w 1 2 + w 3 2 ) v 2 * w 1 2 + w 2 2 + w 3 2 u 3 * = w 1 2 v 1 * + w 2 2 v 2 * w 1 2 + w 2 2 + w 3 2 ,

4.5. Stability Analysis of the Mode Switching Based on Lyapunov Method

When the virtual control variables are allocated in the control distribution layer, the actual control variables can reach the optimal value of the virtual control variables due to the consideration of the constraints of control variables. Therefore, the stability of the system is only determined by the stability of the model predictive controller used to solve the virtual control variables.
For the incremental system and any state x ¯ shown in Equation (24), its objective function can be written in discrete form:
min Δ v d J ( k ) = i = 1 N y ¯ ( k + i | k ) r ( k + i | k ) Q i 2 + i = 1 M Δ v d ( k + i 1 | k ) R i 2 ,
s . t . { x ¯ 0 x ¯ = 0 v d min ( k + i | k ) v d ( k + i | k ) v d m a x ( k + i | k ) Δ v d min ( k + i | k ) Δ v d ( k + i | k ) Δ v d m a x ( k + i | k ) y ¯ min ( k + i | k ) y ¯ ( k + i | k ) y ¯ max ( k + i | k ) x ¯ ( k + N | k ) = 0 ,
where, Qi and Ri are weighted matrices of the system output error and control increment; r(k + i|k) is the system reference at the current moment; x ¯ ( k + N | k ) = 0 is a terminal equality constraint introduced to ensure the system stability.
To simplify writing, the right part of the equal sign of Equation (23) is marked as f ( x ¯ , Δ v d ) , and the control time domain and prediction time domain are assumed to be the same and equal to N, then Equation (34) can be further expressed as [21,22]:
min Δ v d J ( k ) = i = 1 N l ( x ¯ ( k + i | k ) , Δ v d ( k + i 1 | k ) ) ,
Without considering external interference, and assuming that the model is unbiased, the predicted system state is the same as the state of the actual controlled object, whereupon:
J * ( k + 1 ) = min Δ v d i = 1 N l ( x ¯ ( k + 1 + i ) , Δ v d ( k + i ) )   = min Δ v d { i = 1 N l ( x ¯ ( k + i ) , Δ v d ( k + i 1 ) ) l ( x ¯ ( k + 1 ) , Δ v d ( k ) ) + l ( x ¯ ( k + 1 + N ) , Δ v d ( k + N ) ) }     l ( x ¯ ( k + 1 ) , Δ v d * ( k ) ) + J * ( k ) + min Δ v d { l ( x ¯ ( k + 1 + N ) , Δ v d ( k + N ) ) } ,
Under the constraint of terminal equality,
min Δ v d { l ( x ¯ ( k + 1 + N ) , Δ v d ( k + N ) ) } = 0 ,
Because of l ( x ¯ ( k + 1 ) , Δ v d * ( k ) ) 0 , substituting Equation (38) into Equation (37), we can obtain:
J * ( k + 1 ) J * ( k ) ,
Therefore, J*(k) is a Lyapunov function of the system, and it is convergent. The system is asymptotically stable.

5. Simulation Analysis

To verify the effectiveness of the proposed torque coordination control strategy for mode switching, a rule-based control strategy was used for comparison. The simulation model was built by Matlab/Simulink/Stateflow. The simulation analysis was carried out in a stage of acceleration. The sampling interval of the MPC controller is set to 0.001 s. After several debugging, the control time domain and prediction time domain are, respectively, set as M = 6 and N = 10. The weight matrices of the virtual and actual control variables are Rv = diag(4, 5) and Wu = diag(2, 2, 1), respectively. The speed difference threshold of electromagnetic clutch II in the engagement process is set to 12.6 rad/s, which is converted to a speed of 120 r/min.
Figure 11 shows the mode switching changes under two control strategies. The whole switching process is divided into three stages. Switching signals 1, 2 and 3, respectively, represent SIM drive mode, engagement stage of electromagnetic clutch II and DMC drive mode. By calculation, the mode switching duration is, respectively, 0.164 s and 0.237 s under the torque coordination control strategy based on MPC and control allocation and the rule-based control strategy. The mode switching response speed increases by 30.8% using the proposed torque coordination control strategy.
Figure 12 shows the changes in the output torque of inner and outer motors, the friction torque of electromagnetic clutch II, and the speed of active and driven ends under two control strategies. As can be seen from Figure 12a–c, during the engagement stage of electromagnetic clutch II, the torque coordination control strategy based on MPC and control allocation can effectively compensate for the change of the friction torque of electromagnetic clutch II by coordinating the torque of inner and outer motors, so that its growth rate changes gently. Figure 12d shows that, after electromagnetic clutch II enters the locking stage, the speed of the driven end decreases slightly compared to that before electromagnetic clutch II is engaged, which is mainly because the speed of the active end (outer motor) is always smaller than that of the driven end during the rising process of speed. Besides, under the proposed torque coordination control strategy, the speed of the active end increases faster than that of the rule-based control strategy, which effectively shortens the mode-switching time.
Figure 13 shows the changes in vehicle speed under two control strategies. During the mode-switching process, there is a large fluctuation of the vehicle speed using the rule-based control strategy, while there is a small fluctuation of the vehicle speed using the torque coordination control strategy based on MPC and control allocation, and the transition of vehicle speed is smoother.
Figure 14 shows the change curve of vehicle impact degree under the two control strategies. During the mode switching, the longitudinal impact degree of the vehicle based on the rule control strategy fluctuates greatly. At the engagement moment of electromagnetic clutch II, the peak value of the absolute impact degree is 8.39 m/s3. In contrast, the impact degree of the vehicle is less fluctuant when the torque coordination control strategy based on MPC and control allocation is adopted, and its absolute peak value is 2.87 m/s3, which better improves the stability of the mode switching process. The main reason is that when the rule-based control strategy is adopted, the rapid current increase can make the active and driven ends of electromagnetic clutch II engage quickly, but it will cause a large instantaneous impact. However, by coordinating the output torque of inner and outer motors, the proposed torque coordination control strategy can effectively compensate for the friction torque of electromagnetic clutch II so as to adapt to the nonlinear changes caused by various uncertain factors in the system, which ensure the continuity of clutch torque change and avoid the impact at the moment of mode switching.
Figure 15 shows the slipping-friction work changes of electromagnetic clutch II under the two control strategies. It can be seen that in the clutch engagement stage, the slipping-friction work generated by the rule-based control strategy is 238 J, while that generated by the torque coordination control strategy based on MPC and control allocation is 104 J. The slipping-friction work of electromagnetic clutch II is mainly related to the speed difference between its active and driven ends, friction torque and slipping-friction time. When the proposed torque coordination control strategy is adopted, the simulation results of the above three factors are smaller than those of the rule-based control strategy, which reduces the slipping-friction work.

6. Experimental Verification

The prototype of the DRIWM with a rated power of 4.7kW was made, which is mainly composed of the DRM body, electromagnetic clutches, planetary gears, output shaft, encoders and motor shell. The design specification parameters are listed in Table 2. The axial section of the general assembly drawing of the DRIWM is shown in Figure 16. Figure 17 shows the experimental test platform of the DRIWM, which is mainly composed of a servo motor, measured motor, torque and speed sensor, the control unit of the motor, measurement and control system, etc. The experimental platform uses a servo motor to simulate the drive load, and the simulation load can be adjusted by the measurement and control system.
Figure 18 shows the changes in output torque, speed and current of the DRIWM during the mode switching from the SIM drive to the DMC drive. Assume that the simulated working condition: the vehicle running on a level road at a constant speed is transformed into climbing on the ramp, and the required torque increases. When the inner motor works alone, the output torque is 40 Nm. After maintaining for a period of time, the load is increased to 56 Nm. According to the mode switching condition, electromagnetic clutch II engages, and the DRIWM enters the coupling drive mode. The engagement time of electromagnetic clutch II is about 0.25 s, and the speed decreases slightly. The phase current of the outer motor increases to a constant value, and the phase current of the inner motor decreases. This is mainly because the outer motor bears a larger load torque.
Furthermore, when the torque coordination control strategy based on MPC and control allocation was adopted, the comparisons between the simulation and experimental results of the vehicle impact degree and the engagement time of electromagnetic clutch II were shown in Table 3. The experimental values are slightly higher than the simulation values, which may be related to the manufacturing factors of the prototype and controller. However, the experimental value of vehicle impact degree is still within the recommended standard range, which verifies the proposed strategy is effective.

7. Conclusions

This paper proposes an integrated structure of the DRIWM, which has multiple drive modes, such as SIM drive, SOM drive, and DMC drive. It can meet the needs of vehicles in variable operating conditions. Aiming at the hybrid characteristics with both continuous and discrete dynamic variables shown during the drive mode switching process of the DRIWM, the mode switching from the SIM drive to the DMC drive was selected as the research object, a dynamic model of the mode switching was built based on the switching system theory. According to the critical conditions of each state transition, the switching rules expressed by the segmental constant function were designed. At the engagement stage of electromagnetic clutch II, the torque coordination control strategy based on MPC and control allocation was proposed, and the stability of the mode switching was analyzed by the Lyapunov method. The simulation results show that the mode-switching duration using the proposed torque-coordinated control strategy is shorter compared with the rule-based control strategy. Through the torque-coordinated control of the inner motor, outer motor and electromagnetic clutch II, the impact degree of the vehicle is reduced, and the slipping-friction work of electromagnetic clutch II is also decreased to a large extent. Under the premise of ensuring the steady increase in vehicle speed, the switching quality of the mode-switching process is effectively improved. In addition, the drive mode switching control of the DRIWM prototype was tested, which proves its ability to operate in multi-drive mode. In the future, the performance test of an electric vehicle equipped with the DRIWM will be carried out, and the coordinated control between multiple electric wheels will be further studied.

Author Contributions

J.L. (Junmin Li) wrote the original draft of this paper. He proposed the motor structure scheme and mode-switching control strategy. J.W. reviewed the paper and participated in the validation of the proposed strategy. J.L. (Jianhao Liu) and C.R. participated in the data processing. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Science and Technology Development Program of Henan, China, grant number: 232102240050.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zheng, P.; Liu, R.R.; Thelin, P.; Nordlund, E.; Sadarangani, C. Research on the parameters and performances of a 4QT prototype machine used for HEV. IEEE Trans. Magn. 2007, 43, 443–446. [Google Scholar] [CrossRef]
  2. Xu, L.Y. Dual-mechanical-port electric machines-concept and application of a new electric machine to hybrid electrical vehicles. IEEE Ind. Appl. Mag. 2009, 15, 44–51. [Google Scholar]
  3. Pisek, P.; Stumberger, B.; Marcic, T.; Virtic, P. Design analysis and experimental validation of a double rotor synchronous PM machine used for HEV. IEEE Trans. Magn. 2013, 49, 152–155. [Google Scholar] [CrossRef]
  4. Xiang, Z.X.; Zhu, X.Y.; Quan, L.; Du, Y.; Zhang, C.; Fan, D.Y. Multilevel design optimization and operation of a brushless double mechanical port flux-switching permanent-magnet motor. IEEE Trans. Ind. Electron. 2016, 63, 6042–6054. [Google Scholar] [CrossRef]
  5. Chen, T.; Xu, X.; Li, Y.; Wang, W.J.; Chen, L. Speed-dependent coordinated control of differential and assisted steering for in-wheel motor driven electric vehicles. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2018, 232, 1206–1220. [Google Scholar] [CrossRef]
  6. Wang, J.C.; Li, J.M. Hierarchical coordinated control method of in-wheel motor driven electric vehicle based on energy optimization. World Electr. Veh. J. 2019, 10, 15. [Google Scholar] [CrossRef]
  7. He, R.; Wang, J.C. Vertical vibration control of an in-wheel motor-driven electric vehicle using an in-wheel active vibration system. Asian J. Control 2020, 22, 879–896. [Google Scholar] [CrossRef]
  8. He, R.; Ni, B.L. Structure and Power Transmission Mode of Dual-Rotor Motor Applied in In-Wheel Driven Electric Vehicle. Chinese Patent CN103640470A, 19 March 2014. [Google Scholar]
  9. He, R.; Hu, D.H. An Electric Wheel Based on Dual-Rotor Motor and Its Control Method. Chinese Patent CN103935232A, 23 July 2014. [Google Scholar]
  10. He, R.; Jiang, K.J. A Wheel-Side Power Drive System Based on Dual-Rotor Motor and Its Control Method. Chinese Patent CN105620264A, 1 June 2016. [Google Scholar]
  11. Meng, D.J.; Chen, X.B.; Zhang, L.J. An In-Wheel Motor Drive System Based on Double Rotor Motor Integrated with Drum Brake. Chinese Patent CN109435676A, 8 March 2019. [Google Scholar]
  12. Li, G.L.; Huang, X.Y. A Disk Permanent Magnet Synchronous In-Wheel Motor with Double Rotor. Chinese Patent CN110417225A, 5 November 2019. [Google Scholar]
  13. Huang, K.; Xiang, C.; Langari, R. Model reference adaptive control of a series–parallel hybrid electric vehicle during mode shift. Proc. Inst. Mech. Eng. Part I 2017, 231, 541–553. [Google Scholar] [CrossRef]
  14. He, R.; Tian, X.; Ni, Y. Mode transition coordination control for parallel hybrid electric vehicle based on switched system. Adv. Mech. Eng. 2017, 9, 1–12. [Google Scholar] [CrossRef]
  15. Zhang, Y.B.; Wang, W.D.; Xiang, C.L.; Huang, K.; Ma, Y.; Wei, C.; Li, Z.L. A model predictive control-based torque coordinated control strategy for hybrid electric vehicle during mode shifting. Auto. Eng. 2018, 40, 1040–1047. [Google Scholar]
  16. Lin, X.Y.; Su, L.; Zheng, Q.X. Dynamic coordination control of mode transition using model predictive control for hybrid electric vehicle. Control Theory Appl. 2020, 37, 897–906. [Google Scholar]
  17. Hu, M.; Chen, S.; Zeng, J. Control strategy for the mode switch of a novel dual-motor coupling powertrain. IEEE Trans. Veh. Technol. 2017, 67, 2001–2013. [Google Scholar] [CrossRef]
  18. Zeng, X.; Wang, Y.; Song, D. Coordinated control algorithm of a dual motor for an electric variable transmission hybrid system. IEEE Access 2018, 6, 35669–35682. [Google Scholar] [CrossRef]
  19. Härkegård, O.; Glad, S.T. Resolving actuator redundancy—Optimal control vs. control allocation. Automatica 2005, 41, 137–144. [Google Scholar] [CrossRef]
  20. Wang, J.; Zhou, H.L.; He, Z. Research on MPC based torque coordination control method for hybrid electric vehicle. J. N. Ind. 2014, 4, 29–37. [Google Scholar]
  21. Maciejowski, J.M. Predictive Control with Constraints; Prentice Hall: Hoboken, NJ, USA, 2002. [Google Scholar]
  22. Zheng, K.H.; He, D.F.; Bao, R. Stability analysis of incremental predictive control scheme. Control Instrum. Chem. Ind. 2012, 39, 1414–1417. [Google Scholar]
Figure 1. Structural scheme of the DRIWM. 1. DRM; 2. Electromagnetic clutch I; 3. Electromagnetic clutch II; 4. Planetary gears; 5. Output shaft; 6. Main power and control system; 1-1 Outer rotor; 1-2 Outer permanent magnets; 1-3 Outer windings; 1-4 Middle stator; 1-5 Inner windings; 1-6 Inner rotor; 1-7 Inner permanent magnets; 1-8 Magnetic barrier; 4-1 Ring gear; 4-2 Planet carrier; 4-3 Sun gear.
Figure 1. Structural scheme of the DRIWM. 1. DRM; 2. Electromagnetic clutch I; 3. Electromagnetic clutch II; 4. Planetary gears; 5. Output shaft; 6. Main power and control system; 1-1 Outer rotor; 1-2 Outer permanent magnets; 1-3 Outer windings; 1-4 Middle stator; 1-5 Inner windings; 1-6 Inner rotor; 1-7 Inner permanent magnets; 1-8 Magnetic barrier; 4-1 Ring gear; 4-2 Planet carrier; 4-3 Sun gear.
Wevj 14 00132 g001
Figure 2. Cross-sectional view of the DRM.
Figure 2. Cross-sectional view of the DRM.
Wevj 14 00132 g002
Figure 3. Power flow in the single inner motor drive mode.
Figure 3. Power flow in the single inner motor drive mode.
Wevj 14 00132 g003
Figure 4. Power flow in the single outer motor drive mode.
Figure 4. Power flow in the single outer motor drive mode.
Wevj 14 00132 g004
Figure 5. Power flow in the dual-motor coupling drive mode.
Figure 5. Power flow in the dual-motor coupling drive mode.
Wevj 14 00132 g005
Figure 6. Transmission system model of the mode switching from the SIM drive to DMC drive. (a) Model of the driveline; (b) Equivalent model.
Figure 6. Transmission system model of the mode switching from the SIM drive to DMC drive. (a) Model of the driveline; (b) Equivalent model.
Wevj 14 00132 g006
Figure 7. Mode switching process from the SIM drive to DMC drive.
Figure 7. Mode switching process from the SIM drive to DMC drive.
Wevj 14 00132 g007
Figure 8. Control flow chart of the drive mode switching process.
Figure 8. Control flow chart of the drive mode switching process.
Wevj 14 00132 g008
Figure 9. Modular and hierarchical design of overdrive system based on control distribution.
Figure 9. Modular and hierarchical design of overdrive system based on control distribution.
Wevj 14 00132 g009
Figure 10. Coordinated control strategy based on MPC and control allocation.
Figure 10. Coordinated control strategy based on MPC and control allocation.
Wevj 14 00132 g010
Figure 11. Mode switching process from SIM drive to DMC drive under two control strategies.
Figure 11. Mode switching process from SIM drive to DMC drive under two control strategies.
Wevj 14 00132 g011
Figure 12. Torque and speed changes of transmission components under two control strategies. (a) Output torque of inner motor; (b) Output torque of outer motor; (c) Friction torque of electromagnetic clutch II; (d) Speed of electromagnetic clutch II.
Figure 12. Torque and speed changes of transmission components under two control strategies. (a) Output torque of inner motor; (b) Output torque of outer motor; (c) Friction torque of electromagnetic clutch II; (d) Speed of electromagnetic clutch II.
Wevj 14 00132 g012
Figure 13. Vehicle speed changes under two control strategies.
Figure 13. Vehicle speed changes under two control strategies.
Wevj 14 00132 g013
Figure 14. Vehicle longitudinal impact degree under two control strategies.
Figure 14. Vehicle longitudinal impact degree under two control strategies.
Wevj 14 00132 g014
Figure 15. Slipping-friction work of electromagnetic clutch II under two control strategies.
Figure 15. Slipping-friction work of electromagnetic clutch II under two control strategies.
Wevj 14 00132 g015
Figure 16. Axial-sectional view of the DRIWM.
Figure 16. Axial-sectional view of the DRIWM.
Wevj 14 00132 g016
Figure 17. Performance test platform of the DRIWM.
Figure 17. Performance test platform of the DRIWM.
Wevj 14 00132 g017
Figure 18. Test of the mode switching from SIM drive to DMC drive.
Figure 18. Test of the mode switching from SIM drive to DMC drive.
Wevj 14 00132 g018
Table 1. Drive modes of the DRIWM.
Table 1. Drive modes of the DRIWM.
Drive ModeInner MotorOuter MotorElectromagnetic Clutch IElectromagnetic Clutch II
SIM
SOM
DMC
Note: “●” represents that the motor is working or the clutch is engaged, “○” represents that the motor is not working or the clutch is disengaged.
Table 2. Design specifications of the DRIWM.
Table 2. Design specifications of the DRIWM.
ParameterValue
Inner MotorOuter Motor
Rated power (kW)13.7
Rated speed (rpm)3000960
Pole pairs number of permanent magnet24
Torque constant (Nm/A)1.7295.001
Induced voltage constant (V/krpm)0.62710.581
Table 3. Comparison between the simulation and experimental results by the proposed strategy.
Table 3. Comparison between the simulation and experimental results by the proposed strategy.
ParameterSimulation ResultsExperimental Results
Impact degree (m/s3)2.874.31
Engagement time of clutch II (s)0.1640.25
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, J.; Wang, J.; Liu, J.; Ren, C. Coordinated Control Strategy for Drive Mode Switching of Double Rotor In-Wheel Motor Based on MPC and Control Allocation. World Electr. Veh. J. 2023, 14, 132. https://doi.org/10.3390/wevj14050132

AMA Style

Li J, Wang J, Liu J, Ren C. Coordinated Control Strategy for Drive Mode Switching of Double Rotor In-Wheel Motor Based on MPC and Control Allocation. World Electric Vehicle Journal. 2023; 14(5):132. https://doi.org/10.3390/wevj14050132

Chicago/Turabian Style

Li, Junmin, Junchang Wang, Jianhao Liu, and Chongyang Ren. 2023. "Coordinated Control Strategy for Drive Mode Switching of Double Rotor In-Wheel Motor Based on MPC and Control Allocation" World Electric Vehicle Journal 14, no. 5: 132. https://doi.org/10.3390/wevj14050132

APA Style

Li, J., Wang, J., Liu, J., & Ren, C. (2023). Coordinated Control Strategy for Drive Mode Switching of Double Rotor In-Wheel Motor Based on MPC and Control Allocation. World Electric Vehicle Journal, 14(5), 132. https://doi.org/10.3390/wevj14050132

Article Metrics

Back to TopTop