Simulink model

Discussion in 'Homework Help' started by gusmas, Mar 15, 2011.

  1. gusmas

    Thread Starter Active Member

    Sep 27, 2008
    239
    0
    Hey guys/girls

    I have a home work question I cant seem to understand or do in simulink: See attached pdf and it is question number 5. Look at attached picture, that is how far i have gotten. I just builded state space model and applied a sin wave as input to the system. Now I am having problems implementing the feedback matrix. I dont know how to go about it. Any help/comments will be appreciated.
     
  2. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    First off, delete the sine input. This example has only feedback, not an independent signal source.
    Be sure to specify the initial conditions of your system in the SS Model block.

    To implement the feedback, use a Gain block, whose gain will be the matrix K. Feed it the SS Model output and use its output to feed the SS Model.
    Important note: Select Matrix Multiplication K*u and not Element Multiplication in the Gain block properties.
     
Loading...