Resonance
Formally, the small-amplitude resonance can be computed as follows: First, recall Newton's law for angular acceleration:
T = µ AWhere:
T -- torque applied to rotorWe assume that, for small amplitudes, the torque on the rotor can be approximated as a linear function of the displacement from the equilibrium position. Therefore, Hooke's law applies:
µ -- moment of inertia of rotor and load
A -- angular acceleration, in radians per second per second
T = -k θwhere:
k -- the "spring constant" of the system, in torque units per radianWe can equate the two formulas for the torque to get:
θ -- angular position of rotor, in radians
µ A = -k θNote that acceleration is the second derivitive of position with respect to time:
A = d2θ/dt2so we can rewrite this the above in differential equation form:
d2θ/dt2 = -(k/µ) θTo solve this, recall that, for:
f( t ) = a sin btThe derivitives are:
df( t )/dt = ab cos btNote that, throughout this discussion, we assumed that the rotor is resonating. Therefore, it has an equation of motion something like:
d2f( t )/dt2 = -ab2 sin bt = -b2 f(t)
θ = a sin (2π f t)This is an admissable solution to the above differential equation if we agree that:
a = angular amplitude of resonance
f = resonant frequency
b = 2π fSolving for the resonant frequency f as a function of k and µ, we get:
b2 = k/µ
f = ( k/µ )0.5 / 2πIt is crucial to note that it is the moment of inertia of the rotor plus any coupled load that matters. The moment of the rotor, in isolation, is irrelevant! Some motor data sheets include information on resonance, but if any load is coupled to the rotor, the resonant frequency will change!
In practice, this oscillation can cause significant problems when the stepping rate is anywhere near a resonant frequency of the system; the result frequently appears as random and uncontrollable motion.
Resonance and the Ideal Motor
Up to this point, we have dealt only with the small-angle spring constant k for the system. This can be measured experimentally, but if the motor's torque versus position curve is sinusoidal, it is also a simple function of the motor's holding torque. Recall that:
T = -h sin( ((π / 2) / S) θ )The small angle spring constant k is the negative derivitive of T at the origin.
k = -dT / dθ = - (- h ((π / 2) / S) cos( 0 ) ) = (π / 2)(h / S)Substituting this into the formula for frequency, we get:
f = ( (π / 2)(h / S) / µ )0.5 / 2π = ( h / ( 8π µ S ) )0.5Given that the holding torque and resonant frequency of the system are easily measured, the easiest way to determine the moment of inertia of the moving parts in a system driven by a stepping motor is indirectly from the above relationship!
µ = h / ( 8π f 2 S )For practical purposes, it is usually not the torque or the moment of inertia that matters, but rather, the maximum sustainable acceleration that matters! Conveniently, this is a simple function of the resonant frequency! Starting with the Newton's law for angular acceleration:
A = T / µWe can substitute the above formula for the moment of inertia as a function of resonant frequency, and then substitute the maximum sustainable running torque as a function of the holding torque to get:
A = ( h / ( 20.5 ) ) / ( h / ( 8π f 2 S ) ) = 8π S f 2 / (20.5)Measuring acceleration in steps per second squared instead of in radians per second squared, this simplifies to:
Asteps = A / S = 8π f 2 / (20.5)Thus, for an ideal motor with a sinusoidal torque versus rotor position function, the maximum acceleration in steps per second squared is a trivial function of the resonant frequency of the motor and rigidly coupled load!
For a two-winding permanent-magnet or variable-reluctance motor, with an ideal sinusoidal torque-versus-position characteristic, the two-winding holding torque is a simple function of the single-winding holding torque:
h2 = 20.5 h1Where:
h1 -- single-winding holding torqueSubstituting this into the formula for resonant frequency, we can find the ratios of the resonant frequencies in these two operating modes:
h2 -- two-winding holding torque
f1 = ( h1 / ... )0.5This relationship only holds if the torque provided by the motor does not vary appreciably as the stepping rate varies between these two frequencies.
f2 = ( h2 / ... )0.5 = ( 20.5 h1 / ... )0.5 = 20.25 ( h1 / ... )0.5 = 20.25 f1 = 1.189... f1
In general, as will be discussed later, the available torque will tend to remain relatively constant up until some cutoff stepping rate, and then it will fall. Therefore, this relationship only holds if the resonant frequencies are below this cutoff stepping rate. At stepping rates above the cutoff rate, the two frequencies will be closer to each other!