You can use a segmented excitation to drive a command in your mechanism by
associating a value to each time step of the kinematics simulation.
The
app
defines the value according to the predefined segments built and plotted step by step.
Based on the value of the excitation, the simulation determines the configuration
of the mechanism for each time increment specified in the parameters of the kinematics
scenario.
Before you begin: Open a kinematics simulation
referencing a mechanism.
From the
Scenario section
of the
action bar, click Segmented
Excitation.
In the Segmented Excitation dialog box, select a command
to drive with the segmented excitation. Select it under the Mechanism
Representation node in the tree.
Tip:
You can also select the command in the tree, and click Segmented Excitation.
Select the segments to add to the curve that defines the segmented excitation:
Click Add to add a segment to the excitation.
In the table, double-click each cell to enter a value for the T start,
Y start, T end, and Y end.
Important:
Specify every value from the start point
coordinates and from the end point coordinates.
Double-click the cells from the Type column to
select the segment type:
Segment Type
Description
Result
Linear
Adds a line segment to the curve.
Quadratic
Adds a square-like segment (elliptic,
hyperboloid, or parabolic) to the curve.
Cubic
Adds a three-dimensional cubic segment to the
curve.
Quarter Sine
Adds a quarter sine segment to the curve.
Quarter Cosine
Adds a quarter cosine segment to the curve.
The selected segment appears in the Plot view of
the Segmented Excitation dialog box.
If you create another segment, the app specifies the coordinates of the start point automatically for the
next segment. The coordinates correspond to the coordinates of the end
point of the last segment.
Important:
In a dynamics scenario,
to create transitions between interpolation segments, only use a
G2 continuity according to time.
The tangency and the
curvature of a curve at the beginning of the time (t start) must
be equal to the tangency and the curvature of the previous curve
at the end of the time (t end).
Click OK.
The segmented excitation appears in the tree, under the Excitations node.
What's Next
You can use the Simulation Player to
animate the command values of the segmented excitation.