Blitz (98/172)

From:Francis G. Loch
Date:18 Sep 2000 at 17:50:52
Subject:Re: d.c. motor simulation

Hi David,

--- David McMinn <D.Mcminn@eee.rgu.ac.uk> wrote:
> Anyone got any code for simulating a d.c. motor? My
> maths is not what it used to
> be, so I'm failing to turn differential equations
> into code.

Could you not just subtract each value that you have
to work out the rate of change?

For instance, say the speed of the motor gives you a
value of 134 and then 234, your rate of change would
be 100.

I used something similar in a project that I was doing
for college (I've just passed it today, :D ) where I
had to trigger an event whenever the rate of change in
a signal was over a certain value.

Hope that helps.

Kind regards,

Francis.

=====
e-mail:-fgloch@yahoo.com
web-site:- http://www.geocities.com/fgloch
Member of GAUG
Glasgow Amiga Users Group
*-Join our mailing list-*
gaug-subscribe@egroups.com

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie