Switch use in simulink
이전 댓글 표시
Hey i devloped model of HESS in simulink. I wanted to use two switches for buck and boost model i am attaching my circuit diagram and also i am attching my simulink file. Please somebody help me in attaching switches to enable buck and boost mode
답변 (1개)
Ayush
2023년 9월 8일
0 개 추천
Hi Rajat,
I understand that you want help in attaching switch blocks to your attached model to perform the buck and boost mode.
After reviewing your model and the image provided, you can attach the switch blocks in the following way:
1. Output one more signal from both the “Buck” and the “Boost” Converter, which would be used as the control input for the “switch” block to dictate the on/off state of the converter. You can refer to the below documentation to know more about the “switch” block:
2. Furthermore to handle the other two output signals from the converters, you would have to store them in the workspace and then using the “From Workspace” to convert the PMC into a signal that can be used in “switch” block.
3. Use the “Mux” block to make the signals into a virtual vector and input the unified signal into the data input port of the “switch” block and use the “Demux” block to extract the original two signals (specifically for the Boost converter). You can refer to the below documentation to know more about the “Mux” and “Demux” block:
Hope it helps,
Regards,
Ayush Misra
카테고리
도움말 센터 및 File Exchange에서 Converters (High Power)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!