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?
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
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에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!