Info

此问题已关闭。 请重新打开它进行编辑或回答。

ERROR : plant linearizes to zero

1 次查看(过去 30 天)
Jose
Jose 2014-2-4
关闭: MATLAB Answer Bot 2021-8-20
Dear all,
I am trying to tune a PI controller with two "fcn" and one "MATLAB" function blocks as plant. Inside the "fcn" blocks are 2 simple equations but inside the "MATLAB" block i have written some code and the output is 1 or 0 (I am actually generating PWM signals based on duty ratios calculated inside the block).
"fcn1" has equation 1.5*u(1)*cos(u(2))*60
"fcn2" has equation asin((2*pi*50*0.00003*60)/(u(1)*u(2)))
"MATLAB" function block has a formula to calculate duty ratios and I generate the PWM signal (SVPWM) by splitting the duty ratio and apply 1 or 0 at different intervals.
The model file (subsystem alone and full model) is attached so please take a look.
thanks.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by