Add Polynomial-Fit FB

<< Click to Display Table of Contents >>

Navigation:  MechDesigner Reference & User Interface > 2.2 Mechanism-Editor > Function-Blocks > Modeling Function-Blocks >

Add Polynomial-Fit FB

Why should I use a Polynomial-Fit FB?

Typically, you design a motion (with MotionDesigner) for a Tool/End-Effector. Then, typically, you add more parts, which you join to the Tool-Part, to create a more complex kinematic-chain. Finally, you use a servomotor to drive a part in the kinematic-chain, that has a different motion to the Tool-Part.

To plot the motion for the servomotor you can use a Measurement FB, add a Graph FB, and then export a list of positional data-points for the servo-controller.

While this is frequently satisfactory, it is preferable to export to the servo-controller a series of polynomials rather than a list of data-points.

The output from the Polynomial Fit FB is the best-fit motion to the data at its input-connector, but defined as a series of 5th order Polynomials.

You can export the Polynomials directly to MotionDesigner. In MotionDesigner, you can further manipulate the Polynomials, as required.


See also : Polynomial-Fit dialog


Add Polynomial-Fit FB

STEP 1:Add a Polynomial-Fit FB to the graphics-area

Add Polynomial-Fit FB

1.Click Function-Blocks menu > Polynomial-Fit

OR

1.Click Modeling FB toolbar > Add Polynomial-Fit FB

Then:

2.Click the graphics-area

The Polynomial-Fit FB is now in the graphics-area

MD-GA-PolyFitFB

STEP 2:Connect a wire to its input-connector.

1.Drag a wire from a different FB to the input-connector of the Polynomial-Fit FB

A wire is now connected to the input-connector of the Polynomial-Fit FB.

STEP 3.Open the Polynomial-Fit dialog:

1.Double-click a Polynomial-Fit FB in the graphics-area

OR

1.See How to Open a dialog

The Polynomial-Fit dialog is now open.

STEP 4:See Polynomial Fit dialog


Notes:

Wires that connect Function-Blocks have 3 Data-Channels (in most cases).

The three(3) Data-Channels are usually:

Position, Velocity, and Acceleration, or

Total Force, Force X, and Force Y

See Data-Channels for more information.