Professional Documents
Culture Documents
Hybrid Systems ServoSystemExercise
Hybrid Systems ServoSystemExercise
Control
Measurements Controller Outputs
Computing
Sensors Actuators
Controller Plant
(Physical System)
Usual Objective
Plant output should follow the reference signal.
u_A phi
phi_der
tau_L tau_m
block DCPMMotorTextual
extends Modelica.Blocks.Interfaces.BlockIcon;
import SI = Modelica.SIunits;
parameter SI.Resistance R_A = 7.38 "Armature resistance";
parameter SI.Inductance L_A = 4.64e-3 "Armature inductance";
parameter SI.Inertia J_R(min=0) = 1.9e-6 "Armature moment of inertia";
parameter Real k_e(final unit="V.s/rad") = 3.11e-2 “Electromotive force
constant";
parameter SI.ElectricalTorqueConstant k_t = 3.11e-2 "Motor torque constant";
/* TODO: Build the block interface by drag and drop of connectors from package
Modelica.Blocks.Interfaces */
equation
/* TODO: Fill in equations */
end DCPMMotorTextual;
Interface
(optional: Create a nice icon) Internal structure
• Take the height of the step as 130. The driving voltage should not
exceed 24V.
• Locate the continuous-time PI controller in the MSL and tune it until
you get satisfactory results.
u y