All Courses
All Courses
Design of an Electric vehicle Create a MATLAB model of the electric car which uses lithium-ion battery and induction motor. Choose suitable blocks from Powertrain block set. Prepare a report about your model including the following: Objectives: System-level configurations Model parameters Results Conclusion Introduction…
vangala venkata shiridi Sairam
updated on 02 Sep 2022
Design of an Electric vehicle
Create a MATLAB model of the electric car which uses lithium-ion battery and induction motor. Choose suitable blocks from Powertrain block set. Prepare a report about your model including the following:
Objectives:
Introduction
A new study related to Vehicle/Automobile engineering , there will be a major transformation in the automobile sector working to change vehicle technologies, the major area is to decrease the pollution use electrification in the upcoming vehicles. The researchers continuously working to reduce CO2 emissions.
New technology like high capacity lithium type battery major energy source electric vehicles.
At present new technologies manufacturer has launched its products which are Tesla, Chevy Bolt EV and Nissan leaf which are fully electric battery-based car.
The power performance of electric vehicles is depending upon the two machines brushless DC motor (BLDC) or an induction motor. The DC (direct current) is replaced by DC brushless motors and Induction motors. the lead-acid battery is replaced by lithium-ion batteries for EVs. Because the future of both the components induction or brushless DC motors depends upon their demands and uses.
The most important components of electric vehicle areas:
It monitors battery characteristics as voltage, current, temperature, and state of charge while charging the pack.
By Using MATLAB SIMULINK System Block for Electric Vehicle design and the whole design is as:
Important Simulink Block used in Electric Vehicle design are:
MODELLING OF VEHICLE BODY SYSTEM:
The Vehicle Body block represents a two-axle vehicle body in longitudinal motion. The vehicle can have the same or a different number of wheels on each axle.
The block consists of body mass, aerodynamic drag, road incline, and weight distribution between axles due to acceleration and road profile. In optionally we can include pitch and suspension dynamics.
The block has an option to include an externally-defined mass and externally-defined inertia. The mass, inertia, and centre of gravity of the vehicle body can vary over the course of simulation in response to system changes.
In a given block
Main Settings
Drag Settings
Pitch Setting
Variable Settings
Other connected detail
For calculating the velocity here, we have created a subsystem i.e LOG mph, this block basically consists of PS Simulink converter, Gain, Zero order Hold.
TIRE MODELLING
The Tire (Magic Formula) block models a tire with longitudinal behaviour given by the Magic Formula, an empirical equation based on four fitting coefficients. The block can model tire dynamics under constant or variable pavement conditions.
The Tire (Magic Formula) block models the tire as a rigid wheel-tire combination in contact with the road and subject to slip. When torque is applied to the wheel axle, the tire pushes on the ground (while subject to contact friction) and transfers the resulting reaction as a force back on the wheel. This action pushes the wheel forward or backwards. If you include the optional tire compliance, the tire also flexibly deforms under load.
The figure shows the forces acting on the tire.
Where,
Fx = Longitudinal force exerted on the tire at the contact point
Fz = Vertical load on the tire
Ω = Wheel angular velocity
Vx = Wheel hub longitudinal velocity
In the particular block
In Tire block, we can change the parameter
Main Settings
Geometry Setting
Dynamic Settings
Rolling Resistance Setting
Advance setting
INERTIA
This block generally represents the mechanical rotational element.
Where,
T = Inertia torque
J = Inertia
Ω = Angular velocity
T = Time
T=Jdw/dt
So here the inertia value is 0.01 kg*m^2 and this block is connected with rear axle and (Simple Gear) final drive ratio to find the inertia because axel and gear are a mechanical rotating device.
SIMPLE GEAR
Simple Gear is a Final drive ratio which is a gearbox that constrains the connected driveline axes of the base gear and the follower gear.
B: The output B, base gear is connected with the input of DC motor R. It is a Rotational mechanical conserving port.
F: The output of F, follower gear is connected with the rear axle. It is also a Rotational mechanical conserving port.
In Simple Gear Block we can also do some changes according to our need.
Main Setting
Meshing Losses
Configuration Battery and SOC
BATTERY
Here we will add a battery system to run the vehicle system and vehicle too. So for that added battery from Simulink library.
Here I used a simple battery model. For a particular battery, there is some changes input
If we are selecting battery charge capacity as Finite from the drop-down menu then this basically describes the series resistor and a charge-dependent voltage source and for this, a particular equation is which is dependent upon the voltage as a function of charge.
Where,
The connection of battery is as follow, the negative (-) terminal is connected with the ground and controlled current source physical port to the positive direction that indicates the flow.
The positive (+) terminal is also connected to the controlled current source of electrical conserving ports.
The Controlled Current Source block represents an ideal current source that is powerful enough to maintain the specified current through it regardless of the voltage across the source.
In this particular block, the two-port is connected with battery and one electrical conversing port is connected with PS-Simulink converter to the rate transition block and Scope block.
The Electrical Reference block represents an electrical ground. For this model, this block is connected with battery negative (-) terminal.
The PS-Simulink Converter block converts a physical signal into a Simulink output signal. Use this block to connect outputs of a Physical Network diagram to Simulink scopes or other Simulink blocks.
For calculating the SOC (State of Charge) we have to create a subsystem which will consist of Rate transition, Gain, Discrete Time Integrator, Constant and Sum blocks.
It is used to transfers data from the output of a block operating at one rate to the input of a block operating at a different rate.
Input Signal: Input signal to transition to a new sample rate, specified as a scalar, vector, matrix, or N-D array.
Output Signal: Output signal is the input signal converted to the sample rate you specify.
A basic input for this block is as
The Gain block multiplies the input by a constant value (gain). The input and the gain can each be a scalar, vector, or matrix.
Here Gain value is the multiplication element and the input is 1/(50*3600), where 50is battery ampere and 3600 is second.
The discrete-time integrator block is used for
The Sum block performs addition or subtraction on its inputs.
In this block, the negative terminal will be connected with discrete-time integrator and positive terminal with constant.
The DC Motor block represents the electrical and torque characteristics of a DC motor using the following equivalent circuit model:
Here in this system, the positive terminal is connected with the current sensor negative terminal and negative terminal is connected with the negative terminal of H-Bridge.
R is DC motor rotor which connected with mechanical rotational port i.e. simple gear whereas C is DC motor case and it is connected with mechanical rotational reference.
A basic configuration of the DC motor is as follow:
Here for the particular model, I configure in DC Motor and try to change a basic setting in electrical torque.
Another Mechanical detail of DC motor is as follow
H-BRIDGE
Simulation mode and Load Assumption Settings
Smoothed
Unsmoothed or discontinuous
Input Thresholds
Bridge Parameters
Detail about connection
Here PWM output port is connected with PWM input port of controlled PWM voltage. The REF and REV port are connected with REF port of controlled PWM voltage port. The BRK port is connected with a controlled voltage source.
The positive (+) terminal is connected with the positive (+) port of current sensor and negative (-) port is connected with the negative (-) port of DC motor.
The Controlled PWM Voltage block represents a pulse-width modulated (PWM) voltage source. The input detail is as given below.
Detail about the connection
The Controlled Voltage Source block represents an ideal voltage source that is powerful enough to maintain the specified voltage at its output regardless of the current flowing through the source.
The block has one physical signal input port and two electrical conserving ports associated with its electrical terminals.
Solver configuration is used to begin the simulation and it is needed to solve the Simulink model. Here it is connected with controlled PWM voltage and H-Bridge negative connection by combination with electrical reference i.e ground signal.
LONGITUDINAL DRIVER
The Longitudinal Driver block implements a longitudinal speed-tracking controller
he detail of inputs is as given
Detail about parameter
For this particular electric vehicle here I used FTP75 drive cycle. The plotted drive cycle is as given:
The connection drive cycle RefSpd is connected with the VelRef of Longitudinal driver and to the Scoop results which generate the vehicle reference speed.
Here the main block is an integrator, Divide, time block and for the result we have to use display block that will display the distance.
Detail about connection:
Integrator
The output port of the vehicle body is connected with the integrator block.
Divide
The output of the integrator block is connected with divide where it will be divided by time to get the final output.
Time
The output of time block is connected with the divide block. Here time is taken as 3600 s.
RESULTS
1. Longitudinal Driver/Decel
Positive Duty cycle = 11.779 %
Negative Duty cycle = 88.310 %
2. SOC %
The battery starts discharging after 17.272 Sec and its discharge till 2471.533 sec.
Transition level
3. Current
The starting of current is 18.917 s and we can see that the current is constant for 602.051s starting from 1385.868s to 1987.918s
Transitions Level
Cycle Level
4. Speed
Here the yellow graph indicates the vehicle speed whereas blue graph indicates the reference speed.
As we can see the difference time between the reverence speed Vs vehicle speed, this is basically starting of vehicle speed.
As we can see that the reference speed start at 20.097s whereas vehicle speed starts at 22.142s and the total difference between these two are 2.045s
Transition Level
Conclusion:
The total distance travel by vehicle is 5.318 m/s or 19.1448 kmph depending upon the FTP75 drive cycle and the total time for simulation was 2474 sec.
The battery is having 300 V which is a nominal voltage and the battery ampere per hour rating is 50 by which we calculated the SOC (state of charge) of battery.
The DC motor is used to run the Rear axel of the vehicle and when the car is with no load condition then the motor operating RPM is 11000 and when the car is running at some load or we can say that some rated speed then the motor RPM is taken as 10500. The voltage supply to DC motor is 300 V.
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...
Final Project: Design of an Electric Vehicle
Design of an Electric vehicle Create a MATLAB model of the electric car which uses lithium-ion battery and induction motor. Choose suitable blocks from Powertrain block set. Prepare a report about your model including the following: Objectives: System-level configurations Model parameters Results Conclusion Introduction…
02 Sep 2022 06:03 AM IST
Project-1: Powertrain for aircraft in runways
Given that Part A: 1. Search and list out the total weight of various types of aircrafts. 2. Is there any difference between ground speed and air speed? 3. Why is it not recommended to use aircraft engine power to move it on the ground at Airport? 4. How an aircraft is pushed to runway when its…
27 Aug 2022 12:52 PM IST
Week-11 Challenge: Braking
Tasks For a defined driving cycle, calculate the energy required for braking. Why electric motor can’t develop braking torque at a high speed similar to starting? How electric and mechanical brakes are coordinated? Make a MATLAB program that plots the contour of given motor speed, torque and efficiency values.…
26 Aug 2022 08:17 AM IST
Week-7 Challenge: DC Motor Control
here by the above question we have do step size procedure by using matlab2021a version 1. open matlab first after go to simulink show the below instructions do as follow like this 2. the next step go to help section see below figuare we can understand easily 3. next go to search bar and find the BJT…
25 Aug 2022 07:15 AM IST
Related Courses