All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim: To Create a MATLAB model of an electric car in which we uses a DC motor by choosing a suitable blocks from the Powertrain block set. Objectives: To prepare the technical report about the EV model including System level configurations Model parameters Results Conclusion Theory: An…
Praveen Kumar E S
updated on 22 Jan 2022
Aim:
To Create a MATLAB model of an electric car in which we uses a DC motor by choosing a suitable blocks from the Powertrain block set.
Objectives:
To prepare the technical report about the EV model including
Theory:
An electric car is powered by the electric motor instead of a petrol engine. The electric motor gets energy from the controller, which regulates the amount of powerbased on the driver’s use of an accelerator pedal. The electric car (also known as electric vehicle or EV) uses the energy stored in its rechargeable batteries, which it recharged by common household electricity.
Thus an electric vehicle will have three basic components :
The energy storage unit will have a way to store power. The controller acts as a pipeline or gateway to the electric motor. The controller acts like brains of the system.The electric motor, which is the propulsion system, converts the electric power and converts this into physical energy for movement. The whole system is a much simpler, more efficient device than the combustion engine found in most cars, enabling you to get the most mileage for your charge.
Electric Vehicle Components
Basic Main Components of Electrical Vehicle:
The basic main elements of electric cars installed in almost all types of electric cars are as follows:
Traction Battery Pack:
Power Inverter:
Controller:
Electrical Traction Motor:
Other Electric Car Components:
Charger
This is a battery charging device. Chargers get electricity from outside sources. AC electricity is converted into DC electricity and then stored in the battery.
There are 2 types of electric car chargers:
Transmission :
The transmission transfers mechanical power from the electric traction motor to drive the wheels.
DC/DC Converter:
This one of electric car parts that to converts higher-voltage DC power from the traction battery pack to the lower-voltage DC power needed to run vehicle accessories and recharge the auxiliary battery.
Battery :
In an electric drive vehicle, the auxiliary battery provides electricity to power vehicle accessories.
Thermal System – Cooling :
This system maintains a proper operating temperature range of the engine, electric motor, power electronics, and other components.
Charge Port :
The charge port allows the vehicle to connect to an external power supply in order to charge the traction battery pack.
Procedure:
Vehicle Body Subsystem:
The Vehicle is assumed to be the front axle driven( 4 wheels and in 2 on each axle)
Tire
The wheels are modelled using simple Tire( Magical formula) simulink blocks.
The connection S represent the output port for the slip of the tire.
Velocity Body:
This 2 axle (4 wheel) assembly is now connected to a velocity Body simscape block.
This block basically represent a two-axle vehicle body in longitudinal motion.The block accounts for
Here the connection H is the mechanical translational conserving port NF and Nr are said to be a normal reaction forces on the front axle and the rear wheels respectively.Connection V represent the actual output translational velocity of the vehicle.
The geometric paramerters of the vehicle is given as
To be account for proper drag force on the vehicle, the related parameters are kept as
The pitch dynamics for the vehicle are not considered for this simulation
Signal Builder:
Simple Gear
The input for this subsystem is taken as the Rotational speed of the motor.
And here the rotational direction of the output shaft is kept as the same as the input shaft. Also, no meshing losses are considered for the simulation.
Inertia:
A concrete block which serves as a base for mechanical equipment such as fans or pumps; the block is mounted on a resilient support to reduce the transmission of vibration to the EV structure.
The complete subsystem is shown below
DC Motor:
All the other parameters are changed as shoen in below.
Motor Controller:
H-Bridge circuit:
The H-Bridge block represents an H-bridge motor driver. The block has the following two Simulation mode options:
PWM
— The H-Bridge block output is a controlled voltage that depends on the input signal at the PWM port. If the input signal has a value greater than the Enable threshold voltage parameter value, the H-Bridge block output is on and has a value equal to the value of the Output voltage amplitude parameter. If it has a value less than the Enable threshold voltage parameter value, the block maintains the load circuit using one of the following three Freewheeling mode options:
Via one semiconductor switch and one freewheeling diode
Via two freewheeling diodes
Via two semiconductor switches and one freewheeling diode
The first and third options are sometimes referred to as synchronous operation.
The signal at the REV port determines the polarity of the output. If the value of the signal at the REV port is less than the value of the Reverse threshold voltage parameter, the output has positive polarity; otherwise, it has negative polarity.
Averaged
— This mode has two Load current characteristics options:
Smoothed
Unsmoothed or discontinuous
The block can be driven by the controlled PWM Voltage block in PWM or Averaged mode.
The Input Threshold Parameters are left with their default values.
Output Voltage Amplitude of the H-Bridge circuit is given the same value as the rated DC supply Voltage of the DC motor.
Controlled PWM Voltage block
Simulink provides an inbuilt Controlled PWM Voltage block. This block is used for providing the proper pulse input to the block
The Controlled PWM Voltage block represents a pulse-width modulated (PWM) voltage source.
Electrical input ports — The block calculates the duty cycle based on the reference voltage across its ref+ and ref- ports. This modeling variant is the default.
PS input — Specify the duty cycle value directly by using an input physical signal port.
For the Electrical input ports variant of the block, the demanded duty cycle is
100⋅Vref−VminVmax−Vminpercent
where:
Vref is the reference voltage across the ref+ and ref- ports.
Vmin is the minimum reference voltage.
Vmax is the maximum reference voltage.
The PWM and REF connection are for the corresponding ports on the H-Bridge Circuit.The two reference inputs corresponds to the throttle inputs given by the driver.The block generates corresponding pulse width as per the acceleration and brakes applied by the driver himself.Here the PWM frquency is 4000Hz. Also the simulation mode is Averaged as that in the H-Bridge circuit.
The input Scaling Parameters given are
The H-Bridge circuit along with the PWM input, together form the motor controller circuit.
Longitudinal Driver:
Here the selected control type is PI .Accordingly the block implements PI control with tracking windup and feed forward gains.
Battery:
The Battery block represents a simple battery model. The block has four modeling variants,
Uninstrumented | No thermal port — Basic model that does not output battery charge level or simulate thermal effects. This modeling variant is the default.
Uninstrumented | Show thermal port — Model with exposed thermal port. This model does not measure internal charge level of the battery.
Instrumented | No thermal port — Model with exposed charge output port. This model does not simulate thermal effects.
Instrumented | Show thermal port — Model that lets you measure internal charge level of the battery and simulate thermal effects. Both the thermal port and the charge output port are exposed.
The instrumented variants have an extra physical signal port that outputs the internal state of charge. Use this functionality to change load behavior as a function of state of charge, without the complexity of building a charge state estimator.
To ensure the Battery Supplies current as per the requirements of the motor controller and not the rated current, a current sensor and controlled current source pair is connected.
Battery State of Charge:
A Small subsystem is created to calculate the State of Charge of the Battery
This subsystem takes the battery current as the input.
Reference Velocity(Drive Cycle):
Here, the selected drive cycle is the standard FTP75.
The plot of the drive cycle is shown below
Model:
Simulation:
Outputs:
Reference Speed Vs Actual Vehicle Speed:
Distance travelled:
State of Charge:
Motor Speed:
Conclusion:
The model was successfully run for the simulation under the standard FTP75 drive cycle .These are the result analyzed.
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...
Control Logic of Washing Machine and Gear Shift .
Aim: To Implement control logic of a 'Washing Machine' Using Stateflow as per given Sequence. Make a Simulink chart for the 'Gear Shift' logic as per given conditions. Objective: In Simulink, Implement the Control logic of a Washing Machine using StateFlow as per given input conditions.…
10 Feb 2022 11:26 AM IST
Week 2 Challenge
Question 1:Compare four different types of fuel cells and state their applications. An electrical current is produced via redox reactions occurring on the electrodes of the fuel cell. The most common fuel cell is the hydrogen fuel cell. On the anode, hydrogen molecules, which are fed to the anode from an external supply,…
06 Feb 2022 04:59 PM IST
Project-1: Modelling an electric Car with Li-ion battery
Aim: To Create a MATLAB model of an electric car in which we uses which uses lithium ion battery and suitable motor choosing a suitable blocks from the Powertrain block set and Implement the Vehicle Speed by using PI Controller and generate the accelerator and brake commands. Objectives: …
27 Jan 2022 06:44 AM IST
Final Project: Electric Rickshaw modelling
1.Create a detailed MATLAB model of an electric rickshaw (three wheel passenger vehicle) as per details below: Rear wheels driven by PM brushed type motor Assume efficiency points of motor controller and motor Make an excel sheet of all input and assumed data Results: For any three standard driving cycles show…
27 Jan 2022 05:01 AM 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.