Passive Cell Balancing Simulation In Matlab Simulink
Hello guys, welcome back to my blog. In this article, I will discuss passive cell balancing simulation in Matlab Simulink, I will also share Matlab function code, components details, circuit diagram, and working of the circuit.
If you have any electrical, electronics, and computer science doubts, then ask questions. You can also catch me on Instagram – CS Electrical & Electronics And Chetan Shidling.
Also. read:
- Battery Management System, BMS Features For Electric bikes
- How To Avoid Thermal Runaway In Electric Vehicles, EV Bike, EV Car
- Thermal Management In Electric Vehicle, Causes, How To Overcome
Passive Cell Balancing Simulation In Matlab Simulink
The image shows a circuit diagram of passive cell balancing. The battery pack is 12 volts and 2.6AHh. It consists of three lithium-ion cells connected in series. Each cell is connected to the load resistance through Mosfet.
Passive cell balancing means equalizing the state of charge of each cell by wasting or dissipating energy through a resistor. In passive cell balancing, each cell state of charge value will be brought to the one cell value which has a low state of charge. As you can see in the waveforms below.
Initial values of cell 01
The initial state of charge of the lithium-ion cell 01 is 15%.
Initial values of cell 02
The initial state of charge of a lithium-ion cell 02 is 35%.
Initial values of cell 03
The initial state of charge of a lithium-ion cell 03 is 50%.
The state of charge of each cell is different and when the passive cell balancing will be applied, the state of charge of each cell will come to 15% because cell 1 has a low state of charge compared to others.
The circuit consists of components such as;
01. Resistor – To dissipate the energy, the resistor is used at each cell.
02. MOSFETÂ – It acts as a switch. when all cells’ state of charge becomes equal, the MOSFET is turned off and the circuit will become open.
03. Lithium-ion cell – Which stored energy. We are applying passive cell balancing for the lithium-ion cells.
04. Goto – By using goto, we are passing the state of charge value to from and then to the Matlab function.
05. From – It is input to the Matlab function which holds the value of the state of charge.
06. Display – To display the value of the state of charge, I am using the display.
07. Scope – To see the waveform of state of charge, I am using the scope.
08. Matlab function
Code which I am using, hope it works for you.
Matlab Function Code
function [y1, y2, y3]= fcn(s1,s2,s3)
s1 = int16(s1);
s2 = int16(s2);
s3 = int16(s3);
Click on shop to buy
This code compares the state of charge of each cell and gives the respected output. Suppose, if the state of charge of cell 02 is low then it will give high output for MOSFET of cell 1 and cell 2.
Now, I will share values of the state of charge and waveform after simulation. The simulation time it took was 2600 seconds.
Passive Cell Balancing Simulation
Working
Initially, the state of charge of each cell is different. The state of charge value is given to the Matlab function, where the code is written which will compare the state of charge of each cell and accordingly produces the output. The output is connected to the gate of the MOSFET, by which the circuit is controlled.
Waveform Of Passive Cell Balancing
See the above waveform, the state of charge of cells becoming equal. And if you want to purchase this file, then click here: Passive Cell Balancing In Lithium-Ion Battery For Battery Management.
I hope this article “Passive Cell Balancing Simulation” may help you all a lot. Thank you for reading.
Also, read:
- 10 Tips To Maintain Battery For Long Life, Battery Maintainance
- 10 Tips To Save Electricity Bills, Save Money By Saving Electricity
- 100 (AI) Artificial Intelligence Applications In The Automotive Industry
- 100 + Electrical Engineering Projects For Students, Engineers
- 1000+ Control System Quiz, Top MCQ On Control System
- 1000+ Electrical Machines Quiz, Top MCQs On Electrical Machines
- 1000+ MATLAB Simulink Projects For MTech, Engineering Students
- 50 Tips To Save Electricity At Home, Shop, Industry, Office
Need design,modelling and simulation for SOC estimation of a battery in a simpler manner. Thank you
Sure, If I get time, I will make video.