All Courses
All Courses
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 energy…
Prakash Shakti
updated on 22 Jan 2021
Create a detailed MATLAB model of an electric rickshaw (three-wheel passenger vehicle) as per details below:
INTRODUCTION
Electric E-Rickshaw is also known as electric tuk-tuk, e-rickshaw and auto which are going more popular after 2018 in Indian market. This E-rickshaw is best alternative of petrol/ CNG auto rickshaw and human or horse pulled rickshaws because of their low fuel cost, zero emissions and less human efforts.
The electrical system used in Indian version is 48VDC can run 90– 100 km/full charge, top speed 25 km/hour and this electric motor power ranging from 650-1400 Watts; the battery takes 8–10 hrs to become fully charged. Basic seating capacity is driver plus 4 passenger total 5 persons.
Here basically, e-rickshaw is designed in CREO and MATLAB Simulink. In the designed electric rickshaw main blocks are battery, drive cycle, controlled, DC Motor, Vehicle body and transmission system. Drive cycle is the input of human effort that how he is going to drive his actual cycle. We can use drive cycle like FTP75, WOT or by using Excel.
The main objective of this project is to obtain speed by driver, to estimate the temperature of motor and controller, to estimate the state of charge (SOC) and distance travel by the vehicle. There is a SOC block that will estimate the state of charge of battery, distance is calculated by speed and time parameter for all the three Drive cycle.
General detail of E-Rickshaw
A CAD model of Electric rickshaw is shown below.
Specification
Basic Dimension of E-Rickshaw (All dimension is in mm)
MATLAB Modelling of e-rickshaw
As we can see that the above diagram is consisting of MATLAB Simulink model of an electric rickshaw. In above model we use three type of different drive cycle to run the vehicle body. A basic current is applied to the model. The required voltage to the vehicle is controlled by the controller. Depending upon the vehicle parameter the controller will follow the drive cycle and run the motor.
Full Model Parameter
Drive cycle
Here I have used three different type of drive cycle which are as given below.
UDDS Drive Cycle
Urban Dynamometer Driving Schedule
HWFET Drive Cycle
Highway Fuel Economy Driving Schedule
FTP Drive cycle
Generate a standard or user specified longitudinal drive cycle.
MODELLING OF VEHICLE BODY SYSTEM:
The above figure highlights the vehicle body for electric rickshaw which is having rear axle drive. The Vehicle Body block represents a two-axle vehicle body in longitudinal motion.
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.
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.
Were,
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
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
GOTO
GoTo block is used to display the vehicle speed.
CONFIGURATION BATTERY AND SOC
In given block there are some changes to configure the Lithium battery.
Basically, in battery a special change has done and i.e.
Under Parameter > Lithium-Ion (Change the following data)
Under Discharge (Change the following data)
So, at Discharge rate of [51.3 66.8 49.4 70.3] the plot will be
The circuit parameters can be modified to represent a specific battery type and its discharge characteristics. A typical discharge curve consists of three sections.
A basic block configuration and steps involve during whole system analysis.
Block used:
Controlled Current Source
The Controlled Current Source block converts the Simulink input signal into an equivalent current source. The generated current is driven by the input signal of the block. The positive current direction is as shown by the arrow in the block icon.
We can initialize the Controlled Current Source block with a specific AC or DC current. If we want to start the simulation in steady state, the block input must be connected to a signal starting as a sinusoidal or DC waveform corresponding to the initial values.
Battery
The Battery block implements a generic dynamic model that represents most popular types of rechargeable batteries.
BUS Selector
The Bus Selector block outputs the signals you select from the input bus. The block can output the selected elements separately or in a new virtual bus.
PowerGUI
The powergui block allows us to choose one of these methods to solve your circuit:
The powergui block also opens tools for steady-state and simulation results analysis and for advanced parameter design.
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.
RATE TRANSITION
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
GAIN BLOCK
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.
DISCRETE-TIME INTEGRATOR
The discrete-time integrator block is used for
SUM BLOCK
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.
DC MOTOR WITH TEMPERATURE CALCULATION
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
Temperature Dependency
Thermal Port
Thermal Port is connected with Temperature sensor Block to measure the motor temperature. Also, Ideal Rotational Motion Sensor is used to measure the motor speed.
H-BRIDGE & MOTOR CONTROLLER
The H-Bridge block represents an H-bridge motor driver.
Simulation mode and Load Assumption Settings
Smoothed
Unsmoothed or discontinuous
Input Thresholds
Bridge Parameters
Temperature Dependency
Thermal Port
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.
Thermal port (H) is connected with temperature sensor to measure the temperature of controller.
CONTROLLED PWM VOLTAGE
The Controlled PWM Voltage block represents a pulse-width modulated (PWM) voltage source. The input detail is as given below.
Detail about the connection
PWM Setting
CONTROLLED VOLTAGE SOURCE
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
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 & PID
The Longitudinal Driver block implements a longitudinal speed-tracking controller
The detail of inputs is as given
Detail about parameter
Detail about connection:
PID
This block implements continuous- and discrete-time PID control algorithms and includes advanced features such as anti-windup, external reset, and signal tracking. You can tune the PID gains automatically using the 'Tune...' button (requires Simulink Control Design).
DISTANCE CALCULATION
RESULTS
Depending upon three drive cycle we will get following results.
For UDDS drive cycle (Urban Dynamometer Driving Schedule) a vehicle run for 1369 sec and the total distance covered during this is 12.7404 km and at that time the energy consumption was 248.6 kW, Temperature rises in motor 302.2 degC and temperature rise in controller 303.1 degC.
Output Results based on ideal condition and PID Tunned. If we tunned the model then we will get following result as I have compared in table.
Plotted results: Ideal Condition Vs PID Tunned
Energy Consumption
Motor Temperature
Controller Temperature
Vehicle Speed
SOC
Distance
For HWFET drive cycle (Highway Fuel Economy Driving Schedule) a vehicle run for 765 sec and the total distance covered during this is 16.8552 km and at that time the energy consumption was 248 kW, Temperature rises in motor 300.4 degC and temperature rise in controller 301 degC.
Output Results based on ideal condition and PID Tunned. If we Tunned the model then we will get following result as I have compared in table.
Plotted results: Ideal Condition Vs PID Tunned
Energy Consumption
Motor Temperature
Controller Temperature
Vehicle Speed
SOC
Distance
For FTP75 drive cycle a vehicle run for 2474 sec and the total distance covered during this is 18.2808 km and at that time the energy consumption was 455 kW, Temperature rises in motor 304.5 degC and temperature rise in controller 305.9 degC.
Output Results based on ideal condition and PID Tunned. If we Tunned the model then we will get following result as I have compared in table.
Plotted results: Ideal Condition Vs PID Tunned
Energy Consumption
Motor Temperature
Controller Temperature
Vehicle Speed
SOC
Distance
Conclusion
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...
Fender Design - Wheel Arch Challenge
Fender Design - Wheel Arch Challenge Calculate the Wheel Arch gap at required points and check whether the car passes the European standard. Wheel Arch Area: Wheel Arch area of the Fender is generally designed for the purpose of shielding the BIW from stones and other objects /obstacle on the road. Wheel Arch is…
16 Jul 2022 05:35 AM IST
Week 4-1D Element Creation Challenge
Create 1D elements on the following component with given cross-section and DOF Rod element: - with only translational DOF and RBE2 link Cross-Section: BOX- Dimension a= 12 mm dimension b=10 mm …
27 Mar 2022 04:25 PM IST
Assignment 6-Frontal Crash Simulation Challenge
Assignment 6-Frontal Crash Simulation Challenge Question: Frontal crash-BIW Check unit system and either follow [Mg mm s] or [Kg mm ms]. Create appropriate interface, friction 0.2 and recommended parameters. Make sure of no penetrations and intersection. Correct rigid bodies if any issues. Create rigid wall with friction…
02 Feb 2022 04:58 PM IST
Assignment 5-RADIOSS Interfaces & Study of Effect of Notches Challenge
Assignment 5-RADIOSS Interfaces & Study of Effect of Notches Challenge Questions: Create the mesh for bumper assembly, mesh size should be 6mm. Run the crash tube model as it is. Change the Inacti=6 and run. Create the type 11 contact and run. Remove both notches and remove boundary condition on rigid body node then…
11 Jan 2022 04:22 PM IST
Related Courses