> Hi.
>
> I'm working on modeling a system which have resulted in a system of
> first order nonlinear differential equations s'(t) = f(t, s(t), u(t))
> with state vector s(t) and control input u(t) and s(t), u(t) \in R^3 The
> measurements are simply given by y(t) = s(t).
>
> The continuous time model is embedded in a digital control loop where
> there output y(n) is a sampled version of y(t) with zero order hold and
> Ts = 0.1 s. Similarly the discrete control inputs u(n) is converted
> through zero order hold to u(t) with the same sample time.
>
> I now want to write this model as: s(n + 1) = g(n, s(n), u(n)). I know
> how to do this is for a linear continous time continous model s'(t) =
> Ax(t) + Bu(t) with the c2d fuction but I am in doubt how to do this for
> the nonlinear model.
>
> Should I linearize the continous time differential equation first or
> what is the best method?
>
> Thanks in advance.
(I'm cross-posting my reply to sci.engr.control - really this time)
The best way to do this is the way that works right for your problem.
Isn't that helpful?
This being a nonlinear problem chances are that any solution is going to
be approximate. If you're lucky then that's not the case, you can do an
exact solution at each time step -- but then, if that were the case you
probably wouldn't be asking.
What you have to fall back onto is your bag of tricks. Any effort to
control a nonlinear system involves having a bag of mathematical tricks.
You try out tricks from your bag, and when you find one that works well
enough you test the heck out of it and you call it good.
In general when I do this sort of thing I figure out the amount of error
that I can tolerate, and I choose the easiest method for solving the
differential equation that meets that error criterion. This may mean
trying to find an exact solution, it may mean finding a way to express the
system so that I can do a one-time linearization and keep the errors in
check through feedback, it may mean that I use simple rectangular
integration at each step (and maybe crank the sample rate way up) -- there
are a number of different methods that one can try, but if there were One
True Method then folks wouldn't bother teaching so much linear systems
theory.
I am happy to be a member of this group and I consider you my friends.
As a friend , I like to share with you some thoughts that I believe
will be useful for your life.
Merits of Islam in the Relationship Between Men &Women
1- Islam encourages marriage to prevent committing adultery, and
considers marriage to be one of the ways of the Messengers;The
Messenger of Allah (peace and blessings of Allah be upon him) said: “O
young people, whoever among you can afford to get married, let him do
so, for it helps one to lower the gaze and protect the private parts
(i.e., remain chaste). Whoever cannot afford it, let him fast, for it
is a protection for him.” 2- If a man wants to get married but is
unable to spend on a wife, then he should adhere to the words of Allah.
24:33 “And let those who find not the financial means for marriage
keep themselves chaste, until Allâh enriches them of His Bounty”
3- Islam urges people to get married, and prohibits celibacy and
castration. It is forbidden to forego getting married even if the
intention is to devote oneself to worship. “There is no monasticism in
Islam.” because they are against his nature, and against having
children.
4- Islam forbids adultery for the sake of reserving lineages, and to
prevent unlawful pregnancies and social problems.17: 32. And come not
near to the unlawful sexual intercourse. Verily, it is a Fâhishah
[i.e. anything that transgresses its limits (a great sin)], and an
evil way (that leads one to Hell unless Allâh forgives him).
5- Islam forbids accusing others of adultery and considers it a great
sin. 24: 15. When you were propagating it with your tongues, and
uttering with your mouths that whereof you had no knowledge, you
counted it a little thing, while with Allâh it was very great.
6- Islam prohibits a man to be alone with a woman who is not a
relative he can’t marry, because that causes temptation to do immoral
and evil actions. The Prophet (peace and blessings of Allah be upon
him) said: “No man is alone with a (non-mahram) woman but the Satan is
the third one present.”
7- Islam forbids unlawful sexual relationships and marrying a woman
not chaste.5: 5. Made lawful to you this day are AtTayyibât [all kinds
of Halâl (lawful) foods, which Allâh has made lawful (meat of
slaughtered eatable animals, etc., milk products, fats, vegetables and
fruits, etc.). The food (slaughtered cattle, eatable animals, etc.) of
the people of the Scripture (Jews and Christians) is lawful to you and
yours is lawful to them. (Lawful to you in marriage) are chaste women
from the believers and chaste women from those who were given the
Scripture (Jews and Christians) before your time.
————————–
For more information about Islam
http://www.islambasics.com/index.php
http://www.islamtoday.net/english/
http://www.islamweb.net/ver2/MainPage/indexe.php
Contact Us At
إخفاء النص المقتبس -
>> - عرض النص المقتبس -
>
> I am happy to be a member of this group and I consider you my friends.
No friend would be as disruptive as you. You haven't even the decency to
start your own (off topic) thread. You hijack an unrelated one. Shame!
Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
> iman way wrote:
>
> إخفاء النص المقتبس -
>
>>> - عرض النص المقتبس -
>>
>> I am happy to be a member of this group and I consider you my friends.
>
> No friend would be as disruptive as you. You haven't even the decency to
> start your own (off topic) thread. You hijack an unrelated one. Shame!
Jerry, I think it's a bot. This stuff gets splattered all over a number
of newsgroups; I doubt that there's any human there to read any replies.
I know the origin is gmail and groups.google.com. I gurss they think
it might not be PC to kill the account.