1 / 58

State Space

State Space. Figure out how state space works in general (maybe a bit abstract). Revisit a number of the problems and examples we’ve already seen. Den Hartog problem 17. Exam question 4. The general 1 DOF, forced mass-spring-damper problem. (The automobile suspension system).

shada
Download Presentation

State Space

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. State Space Figure out how state space works in general (maybe a bit abstract) Revisit a number of the problems and examples we’ve already seen Den Hartog problem 17 Exam question 4 The general 1 DOF, forced mass-spring-damper problem (The automobile suspension system)

  2. QUICK EXAM COMMENTS I don’t want to say much about the exam. By and large you didn’t do very well, but you probably know that The mean was 5.74/12. That’s probably not as bad as it sounds. I think the grading scheme lowers the mean. Please make an effort to understand the use of complex numbers We’re going to need them as we go forward I also have a little note about pendulums some of you are still a bit in the dark about that

  3. Alternate pendulum descriptions with their potential energies In both cases the cosine enters with a minus sign coordinate origins (lsinq, l(1-cosq) (lsinq,-lcosq)

  4. BACK TO THE MAIN STREAM

  5. The idea is to go from one or more second order ODEs to twice as many first order ODEs We do this by doubling the number of variables by treating the first derivatives of the generalized coordinates as variables In equation form This makes We know what is; we found it when we found the equations of motion Let’s call it

  6. For example: Look at the 1 DOF equation of motion Let Then Or

  7. If there are n degrees of freedom, meaning n generalized coordinates then there will be n equations of the first form and n equations of the second form The first set is exactly as written the second set is obtained from the Euler-Lagrange equations by the substitutions so but therefore

  8. We put these new variables into a vector called the state vector and the equations of motion become

  9. If the Euler-Lagrange equations (or the equations of motion by any other route) are linear then and the equations of motion become

  10. The right hand side of these linear equations can be rewritten as a matrix times the state vector (I’ll take 3 DOF for specificity)

  11. For our example: We’ll do more examples as we go along

  12. Once we have the system we can proceed as before Find a homogeneous solution that satisfies which we can reduce to the matrix eigenvalue problem Find a particular solution that satisfies Combine the two through the initial condition

  13. We can embed this process in what we know so far Find the energies, the Lagrangian and the Euler-Lagrange equations including the dissipation and any generalized forces Linearize if necessary Convert to state space Find a homogeneous solution that satisfies which we can reduce to the matrix eigenvalue problem Find a particular solution that satisfies Combine the two through the initial condition Finally we need to interpret x back in the physical world from which the problem came

  14. You’ve put up with several abstract slides Let’s take a look at how one actually addresses this in specific cases We’ll look at things we’ve already seen, at least at first Den Hartog problem 17 Exam question 4 The general 1 DOF, forced mass-spring-damper problem

  15. Den Hartog problem 17 2klsinq fR klsinq q mg mg A mg

  16. combine terms linearize the equation of motion

  17. Get rid of the constant term, which represents the sag of the system under gravity Write the operative part of the equation does NOT involve gravity We’ll tackle that in state space

  18. What do we do in state space? We can drop the primes as no longer necessary and write define then

  19. This is a homogeneous problem, so we only have a wee bit of work to do Seek exponential solutions so This is the matrix eigenvalue problem

  20. the determinant that must vanish is The two roots are the eigenvalues of A

  21. Our rule for eigenvectors gives us and we can assemble the general homogeneous solution

  22. Suppose we start from rest with an angle offset of π/20 small enough that the linear approximations will be OK The initial condition for x will be

  23. We can decompose this to find which is, of course, exactly what we expect to find: the state space result makes sense!

  24. QUESTIONS??

  25. Let’s take a look at something else that will be familiar t (lsinq,-lcosq)

  26. Form the equation of motion and linearize it Define the state variables Write the equations in terms of the state vector

  27. The eigenvalues The eigenvectors The homogeneous solution which looks just like the previous one!

  28. Suppose we have a harmonic torque

  29. Initial conditions start from rest From the second row of which b= a and from the first row

  30. Plug all that in which we can manipulate

  31. QUESTIONS??

  32. mass-spring-damper system m c f k This one will be a little longer, but it follows the same pattern

  33. damping ratio (which I will suppose < 1 in later work) natural frequency General one degree of freedom equation

  34. The eigenvectors The homogeneous solution

  35. Let’s take our old friend harmonic forcing and look at the particular solution choosing A to be real fixes the phase of the forcing

  36. Plug all this in I’m going to grind through the real part of this this one time Multiply top and bottom by the complex conjugate and we have

  37. Factor out stuff that is real to make it easier to see what is going on Expand the product

  38. Now we can look at the initial condition and let’s start from rest Add these and evaluate at t = 0

  39. We can solve these for a and b, but the algebra is a bit daunting to put up on screen (and to type out), so here is the Mathematica result

  40. The homogeneous solution is then made up of the appropriate amounts of each eigenvector and eigenfunction eigenfunctions eigenvectors You can expand this by hand, but it’s quite messy because a and b are complex

  41. QUESTIONS??

More Related