Open access

Modeling and Simulation of High Performance Electrical Vehicle Powertrains in VHDL-AMS

Written By

K. Jaber, A. Fakhfakh and R. Neji

Submitted: 14 October 2010 Published: 12 September 2011

DOI: 10.5772/16650

From the Edited Volume

Electric Vehicles - Modelling and Simulations

Edited by Seref Soylu

Chapter metrics overview

7,101 Chapter Downloads

View Full Metrics

1. Introduction

Nowadays the air pollution and economical issues are the major driving forces in developing electric vehicles (EVs). In recent years EVs and hybrid electric vehicles (HEVs) are the only alternatives for a clean, efficient and environmentally friendly urban transportation system (Jalalifar et al., 2007). The electric vehicle (EV) appears poised to make a successful entrance to the personal vehicle mass market as a viable alternative to the traditional internal combustion engine vehicles (ICE): Recent advances in battery technology indicate decreasing production costs and increasing energy densities to levels soon acceptable by broad consumer segments. Moreover, excluding the generation of the electricity, EVs emit no greenhouse gases and could contribute to meeting the strict CO2 emission limits necessary to dampen the effect of global warming. Several countries around the world have therefore initiated measures like consumer tax credits, research grants or recharging station subsidies to support the introduction of the EV. Finally, the success alternative vehicles like the Toyota Prius Hybrid proves a shift in consumer interest towards cleaner cars with lower operating costs (Feller et al., 2009).

Nonetheless, the EV will first need to overcome significant barriers that might delay or even prevent a successful mass market adoption. Permanent Magnet Synchronous Motor (PMSM) is a good candidate for EVs.

In this work, a high level modelling and an optimization is reported for the determination of time response (Tr) and power (P) of Electric Vehicle. The electric constant of back-electromotive-force, stator d- and q- axes inductances, switching period, battery voltage, stator resistance and torque gear ratio were selected as factors being able to influence Tr and P. The optimization process was carried out with Doehlert experimental design (Jaber et al., 2010).

The optimization is based on simulations of the chain of the electric vehicle; every block is simulated with a different abstraction level using the hardware description language VHDL-AMS. The chain of electric traction is shown in Figure 1. It consists of 4 components: Control strategy, Inverter, PMSM model and Dynamic model. A right combination of these four elements determines the performance of electric vehicles.

VHDL (Very High Speed Integrated Circuit Hardware Description Language) is a commonly used modelling language for specifying digital designs and event-driven systems. The popularity of VHDL prompted the development of Analog and Mixed-Signal (AMS) extensions to the language and these extensions were standardized as IEEE VHDL-AMS in 1999. Some of the main features of this ASCII-based language include Model Portability, Analog and Mixed-Signal modeling, Conserved System and Signal Flow Modeling, Multi-domain modeling, Modeling at different levels of abstraction, and Analysis in time, frequency and quiescent domains. Since VHDL-AMS is an open IEEE standard, VHDL-AMS descriptions are simulator-independent and models are freely portable across tools. This not only prevents model designers from being locked in to a single tool or tool vendor but also allows a design to be verified on multiple platforms to ensure model fidelity.

Figure 1.

Model of traction chain

VHDL-AMS is a strict superset of VHDL and inherently includes language support for describing event-driven systems such as finite state machines. The standard not only provides language constructs for digital and analog designs but also specifies the interactions between the analogue and digital solvers for mixed-signal designs. The analog (continuous time) extensions allow the description of conserved energy systems (based on laws of conservation) as well as signal-flow models (based on block diagram modeling).

VHDL-AMS distinguishes between the interface (ENTITY) of a model and its behavior (ARCHITECTURE). VHDL-AMS allows the association of multiple architectures with the same entity and this feature is typically used to describe a model at different levels of abstraction.

With VHDL-AMS, it is possible to specify model behaviour for transient, frequency and quiescent domain simulations. Depending on the user’s choice of an analysis type, the appropriate behavior is simulated.

The language is very flexible in that it allows different modeling approaches to be used, both individually and collectively. It is possible to describe model behavior with differential algebraic equations, value assignments and subprograms at a very abstract and mathematical level (Mc Dermott et al., 2006).

The VHDL-AMS language is an undiscovered asset for FPGA designers—a powerful tool to define and verify requirements in a non-digital context.

