Page 1 of 1
Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 8:07 am
by goodwine
Reading: all of Chapter 7, Chapter 8, sections 1-3.
Exercises: 7.12, 7.13, 7.17, 7.20, 8.3 (numbers 8 and 11 only).
Note: there is a typo in 7.12. I'm pretty sure the "5x5" matrix should be "10x10".
Re: Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 2:53 pm
by ceramics
For problem 7.12, since it is a five mass problem, don't we need 10 eigenvalues for the place() command?
Re: Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 4:03 pm
by goodwine
ceramics wrote:For problem 7.12, since it is a five mass problem, don't we need 10 eigenvalues for the place() command?
Yes. Just select more consistent with the given ones.
Re: Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 6:57 pm
by Adam W.
Professor, using
apparently only functions for A(nxn) and B(n) with n = 15 (returning an error past that):
Code: Select all
??? Error using ==> place at 172
The "place" command could not place the poles at the specified locations. Probable causes include:
* (A,B) is nearly uncontrollable
* The specified locations are too close to each other.
[/color]
while
is said to break down in accuracy past an order of 10, although it can actually compute the values without returning an error statement.
Should we, then, resort to a five-mass system as originally stated?
Re: Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 9:47 pm
by goodwine
Adam W. wrote:Professor, using
apparently only functions for A(nxn) and B(n) with n = 15 (returning an error past that):
Code: Select all
??? Error using ==> place at 172
The "place" command could not place the poles at the specified locations. Probable causes include:
* (A,B) is nearly uncontrollable
* The specified locations are too close to each other.
[/color]
while
is said to break down in accuracy past an order of 10, although it can actually compute the values without returning an error statement.
Should we, then, resort to a five-mass system as originally stated?
Yes, 5 masses is ok.
Re: Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 10:38 pm
by sprender
If you have it, can you post the code that implemented the lqr command? Thanks.
Re: Homework 7, due March 9, 2011.
Posted: Sat Mar 05, 2011 11:16 pm
by goodwine
sprender wrote:If you have it, can you post the code that implemented the lqr command? Thanks.
I'll get them posted tomorrow morning.
Re: Homework 7, due March 9, 2011.
Posted: Sun Mar 06, 2011 8:36 am
by goodwine
goodwine wrote:sprender wrote:If you have it, can you post the code that implemented the lqr command? Thanks.
I'll get them posted tomorrow morning.
Done!
Re: Homework 7, due March 9, 2011.
Posted: Sun Mar 06, 2011 5:45 pm
by whawes
For problem 7.12, do we include the forcing function sin(omega*t) with the stabilizing force?
i.e.,
Code: Select all
w = 0.25;
f = sin(w*t);
xdot = A*x + [0;(f+k1*x(1)+k2*x(2)+k3*x(3)+k4*x(4)+k5*x(5)+k6*x(6)+k7*x(7)+k8*x(8)+k9*x(9)+k10*x(10));0;0;0;0;0;0;0;0];
Re: Homework 7, due March 9, 2011.
Posted: Sun Mar 06, 2011 6:04 pm
by goodwine
whawes wrote:For problem 7.12, do we include the forcing function sin(omega*t) with the stabilizing force?
i.e.,
Code: Select all
w = 0.25;
f = sin(w*t);
xdot = A*x + [0;(f+k1*x(1)+k2*x(2)+k3*x(3)+k4*x(4)+k5*x(5)+k6*x(6)+k7*x(7)+k8*x(8)+k9*x(9)+k10*x(10));0;0;0;0;0;0;0;0];
The design of the controller is only to stabilize the system, so the literal answer is no. It would be interesting to see if the controller reduces the effect of the applied force on the motion of the system, however.
Re: Homework 7, due March 9, 2011.
Posted: Tue Mar 08, 2011 1:08 am
by sprender
For the second part of problem 17 (with damping), can we use a computer to solve for the eigenvalues and just report the normalized vectors in our answer?
Re: Homework 7, due March 9, 2011.
Posted: Tue Mar 08, 2011 6:43 am
by goodwine
sprender wrote:For the second part of problem 17 (with damping), can we use a computer to solve for the eigenvalues and just report the normalized vectors in our answer?
You only need to solve the case with damping numerically. You are to use the undamped cases as a guide since the damping is so light.
Re: Homework 7, due March 9, 2011.
Posted: Thu Mar 10, 2011 8:43 pm
by vsteger
Where do the initial conditions fit in the place() function inputs, if anywhere?
Re: Homework 7, due March 9, 2011.
Posted: Thu Mar 10, 2011 8:47 pm
by goodwine
vsteger wrote:Where do the initial conditions fit in the place() function inputs, if anywhere?
The place function specifies the eigenvalues, so it has nothing to do with initial conditions.