Challenge

Project-1: Modelling an electric Car with Li-ion battery

Create a MATLAB model of an electric car which uses a lithium-ion battery and a suitable motor. Choose suitable blocks from Simscape or Powertrain block set. Implement the vehicle speed control usinthe g PI controller and generate brake and accelerator commands. Avoid using readymade driver block for speed control.

Prepare a report about your model including the following:

Objectives, System level configurations, Model parameters, Results, and Conclusion.

Objectives: Create a MATLAB model of an electric car that uses a lithium-ion battery and a suitable motor. Choose suitable blocks from Simscape or Powertrain block set. Implement the vehicle speed control using the PI controller and generate brake and accelerator commands. Avoid using readymade driblockslock for speed control.

SYSTEM LEVEL CONFIGURATION:

PID CONTROLLER:

Reference velocity is connected to the product in (+,-) and is connected to the PID controller connected to the one upon acceleration and the other oneaccelerationtion and both are connected to the transfer function abs, and the output is accelerration cmd and deacceleration cmd

SUM:

sum is connected to the input and output

BLOCK PARAMETERS:

PID CONTROLLERS:

Pid controller is controlled by the lines starting with the input and end ending output

BLOCK PARAMETERS:

ACCELERATION:

DEACCELERATION:

BLOCK PARAMETERS:

BLOCK PARAMETERS:

DEACCELERATION CMD:

BLOCK PARAMETERS:

The output is deacceleration is 2

MOTOR CONTROLLER1:

H-BRIDGE:

CONTROLLED VOLTAGE SOURCE:

CURRENT SENSOR:

CONFIGURATION:

ELECTRICAL RESISTANCE:

BATTERY:

CONTROLLED CURRENT SOURCE:

SOC:

CLOCK:

CONSTANT:

AVERAGE ENERGY CONSUMED:

MOTOR:

VOLTAGE SENSOR:

DC MOTOR:

MECHANICAL ROTATIONAL REFERENCE:

VEHICLE BODY:

TIRE:

PS TERMINATOR:

INERTIA:

SIMPLE GEAR:

ROTATIONAL FREE END:

VEHICLE BODY:

INPUT:

IDEAL RROTATIONALMOTION SENSOR:

OUTPUT:

MECHANICAL REFFERENCE:

RESULTS PLOT:

                                                                                              

RESULT PLOT:

Reference_velocity and vehicle_velocity

 Reference_velocity and vehicle_velocity(0-400)(400-1874)

SOC:

soc 100-99.87

CURRENT:

0-0.25-1874

VOLTAGE:

0-56.01

CURRENT:

0-4.5

VOLTAGE:

0-0.25

MOTOR:

MOTOR (0-1874)

VEHICLE_BODY:

VEHICLE_BODY(0-430)in time for 1874.00

CONCLUSION:

create a model forana an eleectrwithith r llithium-ionbattery and 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.