We are using the voice coil motors as normal linear motors, so the weight due to the frame is much more than a speaker cone (unless I'm mistaken). For clarification this is the device in question.
As I know from testing gravity does have a significat effect on the model meaning that any simulations run aould be pointless unless I include gravity. My equation comes from the following derivation (I'm actually working on VCM1, but the equation is the same for 2&3 the constant values will be different).
---------------------------------------------------------------------------------------------
The first step to defining the transfer equation is to create a free body diagram this is shown below
It can therefore be stated that the sum of the forces is;
[itex]∑F = F_{mag} - F_{grav}[/itex]
Where F
mag is the force due to the magnetic field which is defined as
[itex]F_{mag} = BIL[/itex]
And F
grav is the force due to gravity defined as
[itex]F_{grav} = mg[/itex]
Using the standard equation [itex]F=m\ddot{X}[/itex], it can be said that
[itex]m\ddot{X}= F_{mag} - F_{grav}[/itex]
[itex]m\ddot{X} = BIL-mg[/itex]
[itex]\ddot{X}=\frac{(BIL-mg)}{m}[/itex]
The next step is to define the relationship between the voltage and the current, this is achieved by analysing the equivalent circuit.
From the figure the equation below was derived
[itex]V=IR+E+L\frac{di}{dt}[/itex]
As the inductance for the motors that will be used is negligiable in comparison to the other variable taking this and rearranging with respect to current, I, we get
[itex]I=\frac{(V-E)}{R}[/itex]
As the back emf is proportional to the velocity of the voice coil motor ([itex]E=K_E\ddot{X}[/itex]) equation XX can be derived.
[itex]I=\frac{V-K_E \ddot{X}}{R}[/itex]
where KE is the back emf constant. Substituting equation XX into equation XX gives
[itex]\ddot{X}=\frac{B \frac{V-K_E\dot{X}}{R} L-mg}{m}[/itex]
Rearranging (and using the magnetic field constant [itex]K_b = BL[/itex] gives
[itex]V=\frac{RmX ̈+K_b K_E\dot{X}+mg)}{K_b}[/itex]
Applying the Laplace transform gives
[itex]V(s)=\frac{RmX(s)s^2+K_b K_E X(s)s+\frac{mg}{s}}{K_b}[/itex]
Rearranging gives the transform function
[itex]\frac{X(s)}{V(s)}=[/itex]
and that is where I am stuck