Battery Charging/Discharging Controller
The model presents Battery charging/discharging Control implemented in a case study that involves a DC bus (with a constant voltage), battery, a common load, and a bidirectional two-switch Buck-Boost DC-DC converter.
The control of battery charging and discharging is based on two PI controllers:
1- one is for reference current generation (dependant on mode of operation: charging or discharging)
2- the other is for Current control of battery.
The presented case study includes two modes of operation:
1-Charging mode: automatically activated when DC bus is connected and the control objective i.e: set point (of the 1st PI closed loop) becomes the full voltage of battery.
2-Discharding mode: automatically activated when DC bus is NOT connected and the control objective (of the 1st PI closed loop) becomes load voltage in order the maintain a constant load voltage during discharging.
The following video (which you can check for more details) inspired me to develop this model:
https://www.youtube.com/watch?v=203f1eGLq9E&t=4s
Thanks
Osama M. Hebala
email: ohibala@aast.edu
Zitieren als
Osama Hebala (2024). Battery Charging/Discharging Controller (https://www.mathworks.com/matlabcentral/fileexchange/91750-battery-charging-discharging-controller), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Communitys
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.0.0 | I just updated Photo. |
||
1.0.0 |