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:
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.
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.
Amina Mokhtar
Amina Mokhtar 2019-10-10
That it true I can insert the (d^) as a constant but I wanted to vary its value like a step but the statespace block in simulink has only one input and that will be my (Vg)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by