| Thread Closed |
Control theory: Laplace versus state space representation |
Share Thread | Thread Tools |
| Oct21-08, 06:41 PM | #1 |
|
|
Control theory: Laplace versus state space representation
I'm taking a course in control theory, and have been wondering for a while what the benefits are when you describe a system based on the Laplace method with transfer functions, compared to when you use the state space representation method. In particular, when using the Laplace method you are limited to a system where the initial conditions all of them have to be equal to zero. The following questions then:
1) Is it correct that with the state space representation, the initial conditions could be whatever, i.e., you are not limitied to a system where they equal zero? 2) If so, why all this fuzz about using the Laplace method? Why not always use the state space representation? I'm most eager for an answer on question number 1 above...
|
| Oct21-08, 10:36 PM | #2 |
|
|
the main difference between the transfer function representation of a linear system and the state-space representation is that the former is concerned only with the input-output relationship while the latter is also concerned with what is going on inside the box. the state-space representation is more general and you can have all sorts of different state-space representations that appear to have the same input-output relationship. a consequence of this is what happens with pole-zero cancellation. you might think that you have a nice 2nd order, stable linear system judging from the input-output relationship, but internally there might be an internal pole that is unstable but canceled by a zero sitting right on top of it. so before things inside blow up (and become non-linear), everything looks nice on the outside while things are going to hell on the inside. you find out that things aren't so nice on the inside when some internal state (that is not observable at the outside) hits the rails. |
| Oct22-08, 06:56 AM | #3 |
|
|
![]() For instance, when using the Laplace transform on the following equation, we get: [tex]y'' + 4y' + 2y = u, y(0) = 0, y'(0) = 0,[/tex] [tex]s^2Y(s) + 4sY(s) + 2Y(s) = U(s),[/tex] [tex]Y(s) = \frac{1}{s^2+4s+2}U(s).[/tex] Now this simple result wouldn't be possible, if it wasn't for the initial conditions y(0) = 0 and y'(0) = 0. But when we have a state space representation, like the following [tex]X'(t) = AX(t) + BU(t),[/tex] [tex]Y(t) = CX(t) + DU(t),[/tex] [tex]X(t_0) = E,[/tex] then I thought it was possible to choose the initial conditions X(t_0) to what ever, e.g. [tex]X(t_0) = E = \{x_1(0),x_2(0),x_3(0)\}^T = \{2,7,6\}^T,[/tex] so I am not limited to initial conditions where all x_i(0) = 0 like in the Laplace transform case. Or am I thinking erroneously here? |
| Oct22-08, 10:05 AM | #4 |
|
|
Control theory: Laplace versus state space representation[tex]s^2 Y(s) + 4s Y(s) + 2 Y(s) = U(s)[/tex] is not quite complete, in the general case. to go from [tex]y'' + 4y' + 2y = u[/tex] it should be [tex](s^2 Y(s) - s y(0)) - y'(0)) + 4(s Y(s) - y(0)) + 2 Y(s) = U(s)[/tex] that's the "Laplace method". |
| Oct22-08, 03:35 PM | #5 |
|
|
But what I haven't understood yet, is whether the state space representation method is limited to this as well or not (that all the initial values, each of them, are set to 0)? Are you instead allowed to use an initial value state vector X(t_0), as for instance, the one I used above in an earlier message? |
| Oct22-08, 11:26 PM | #6 |
|
|
the main difference between this and the state-space model is that the state-space model is trying to model what is going on inside the box. it is more general than the simple input-output description of the system. |
| Oct23-08, 12:05 PM | #7 |
|
|
|
| Oct23-08, 02:35 PM | #8 |
|
|
[tex](s^2 Y(s) - s y(0)) - y'(0)) + 4(s Y(s) - y(0)) + 2 Y(s) = U(s)[/tex] i meant what would happen if you solved for Y(s). it is not only a function of U(s), but also a function of the two initial conditions. [tex]Y(s) = \frac{1}{s^2 + 4s + 2}U(s) \ + \ \frac{s+4}{s^2 + 4s + 2} y(0) \ + \ \frac{1}{s^2 + 4s + 2} y'(0) [/tex] the simple one (assuming a completely relaxed system at t=0) would be [tex]Y(s) = \frac{1}{s^2 + 4s + 2}U(s) [/tex] or [tex]\frac{Y(s)}{U(s)} \equiv G(s) = \frac{1}{s^2 + 4s + 2}[/tex] |
| Oct23-08, 07:19 PM | #9 |
|
|
But, still, I haven't got any answer on the question about the limitations on the initial values in the state space representations. There are no such limitations in the state space representation, are there? You can choose the initial values to whatever you like, can you? |
| Oct23-08, 11:40 PM | #10 |
|
|
with either model, you can put in whatever initial values you want. but the input-output model only allows you to put in initial values for the output(s) and the various derivatives of the output (up to the order of the system). since the input-output model doesn't even think about the internal states, then i guess you can't choose initial values of internal states. |
| Oct24-08, 09:31 PM | #11 |
|
|
![]() Next thing then is: With the state space model, you have initial values for the internal states, that is X(t_0). But what about for the output, Y(t)? There's no need for initial values there? Sorry, if this is obvious...
|
| Oct24-08, 10:22 PM | #12 |
|
|
those initial conditions (for y(t)) are fully determined by the initial conditions for the states in X(t). they cannot be independently specified. and with the state-space model, with all of those states (an equal number of states to the order of the system), you need not and will not have initial conditions for higher derivatives (like you did for y'(0)). just having initial conditions for every element in the X(0) vector is good enough. |
| Oct26-08, 09:54 PM | #13 |
|
|
Before we go on - thank you very much for this personal class I get here in control theory!
It helps me a lot!Then comes the ultimate question: Why don't always use the state-space model in preference to the Laplace transform model? What benefits does the Laplace transform model have, which the state-space model doesn't have? |
| Oct26-08, 10:54 PM | #14 |
|
|
|
| Nov10-08, 02:01 PM | #15 |
|
|
Sorry for late reply, been away for a while...
1) With the state space representation the system is described by N2 numbers in the A-matrix. But most of the numbers in the A-matrix are just zeros and ones. So it seems that the number of significant numbers in the A-matrix are just 2N+1. So then the state space representation is not so much more complicated? 2) If a system is described by this ODE above, how could there be any internal information that is being revealed if putting up this system on a state space representation, compared to when using the transfer function to describe it? |
| Nov10-08, 11:46 PM | #16 |
|
|
this "controllable" and "observable" stuff is in sorta advanced control theory (maybe grad level, even though i first heard about it in undergrad when i learned about the state space representation). i dunno if i can give it justice in this forum. i would certainly have to dig out my textbooks and re-learn some of this again so i don't lead you astray with bu11sh1t. so far, i'm pretty sure i'm accurate about what i said, but i don't remember everything else about the topic. |
| Nov11-08, 04:59 PM | #17 |
|
|
Okey, I think I understand now. Correct me then if something of the following is wrong.
The expression of G(s) as I was talking about above, could actually be the result of a lot of boxes so to say. That is, G(s) is a black box, and inside that black box there could be several other boxes with signals going in and out, and even feedback loops. Actually, the number of configurations inside the black box, are infinite. That corresponds to the infinite number of state space representations for G(s). But, let's now say that we know exactly what happens inside the black box. E.g., the black box is the ODE describing a bathtub with water coming in, and water going out. Let's say for simplicity, even though this is probably not physically correct, that this bathtub is described by [itex]G(s) = \frac{1}{s^2+4s+2}[/itex]. Then, this bathtub system could just have one state space representation, since we know the system perfectly inside. Is that correct? (I here disregard the fact that you could manipulate the rows in the A-matrix, and make different matrix-operations, but it's still really the same equivalent matrix.) So in this case, I could as well solve the matrix equation, as solving the Laplace equation, it is as simple. Except that if I do it the matrix way (i.e. the state space representation way), I could have whatever initial values, it won't do it more complicated, as it would do in the Laplace way. Is that correct? |
| Thread Closed |
| Tags |
| control theory, laplace transform, state space |
| Thread Tools | |
Similar Threads for: Control theory: Laplace versus state space representation
|
||||
| Thread | Forum | Replies | ||
| Metric space versus Topological space | Calculus | 5 | ||
| Query regarding steady state error in a velocity control system | Electrical Engineering | 4 | ||
| Non-Adiabatic versus excited state | Biology, Chemistry & Other Homework | 1 | ||
| Representation theory of the groups appearing in String Theory? | Beyond the Standard Model | 4 | ||