Challenge

Final Project: Electric Rickshaw modelling

Final Project: Electric Rickshaw Modelling

Aim:

To create a detailed MATLAB model of an Electric Rickshaw.

Objectives:

  1. Rear wheels driven by PM brushed type motor.
  2. Assume efficiency points of motor controller and motor.
  3. Make an excel sheet of all input and assumed data.
  4. Any three standard driving cycles show energy consumption, the temperature rise of motor and controller.

Software Used:

  • MATLAB R2020a (Simulink)

Block Diagram:

Major Components:

There are following components used in Electric vehicle rickshaw.

  1. Drive Cycle
  2. Longitudinal Driver
  3. H-Bridge
  4. DC Motor
  5. Battery Source
  6. Controlled PWM Voltage
  7. Vehicle Body

In the designed Electric Rickshaw main blocks are Battery, drive cycle, controller, DC Motor, Vehicle body & Transmission system. Drive cycle is the input data like how a human drive his actual vehicle here FTP75, WOT & Excel (Manually Prepared in Excel sheet) drive cycles are used to make the designed vehicle to give the output how it reacts to the drive cycle. The main objective is to obtain the speed by the driver, to estimate the temperature of Motor and Controller, to

estimate the sates of charge (SOC), distance travelled by the vehicle. There is a SOC block that will estimate the state of charge of a battery, distance is calculated by speed and time parameters for all the three Drive cycles.

MATLAB Model of an Electric Rickshaw:

Initially the current flows to DC Motor from the battery through the DC-DC power converter to drive the motor. The required voltage will be controlled in the controller. The Controller will follow the given drive cycle reference and run the motor in the required rpm. Then the motor power is transmitted to the wheels of a vehicle through the gear box. and the controller will take the vehicle speed and compare and controlled.

Model parameters:

Drive Cycle:

Drive cycle is assumed as the driver's input of a vehicle, it replaced how a driver will drive a vehicle. Here we have used three drive cycles which is used to test the vehicle performances. These drive cycle will have high speed, low speed, braking conditions in it. There are different drive cycles like FTP75, NYCC, UDDS etc., Here in this model I have used FTP 75, NYCC, UDDS & Manually prepared excel Drive Cycle source.

FTP 75:

For this we have used Drive cycle source block. This block will help us in inputting the drive cycle data, whether it is built in or custom made by the user. That is, we can use custom made drive cycle data in excel sheet using this block.

For this model we have used 3 different drive cycles.

The first drive cycle source and its parameters are FTP 75 shown below,

NYCC:

UDDS:

Manual Drive Cycle:

Longitudinal Driver:

  1. A parametric longitudinal speed tracking controller for generating normalized acceleration and braking commands based on reference and feedback velocities.
  2. Use the external actions to input signals that can disable, hold, or override the closed-loop commands determined by the block. The block uses this priority for the input commands: disable, hold, override.
  3. The Drive cycle is connected to a longitudinal driver, it has six ports namely velocity reference, velocity feedback, grade, info, Acceleration, Deceleration.
  4. VelRef is given by the drive cycle data and VelFdbk is given by the output of the motor. These two will get compare and the acceleration or deceleration output will be given to the motor controller.
  5. Accelcmd is given the PWM generator block and deccelcmd is given to the regenerative port of the h-bridge which uses to generate regenerative braking. Info is used to get any other data from a longitudinal driver block.
  6. The grade is to give the input of gradeability to the driver block. This block helps to generate regenerate the driver's conditions of the vehicle using the driver cycle block.
  7. I used default parameters and control type PI

Motor & Controller:

Motor type: DC Motor (PM brushed type motor)

This block represents the electrical and torque characteristics of a DC motor includes a Thermal port to sense the temperature of the Motor.

The block assumes that no electromagnetic energy is lost, and hence the back-emf and torque constants have the same numerical value when in SI units. Motor parameters can either be specified directly or derived from the no-load speed and stall torque. If no information is available on armature inductance, this parameter can be set to some small non-zero value.

When a positive current flows from the electrical + to - ports, a positive torque acts from the mechanical C to R ports. Motor torque direction can be changed by altering the sign of the back-emf or torque constants.

Motor Parameters:

