From: | Anton Reinauer |
Date: | 19 Sep 2000 at 02:22:11 |
Subject: | Re: d.c. motor simulation |
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 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 :)
Hope this helps- give us a yell, if you need more details :)
Cya- Anton
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie