Switch use in simulink

6 visualizzazioni (ultimi 30 giorni)
Rajat Powade
Rajat Powade il 12 Giu 2022
Risposto: Ayush il 8 Set 2023
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

Risposte (1)

Ayush
Ayush il 8 Set 2023
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by