Field Type is Permanent Magnet. Model Parameterized by rated Load and speed. The Armature Inductance is as default, we have varied the changes in the No-load Speed @ 9000 RPM, the rated speed @ 5000RPM, the Rated Load (Mechanical Power) at 20 KW, and the Rated DC Supply Voltage @ 60V. Thermal mass 20000 J/K. All other parameters are as default.

The Motor controller will get input from the longitudinal driver. Its tasks are to control the speed of the motor and drive according to the input of the driver.

Majorly motor controlled we designed had two main parts named PWM voltage generator and H-Bridge.

Input1 is getting from the accelmd of a longitudinal driver and it is given to a controlled voltage source block where it is input to the controlled PWM voltage.

Controlled PWM voltage will generate a PWM signal in such a way that H-bridge will generate the required voltage to operate the DC motor for the given driver input. PWM voltage block negative reference and REF are grounded and REF of H-bridge respectively. H-bridge is a motor controller that has IGBT components

aligned in the shape of H and will operate only two at a time respectively to the input of the signal from the PWM block. When deceleration occurs this H-bridge will give an output from the positive and negative terminals of it. These negative & positive terminals are later connected to the DC motor and battery. All these

components are the simscape electrical components so they need a connection to the solver configuration block which helps to solve the simulation.

Controlled PWM Voltage source:

The value of the Output voltage amplitude parameter determines amplitude of the output voltage.

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 modelling variant is the default.

PS input — Specify the duty cycle value directly by using an input physical signal port.

Where,

Vref - is the reference voltage across the ref+ and ref- ports.

Vmin - is the minimum reference voltage.

Vmax - is the maximum reference voltage

Parameters:

Power Converter: H-Bridge:

H-Bridge is used as a DC-DC converter.

This block represents an H-bridge motor drive. The block can be driven by the Controlled PWM Voltage block in PWM or Averaged mode. In PWM mode, the motor is powered if the PWM port voltage is above the Enable threshold voltage. In Averaged mode, the PWM port voltage divided by the PWM signal amplitude

parameter defines the ratio of the on-time to the PWM period. Using this ratio and assumptions about the load, the block applies an average voltage to the load that achieves the correct average load current. The Simulation mode parameter value must be the same for the Controlled PWM Voltage and H-Bridge blocks.

If the REV port voltage is greater than the Reverse threshold voltage, then the output voltage polarity is reversed. If the BRK port voltage is greater than the Braking threshold voltage, then the output terminals are short circuited via one bridge arm in series with the parallel combination of a second bridge arm and a freewheeling diode. Voltages at ports PWM, REV and BRK are defined relative to the REF port.

If exposing the power supply connections, the block only supports PWM mode.

Parameters:

Temperature Sensor:

Temperature Sensor is used to measure the temperature of H-Bridge and Motor.

This block measures temperature in a thermal network. There is no heat flow through the sensor. The physical signal port T reports the temperature difference

across the sensor. The measurement is positive when the temperature at port A is greater than the temperature at port B.

Solver Configuration:

Defines solver settings to use for simulation.

References

  • Electrical Reference: Used to ground the all the electrical connections.
  • Mechanical Rotational Reference: Used to ground all the mechanical rotational parts.
  • Thermal Reference: Used to ground the thermal sensor.

Battery:

Implements a generic battery model for most popular battery types. Temperature and aging (due to cycling) effects can be specified for Lithium-Ion battery type.

State of charge (SoC):

SoC is the percentage or level of battery presents after certain travel or consumption of battery charge by the vehicle. In the designed vehicle battery charge or

SOC is calculated by the giving it to the rate transition and then to gain where 1/ (nominal battery capacity) then to a discrete-time integrator and it will get minus

from the 1 as it is considered a 100% of battery and it is multiplied with 100 to get percentage of battery.

The majority of blocks are simscape blocks where physical to Simulink converter is used to convert the physical signal from simscape block to Simulink signal.

Battery Parameters:

BUS Selector:

This block accepts a bus as input which can be created from a Bus Creator, Bus Selector or a block that defines its output using a bus object. The left list box shows the signals in the input bus. Use the Select button to select the output signals. The right list box shows the selections. Use the Up, Down, or Remove button to reorder the selections. Check 'Output as bus' to output a single bus signal.

