Torque step
A torque step at a given time.
- rotational
- Modelica Standard Library
- 1 port
- 3 parameters
torqueStepLibraryRotationalDescription
Applies an offset torque that steps up by a fixed amount at the step time. Use it as a load disturbance.
Example
Rotational drivetrain A torque step drives a motor inertia through a 2:1 gear and a shaft spring into a damped load, with every rotational sensor.
Torque 1 N·mMotor 0.01 kg·m²Gear 2:1Shaft powerShaft torqueShaft 1000 N·m/radLoad 0.04 kg·m²Friction 0.1FrameMotor accelerationShaft twist rateLoad speed
Also in this example:Fixed (rotational)Torsion springTorsion damperInertia (ideal)Ideal gearSpeed sensorTorque sensorAcceleration sensorPower sensor (rotational)Relative speed sensor
Ports
Conserving terminals 1
-
shaft
flangeFlange the torque acts on.
Parameters
-
Step height
stepTorque1 N·mHeight of the step, in N·m. Negative values act as a load.
-
Initial torque
offsetTorque0 N·mTorque before the step, in N·m.
-
Step time
startTime0.5 s≥ 0
Time of the step, in seconds.
Equations
Modelica
τ = offsetTorque + (0 for time < startTime, stepTorque afterward) flange.tau = −τ
Implementation
Modelica Standard Library 4.1.0
MSL documentation Modelica.Mechanics.Rotational.Sources.TorqueStepAssumptions and limitations
- The step is instantaneous and does not depend on speed or direction.
Used in
These larger examples use it too. Open them from Examples in the app.
- PMSM · Field-oriented control
See also
Select a block in Gradara and press F1 to open its page offline.