Week-11 Challenge: Braking
Ans-2
Electric Motor Braking :
Electric motor can’t develop braking torque at high speed similar to starting, because Braking torque is applied in the opposite direction of the rotation. We can use a mechanical brake to produce a braking torque. We can also do it electrically.
Regenerative Braking: It is a form of braking in which the kinetic energy of the motor is returned to the power supply system.

Fig : Speed-Torque Characteristics of Regenerative Braking
Regenerative braking takes place whenever the speed of the motor exceeds the synchronous speed. This baking method is called regenerative baking because here the motor works as generator and supply itself is given power from the load, i.e. motors. The main criteria for regenerative braking is that the rotor has to rotate at a speed higher than synchronous speed, only then the motor will act as a generator and the direction of current flow through the circuit and direction of the torque reverses and braking takes place.
Sometimes after accelerating you can't reach the maximum torque. The reason is that no matter how much the current loop wants to increase current (proportional to torque) by increasing the PWM duty cycle of the power stage, the Vmotor is too close to Vbemf and therefore current can't increase more.This situation does not occur at the beginning of an acceleration because most of the torque is used to increase the kinetical energy of the load (and motor). But when the speed is already high and no extra load is applied it is not possible to increase the torque.

Fig : Acceleration Torque vs Deceleration Torque
Peak Acceleration Torque and Peak Deceleration torque are not equal for Electric Vehicle Motor. So the Peak Torque during acceleration and the Peak torque during deceleration or braking are not equal. Acceleration is usually higher, at low speed we get higher Torque but high speed the value of the torque gets lower. So we cannot say that the motor which is producing 7Nm Torque for Acceleration can also produce -7Nm of Braking Torque. So beacuse we Operating the Motor in Field Weakening region or we are operating the Motor above base speed we must know that the torque is compromised or the torque value is lower. So Electric motor can’t develop braking torque at high speed similar to starting, because Braking Torque of an EV Motor is not as high as the Acceleration Torque. Therefore Regenerative braking is cannot happen so effectively that we can get all the power back to the battery.
Copper Losses - I2⋅R">I^2 R, where R is the Armature resistance and we say that Torque is proportional to Current, this copper loss can be consider askc⋅T2">kc⋅T2kc⋅T2.where kc">kckc is to take care of resistance of brushes and also take care of flux and its effect.
Copper losses = kc⋅T2">kc⋅T^2
Iron Losses - Iron Losses are nothing but Magnetic losses, which is denoted as ki⋅ω">ki⋅ωki⋅ω, where ki">kiki factor is based on the Magnetic field effect. For Permanent Magnets have constant Magnetic field and this Iron losses is based on the value of ki">kiki and this are going to change according to the Speed. At Various Speed have different value of Back EMF and that is going to affect the Iron Losses.
Iron Losses = ki⋅ω">ki⋅ω
Windage Losses - This is a Mechanical or friction of Windage losses. This is based on size of shape of Motor and the amount of windage losses that the motor is going to experience.
Windage Losses = kw⋅ω3">kw⋅ω^3
Constant Losses - This is denoted as C.
Total Losses - The Total Losses are considering the above four losses and denoted as,
Total Losses = kc⋅T2">kc⋅T^2 + ki⋅ω">ki⋅ω+ kw⋅ω3">kw⋅ω^3`
All Motors are model as per the above equation of losses. This above equation is not only applicable for Permanent Magnet DC Motor, but other motors as well like induction motor

Explanation for above Program :
Step-1 : Assign Input of Speed and Torque in an array using 'linspace' Command and allocate Constant Values for four losses(Copper Loss, Iron Loss, Windage Loss and Constant Motor Loss)
Step-2 : Mesh the Speed and Torque values using 'meshgrid' command.
Step-3 : Calculate the Output Power by multiplying Speed and Torque values.
Step-4 : Calculate Copper Loss, Iron Loss, Windage Loss using those formulas.
Step-5 : Calculating Input power by adding Output Power and Four Losses(Copper Loss, Iron Loss, Windage Loss and Constant Motor Loss).
Step-6 : The ratio of Output Power and Input Power we can get the Efficiency.
Step-7 : Now Set the Efficiencies for which a contour will be plotted. The range of contour efficiency is to plot from 70% to 93% efficiency. V is the Mapping of those efficiency points.
Step-8 : Plot the Contour Efficiency using 'contour' command and plot Speed,Torque,Efficiency and V.
Contour : contour(Z) creates a contour plot containing the isolines of matrix Z, where Z contains height values on the x-y plane. MATLAB automatically selects the contour lines to display. The column and row indices of Z are the x and y coordinates in the plane, respectively.
'contour(X,Y,Z)' specifies the x and y coordinates for the values in Z.
Step-9 : Now plot a contour of Power Output. Plotting contour of 8kw and 10kw of a Motor.
Step-10 : Run the Program and get the Motor Speed-Torque Efficiency Contour Plot

The above Plot shows the Motor Speed-Torque Efficiency Contour Plot. A Point is denoted in innermost contour line is group of efficiencies which is highest value of the efficiency as 93%, because where the height is maximum and another point is denoted outermost contour line is contain group of efficiencies which is the lowest value of efficiency as 70%, because where the height reduces. Increasing efficiency order as going inward and Decreasing efficiency order as going outward. The yellow line shows the 8kw and 10kw Power.
Ans-1
Braking is the process of controlling the velocity of an object by inhibiting its motion. An object in motion possesses kinetic energy and to bring the object to a stop this kinetic energy must be removed. Removing the kinetic energy can be accomplished by dissipating the energy to the atmosphere through friction or by converting it into another form of energy. The most common type of braking is a mechanical brake which inhibits motion through friction brake pads. A mechanical brake applies a friction force to convert the kinetic energy of the vehicle into thermal energy which then dissipates into the atmosphere. Braking systems which don't use friction are referred to as Regenerative Braking System (RBS). In RBS, the kinetic energy is converted into other forms of useful energy, which can be stored for later use, increasing fuel efficiency.
As with any system, the process of braking must follow the principal of conservation of energy. Energy cannot be created or destroyed but only converted from one form to another,
∑EIN=∑EO
The energy present in an object in motion is given by the following equation:
EKINETIC=mv^2/2
where,
m- mass of the object in Kilogram(Kg),
v - velocity of the object in meters per second(m/s),
EKINETIC - Kinetic energy in Joules(J)
From this above equation, and assuming the mass of the object is constant, it is clear the in order to remove the kinetic energy from the system, the velocity must be brought to zero.
Braking Energy Calculation :
For Calculating the Energy required for Braking, Drivecycle data is taken (UDDS) in the Excel sheet, which Drive cycle data includes Time and Speed and ccalculation are done . for braking




So in this excel sheet we fiestly added the Drive cycle then we converted the speed from miles per second to meter per secon the find the change in velocity by substracting the final speed by inital speed and the the values which are negative are the valus of braking . Then for calculating the braking energy we used the condition that if final speed >= inital speed put zero else 0.5* 1000 *v^2 where we assumed mass= 1000 kg
so energy joules is 942847 and converted into watts is 11785.5875