Challenge

Week-11 Challenge: Braking

Aim:

  • To Make a MATLAB program that plots the contour of given motor speed, torque, and efficiency values

Objective:

  1. To calculate the energy required for braking for the defined driving cycle.
  2. At high speed Why electric motor can’t develop braking torque similar to starting and to determine How electric and mechanical brakes are coordinated.
  3. To make a MATLAB program that plots the contour of given motor speed, torque, and efficiency values.

Objective-1:

First, we will have to create a Drive cycle and note the places where the braking is done and also the change in speed in those regions.

Here is a link for the Drive cycle and Brake energy calculation excel sheet.

https://docs.google.com/spreadsheets/d/1O9x6IsZRsDF5PX_9zhuxSixyM1TnTwgkUNt2TiC3lC0/edit?usp=sharing

From the above drive cycle graph, we can see that the braking is done 5 times. So we will be calculating the Energy needed for each instance and will be adding them to find the total Brake energy.

Kinetic Energy=`frac{1}{2}mxxv^2`

m=mass od the vehicle

v=velocity of the vehicle( Also it can be (Initial Velocity- Final velocity)for some scenarios)

Below is the image showing the calculation done to find the braking energy.

From the above image, you can see that the Total Braking Energy has been calculated for the Given drive cycle.

Objective-2:

Mechanical Braking:

Mechanical brakes all act by generating frictional forces as two surfaces rub against each other. The stopping power or capacity of a brake depends largely on the surface area of frictional surfaces as well as on the actuation force applied. The friction and wear encountered by the working surfaces are severe. Thus, the durability of a brake or service life between maintenance depends heavily on the type of material used to line the shoe or pad.

Electric Braking:

Generally, the braking system for a car is based on hydraulic braking technology. However, this traditional braking methodology causes a lot of energy wastage since it produces unwanted heat during braking. Thus, the invention of regenerative braking in electric cars has overcome these disadvantages moreover it helps in saving energy and provides higher efficiency for the car.
 
In a regenerative mode, the motor act as a generator, it transfers the kinetic to electrical energy to restore the batteries or capacitors. Meanwhile, the brake controller monitors the speed of the wheels and calculates the torque required plus the excessive energy from the rotational force that can be converted into electricity and fed back into the batteries during the regenerative mode. The merits of regenerative braking over traditional braking are energy conservation, wear reduction, fuel consumption, and more efficient braking
 
When the motor is at rest it has to operate from a standstill position to start moving, high torque is required in order to bring the motor in motion. Whereas while braking, the motor is already operating at speed, the maximum operating limit is already reached by the motor operation and thus further higher torque could not be obtained while braking. Also, the discharge rate of a battery during accelerating is 2 times that of the charging rate of the battery during regenerative braking.
 
The EDIB (Electric Driven Intelligent Brake) allows and controls optimization of the regenerative brake and regular friction brake (hydraulic brake).
 
EDIB (Electric Driven Intelligent Brake) controls the regenerative brake and friction brake to support both of these requirements. Further, it also controls the reactive force from the pedal in order to unify the feeling when stepping down on the pedal and the sense of deceleration.There are 2 different control strategies for Braking Combinations:
  1. Series Control Strategy
  2. Parallel Control Strategy

Series Control Strategy:

  1. a combination of a friction-based mechanical braking system with a regenerative braking system that transfers energy to the battery with integrated control, which distributes the required braking force between the regenerative braking system and the mechanical braking system.
  2. Series Strategy could give an increase of 15-30% in fuel efficiency and has more consistent braking due to good torque blending capability.

Parallel Control Strategy: 

  1. Combination of mechanical and the regenerative braking system operated simultaneously without an integrated control.
  2. The regenerative braking force is added to the mechanical braking force which cannot be controlled.
  3. The regenerative torque is determined by considering the motor capacity, battery SOC, and vehicle velocity. The regenerative braking force is calculated from the brake control unit by comparing the demanded brake torque and the motor torque available.

At low speed, the Control unit usually uses Regenerative braking, and while when the vehicle is moving at high speeds the vehicle uses both Mechanical and Regenerative braking to slow down the vehicles.

Objective-3:

 
 Code:
clear all
close all
clc

% Speed Array
omega = linspace(0, 300, 100);

% Torque Array
T = linspace(0, 2000, 100);

% Meshgrid
[X,Y] = meshgrid(T, omega);

% Loss Coefficients
cu = 0.17;                              % Copper coefficient
fe = 0.006;                             % Iron coefficient
win = 0.000015;                         % Windage coefficient

% Losses
cu_loss = cu*(Y.^2);                  % Copper Losses
fe_loss = fe*(X.^2);                  % Iron Losses
win_loss = win*(X.^3);                % Windage Losses
cond_loss = 18;                       % Conduction Losses% Output Power
P_out = (X.*Y);      

% Input Power
P_in = P_out +  (cu_loss) + (fe_loss) + (win_loss) + (cond_loss);

% Efficiency
eta = ((P_out)./(P_in));

% Efficiency values for contour
W = linspace(0.75, 0.95, 10);

% Contour Plot

contour(X,Y,eta,W)
xlabel('Angular Speed, rad/s')
ylabel('Torque, Nm')
title('Speed, Torque and Efficiency characteristics of Motor')

Code Explanation:

In the MATLAB script, I begin with the clear all, close all, and clc commands. Then, I create arrays for the speed and the torque of the motor using the ‘linspace’ command.  For the speed, I am taking a range of values from 0 to 2000 radians per second whereas for the torque, I am taking a range of values from 0 to 300Nm.

These arrays are then used to create 2D grid coordinates using the ‘mesh grid’ command(X,Y). These coordinates will help in the creation of the contour plot. In order to find the efficiency of the motor, we need to consider the various losses that occur in the motor’s operation.

The main losses that occur are:

  • Copper losses
  • Iron losses
  • Windage losses
  • Conduction losses

These various losses are dependent on the speed and the torque of the motor. They each also have a characteristic constant of proportionality which are all assumed for the following calculations and represented as 'K'. In each calculation, the speed and the torque are represented respectively as: `omega and `T`

  • Copper losses = `K_(cu)*omega^2`
  • Iron losses = `K_(fe)*T^2`
  • Windage losses = `K_w*T^3`
  • Conduction losses are assumed to be 18 Joules. 

We also need to calculate the efficiency of the motor using the data we currently have. Since efficiency is defined as the ratio of the output power to the input power, we can calculate the efficiency of the motor by determining the input and output power of the motor. The output power of the motor can be calculated by multiplying the angular speed with the torque.

`P_(out) = T*omega`

 Then, we can calculate the input power supplied to the motor by adding the output power to the energy losses.

`P_i = P_(out) + Cu_(loss) + Fe_(loss) + W_(loss) + Cond_(loss)`

Since efficiency is defined as the ratio of the output power to the input power, we can calculate the efficiency of the motor by:

`eta = P_(out) /(P_i + Cu_(loss) + Fe_(loss) + W_(loss) + Cond_(loss))`

As you can see, the calculations for the output power are performed with the values from the mesh grid and not the individual variables of speed and torque. 

Plotting of the contour is done with the 'contour' command. In addition, an array for the efficiency values we want to plot for is created called 'W' and is assigned for values ranging from an efficiency level of 0.75 to 0.95. This array is used in the creation of the contour. Axis labels and a title are also made for better readability. 

Output:

The image below shows the contour plot that is achieved when the code is executed:

From this contour plot, we can see that the highest level of efficiency arises in the innermost contour plot and this efficiency decreases as the contours increase in size from the innermost contour. The innermost contour shows that any point on the contour will have an efficiency of 0.9054. The second, third, and fourth innermost contour display efficiencies of 0.88, 0.86, and 0.84 respectively anywhere on their respective contour plots. 

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.