Challenge

Final Project: Design of an Electric Vehicle

1. Create a MATLAB model of an electric car that uses a battery and a DC motor. Choose suitable blocks from the Powertrain block set. Prepare a report about your model including the following:

Objectives:

1. System-level configurations

2. Model parameters

3. Results

4. Conclusion

solution:

Electric vehicle:

It consists of Battery, Motor, Gear, and vehicle body. To run the motor,a battery with power electronic equipment is used.

In this project, we are going to design an electric vehicle. Here, we are using a DC motor along with H bridge to move the vehicle. Also, we are going to consider the drive cycle source. In this drive cycle source, there are various types of drive cycle sources are available. We can use 3 different drive cycles and here it should be observed whether the actual velocity is following the drive cycle or not. The blocks used in this model are

  1. Vehicle body.
  2. Tire.
  3. Gear.
  4. Motor.
  5. H-bridge.
  6. PWM Block.
  7. Battery.
  8. Drive cycle source.

Here the drive cycles are connected to the longitudinal driver and the acceleration and deceleration is connected to the PWM reference block. The H bridge converter will drive the DC motor. For this motor, the battery is the source.The output of the motor is connected to the gear with a value of 10. The vehicle body block is will gives the actual velocity and in the last block wheels also presented. The SOC block will provides actual AH and maximum AH also. The maximum AH is considered as 50

Figure.1. Development of Electric vehicles using MATLAB Simulink.

Figure 2. Vehicle along with tires.

The above block consists of vehicle body and four tires. Here NR is connected N terminal of the two tires and NF is connected to another two terminals of tires. All H terminals of the tire are connected together and the common point are connected to the vehicle body. The ‘S’ terminals of the each tire are terminated here. The ‘W’(wind velocity) terminal is not considered and also the road angle beta is also not considered.

The vehicle body consists of Main, drag, pitch and variables. The corresponding values are shown below figures. Here the mass m is equal to 1200kg and gravitational force is 9.81 and the remaining parameters are kept default values.

Figure 3. Main Parameters of the vehicle body.

Figure 4. Drag parameters of the vehicle body.

Figure 5. Pitch parameters of the vehicle body.

Figure 6. variables of the vehicle body.

Tyre parameters:

In the tire block parameters block there are 5 parameters

  1. Main.
  2. Geometry.
  3. Dynamics.
  4. Rolling resistance.
  5. Advanced.

The corresponding parameters are shown below:

Figure 7. Tyre main parameters of the vehicle.

There are 4 variations in the main parameters

  1. Peak longitudinal force and corresponding slip.
  2. Constant magic formula coefficients.
  3. Load-dependent magic formula coefficients.
  4. Physical signal magic formula coefficients.

Out of all these parameters, I have considered Peak longitudinal force and corresponding slip.

Figure 8. Tyre Geometry of the vehicle.

The rolling radius can be varied as per the requirement of the torque.

Figure 9. Tyre Dynamics.

Figure 10. Rolling resistance of the tire.

Figure 11. Advanced parameters of the tire.

Simple gear parameters:

The gear parameters here I considered as 10. This is based on the actual velocity and reference velocity variation. To get perfect matching I have taken the teeth ratio as 10.

Figure 12. Simple Gear main parameters.

Figure 13. Meshing losses of the simple gear.

Figure 14. Viscous losses of the simple gear.

Motor Parameters:

Figure 15. DC MOTOR.

In the DC motor, there are two types of field are available

  1. Permanent magnet.
  2. Wound.

Here, I have selected a permanent magnet only instead of a wound. Coming to the model parameterization there are different types. The first one is

  1. By Equivalent circuit parameters.
  2. By rated load and speed.
  3. By stalling torque and no-load speed.

Among all these things, I have used rated load and speed. Generally, the voltage for DC motor is 220V. To meet the required power I have chosen as 300V.

Figure 16. Electrical torque parameters.

Figure 17.Mechanical parameters of DC Motor.

Figure 18. Faults tab in Electrical motor.

H Bridge and PWM block:

These blocks are related to power electronics. Here the acceleration port and deceleration ports are connected to dependent voltage sources. The controlled PWM blocks will send PWM signals to the H- bridge. The H-Bridge will give the voltage to the motor. For this H bridge, the voltage is taken from the battery. The PWM frequency here I have considered as 1000Hz and if we increase the PWM frequency the switching losses will increase. Therefore based on the requirement we have to choose the switching frequency. Also, it is observed that the controlled PWM voltage magnitude is 300V. For PWM pulse generation to the power electronics, a voltage of 5V is required. Hence the input scaling block consists of 5V.

Figure 19. H bridge configaration.

Figure 20. Internal view of H-bridge configuration.

This H bridge inverter is nothing but a Class E chopper.

Figure 21. PWM Frequency of the H bridge.

Figure 22. Input Scaling of the controlled PWM Voltage.

Figure 23. Output Voltage of the Controlled PWM Voltage.

H bridge: Here in H bridge, I considered the average simulation mode instead of PWM mode. In this mode it will take Ton/T only. Also it is observed that Regenerative braking is enabled. When the drive cycle is in deceleration mode then regenerative braking is obtained.

Figure 24.Simulation Mode and Load assumptions.

Figure 25. Input Thresholds of the H-Bridge.

Battery: Here, the main function of the battery is to give the voltage to the H bridge. In this battery already SOC is mentioned. The value of the internal resistance is considered as 0.1ohm. Coming to the charge value the default value is taken i.e 50hr*A.

Figure 26. Battery of the Electric vehicle.

Figure 27. Main parameters of the battery.

Figure 28. variable parameters of the battery.

Longitudinal driver: In this block, control type and control parameters are mentioned. The P&I Values can be changed based on

actual velocity.

Figure 29. Longitudinal driver.

Coming to the drive cycle blocks, here I have considered two blocks out of these two One drive cycle source is FTP75 and another one is HWFET and after completion UDDS is also considered.

Figure 30. Various Drive cycles.

Battery SOC:

To get the charge the current is integrated and the value of the 3600 is to get interms of AH. The maximum AH is considered as 50 and the resultant is subtracted with constant block and produces the value of SOC.

Results: FTP75 Drive Cycle.

From the above figure, it is clearly understood that velocity(blue) is following the reference drive cycle(yellow). Hence the designed electric vehicle working perfectly.

SOC:

UDDS Drive Cycle:

SOC For UDDS drive cycle:

HWFET Drive Cycle:

HWFET SOC:

Conclusion: Here for all the three drive cycles, the Drive cycle is matching the actual velocity. The SOC is also decreasing as per the concept. It is also recommended that an induction motor can be used instead of DC Motor.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.