Professional Documents
Culture Documents
Research Article
Abstract: To study the overall performance of the distributed drive intelligent electric vehicle (EV), a in-wheel motor drive
(IWMD) vehicle is developed in this study. The configuration and 11-degrees of freedom model of IWMD EV is introduced firstly.
Then, the co-simulation model of IWMD EV based on Carsim and Matlab/Simulink is established. The block design is employed
for the co-simulation modelling, including the in-wheel motor model, driver model, tyre model, steering model, braking model,
suspension model, aerodynamic model, and road surface model. The effectiveness and the reasonableness of the co-simulation
model of IWMD EV are verified by the snake testing with on the campus road. The co-simulation model provides accuracy and
reliable simulation method for the path-tracking and self-driving study of IWMD intelligent vehicle in the future.
Bf Br
I xω⋅ x − (Iy − Iz)ωyωz = (F − Fz_ f r) + (Fz_rl − Fz_rr) (5)
2 z_ f l 2
lf lr
Iyω⋅ y − (Iz − I x)ωzωx = − (F + Fz_ f r) + (Fz_rl + Fz_rr) (6)
2 z_ f l 2
x-axis, y-axis and z-axis, respectively. ωx, ωy and ωz are the angular
In this paper, the steering model, the braking model, the
velocity of the vehicle on x-axis, y-axis and z-axis, respectively. δ suspension model, the aerodynamics model, and the road surface
is the front wheel angle. Ix, Iy and Iz are the moment inertia of the model are built with CarSim, and the in-wheel motor model, the
vehicle on x-axis, y-axis and z-axis, respectively. battery model, the driver model, and the tyre model are built with
Simulink.
3 Simulation block of IWMD EV
Fig. 3 shows the block diagram of the simulation model of IWMD 3.1 In-wheel motor model
EV. The vehicle model consists of several subsystem models, The in-wheel motor is the most important actuator of the IWMD
including, steering model, in-wheel motor model, battery model, EV. In this paper, the inner rotor permanent magnet synchronous
driver model, tyre model, steering model, braking model, motor (IPMSM) is employed as the in-wheel motor. The stator is
suspension model, aerodynamic model, and road surface model. connected to the vehicle body, and the rotor is coupled to the wheel
rim.
Bf
Izω⋅ z − (I x − Iy)ωxωy = l f (Fx_ f lsin δ + Fy_ f lcos δ) − (F cos δ − Fy_ f lsin δ)
2 x_ f l
Bf
+l f (Fx_ f rsin δ + Fy_ f rcos δ) + (Fx_ f rcos δ − Fy_ f rsin δ) (3)
2
Br Br
−lrFx_rl − Fx_rl − lrFx_rr + Fx_rr
2 2
2 IET Intell. Transp. Syst.
© The Institution of Engineering and Technology 2018
The four independent in-wheel motors are employed to drive or
brake [21–23]. The mathematical model of the in-wheel motor is
described by its motion equation, torque equation, and voltage
equation shown as following:
T ei − T Li − ωi f m = Jω̇i (10)
T ei = KmIi (11)
1
Te = ⋅T (13)
τs + 1 c
where Te is the electromagnet torque of the PMIWM. pn is the Eb = IbRb + Ubbus (16)
number of pole pairs.
The control diagram of the in-wheel motor is shown in Fig. 4. SOC represents the battery state of charge and can be calculated by
the following equations:
where Qres is the remaining battery capacity (Ah). Qused is the used
battery capacity (Ah). When SOC = 0, the battery is exhausted.
When SOC = 1, the battery is fully charged.
For the safety of lithium-ion battery, the SOC range is set as
0 < SOCb ≤ 1 .
The LiFePO4 battery is used in this study, and the curve of
Fig. 6 Equivalent circuit of the Lithium battery
battery capacity varies with temperature is shown in Fig. 7. As is
seen from Fig. 7, the battery capacity changes with the temperature
[32].
Fxbi
φi = (26)
Fzi
4 Co-simulation model
Fig. 9 Carsim software
The Carsim user interface shown in Fig. 9 mainly includes
definition of the vehicles parameters and simulation conditions,
simulation solution configurations and simulation results
processing.
To realise the co-simulation of IWMD EV, the interface
between Simulink and Carsim must be set firstly. The vehicle
speed and motor speed of four wheels in Carsim need to be given
to driver model and in-wheel motor model in Simulink. The
traction torque distribution is used to generate the input command
for the in-wheel motor. The torque is distributed to the two front in-
wheel motors in Carsim.
The data is transferred through CarSim/S-Function block in the
co-simulation model. The input and output variables are set in
Carsim. When the simulation starts, the variables in Simulink are
passed to Carsim while the variables in Carsim are also fed back to
Simulink. In the Simulink environment, the electronic differential
Fig. 10 Co-simulation model (ED) control system, and differential assist steering (DAS) control
system are coordinated as the upper-level controller to receive the
3.7 Suspension model feedback dynamic parameters from Carsim model, in which the
control signal for each in-wheel motor can be computed.
The suspension force between each wheel and the vehicle body can Meanwhile, the driver model also receives the vehicle speed signal
be calculated from wheel jump, vertical movement of the sprung from Carsim and calculates the control signal for the in-wheel
mass, roll and pitch movements [42, 43]. Suspension force of motor. The in-wheel motor model receives the control signal of the
sprung mass can be expressed as ED-DAS coordination system and the driver model and generates
the traction torque signal. The torque signal is passed to the vehicle
Fs_i j = ks_i j(zu_i j − zi j) + bs_i j(żu_i j − żi j) + f i j (23) model in Carsim through S-Function block. The co-simulation
model is shown in Fig. 10.
where ks_ij is the suspension stiffness. zij is the height of the
connection point between the body and suspension. bs_ij is 5 Experimental verification
suspension damping.
5.1 Testing vehicle setup
3.8 Aerodynamic model A novel IWMD EV is developed in this study. The parameters of
The force while EV is operating includes rolling resistance, wind the IWMD EV are illustrated in Table 1.
resistance, climbing resistance, and accelerate resistance. EV in the To analyse the status of each in-wheel motor, a voltage sensor
driving process by and driving force and the resistance equal, the and four current sensors are used to monitor the input voltage and
formula is input current of each motor controller. The torque sensor and the
steering angle sensor mounted on the steering column are
employed to measure the steering torque and steering angle. The
Ft = F f + Fw + Fi + F j = f mgcos α hall speed sensor is utilised to obtain the wheel speed. The steering
(24) angle sensor and torque sensor are shown in Fig. 11.
CD Av2 dv The D2P-Moto Hawk is used for designing the upper vehicle
+ + mgsin α + δm
21.15 dt controller and coordinating four in-wheel motor controllers. Also,
the signals from the controllers and sensors are measured,
where Ft is the driving force for the vehicle. Ff is the rolling recorded, and passed by CAN bus. The vehicle controller based on
resistance. Fw is the wind resistance. Fi is the climbing resistance. D2P-Moto is shown in Fig. 12. All the data from vehicle sensors is
Fj is the acceleration resistance. f is the rolling resistance measured and processed in the analogue and frequency channels.
coefficient. m is the vehicle mass. α is the road slope angle. CD is The control signals are solved and passed to the in-wheel motor
the wind resistance coefficient. A is the upwind area of the vehicle. controller through PWM output channel. The PWM analogue
v is the vehicle speed. δ is the coefficient of the rotating mass. convert module is designed to convert the control quantity, and
The demand torque of the in-wheel motor can be obtained by match the input and output of the in-wheel motor controller due to
the following equations: the analogue signal of the in-wheel motor controller. All the control
and status signals of the vehicle can be monitored and recorded by
a laptop through CAN bus of the D2P-based rapid prototype [13].
CD Av2 dv
f mgcos α + + mgsin α + δm r
Ftr 21.15 dt (25)
T= =
iηt iηt
5.2.1 Steering torque and yaw rate testing: The snake testing is
implemented the straight campus road shown in Fig. 13. The road
surface adhesion coefficient is 0.85. The sine wave is used as the
input signal of the steering angle, which is in the range of 0–60
degrees. The vehicle speed is shown in Fig. 14. The test vehicle
accelerates from standstill and keeps 15 km/h after 20 s. The Fig. 13 Test vehicle of UJS
steering angle and steering torque are shown in Figs. 15 and 16.
The sine wave is used as the input signal of the steering angle when When the road testing is implemented without torque
the vehicle speed is stable, and it lasts for ∼7 s with 50-deg distribution, the same control signal is generated to each in-wheel
amplitude. The data recorded in the test including steering angle, motor controller by the vehicle controller according to the pedal
electronic throttle, in-wheel motor speed, longitudinal speed, signal, which means the in-wheel motor has the same power. The
lateral acceleration, and yaw rate. speed of the road testing vehicle is shown in Fig. 18. It can be seen
The steering angle signal obtained from the vehicle testing is that the test vehicle takes 20 s to accelerate to 15 km/h. A trough
used as the input of the model simulation. The simulation speed is appears at ∼50 s due to the bulge on the road, which causes a
set to 15 km/h, which makes the co-simulation condition close to decrease in the vehicle speed.
the road testing condition. Fig. 16 shows the comparison results of The steering torque of co-simulation and road testing results is
steering torque. It can be seen that the steering torque increases shown in Fig. 19. It can be seen that the actual value is greatly
with the steering angle. The peak value of the steering torque is larger than the ideal value. That is also caused by the same control
appropriate 5 Nm. The steering torque with road testing tracks well without torque distribution, and verified by the co-simulation
with that with co-simulation results. The yaw rate response of the results in Fig. 16.
vehicle is shown in Fig. 17. It can be seen that the yaw rate Fig. 20 shows the yaw rate curve of the road testing. It can be
increases with the steering angle when the vehicle speed keeps seen that the amplitude of the yaw rate is ∼0.1 rad/s with the sine
stable under the co-simulation and the vehicle testing results. The wave input of steering angle when the vehicle operates at 15 km/h.
peak value is ∼0.1 rad/s. This value is smaller than the ideal condition. That is caused by the
From the comparison results in Figs. 16 and 17, we can see that same control without torque distribution of the in-wheel motor,
the actual status of the road testing vehicle agrees with co- which agrees with the co-simulation results in Fig. 17.
simulation results with the same input. The reliability of the co-
simulation model is verified. ii. ED model verification
5.2.2 ED and DAS testing: To further verify the co-simulation The vehicle yaw rate is used as the target by the vehicle
model, ED and DAS testing are carried out under snake testing. controller for the torque distribution. The road testing speed shown
in Fig. 21 illustrates the speed keeps 15 km/h after 20 s. The speed
i. Without torque distribution trough at ∼45 s is also caused by the bulge on the test road.
Fig. 15 Steering wheel angle Fig. 18 Vehicle speed of road testing without torque distribution
Fig. 16 Comparison of steering torque Fig. 19 Steering torque without torque distribution