Challenge

Final Project: Design of an Electric Vehicle

Aim:

Create a MATLAB model of electric car which uses a battery and a DC motor. Choose suitable blocks from Powertrain block set. Prepare a report about your model including following:

Objectives:

1. System level configurations

2. Model parameters

3. Results

4. Conclusion

Introduction:

An electric vehicle (EV) is one that operates on an electric motor instead of an internal combustion engine. Therefore such a vehicle is seen as an replacement of current generation of IC engine automobiles in order to address the issue of rising pollution, global warming, depletion on natural resources, etc. Though the concept of electric vehicles has been around for a long time, it has drawn a considerable amount of interest in the past decade

Basic Block Diagram of an EV

Drive cycle - This is the input given to the vehicle. This are different types of drive cycle based on the application we choose. In this vehicle is simulated for acceleration and decceleration for a particular type with the varying speed range.

Drriver Controller - To drive the drive cycle as per the given condition, a driver controller is present to run the vehicle taking the input and feedback to move from one place to another.

Power Converter - They are used to process and control the flow electric energy by supplying required voltage and current in a form that is optimally suited for the user load.

Battery - This is the power supply that provides energy required to drive the vehicle.

Vehicle Body - This is where the output is achieved via the motor power is transferred to the wheel considering the different forces and resistance and compare with input drive cycle.

Powertrain Blockset :

Powertrain Blockset provides fully assembled reference application models of automotive powertrains, including gasoline, diesel, hybrid, and electric systems. It includes a component library for simulating engine subsystems, transmission assemblies, traction motors, battery packs, and controller models. Powertrain Blockset also includes a dynamometer model for virtual testing. MDF file support provides a standards-based interface to calibration tools for data import.

Powertrain Blockset provides a standard model architecture that can be reused throughout the development process. You can use it for design tradeoff analysis and component sizing, control parameter optimization, and hardware-in-the-loop testing. You can customize models by parameterizing components in a reference application with your own data or by replacing a subsystem with your own model.

System-Level Configuration :

A. Input Circuit :

This is the input where the user defines the drive cycle and defines the behaviour of the vehicle movement for a particular time. In this, we have provided 4 different types of inputs to run the simulation of our EV model. A multiport switch is used to activate the drive cycle input has to be run for simulation by changing the value of the constant.

1. Drive Cycle Source :

It can generate a standard or user-specified longitudinal drive cycle. The block output is the vehicle longitudinal speed. There are different types of predefined drive cycles or can add in MATLAB workspace variables, including arrays and time series objects or spreadsheets.

2. Signal Builder :

This block is used to create and generate interchangeable groups of signals whose waveforms are piecewise linear.

This is defined drive cycle for 200 s with acceleration at 25th sec and becoming constant after attending top speed of 65 kmph. After 135th sec the vehicle starts decceleration upto the speed of 29 kmph and becomes constant till the end of the drive cycle.

3. From Spreadsheet :

This block is called out the self-created drive cycle made in Excel sheets and use as an input.

4. Slider Gain :

This block acts a slider when we can create our own drive cycle while the simulation is running by changing the position of the slider.

5. Multiport switch :

It passed through the input signals corresponding to the truncated value of the input. The inputs are numbered top to bottom, where the first input port is the control port and the other input ports are data ports.

B. Driver controller :

The input from the drive cycle is attached to VelRef port, the feedback is gained from the vehicle body which acts as feedback signal is connected to VelFdbk. The AccelCmd and DecelCmd are the output signal given for accelerating and braking to the vehicle. A terminator block is connected to Info port as we are not using bus signals for this model. A constant block is attached to the Grade port as road grade angle is 0 in our case, i.e. the vehicle is runnning at a straight road.

Longitudinal Drive Block :

The Longitudinal Driver block implements a longitudinal speed-tracking controller. Based on reference and feedback velocities, the block generates normalized acceleration and braking commands that can vary from 0 through 1. You can use the block to model the dynamic response of a driver or to generate the commands necessary to track a longitudinal drive cycle.

Input Ports

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.

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.