As an electric vehicle is a multidisciplinary system, the new standard VHDL-AMS is suitable for the modelling and the simulation of such system in the same software environment and with different abstraction levels (Jaber et al., 2009).

Advertisement

2. Dynamic model

The first step in vehicle performance modelling is to write an electric force model. This is the force transmitted to the ground through the drive wheels, and propelling the vehicle forward. This force must overcome the road load and accelerate the vehicle (Sadeghi et al., 2009).

For any mission profile, an electric road vehicle is subjected to forces that the onboard propulsion system has to overcome in order to propel or retard the vehicle. These forces are

composed of several components as illustrated in Figure 2.The effort to overcome these forces by transmitting power via the vehicle drive wheels and tyres to the ground is known as the total tractive effort or total tractive force.

Figure 2.

Forces on a vehicle

The rolling resistance is primarily due to the friction of the vehicle tires on the road and can be written as (Jalalifar et al., 2007):

FRR=f×MV×gE1

The aerodynamic drag is due to the friction of the body of vehicle moving through the air. The formula for this component is as in the following:

FDA=12..S.Cx.V2E2

An other resistance force is applied when the vehicle is climbing of a grade. As a force in the opposite direction of the vehicle movement is applied:

FL=Mv.g.sinαE3

The power that the EV must develop at stabilized speed is expressed by the following equation:

Pa=V.(FRR+FDA+FL)E4

The power available in the wheels of the vehicle is expressed by:

Pm=Tem.rm.VRwheelsE5

According to the fundamental principle of dynamics the acceleration of the vehicle is given by:

γ=PmPaMvVE6
γ=Tem.rmRwheels.(FRR+FDA+FL)Mv.RwheelsE7
Tl=Rwheels.(FRR+FDA+FL)E8
Wm=rmRwheels.dγdtE9
Advertisement

3. PMSM model

A permanent magnet synchronous motor (PMSM) has significant advantages, attracting the interest of researchers and industry for use in many applications.

Usage of permanent magnet synchronous motors (PMSMs) as traction motors is common in electric or hybrid road vehicles (Dolecek et al., 2008). The dynamic model of the PMSM can be described in the d-q rotor frame as follows:

Vd=Rid+LddiddtωeLqiqE10
Vq=Riq+Lqdiddt+ωeLdid+KωmE11

WhereK=Pϕm is the electric constant of back-electromotive-force (EMF), it is calculated according to the geometrical magnitudes of the motor so that it can function with a high speed. The equations giving the stator current can be written in the following form:

Id=1Ld.s+R(Vd+ωeLqIq)E12
Iq=1Lq.s+R(VqωeLdIdKωm)E13

The electromagnetic torque developed by the motor is given by the following equation:

Tem=32KIq+12p(LdLq)IdIqE14

The equation giving the angle by the motor can be written in the following form:

dθdt=p.WmE15

Figure 3 shows the description of the model of the PMSM in Simplorer 7.0 software.

Figure 3.

SIMPLORER model of the PMSM in the d-q rotor frame

Advertisement

4. Control strategy

In recent years, vector-controlled ac motors, such as induction motor, permanent-magnet synchronous motor (PMSM), and synchronous reluctance motor, have become standard in industrial drives and their performance improvement is an important issue. Particularly, improvement of control performance and drive efficiency is essentially required for drives used in electric vehicles (Ben Salah et al., 2008):

Tem=32K.Issin(θsp.θ(t))E16

To achieve an optimal control, which means a maximum torque, it is necessary to satisfy the following condition:

θsp.θ(t)=±π2E17

from where

Is=Iq    and    Id=0E18

Figure 4.

Stator current and EMF in the d-q rotor frame

The first part (A) in figure 1 illustrates the control strategy. It presents a first PI speed control used for speed regulation. The output of the speed control is Iqref; its application to a second PI current regulator makes the adjustment of phase and squaring currents. The outputs of current regulators are Vdref and Vqref; they are applied to a Park transformation block. Where, Vdref and Vqref are the forcing function to decide the currents in d-q axis model which may be obtained from 3-phase voltages (Va, Vb and Vc) through the park transformation technique as:

Va=Vdref.cos(θ)Vqref.sin(θ)E19
Vb=Vdref.cos(θ2π3)Vqref.sin(θ2π3)E20
Vc=Vdref.cos(θ4π3)Vqref.sin(θ4π3)E21

