How can I make a duty cycle vary in a state-space model?
1 次查看(过去 30 天)
显示 更早的评论
I have the following state space for a boost supply:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242046/image.png)
As we can see the model has a varying duty cycle(d^). I have converted the state space to a transfer function using:
SS =ss(Aac,Bac,Cac,Dac)
TFs=tf(SS2)
To test my system I have copied the transfer function and but it in Simulink block. My problem is that I want to vary only my (d^). How can I do that?
2 个评论
David K.
2019-10-10
Can you show how you implemented it? Because in your equations (d^) is an input to the state space system. Therefore, you just need to change the input. If you are using the state space block, since there are two inputs to the system you will likely need to take the (vg^) and (d^) signals and join them into a bus before inputting to the state space block.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!