Project-1: Modelling an electric Car with Li-ion battery
Project-1: Modelling an electric Car with Li-ion battery
Create a MATLAB model of electric car which uses lithium ion battery and suitable motor. Choose suitable blocks from Simscape or Powertrain block set. Implement the vehicle speed control using PI controller and generate brake and accelerator commands. Avoid using readymade driver block for speed control.
Prepare a report about your model including following:
Objectives, System level configurations, Model parameters, Results, Conclusion.
Objectives:Create a MATLAB model of electric car which uses lithium ion battery and suitable motor. Choose suitable blocks from Simscape or Powertrain block set. Implement the vehicle speed control using PI controller and generate brake and accelerator commands. Avoid using readymade driver block for speed control.
SYSTEM LEVEL CONFIGURATION:

PID CONTROLLER:

Reference velocity is connected to the product in (+,-) is connected to the pid controller is connnectedd tot the one upon a acceleration and other one is deaccceleration and both are connected to the transfer ffunction 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 to the both are line in the start with the input and end is output
BLOCK PARAMETEERS:

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 ROTATIONL MOTION 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 for a eleectric car lithium ion battery and motor.