The generation of the control signals of the inverter is made by comparison of the simple tensions obtained following the regulation with a triangular signal. Its period is known as switching period.

The different blocks constituting the traction chain were described in a VHDL-AMS structural model by including all expressions detailed above.

Advertisement

5. Inverter model

The structure of a typical three-phase VSI is shown in figure 6. As shown below, Va, Vb and Vc are the output voltages of the inverter. S1 through S6 are the six power transistors IGBT that shape the output, which are controlled by a, a’, b, b’, c and c’. When an upper transistor is switched on (i.e., when a, b or c are 1), the corresponding lower transistor is switched off (i.e., the corresponding a’, b’ or c’ is 0). The on and off states of the upper transistors, S1, S3 and S5, or equivalently, the state of a, b and c, are sufficient to evaluate the output voltage.

Figure 5.

Inverter connected to a balanced load

The relationship between the switching variable vector [a, b, c]t and the line-to-line output voltage vector [Vab Vbc Vca]t and the phase (line-to-neutral) output voltage vector [Va Vb Vc]t are given by the following relationships, where a, b, c are the orders of S1, S3, S5 respectively.

[VabVbcVca]=E.[110011101].[abc];[VaVbVc]=13.E.[211121112].[abc]E22

The different blocks constituting the traction chain were introduced both in MATLAB and SIMPLORER 7.0 softwares. They were described in structural models by including all expressions detailed above. The different simulation parameters are summarized in table 1:

ParametersDesignationValues
VmaxMax Speed80 km/h
CxDrag coefficient of the vehicle0.55
SFrontal surface of the vehicle1.8 m2
fCoefficient of rolling friction0.025
MvTotal mass of the vehicle800 kg
pPair of pole number4

Table 1.

Simulation parameters

Advertisement

6. Simulation results

6.1. MATLAB environment

Figure 6 details the vector control (Id=0 strategy) of the vehicle, implemented under Matlab/simulink software.

Figure 6.

SIMULINK models for a vector control and his interaction in a chain of traction for vehicle

Figure 7 shows the simulation result. The reference speed of the EV is reached after 8.5s. Simulations with MATLAB are useful to verify that our system works well without any dysfunction. But in this case, the traction chain of the EV is described with ideal functional models. Going down in the hierarchical design level, more suitable software should be applied. For this reason, our system was described in VHDL-AMS and simulated with Simplorer 7.0 software.

Figure 7.

Vehicle speed response in MATLAB/SIMULINK

6.2. VHDL-AMS virtual prototype

VHDL-AMS descriptions were developed for each block of the electric vehicle including structural models. The obtained blocks were connected in Simplorer 7.0 Software environment to obtain a high level description our system as detailed on figure 8. The exposed blocks include analogue/digital electronic behavioural descriptions. It represents a so complex multi-domain system (Fakhfakh et al., 2006).

Figure 8.

Electric Vehicle description in Simplorer environment

6.3. Comparison

The dynamic response of the vehicle speed is depicted in figure 9, obtained with both Simplorer and Matlab software. In table 2, we compare the simulation runtime and the obtained response time of the Electric Vehicle. We can distinguish clearly the difference between the two simulation results.

Figure 9.

Dynamic response of the vehicle speed in Simplorer and Matlab

SoftwareSimulation runtimeTime response of max speed
Matlab24s8.5 s
Simplorer66s6.5 s

Table 2.

Simulation runtime simulation

To conclude, Matlab executes simulations more rapidly (24s); we obtained a dynamic response equal to 8.5s. Simplorer simulation runtime is three times longer due to the fact that the modelling abstraction level is lower compared to the functional description with Matlab; the dynamic response is about 6.5s. The power of the Electric Vehicule is about 42 kW.

To resume, we can clearly conclude that simulating a mathematical model with MATLAB software is useful to verify the ideal response of our EV. But with Simplorer environment we can attend the lower abstraction models. In this case, it is possible to simulate the effect of physical parameters such as temperature, battery voltage, etc.

Advertisement

7. Optimization with experimental designs

