Final Project: Design of an Electric Vehicle
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
To model a electric car in a matlab the following blocks are required in the simulink pannel.
- A DC VOLTAGE SOURCE
- H BRIDGE
- CONTROLLED PWM CONVERTER
- LONGITUDIONAL DRIVER
- A PRE DEFINED DUTY CYCLE/ CUSTOM MADE DUTY CYCLE
- MAGIC WHEELS
- VEHICLE BODY
- SIMPLE GEAR BOX
- MECHINACAL REFRENCE
- ELECTRICAL REFRENCE
- VOLTAGE SENSOR
- CURRENT SENSOR
- SIMULINK TO PS CONVERTERS
- SCOPE
- DISPLAY
- CONSTANT
The following connections are made

The sub block consists of mechanical drives likes wheels, gear boxes and vehicle body which allows to measure. the output velocity.

The ouput of the velocity is connected to the 1 port used for measuring the results.
The actual vehicle refrence is connected to the slider glider which is being controlled by the users and the vehicle ouput is feeded back to the vehicle fedback refrence to maintain and match with the vehicle speed refrence. The output of the both graphes are shown in the below results.


The blue line indicates the actual refrence speed and the yellow line was the output speed trying to match with vehicle ref speed.
The dc voltage and motor specifications are shown below.

