state observer for DC mortor// output current issue

1 view (last 30 days)
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 Comments
David K.
David K. on 17 Jul 2019
Edited: David K. on 17 Jul 2019
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 on 17 Jul 2019
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

Sign in to comment.

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!