Generic Rotary Actuator
A universal rotary actuator controlled by a constant voltage source or a PWM driver.
blockType: AcausalElectricPowerSystems.Electromechanical.MechatronicActuators.GenericRotary
Path in the library:
|
Description
Block Generic Rotary Actuator implements a model of a universal rotary drive designed for control from a constant voltage source or a PWM driver. Determine the characteristics of the torque-speed in the form of tabular values for powering the motor at rated voltage. This functionality allows you to simulate an engine without resorting to an equivalent circuit.
The architecture of a motor or drive determines how electrical losses depend on torque. For example, in a DC motor, losses are proportional to the square of the current. Since torque is proportional to current, losses are also proportional to mechanical torque. In most engines, electrical losses are proportional to the square of the torque. Block Generic Rotary Actuator calculates this loss value using the provided parameters Motor efficiency (percent) and Speed at which efficiency is measured.
Some engines also have a loss factor that is independent of the torque. An example is a shunt motor in which the field winding consumes direct current regardless of the load. Parameter Torque-independent electrical losses takes this effect into account.
Engine EFFICIENCY is the mechanical power divided by the sum of the mechanical power and both electrical losses. The block assumes that the speed at which the efficiency of the engine is determined is in the motor quadrant and, therefore, is positive.
You can work with the unit in the opposite direction by changing the sign of the applied voltage. For example, the block H-Bridge changes the direction of rotation of the motor if the voltage at the REV port is greater than the Reverse threshold voltage parameter. However, if the block is used in the opposite direction, then specify the data «torque-speed» to work in the forward direction:
-
Positive torques and positive speeds in the motor quadrant;
-
Positive torques and negative speeds in the counterclockwise generation quadrant;
-
Negative torque and positive velocity in the generating quadrant clockwise.
Thermal effects of the model
A thermal port can be opened to simulate the effects of losses during the conversion of energy into heat. To open the thermal port, select the checkbox for the parameter Enable thermal port.
Assumptions and limitations
-
Curve data «torque-speed» They correspond only to the rated voltage, so the unit produces accurate results only at plus or minus rated voltage.
-
In this block, it is necessary to provide torque data for the entire range in which the drive is used. To use the drive in the generation and braking areas, provide additional data outside the normal driving area.
-
The behavior of the model is sensitive to the torque-velocity data. For example, the idle speed is correctly determined and is finite only when the data intersects the speed axis.
-
To manage a block from a block H-Bridge:
-
Do not place any other blocks between the block H-Bridge and a block Generic Rotary Actuator.
-
In the dialog box of the block H-Bridge set the Freewheeling mode parameter to
Via one semiconductor switch and one freewheeling diode. ChoiceVia two freewheeling diodesIt does not set the output voltage of the bridge to zero when the input PWM signal is low. -
In the dialog boxes of the blocks H-Bridge, Generic Rotary Actuator and Controlled PWM Voltage make sure that the value Simulation mode the same for all three blocks.
-
Variables
Use the parameter group Initial Targets to set the priority and initial target values for the block parameter variables before modeling. For more information, see Configuring physical blocks using target values.
Ports
Conserving
#
+
—
positive terminal
electricity
Details
A non-directional port associated with the positive terminal of the drive.
| Program usage name |
|
#
-
—
negative terminal
electricity
Details
Non-directional port associated with the negative terminal of the drive.
| Program usage name |
|
#
R
—
rotor
`rotational mechanics
Details
A mechanical non-directional port associated with a rotor.
| Program usage name |
|
#
C
—
hull
`rotational mechanics
Details
A mechanical non-directional port associated with the actuator housing.
| Program usage name |
|
#
H
—
heat port
heat
Details
Heat port.
Dependencies
To use this port, select the Enable thermal port checkbox.
| Program usage name |
|
Parameters
Electrical Torque
#
Speed values —
vector of velocity values
rad/s | deg/s | rad/min | deg/min | rpm | rps
Details
A vector of velocity values for constructing an interpolation table of the correspondence between the values of torque and speed.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Torque values —
vector of torque values
N*m | uN*m | mN*m | kN*m | MN*m | GN*m | kgf*m | lbf*in | lbf*ft
Details
A vector of torque values for constructing an interpolation table of matching torque and speed values.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Rated voltage —
Rated voltage
V | uV | mV | kV | MV
Details
Specify the voltage for which the device being modeled is designed.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Motor efficiency (percent) — Engine EFFICIENCY
Details
The efficiency that the unit uses to calculate electrical losses that depend on the torque.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Speed at which efficiency is measured —
the speed at which efficiency is measured
rad/s | deg/s | rad/min | deg/min | rpm | rps
Details
The speed that the unit uses to calculate electrical losses that depend on the torque.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Torque-independent electrical losses —
fixed electrical losses
W | uW | mW | kW | MW | GW | V*A | HP_DIN
Details
Fixed electrical losses associated with the drive when the torque is zero.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Simulation mode —
Simulation mode
PWM | Averaged
Details
If set for the parameter Simulation mode meaning PWM, then apply a PWM signal to the electrical terminals of the unit, switching between zero and rated voltage. The current consumed from the power grid is equal to the amount needed to transfer mechanical power and compensate for electrical losses. If the applied voltage exceeds the rated voltage, the resulting torque increases proportionally. However, applying a voltage other than the rated voltage may give unrepresentative results.
If you set the parameter Simulation mode in the value Averaged, then the torque generated in response to the applied voltage will be equal to:
where — the value of the torque at speed . The current consumed from the power supply is such that the product of the current and is equal to the average power consumption.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
Mechanical
#
Rotor inertia —
inertia of the rotor
kg*m^2 | g*m^2 | kg*cm^2 | g*cm^2 | lbm*in^2 | lbm*ft^2 | slug*in^2 | slug*ft^2
Details
The resistance of the rotor to changing the motion of the motor. The value can be zero.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Rotor damping —
rotor damping
N*m*s/rad | mN*m*s/rad | kN*m*s/rad | kgf*m*s/rad | lbf*ft*s/rad
Details
Damping of the rotor. The value can be zero.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
Temperature Dependence
#
Resistance temperature coefficient —
temperature coefficient of resistance
1/K | 1/degR | 1/deltaK | 1/deltadegC | 1/deltadegF | 1/deltadegR
Details
Temperature coefficient of resistance.
Dependencies
To enable this option, check the box next to the Enable thermal port option.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Measurement temperature —
Measurement temperature
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
The temperature for which the drive parameters are defined.
Dependencies
To enable this option, check the box next to the Enable thermal port option.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
Thermal Port
# Enable thermal port — turning on the heat port
Details
Modeling of thermal effects.
To enable the simulation of thermal effects, set the option checkbox to enabled.
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Thermal mass —
thermal mass
J/K | kJ/K
Details
Thermal mass is the energy required to raise the temperature by one degree.
Dependencies
To enable this option, check the box next to the Enable thermal port option.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |