Page 1 of 1

Homework 7, due March 19, 2010.

Posted: Mon Mar 15, 2010 9:28 am
by goodwine
Reading: You should have read all of Chapter 8 by now. Also, Chapter 9, sections 9.1-9.5.

Exercises: 9.1 - 9.5.

For 9.3 use Simulink and also use the linear equation, not the nonlinear ones.

Re: Homework 7, due March 19, 2010.

Posted: Mon Mar 15, 2010 9:13 pm
by nsolomon
by "linear" do you mean we should use the equation without the cos term?

Re: Homework 7, due March 19, 2010.

Posted: Mon Mar 15, 2010 9:14 pm
by goodwine
nsolomon wrote:by "linear" do you mean we should use the equation without the cos term?
Yes, cos(theta) is nonlinear in theta.

Re: Homework 7, due March 19, 2010.

Posted: Tue Mar 16, 2010 4:12 pm
by mkiener
For 9.3:

Do you want us to use Simulink in addition to a Fortran/C code for a numerical solution, or just Simulink?

Thanks

Re: Homework 7, due March 19, 2010.

Posted: Tue Mar 16, 2010 5:38 pm
by goodwine
mkiener wrote:For 9.3:

Do you want us to use Simulink in addition to a Fortran/C code for a numerical solution, or just Simulink?

Thanks
Just simulink.

Re: Homework 7, due March 19, 2010.

Posted: Wed Mar 17, 2010 7:53 pm
by ngeraci
Professor,

For problem 9.3, I end up with a (constant / s) term that needs to be added to the kp(th_d - th) before being multiplied by the transfer function. Where in simulink would I find an operator that allows for constants and "s" to be added to block diagrams?

Re: Homework 7, due March 19, 2010.

Posted: Wed Mar 17, 2010 7:56 pm
by ngeraci
Sorry. To be clear, I am looking to create a block diagram similar to that on page 224, Figures 8.22 and 8.23, how would I add the (mgl/s) term?

Re: Homework 7, due March 19, 2010.

Posted: Wed Mar 17, 2010 8:01 pm
by goodwine
ngeraci wrote:Professor,

For problem 9.3, I end up with a (constant / s) term that needs to be added to the kp(th_d - th) before being multiplied by the transfer function. Where in simulink would I find an operator that allows for constants and "s" to be added to block diagrams?
You use a sum element just like in the Figure on p. 224. The constant over s term can be a step, and inside that you can specify the magnitude.

Re: Homework 7, due March 19, 2010.

Posted: Wed Mar 17, 2010 8:19 pm
by ngeraci
Simulink sends an error message when I try to specify the magnitude as (1/s). is there another way I might be able to include an "s" term?

Re: Homework 7, due March 19, 2010.

Posted: Wed Mar 17, 2010 9:20 pm
by goodwine
ngeraci wrote:Simulink sends an error message when I try to specify the magnitude as (1/s). is there another way I might be able to include an "s" term?
It's a step.

Re: Homework 7, due March 19, 2010.

Posted: Thu Mar 18, 2010 5:29 pm
by thenisey
Professor,

I get this warning when I try to run my simulink models:

"Warning: Using a default value of 0.2 for maximum step size. The
simulation step size will be equal to or less than this value. You
can disable this diagnostic by setting 'Automatic solver parameter
selection' diagnostic to 'none' in the Diagnostics page of the
configuration parameters dialog"

What does this mean?

Thanks!

Re: Homework 7, due March 19, 2010.

Posted: Thu Mar 18, 2010 5:56 pm
by goodwine
thenisey wrote:Professor,

I get this warning when I try to run my simulink models:

"Warning: Using a default value of 0.2 for maximum step size. The
simulation step size will be equal to or less than this value. You
can disable this diagnostic by setting 'Automatic solver parameter
selection' diagnostic to 'none' in the Diagnostics page of the
configuration parameters dialog"

What does this mean?

Thanks!
It seems to me that it's telling you that it's setting the integration step size, not you.

Re: Homework 7, due March 19, 2010.

Posted: Thu Mar 18, 2010 7:48 pm
by Apuente
For 9.4, can the numerical solution be found using MATLAB?

Re: Homework 7, due March 19, 2010.

Posted: Thu Mar 18, 2010 8:33 pm
by goodwine
Apuente wrote:For 9.4, can the numerical solution be found using MATLAB?
Yes.

Re: Homework 7, due March 19, 2010.

Posted: Thu Mar 18, 2010 10:14 pm
by lawnoy
Professor Goodwine,

What do we need to write down/print out to prove that we did problem 9.3? Are we to print different graphs for different kp, kd, ki? Or can we just print out our simulink block diagram?

Thanks!

Re: Homework 7, due March 19, 2010.

Posted: Fri Mar 19, 2010 6:29 am
by goodwine
lawnoy wrote:Professor Goodwine,

What do we need to write down/print out to prove that we did problem 9.3? Are we to print different graphs for different kp, kd, ki? Or can we just print out our simulink block diagram?

Thanks!
You need to submit something to show the effect of changing those values. If you can do it without wasting too much paper, that's great, but you the point of the problem was to verify those things.