Vehicle Body & Transmission:

Motor will produce the rotational output which will give to the vehicle body and transmission system. The rotational output is taken by the gear system here to

maintain the constant speed throughout the transmission without any loss in speed from the motor to tires. Below is a diagram that is how it is how it inside the vehicle body and transmission system and in the main design, it is referred just only as a transmission system.

Here I created a Rear-wheel-drive transmission system.

The gear output is given to axels of Rear tires, in the circuit it is shown that gear is connected to Rear wheels and front tire is free to rotational motion, thus

vehicle moves forward. N is the normal force caused by the tires and it is given to the vehicle body normal force port. The vehicle body has an H-Hub, S- Tire slip,

N- Normal force, A- axel connection, wind velocity, inclination angle. The tires hub is connected as a common node to the vehicle body. The vehicle body wind

velocity is connected to a constant block and the beta-inclination angle is connected to another constant block where we can assign wind velocity and

inclination angle as per requirement. Velocity is the output port where we can get at which speed the vehicle is moving. The velocity is taken out to the get the distance travelled and state of charge.

Vehicle Body:

This block creates a Pulse-Width Modulated (PWM) voltage across the PWM and REF ports. The output voltage is zero when the pulse is low, and is equal to the

Output voltage amplitude parameter when high. Duty cycle is set by the input value. Right-click the block and select Simscape->Block choices to switch between

electrical +ref/-ref ports and PS input u to specify the input value.

At time zero, the pulse is initialized as high unless the duty cycle is set to zero or the Pulse delay time is greater than zero.

The Simulation mode can be set to PWM or Averaged. In PWM mode, the output is a PWM signal. In Averaged mode, the output is constant with value equal to

the averaged PWM signal.

No. of Wheel per axle are 2 (Rear Wheels), whereas front wheel is free to rotate.

Parameters of the Vehicle Body:

Wheels:

Represents the longitudinal behaviour of a highway tire characterized by the tire Magic Formula. The block is built from Tire-Road Interaction (Magic Formula) and Simscape Foundation Library Wheel and Axle blocks. Optionally, the effects of tire inertia, stiffness, and damping can be included.

Connection A is the mechanical rotational conserving port for the wheel axle. Connection H is the mechanical translational conserving port for the wheel hub through which the thrust developed by the tire is applied to the vehicle. Connection N is a physical signal input port that applies the normal force acting on the tire. The force is considered positive if it acts downwards. Connection S is a physical signal output port that reports the tire slip. Optionally expose physical signal port M by setting Parameterize by to Physical signal Magic Formula coefficients. Physical signal port M accepts a four-element vector corresponding to the B, C, D, and E Magic Formula coefficients.

Parameters of Wheels:

Inertia:

The block represents an ideal mechanical rotational inertia. The block has one mechanical rotational conserving port. The block positive direction is from its port to the reference point. This means that the inertia torque is positive if the inertia is accelerated in the positive direction.

Simple Gear box:

Gear Ratio:0.5

Represents a fixed-ratio gear or gear box. No inertia or compliance is modelled in this block. You can optionally include gear meshing and viscous bearing losses.

Connections B (base) and F (follower) are mechanical rotational conserving ports. Specify the relation between base and follower rotation directions with the Output shaft rotates parameter. Optionally include thermal effects and expose thermal conserving port H by right-clicking on the block and selecting Simscape block choices to switch between variants Output shaft rotates in in same direction of input shaft. Base is connected to the Motor shaft and the follower is connected to the Rear wheel drive.

RESULTS:

EXAMPLE 1.FTP75 DRIVE CYCLE:

Vehicle speed performance:

From the obtained vehicle speed performance, we can conclude that vehicle has attained its maximum speed and there is very slight delay in the de acceleration but the acceleration and top speed were performed very well by the vehicle. Rickshaw has obtained an output according to the FTP75 cycle and it can be tested for many drives cycle by selecting in the drive cycle block. It has travelled 4.89km by the present 60V battery capacity, if we increase battery capacity to higher levels, we can travel more distance.

State of charge (SOC):

