Physical System Modeling
Why modeling matters¶
Every control problem begins with a model, whether that model is explicit or implicit. Even when a controller is tuned experimentally, the engineer still carries an internal mental model of what the system does. In CCD, the model plays an even larger role: it is the bridge between plant design variables and control design variables.
A good model should be:
physically meaningful, so that design-variable changes have understandable effects;
simple enough to analyze and optimize, especially in early design stages;
rich enough to capture the dominant dynamics that matter for control and performance; and
well matched to the decisions being made. A conceptual design study does not need the same fidelity as a certification-grade simulation.
There is no perfect model. There are only models that are more or less useful for a given decision. The art of dynamic modeling lies in retaining the right physics while excluding details that do not materially affect the design question.
A typical modeling workflow for dynamic systems used in CCD and control analysis. The process begins with the physical system and ends with a dynamic model that can be analyzed, simulated, and used for design.
A common modeling pipeline begins with a physical system and its governing physics. We then make assumptions: rigid body or flexible body? Linear or nonlinear? Lumped parameters or distributed parameters? Small motions or large motions? These assumptions lead to differential equations. Finally, we define states, inputs, outputs, and disturbances and express the model in a convenient form such as state space.
Levels of model fidelity¶
Dynamic models are often built at different levels of fidelity:
Conceptual models capture the dominant energy-storage and dissipation mechanisms. They are excellent for teaching, intuition, and early optimization.
Intermediate models add realism such as actuator dynamics, sensor dynamics, multiple degrees of freedom, or saturation.
High-fidelity models incorporate flexible modes, nonlinearities, aerodynamic or hydrodynamic effects, contact, constraints, and implementation details.
Conceptual and intermediate models build the understanding needed to use high-fidelity models responsibly.
Coupling across energy domains: multidisciplinary analysis¶
Many CCD-relevant systems are not built from a single set of governing equations. A robotic system, for instance, couples mechanical dynamics with electrical actuator dynamics; a marine energy device couples hydrodynamics with the electrical or hydraulic dynamics of its power take-off. If each energy domain were modeled independently, the interaction between domains would be lost — an electric motor’s rotor state could appear to change instantaneously, when in fact the mechanical load it drives constrains how fast it can actually respond.
Suppose two energy domains, labeled and , each have their own state trajectory, and , governed by their own derivative functions:
The two domains are coupled because depends on and depends on . Building and solving this kind of coupled model — capturing how each energy domain affects the dynamics of the others — is called multidisciplinary analysis (MDA). Once both domains are captured, the stacked state and stacked input recombine the two coupled equations into a single first-order model of the same form used throughout this chapter. The DC motor of Activity 2.1 is exactly this construction: its electrical current equation and mechanical speed equation are coupled through the back-EMF term and the torque term , and stacking into one state vector is an MDA step performed almost automatically.
When the model is not a clean ODE: differential-algebraic equations¶
Combining domains, or imposing a physical or design requirement as an equality among the states, is not always reducible to without extra work. Sometimes a modeling assumption, a rigid physical constraint, or a path constraint that has become active removes a degree of freedom from the system and introduces an algebraic — not differential — relationship among the variables. The resulting model, in semi-explicit form, is
where is an algebraic variable: unlike a state, its own time derivative never appears in the model, and its value at time is instead pinned down by the algebraic equation . A system of this form is called a differential-algebraic equation (DAE). If the algebraic equation can, at least locally, be solved for — equivalently, if the Jacobian of with respect to is nonsingular — the DAE is called index-1, where the index counts how many times the algebraic equation must be differentiated with respect to time before the whole system reduces to an ordinary differential equation. An index-1 DAE can, in principle, always be converted to the explicit state-space form used elsewhere in this chapter; the conversion is simply not free, and some solution methods work directly with the DAE instead of performing it.
This situation is common, not exotic. A rigid mechanical constraint between two bodies, an incompressible fluid, or an inequality constraint (on stress, temperature, position, or actuator force) that has just become active can each remove a degree of freedom this way. In every one of these cases, some variable that used to be a free state must become an algebraic variable, satisfying a constraint rather than its own dynamics. In actively controlled systems, control inputs are normally treated as independent quantities, while the algebraic variables introduced by active constraints must still satisfy the underlying physics.
A first example: mass–spring–damper system¶
The mass–spring–damper system contains nearly every idea we need: inertia, restoring force, damping, actuation, disturbance response, and measurable output.
A single-degree-of-freedom mass–spring–damper system with a control input and a disturbance.
Applying Newton’s second law gives
where is mass, is the damping coefficient, is spring stiffness, is displacement, is the control force, and is an external disturbance force.
Activity 2.1: Full and Reduced Models of a DC Motor¶
Activity 2.1: Full and Reduced Models of a DC Motor
An armature-controlled DC motor is modeled by
Use
and
Using
derive the complete state-space model with voltage as the control input and load torque as the disturbance.
Derive the characteristic polynomial of the unforced state matrix.
Explain why one eigenvalue is located at the origin when shaft position is included as a state.
Remove the position state and derive the two-state speed-current subsystem.
Prove that the speed-current subsystem is asymptotically stable for positive
Set and derive the reduced first-order speed model.
Derive the reduced-model pole and compare it with the slow eigenvalue of the full speed-current model.
Simulate the full and reduced models for a 12-V step input and zero load torque. Compare:
motor speed;
current;
steady-state speed; and
dominant time constant.
Repeat the comparison for
Define a quantitative criterion for deciding when the reduced model is acceptable.
Explain how changing rotor inertia , inductance , or torque constant changes both plant performance and the control-design problem.