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:
thanks
osama m. hebala
email: ohibala@aast.edu
引用格式
osama hebala (2023). battery charging/discharging controller (https://www.mathworks.com/matlabcentral/fileexchange/91750-battery-charging-discharging-controller), matlab central file exchange. 检索来源 .
matlab 版本兼容性
平台兼容性
windows macos linux标签
社区
community treasure hunt
find the treasures in matlab central and discover how the community can help you!
start hunting!探索实时编辑器
创建集代码、输出和格式化文本于一体的可执行脚本文档。
版本 | 已发布 | 发行说明 | |
---|---|---|---|
2.0.0 | i just updated photo. |
|
|
1.0.0 |
|