State Space Representation

Discussion in 'Homework Help' started by jegues, Sep 29, 2013.

  1. jegues

    Thread Starter Well-Known Member

    Sep 13, 2010
    735
    43
    1. The problem statement, all variables and given/known data

    A first-order dynamic system is represented by the differential equation,

    5\frac{dx(t)}{dt} + x(t) = u(t).

    Find the corresponding transfer function and state space reprsentation.

    2. Relevant equations

    N/A.

    3. The attempt at a solution

    Putting the equation in the Laplace domain yields,

    5sX(s) + X(s) = U(s)

    \Rightarrow G(s) = \frac{X(s)}{U(s)} = \frac{1}{1+5s}

    For the state space equations,

    \frac{dx(t)}{dt} = -0.2x(t) + 0.2u(t)

    The answer they provide is,

    \frac{dx(t)}{dt} = -0.2x(t) + 0.5u(t), \quad y(t) = 0.4x(t)

    How did they 0.5u(t) and how did they know that y(t) = 0.4x(t)?

    Thanks again!
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,715
    4,788
    You haven't given any hint about what y(t) is, so how can we possibly tell you where it came from?

    Is u(t) the unit step function?

    What happened to the initial conditions when you took the Laplace transform?
     
  3. t_n_k

    AAC Fanatic!

    Mar 6, 2009
    5,448
    782
    In state-space convention y(t) is often taken to be the output in response to a given input u(t). The form of u(t) is arbitrary.

    The state space form would typically be ...

    \text{\dot{x}(t)=Ax(t)+Bu(t)}
    \text{y(t)=Cx(t)+Du(t)}

    The state space variable is x(t)

    I find a useful cross check of the solution is to draw an equivalent block diagram with one or more pure integrator blocks, gain/attenuator blocks and summing junctions.
     
  4. jegues

    Thread Starter Well-Known Member

    Sep 13, 2010
    735
    43
    I wasn't explicity given y(t) in the question, they provide a different y(t) in each of the multiple choice answers provided for the question.

    Yes.

    When you are solving for the transfer function, G(s) = \frac{X(s)}{U(s)} by definition you neglect the initial conditions.

    EDIT: Attached is the question as it is read from the book.
     
    • SSQ.JPG
      SSQ.JPG
      File size:
      43.9 KB
      Views:
      25
  5. t_n_k

    AAC Fanatic!

    Mar 6, 2009
    5,448
    782
    Would there be any loss of generality if one simply wrote ...?

    \text{ \dot{x}=-0.2x+u(t) \\ y=0.2x}

    Why does u(t) need to be the unit step? Doesn't the state space method assume u(t) to be any arbitrary input which has an equivalent 's' domain or Laplace function U(s).
     
    Last edited: Sep 29, 2013
  6. jegues

    Thread Starter Well-Known Member

    Sep 13, 2010
    735
    43
    I don't understand how when they are isolating for, \dot{x} they don't end up with 0.2u(t) on the RHS of the equation.
     
  7. t_n_k

    AAC Fanatic!

    Mar 6, 2009
    5,448
    782
    A reasonable query on your part. I suspect they (whoever "they" are) are either being annoyingly perverse or trying to test your perceptiveness in the matter. If you think about it there are numerous solutions one can dream up. See my attachment.

    Edit: The block H(s) is intended to produce a time domain response for a given 's' domain transfer function - which it does in the application I use to create the block diagram models. The implementation producing output V2 would correspond to the SS model given as the "correct" answer in the original question.
     
    Last edited: Sep 30, 2013
Loading...