How do I switch on and off my voltage source to charge batteryes based off of my current state of charge?
4 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to implement a closed-loop system that uses a state of charge percentage which turns on/off a DC voltage source for charging batteries as seen in my attached simulink project.
What blocks or set ups would I use that would disconnect the batteries in series when the SOC is <20% and then connect a DC voltage source to charge the batteries until they reach 80%, where then the system would switch back from the voltage source and the batteries would resume powering the DC system.
Basically the blocks would be set up such that:
if state of charge from batteries in series is less than 20%, then disconnect the batteries from what they're powering and connect them to a DC voltage source to charge them until they reach 80% where then the switch would go back to before and the batteries would return to powering a system until they reach 20% again.
0 件のコメント
採用された回答
madhan ravi
2023 年 11 月 26 日
I don"T have Simscape License. But the logic can be implemented.
Feed the SOC signal to the switch Switch provide the threshold, by using this switch you need to use it for load and the voltage source. But using PS Switch you can close and open load and voltage source by giving the appropriate threshold.
Note make sure to convert the SOC Simulink Signal to Physical Signal using Simulink - PS Converter block.
11 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Energy Storage についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!