In the above graph we can see ups and downs this indicates the acceleration and deceleration of the vehicle; constant value is because of re generative braking. At initial the battery capacity was 100% and to complete the drive cycle it is discharged by 81.74%.

Energy Consumption:

Energy consumed by motor and controller. Energy consumed 7.451kWh.

Motor Temperature:

  • Motor temperature rises to 1371-degree Celsius.

Controller Temperature:

  • Controller temperature rises to 398.2 degree Celsius.

EXAMPLE 2. NYCC DRIVE CYCLE:

From the obtained vehicle speed performance, we can conclude that vehicle has attained its maximum speed and there is very slight delay in the de acceleration but the acceleration and top speed were performed very well by the vehicle. Rickshaw has obtained an output according to the NYCC cycle and it can be tested for many drives cycle by selecting in the drive cycle block. It has travelled 0.7298km by the present 60V battery capacity, if we increase battery capacity to higher levels, we can travel more distance.

State of charge (SOC):

In the above graph we can see ups and downs this indicates the acceleration and deceleration of the vehicle; constant value is because of re generative braking. At initial the battery capacity was 100% and to complete the drive cycle it is discharged by 96.31%.

Energy Consumption:

Energy consumed by motor and controller. Energy consumed 1.539 kWh.

Motor Temperature:

  • Motor temperature rises to 458.8-degree Celsius.

Controller Temperature:

  • Controller temperature rises to 392.21degree Celsius.

EXAMPLE 3. UDDC DRIVE CYCLE:

From the obtained vehicle speed performance, we can conclude that vehicle has attained its maximum speed and there is very slight delay in the de acceleration but the acceleration and top speed were performed very well by the vehicle. Rickshaw has obtained an output according to the UDDS cycle and it can be tested for many drives cycle by selecting in the drive cycle block. It has travelled 3.486 km by the present 60V battery capacity, if we increase battery capacity to higher levels, we can travel more distance.

State of charge (SOC):

In the above graph we can see ups and downs this indicates the acceleration and deceleration of the vehicle; constant value is because of re generative braking. At initial the battery capacity was 100% and to complete the drive cycle it is discharged by 85.91%.

Energy Consumption:

Energy consumed by motor and controller. Energy consumed 5.757 kWh.

Motor Temperature:

  • Motor temperature rises to 1097-degree Celsius.

Controller Temperature:

  • Controller temperature rises to 398 degree Celsius.

EXAMPLE 3. ASSUMED DATA DRIVE CYCLE:

From the obtained vehicle speed performance, we can conclude that vehicle has attained its maximum speed and there is very slight delay in the de acceleration but the acceleration and top speed were performed very well by the vehicle. Rickshaw has obtained an output according to the Excel drive cycle and it can be tested for many drives cycle by selecting in the drive cycle block. It has travelled 0.4184 km by the present 60V battery capacity, if we increase battery capacity to higher levels, we can travel more distance.

State of charge (SOC):

In the above graph we can see ups and downs this indicates the acceleration and deceleration of the vehicle; constant value is because of re generative braking. At initial the battery capacity was 100% and to complete the drive cycle it is discharged by 97.25%.

Energy Consumption:

Energy consumed by motor and controller. Energy consumed 1.154 kWh.

Motor Temperature:

  • Motor temperature rises to 383.2-degree Celsius.

Controller Temperature:

  • Controller temperature rises to 385 degree Celsius.

Attached Documents: Drive Cycle Excel Sheet: https://docs.google.com/spreadsheets/d/1YN9kM727ajrKmF2D6MAfTCFtPybhmO3b8V8SfA2W3rQ/edit?usp=sharing

Simulink Model:

https://drive.google.com/file/d/1yBukgqtZ0o00Dt9VkidI04xWhdSEEg1W/view?usp=sharing

Conclusion

  1. With the increase in the number of Rickshaw especially in the city like Mumbai the CO2emission has drastically increased.
  2. Hence there is a need to adopt Electric Rickshaws as these vehicles offer high efficiency and low runtime cost as compared to traditional Rickshaws
  3. This Battery Powered Rickshaw will be the most popular mode of transport in the coming future hence will be the most affordable and can create a source of income for many people.
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.