state observer for DC mortor// output current issue

4 次查看(过去 30 天)
Hi everyone,
am working on state fedback using state observer for controlling a DC motor, i have a problem in the analog signals output. many signal instead of one....
same goes for speed and phase shift. any idea why
this is the overall simulink model
2.JPG
after simulation, below is the output analog current result, why am getting all these signal unstead of one ?
1.JPG
  2 个评论
David K.
David K. 2019-7-17
编辑:David K. 2019-7-17
I expect somewhere in your model you have a matrix or vector oriented in the wrong way. Or have the wrong option selected in a vector gain.
To help troubleshoot, it would be helpful to look at the signal dimensions.
In the simulink go to Display > Signals & Ports > Signal Dimensions and you should be able to get a better idea of where it is going wrong.
Nabil Mederbel
Nabil Mederbel 2019-7-17
Hello David,
you are right, Thank you for your support. there was a mistake in the Multiplication parameter element-wise instead of matrix multiplication.
1.png

请先登录,再进行评论。

回答(0 个)

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by