PivotMch:

Path: SC/Hardware

% Models a pivot mechanism and converts stepping motor steps to pivot angle. 
   The pivot has a stepping motor with a gear train that drives a lead screw. 
   The lead screw is attached to the pivot platform be means of an arm. The 
   resulting curve is nonlinear so the designer should pick zero to be in the 
   most linear region.

   If no inputs are entered the routine will design a pivot mechanism.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   [theta,k,b,l,x0] = PivotMch(k,b,l,x0,steps)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   k            (1,1)  Steps to meters of lead screw movement
   b            (1,1)  Arm length
   l            (1,1)  Pivot platform length
   x0           (1,1)  Initial height of b attachment to lead screw
   steps        (1,1)  Number of steps

   -------
   Outputs
   -------
   theta	     (1,1)  Pivot angles
   k            (1,1)  Steps to meters of lead screw movement
   b            (1,1)  Arm length
   l            (1,1)  Pivot platform length
   x0           (1,1)  Initial height of b attachment to lead screw

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the SC Module page