Gates





| C |
in the palette on the schematic
The block is designed to simulate an ideal converter of rotary motion into translatory motion and vice versa. The unit allows you to simulate the rack-and-pinion gear, winch, gate and other similar mechanisms. The block is described by the following equations:



where:
  • sC – position of the body at the port "C", m
  • φR – turn angle of the shaft at the port "R", rad
  • FC – force at the port "C", N
  • TR – torque at the port "R", Nm
  • R – arm length (radius), m
  • dir – the value indicating the matching of the directions of rotation of the shaft and the movement of the rope, has a value of 1 or -1.

Next to the block, the value of the arm length (radius) R in meters is displayed.

Ports

Name Description Connection line type
R Port for connecting model blocks (rotor). The port is input if specified in the "Input Port" property, otherwise this port is output Rotary mechanics
C Port for connecting model blocks (cable). The port is input if specified in the "Input Port" property, otherwise this port is output Translatory mechanics

Properties

Name Parameter Description By default Data type
Input port Mod_Type Allows you to specify the input ports. The possible values are: "R", "C", "R and C" R and C Перечисление
Radius, m R Arm length 1 Вещественное
Direction of rotation and movement of the rope Orient Allows you to specify the direction of rotation and movement of the rope. The possible values are: "Same direction", "Opposite direction" In the same direction Перечисление
Time constant for solving the nonlinear algebraic equation, s Tau The time constant for solving the nonlinear algebraic equation. Used to solve the coupling equation. The property is available when selecting the input ports "R and C" 0.1 Вещественное

Parameters

Name Parameter Description Data type
Port R A group of parameters displaying the parameters of rotary motion at the port "R"
Turn angle, rad Fi Value of the turn angle at the port "R" Вещественное
Angular speed, rad/s W Value of the angular speed at the port "R" Вещественное
Angular acceleration, rad/s2 Eps Value of the angular acceleration at the port "R" Вещественное
Torque, Nm T Torque with which the gate acts on the body connected to the port "R" Вещественное
Port C A group of parameters displaying the parameters of translatory motion at the port "C"
Displacement, m S Displacement value at the port "C" Вещественное
Speed,​m/s V Speed value at the port "C" Вещественное
Acceleration, m/s2 A Acceleration value at the port "C" Вещественное
Force, N F

Force with which the gate acts on the body connected to the port "C"

Вещественное

Examples

Examples of block application: