Products & Services Solutions Academia Support User Community Company

Learn more about SimMechanics   

Cutting Machine Diagram Loops

Rules for Valid Machine Diagram Loops

In a SimMechanics model, you form a closed loop by the closure of SimMechanics blocks, of any type, on themselves. From a starting point, you can trace a path around a closed loop back to the starting point with no jumps or cuts. A closed loop is valid if it contains:

To simulate a model containing closed loops, the SimMechanics simulation internally converts a closed-loop model to an open-topology tree model. This is accomplished by internally cutting each of the model's closed loops once, at a joint, constraint, or driver block, then replacing each cut by an additional internal constraint.

Rules for Automatic Loop Cutting

A SimMechanics simulation follows these loop-cutting rules.

Specifying a Loop Joint for Cutting

You can specify a joint to cut if the loop does not contain a disassembled joint, constraint, or driver. Open the joint's dialog box and select the Mark as the preferred cut joint check box on the Advanced tab in that joint's dialog Parameters area.

Displaying the Cut Joints

To display automatically cut joints in your model, select the Mark automatically cut joints check box in the Diagnostics area of the SimMechanics node of your model's Configuration Parameters dialog. See Configuring SimMechanics Simulation Diagnostics in the Running Mechanical Models chapter).

For More About Disassembled and Cut Joints

Refer to Modeling Disassembled Joints for more on disassembled joints. Consult Verifying Model Topology to learn more about closed loop analysis.

For More About Constraints and Drivers

A SimMechanics simulation represents a cut Joint, Constraint, or Driver as an additional internal constraint. See Constraining and Driving Degrees of Freedom following for more about these specialized blocks.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS