From: | Francis G. Loch |
Date: | 19 Sep 2000 at 10:44:19 |
Subject: | Re: d.c. motor simulation |
Hi David & Anton,
--- Anton Reinauer <ants@paradise.net.nz> wrote:
> On 19-Sep-00, David McMinn wrote:
> > The new local vet, Francis G. Loch, got into old
> Daisy up to their
> > elbow. Inside the found Re: d.c. motor simulation.
> >
> >> Could you not just subtract each value that you
> have
> >> to work out the rate of change?
> >
> > I'm doing that just now to calculate the speed,
> acceleration and third
> > derivative (of position). I must be doing
> something wrong, as it
> > doesn't look like what it should (I have graphs
> here showing the
> > expected output for certain inputs that I ain't
> gettin).
> >
> > I was just wondering if anyone had anything that
> worked. It doesn't
> > need to be mathematic, just more realistic than
> the crap simulation I
> > am using now (which is the only way I've got it to
> work so far).
> >
> > speed = input_voltage
> > position = position + speed * time_step_size
>
> So, you've got the basic s=vt, velocity working.
> Ie: you're starting
> with a simple linear velocity simulation. Next you
> want to put in a
> constant linear acceleration. So s=vt + 1/2at^2,
> with a being a
> constant.
> Then to be more realistic you need the Force and
Simulations don't always have to be realistic. ;)
> Momentum equations-
> next you need to change it all to Rotational force
> and momentum, so you
> need the mass, and radius of your Rotor.
> Then you want to add in the change in acceleration
> (Impulse if I
> remember- forgotten the formula :)
>
Hey, I remember doing some of that stuff in my
standard grade/higher Physics & Technological Studies!
Damn shame I've forgotten most of it now (it's been
years since I've used it).
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!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie