Creating Y=f(X) combined sensors curves

About sensors:

This functionality enables to visualize all joint values (with commands or not), measures and joint limits if defined throughout the simulation process.
These different values used as sensors provide useful information to check your mechanism design through both kinematics simulation operations (i.e. simulation with laws and simulation with commands)

Within a simulation with laws, you can not only plot sensors with respect a time parameter, but you can also plot a sensor with respect to another sensor.

This task consists in using sensors to check joint values and measure values during simulation.
Open the Engine_4_Cylinders.CATProduct document.
  1. Click the Simulation with Laws icon I_UseLawP2.gif (280 bytes) in the DMU Kinematics toolbar.
    The Kinematics Simulation -Mechanism.1 dialog box is displayed.

  2. Change the simulation duration, click the Edit Time range button . The Simulation duration is automatically displayed. The default duration is 10 s

  3. Enter 20 s in the maximum time bound field:

  4. Change the step number to 200.

  5. Select the Activate Sensors check box.

    This scenario aims at checking the motion of the valve with respect to  the crankshaft 

    You are going to check if your Kinematics mechanism is correctly designed using the corresponding sensors during simulation

  6. Select the sensors to be observed in the Sensors dialog box.

    • Prismatic.25 

    • Revolute.18 

    • Revolute.5

    Launch the Simulation With laws 
  7. Click the History tab to visualize the sensors behavior while running your simulation:
    Use the Play Forward button

  8. Click the Options button .

    The Graphical Representation Options dialog box is displayed:

  9. Select the Customized  option button: the Add, Edit and Remove buttons become accessible.

  10. Click Add, the Curve Creation dialog box is displayed

  11. In the Abscissa and Ordinate lists, select the required sensors:

  12. Create two customized curves:

    • curve1: prismatic 25 with respect to Revolute18
    • curve2: prismatic 25 with respect to Revolute 5

    Give a meaningful name to your new customized curve.
  13. Click Ok when done.The two curves are created:

  14. Click Close.

  15. Click the Graphics button from the outputs to obtain a graphical representation. The curve 1 is displayed

  16. Click Curve.2 tab:

  17. Click File to save as a .xls or .txt file.
    Give a name and a path.

    Note: you can swap to the default mode (curves plotted with respect to time) at any time
  18. Click the Options button and select the versus time option button

  19. Click Close

  20. Click again the Graphics button from the outputs to obtain a graphical representation