WOLFRAM SYSTEM MODELER
JoystickReturnTrajectoryModel simulating response of three joystick designs to circularly varying test force. |
![]() |
SystemModel["EducationExamples.MechanicalEngineering.Joystick.JoystickReturnTrajectory"]
This model compares the return trajectory of three analog joysticks after being suddenly released after being displaced from the center equilibrium position. Each joystick has a handle re-centering mechanism based on a symmetrical arrangement of a different number of tension springs.
View the model diagram for this model.
The other model in this example is JoystickForceResponse, which compares the response of the three joysticks to a circularly varying test force.
The joystick model is constructed hierarchically. Double-click on a component such as fourSpringReturn1 to see its model diagram. Inside fourSpringReturn1 double-click on one of the tension springs to see its model diagram, and so on:
To simulate the model and view a 3D animation of it, follow the steps below:
The animation shows the trajectory of the joystick handle as it springs back after being suddenly released from a position away from the center equilibrium:
Note that the handle does not return along a linear trajectory. The joysticks with a larger number of symmetrically spaced springs (four or six) follow a path that is more nearly linear.
After simulating the model, look at the stored plots to see parametric plots of the path along which each joystick returns.
The parametric plots look like this:
You can see that the six-spring arrangement leads to the most linear return trajectory.
By simulating the other model in this example, JoystickForceResponse, you can also obtain the following parametric plots of the response of each joystick to a circularly varying test force:
You can see that the-six spring arrangement leads to the most circular force response.
initialAngles |
Value: {0.5, 0.1} Type: Angle[2] (rad) Description: Initial angles of the joysticks, first rotating aroung the X-axis and then rotating around the Y-axis. |
---|---|
springConstants |
Value: 100 Type: TranslationalSpringConstant (N/m) Description: Base spring constant of the joystick springs. |
![]() |
world |
Type: World |
---|---|---|
![]() |
joystickJoint1 |
Type: JoystickJoint |
![]() |
bodyCylinder1 |
Type: BodyCylinder |
![]() |
bodyCylinder2 |
Type: BodyCylinder |
![]() |
threeSpringReturn1 |
Type: ThreeSpringReturn |
![]() |
fixedTranslation1 |
Type: FixedTranslation |
![]() |
fixedTranslation2 |
Type: FixedTranslation |
![]() |
fourSpringReturn1 |
Type: FourSpringReturn |
![]() |
bodyCylinder3 |
Type: BodyCylinder |
![]() |
bodyCylinder4 |
Type: BodyCylinder |
![]() |
joystickJoint2 |
Type: JoystickJoint |
![]() |
fixedTranslation3 |
Type: FixedTranslation |
![]() |
joystickJoint3 |
Type: JoystickJoint |
![]() |
bodyCylinder5 |
Type: BodyCylinder |
![]() |
bodyCylinder6 |
Type: BodyCylinder |
![]() |
sixSpringReturn1 |
Type: SixSpringReturn |
![]() |
fixedTranslation4 |
Type: FixedTranslation |
![]() |
fixedTranslation5 |
Type: FixedTranslation |
![]() |
fixedShape21 |
Type: FixedShape2 |
![]() |
fixed1 |
Type: Fixed |
![]() |
fixedTranslation6 |
Type: FixedTranslation |
![]() |
fixedTranslation7 |
Type: FixedTranslation |
![]() |
fixedTranslation8 |
Type: FixedTranslation |