To optimize our control strategy, we have adopted an experimental design approach by applying the Doehlert design. Six factors have been considered as shown on table 3: Ke, Ld, Ts, E, R and rm. According to the number of factors, in order to limit the number of runs and to take into account the major effects, a screening study is necessary. Consequently, a first step of screening was conducted using a fractional factorial design. The last with six factors is a design involving a minimum of 45 experiments (see appendix).

For each factor, we define three levels: low, center and high levels as detailed on table 3.

Naturel VariableParametersCoded variableLow LevelCenter LevelHigh Level
Keelectric constant of back-electromotive-force (EMF)X10.050.10.2
Ld= LqStator d- and q- axes inductances (mH).X20.2160.4160.616
TsSwitching period (μs)X3100300500
EBattery voltage (V)X4200300400
RStator resistance (Ω)X50.020.050.08
rmTorque gear ratioX6135

Table 3.

Description of experimental variables in the screening design

Our goal is to optimize both the response time and the power of the studied system. The analysis of results and the building of experimental designs were carried out with the NEMRODW mathematical statistical software (El Ati-Hellal et al., 2009).

Because of the none-linearity of the studied system, the experimental response Yi can be represented by a quadratic equation of the response surface (Elek et al., 2004):

Y1,2=b0+i=16bixi+i=1j=2ij6bijxixjE23

Y1 : response representing the response time;

Y2 : response representing the power;

To find an optimum, we should minimize (Y1) and maximize (Y2). So we define the following experimental response Y:

Y=αY1+β.Y2E24

with α=350 and β=0.6 α and β are ponderation factors. In our case, we give the same weight to the response time and the power.

Coefficients bi of the response surface (19) were calculated with Nemrodw software without taking into account experiment 45 due to high residual.

To decide about the efficiency of the obtained regression equation, we compute R2 as:

R2 = (Sum of squares attributed to the regression)/ Total Sum of squares)

We found R² = 0.976; it is well within acceptable limits of R2>= 0.8 which revealed that the experimental data well fitted the second-order polynomial equation as detailed on table 4.

Y
Standard error of response 8.4837
R2 0.976
R2A 0.939
R2 pred 0.777
PRESS 11512.167
Degrees of freedom 17

Table 4.

Statiscal data and coefficients of y response model: y= f(x1, x2, x3, x4, x5, x6)

To estimate the quality of the model and validate it, analysis of the variance and the residual values (difference between the calculated and the experimental result) were examined. According to the residual (Figure 10), the choice of the model was appropriate: a systematic behavior was not observed in the plot, for example, an increase in residual suggesting the necessity to transform the response.

After the validation of the proposed second-order polynomial model, we can draw 2D and 3D plots representing the evolution of Y versus 2 factors.

Using contour plot graphs makes the evaluation of the influences of the selected factors easier.

Figure 11 illustrates the experimental response obtained by the simultaneous variation of X2 (Ld&Lq) and X6 (rm). We concluded that in order to increase the response Y, an increase of X6 and decrease of X2 is necessary (Danion et al., 2004) & (El Hajjaji et al., 2005).

Figure 10.

Overview of residual: Normal probability and residual plot

Figure 11.

Contour plot and response surface (Y) of the Torque gear ratio (rm) and Stator d-q axes inductances (Ld&Lq).

An optimal result of control strategy on the electrical vehicle is obtained with NEMRODW software to obtain an optimal dynamic response. It is detailed on table 5.

Response Before optimizationAfter optimization
Tr (Y1)6.5s4.65s
P (Y2)42 Kw58 K w

Table 5.

Optimization result

The optimal values of variables corresponding to the optimal dynamic response (Tr) and power (P) are resumed on table 6.

VariableFactorOptimal value in NEMRODWReal values before optimizationReal values after optimization
X1 K 1.00940.10.2
X2 Ld=Lq0.39760.416 mH0.216 mH
X3 Ts 1.0086300 μs500 μs
X4 E 1.0052300 V400 V
X5 R 1.00610.05 Ω0.08 Ω
X6 rm 0.993435

Table 6.

Optimal values of variables

The speed response shows the good dynamic suggested of our vehicle. The reference speed is attained in 4.65 second. The direct current is equal to zero in the permanent mode, the quadratic current present the image of the electromagnetic torque. The power is increased to reach 58 kW.

Figure 12.

Dynamic response of the vehicle speed after optimization

Advertisement

8. Conclusion

In this paper, we developed a VHDL-AMS description of a vehicle traction chain and we adopt the vector control Id=0 strategy to drive the designed PMSM. The simulation of the dynamic response of the vehicle shows the effectiveness of this mode of control and the PMSM in the field of the electric traction. The obtained result with Simplorer differs from that obtained with Matlab because we used more accurate models. We think that VHDL-AMS is more suitable to predict the electric vehicle behavior since it is a multidisciplinary HDL. We have shown that response surface analysis coupled with a carefully constructed experimental design is a useful tool to carry out an Optimal Simulation of the Control Strategy of an Electrical Vehicle.

References

  1. 1. JalalifarM.PayamA. F.NezhadS.MoghbeliH.2007Dynamic Modeling and Simulation of an Induction Motor with Adaptive Backstepping Design of an Input-Output Feedback Linearization Controller in Series Hybrid Electric Vehicle, Serbian Journal of Electrical Engineering, 42November 2007), 119132
  2. 2. FellerA.StephanM.2009Modeling Germany’s Transition to the EV until 2040 in System Dynamics, Thesis, Vallendar, July 27, 2009.
  3. 3. JaberK.FakhfakhA.NejiR.2010High Level Optimization of Electric Vehicle Power-Train with Doehlert Experimental Design, 11 th International Workshop on Symbolic and Numerical Methods, Modeling and Apllications to Circuit Design, Sm2ACD 2010, 908911978-1-42445-090-9Tunis-Gammarth, Tunisia, 2010.
  4. 4. JaberK.BenSaleh. B.FakhfakhA.NejiR.2009Modeling and Simulation of electrical vehicle in VHDL-AMS, 16 th IEEE International Conference on, Electonics, Circuits, and Systems, ICECS 2009, 908911978-1-42445-090-9Yasmine Hammamet, Tunisia, 2009.
  5. 5. Mc DermottT. E.JuchemR.DevarajanD.2006Distribution Feeder and Induction Motor Modeling with VHDL-AMS. 2006 IEEE/PES T&D Conference and Exposition Proceedings, 2126May 2006, Dallas.
  6. 6. FakhfakhA.FekiS.HervéY.WalhaA.MasmoudiN.Virtualprototyping.inpower.electronics-Ausing. V. H. D. L.applicationM. S.tothe.directtorque.controloptimisation. J.Appl. Sci. 6, 2006572579
  7. 7. SadeghiS.MirsalimM.2010Dynamic Modeling and Simulation of a Switched Reluctance Motor in a Series Hybrid Electric Vehicle, International peer-reviewed scientific journal of Applied sciences, 71517117858860
  8. 8. DolecekR.NovakJ.CernyO.2009Traction Permanent Magnet Synchronous Motor Torque Control with Flux Weakening. Radioengineering, 184DECEMBER 2009.
  9. 9. BenSalah. B.MoallaA.TounsiS.NejiR.SellamiF.2008Analytic Design of a Permanent Magnet Synchronous Motor Dedicated to EV Traction with a Wide Range of Speed Operation, International Review of Electrical Engineering (I.R.E.E.), 31110112
  10. 10. El Ati-HellalM.HellalF.DachraouiM.HedhiliA.2009Optimization of Sn determination in macroalgae by microwaves digestion and transversely heated furnace atomic absorption spectrometry analysis. Canadian Journal of Analytical Sciences and Spectroscopy, 536
  11. 11. ElekJ.MangelingsD.JoóF.HeydenV.Y.2004Chemometric modelling of the catalytic Hydrogenation of bicarbonate to formate in aqueous Media, Reaction Kinetics and Catalysis Letters. 832321328
  12. 12. DanionA.BordesC.DisdierJ.GauvritJ. Y.GuillardC.LantériP.RenaultN. J.2004Optimization of a single TiO2-coated optical fiber reactor using experimental design, Elsevier, Journal of Photochemistry and Photobiology A: Chemistry, 1683161167
  13. 13. El HajjajiS.El AlaouiM.SimonP.GuenbourA.BenBachir. A.Puech-CostesE.MauretteM.T.AriesL.2005Preparation and characterization of electrolytic alumina deposit on austenitic stainless steel. Science and Technology of Advanced Materials, 655195241468-6996

Written By

K. Jaber, A. Fakhfakh and R. Neji

Submitted: 14 October 2010 Published: 12 September 2011