All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
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. AIM: To Create…
Swapnil Shinde
updated on 27 Dec 2022
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.
AIM:
To Create a MATLAB Model of Electric car using Lithium Ion Battery and Suitable Motor.
Objective:
Choose suitable blocks from Simscape or Powertrain block set. Implement the vehicle speed control using a PI controller and generate brake and accelerator commands. Avoid using readymade driver blocks for speed control. Prepare a report about your model including the following:
Objectives, System level configurations, Model parameters, Results, and Conclusion.
Electric Vehicle:
An Electric Vehicle is a vehicle which is propelled by an Traction Motor instead of Internal Combustion engine which uses mixture of fuel and air to move the vehicle. The Traction Motor is powered by an Battery Pack which has number of Lithium Ion cells which are stacked together inside a module through combination of series and parallel connection to form a battery pack. The EV is charged by an External Power supply called as an Electric Vehicle Supply Equipment(EVSE). The Electric Vehicle On board Charger consists of Rectifier and Converter circuit which converts the AC supply into DC supply and then this DC Supply is stepped up to match the battery pack voltage level which is supplied to battery pack. Since On board Charger has limitations due to space constarints it cannot charge Battery at faster Rate. Therefore EVSE is used to charge the EV quickly. If the Power supplied is High Voltage DC directly from EVSE then On board Charger will detect the type of supply and it will bypass the Rectifier and Converter circuit and activate high voltage Contactors so that HV DC supply is directly fed to the Battery Pack. The Battery pack Charging is continuouslty monitored by Battery Management System (BMS). The Main opeation of BMS is to monitor and protect the Lithium Ion battery packs. It continuously monitors the individual cell voltages. The Promary Function of BMS is Over and Under Voltage protection, Thermal Protection, Over Current protection, State of Charge(SOC) Calculation, Cell balancing, Fault detection, Maximize the Life Span. The DC voltage from Battery pack is splitted through power splitter device and is suplied to DC-DC Converter. There are two types of DC-DC Converter used in EV. The Step Down Converter is used to step down Battery pack voltage to low voltage ie12V which is used by Auxilary loads such as Headlights, Tail Lights, Indicator Lights, etc. The High Volatge DC from Battery Pack is stepped up with the help of Step Up Converter to supplt to the 3 Phase Induction Motor or Synchronous Motor. The Inverter Converts the HV DC to AC Voltage which is then supplied to Traction Motor. The Inverter acts as an Motor Controller since in many EV the Inverter and Motor Controller are integrated to control the Speed of Motor. According to the Accelerator pedal input from driver the motor controller generates the duty cycle and PWM signal is generated which controls the speed of the motor. The Motor is connected to CVT or Single Speed Transmission and the transmission output is given to the wheels through differential.
The Electric Vehicle is Charged through Electric Vehicle Supply Equipment (EVSE). Depending upon the Type of Chargng level the charging time varies. There are three levels of Charging EV.
(a) Level 1 Charging: (Home Charging)
(b) Level 2 Charging:
(c) Level 3 Charging:
Types of Electric Vehicles:
There are a few different types of electric vehicles (EV). Some run purely on electricity, these are called pure electric vehicles. And some can also be run on petrol or diesel, these are called hybrid electric vehicles.
Configuration of Electric Vehicle
Components of Electric Vehicle:
1. TRACTION BATTERY:
(2) Battery Management System:
Battery management systems (BMS) are electronic control circuits that monitor and regulate the charging and discharge of batteries. The battery characteristics to be monitored include the detection of battery type, voltages, temperature, capacity, state of charge, power consumption, remaining operating time, charging cycles, and some more characteristics.
(3) TRACTION MOTOR:
(4) Motor Controller:
POWER CONVERTER UNIT:
(1) INVERTER:
(2) DC-DC Converter:
(3) On Board charger (Rectifier Circuit):
SYSTEM LEVEL CONFIGURATIONS:
SIMULINK MODEL
1. Vehicle Body Subsystem:
Signal1
from the input port of the first Two-Way Connection block to the output port of the second Two-Way Connection block, and at the same time carries the signal Signal2
from the input port of the second Two-Way Connection block to the output port of the first Two-Way Connection block.
PARAMETERS OF BLOCK:
2. Wheels and Brakes Subsystem:
The above figure represents the longitudinal behavior of a tire characterized by the tire Magic Formula or mapped data. The Block includes options for the rolling resistance and brakes.
A disc brake converts brake cylinder pressure from the brake cylinder into force. The disc brake applies the force at the brake pad mean radius. The block uses these equations to calculate brake torque for the disc brake.
PARAMETERS:
3. DIFFERENTIAL:
The Open Differential block implements a differential as a planetary bevel gear train. The block matches the driveshaft bevel gear to the crown (ring) bevel gear. You can specify:
Crown wheel location
Viscous and damping coefficients for the axles and carrier
The Open Differential block implements a differential as a planetary bevel gear train. The block matches the driveshaft bevel gear to the crown (ring) bevel gear. You can specify:
Use the Open Differential block to:
Dynamically couple the post-transmission driveshaft to the wheel axles or universal joints
Model simplified or older drivetrains when optimal traction control does not require passive or active torque vectoring
Model mechanical power splitting in generic gearbox and drive line scenarios
The block is suitable for use in hardware-in-the-loop (HIL) and optimization workflows. All the parameters are tunable.
The block uses a coordinate system that produces positive tire and vehicle motion for standard engine, transmission, and differential configurations. The arrows indicate positive motion.
The input ports are Driveshaft torque, AxelTorque 1 and Axle Torque 2. The Drive SHaft speed is given as input to Drive shaft torque. The efficiency factor selected is constant.
The Torsional Compliance block implements a parallel spring-damper to couple two rotating driveshafts. The block uses the driveshaft angular velocities, torsional stiffness, and torsional damping to determine the torques.
PARAMETERS OF BLOCK:
4. ELECTRICAL SYSTEM:
4.1 Battery:
Parameters of Block:
4.2 MAPPED MOTOR:
Parameters of Block:
5. DRIVER SUBSYSTEM:
PID Tuning:
PID Parameters:
Acceleration and Deceleration:
The Saturation block produces an output signal that is the value of the input signal bounded to the upper and lower saturation values. The upper and lower limits are specified by the parameters Upper limit and Lower limit.
6. DRIVE CYCLE:
The Drive Cycle Source generates a standard or user-specified longitudinal drive cycle. A drive cycle is typically represented by a series of data points which plots vehicle speed against time. Driving cycles are produced to assess the performance of vehicles in various ways, including fuel consumption and pollutant emissions.
RESULTS:
CASE 1: FTP 75
a. Drive Cycle Plot:
b. SOC, Voltage, Current and Motor Torque Plot:
CASE 2: WLTP Class 3
a. Drive Cycle Plot:
b. SOC, Voltage, Current and Motor Torque Plot:
Now Discharging the battery completely from 100% to 0% by using Repeat Cyclic Command in Drive Cycle.
1. FTP 75
The Vehicle has covered a distance of 250.8km when battery is discharged from 100% to 0%. The Max Velocity of Vehicle is 90kmph and Battery Max discharge current is 250A.
2. WLTP Class 3:
The Vehicle has covered a distance of 177.6km when battery is discharged from 100% to 0%. The Max Velocity of Vehicle is 120kmph and Battery Max discharge current is 390A. Since vehicle is running at higher speed of120kmph so battery is discharging at 390A so the range has reduced.
Parameters | FTP75 Drive Cycle | WLTP Class 3 Drive Cycle |
Drive Cyle Run Time in Seconds | 2474 | 1800 |
Distance Travelled in Km | 17.82 | 23.33 |
SOC Remaining in % | 93.56 | 87.78 |
Max Velocity (kmph) | 90 | 120 |
Battery Voltage Remaining after 1 Cycle | 124.3 | 122.2 |
Battery Voltage after SOC reduced to 0% | 81.34 | 82.43 |
Vehicle Estimated Range in Km | 250.8 | 177.6 |
CONCLUSION:
A MATLAB-Simulink model of Electric Car which uses lithium ion battery with suitable motor is created by using suitable blocks from Simscape or Powertrain block set. The vehicle speed control is and we Implemented using PID controller to generate acceleration and deceleration commands. The simulation is simulated by using 2 drive cycles FTP75 and WLTP Class3 and there graphs are compared and table is plotted for comparison and estimated range for both drive cycles are simulated.
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Project 2 - Modeling of 3 phase Induction Motor Drive
AIM: The aim is to design the 3 Phase Inverter using Simulink with switching frequency of 10KHz and Controlling the 3 phase Squirrel Cage Induction motor, using V/F method from 3 Phase Inverter. Given Parameters: Power = 100 HP DC Voltage = 800 V Output Voltage = 460 VRMS – line to line Initial Speed = 1500 RPM Final…
17 Mar 2023 12:25 PM IST
Project 1 - Loss calculation for a DC/DC converter-MATLAB
Design of boost converter, and calculating the loss of different components including power switching device and deriving efficiency of boost converter. This is applicable in power supply industry, electric vehicles etc where DC-DC converter is required to boost the voltage from DC source. All the aspects of this project…
11 Mar 2023 01:21 PM IST
Project 2
AIM: Using MATLAB/simulink and the drive cycle from the attached excel sheet, find- The max heat generation of the battery The SOC of the battery at 2 *104second of the battery operation Time Time Step Battery Current 00:00.4 0.1 -0.9632 00:00.5 0.2 -0.952 00:00.6 0.3 -0.9072 00:00.7 0.4 -0.9632 00:00.8 0.5…
20 Jan 2023 02:45 PM IST
Project 1
1. Design a battery pack for a car roughly 150 Kw with 120 V. Use 3500 mAh 3.6V nominal NMC chemistry cell. A battery management system (BMS) is said to be the brain of a battery pack. The BMS is a set of electronics that monitors and manages all of the battery’s performance. Most importantly, it keeps…
19 Jan 2023 02:34 PM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.