![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1500615/image.png)
Can someone please help me learn how to make automatic switching based on available voltage sources to power up a three-input buck-boost converter?
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1486692/image.png)
An example of this operation would be:
TEG: 0.3 - 0.4V
PV: 0.4 - 1.2V
PZT: 1.2 - 2V
Ideal Output: 1.8V
If the available source is TEG, then the system will operate in boost mode; if the available source is PV, then the system will operate in boost mode, and the system will operate in buck mode if PZT is available.
0 个评论
采纳的回答
Yash
2023-10-3
编辑:Yash
2024-1-9
Hi Danikha,
I understand that you are facing issues in implementing automatic switching based on the input voltage to power up a three-input buck-boost converter. To achieve this, you would first need to invoke the if-else conditions in your model.
You can utilize a switch block in your model to invoke the if-else conditions. Since your logic requires many conditions, you can use multiple switch blocks in series to implement the logic.
Refer to the image below for the implementation.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1500615/image.png)
Edit: The above mentioned method could create hassle when there is a large number of inputs. It is better to use the variant source block to achieve the same. The documentation for the variant source block is available at the link below:
I hope this addresses your query.
Best Regards
Yash
3 个评论
Yash
2023-10-4
Hi Danikha,
Based on the limited information provided in the question, I have made assumptions for the input values. I have considered the input for TEG as 100, the input for PV as 50, and the input for PZT as 5. The input voltage is set to 1 V which falls within PV Category and hence the output is 50.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!