Physical System Modeling in the Frequency Domain
After introducing transfer functions, Nise spends substantial effort deriving them from real components: electrical networks, translational and rotational mechanical systems, gears, and electromechanical motors. The goal is not to memorize isolated formulas. It is to recognize a modeling pattern: identify energy-storage and dissipative elements, write physical laws, transform to the -domain, and solve for the chosen input-output ratio.
This page collects the modeling rules most often needed before response and design. The same physical device can produce different transfer functions depending on the selected input and output. A motor can be modeled from armature voltage to angular speed, armature voltage to position, or torque command to load displacement. Always state the variables before writing equations.
Definitions
For electrical networks, impedance in the -domain is used under zero initial conditions:
| Component | Time relation | -domain impedance |
|---|---|---|
| resistor | ||
| inductor | ||
| capacitor |
Kirchhoff's voltage law says the signed sum of voltages around a closed loop is zero. Kirchhoff's current law says the signed sum of currents at a node is zero. These laws produce algebraic equations after transformation.
For translational mechanical systems, force balance with D'Alembert's convention gives
after inertial forces are included. A mass, viscous damper, and spring have force relations
For rotational systems,
Gear trains transform torque and displacement. For two ideal gears with tooth counts and ,
with sign depending on rotation direction convention.
A common armature-controlled dc motor model uses armature resistance , back-emf constant , torque constant , equivalent inertia , and equivalent damping . With armature inductance neglected,
Key results
For a single translational mass-spring-damper driven by force ,
Taking the Laplace transform gives
so
For a rotational inertia-damper-spring driven by torque ,
The forms are identical because displacement/rotation, force/torque, mass/inertia, damping/rotational damping, and spring/torsional spring are analogous variables.
For the simplified dc motor above, eliminate :
Substitute into the mechanical equation:
Therefore
The voltage-to-position transfer function is
The extra pole at the origin appears because position is the integral of speed.
Multi-degree-of-freedom mechanical systems require special care because forces in coupling elements depend on relative motion. A spring between masses at and exerts a force proportional to on one mass and on the other. A damper between moving bodies behaves the same way with velocities. Writing every element force in terms of relative displacement or relative velocity before summing forces is the most reliable way to avoid sign errors.
Gear modeling introduces another recurring pattern: reflect quantities to one shaft before writing equations. If a load inertia is seen through an ideal gear ratio , the equivalent inertia at the motor shaft scales by the square of the speed ratio. This squared scaling surprises many students because torque and displacement scale reciprocally, but energy must be preserved. The same idea applies to reflected damping and torsional stiffness when simplifying motor-load systems.
Electromechanical coupling also creates damping-like behavior. In the simplified dc motor model, back emf is proportional to speed. As speed rises, back emf subtracts from the applied armature voltage, reducing current and torque. Algebraically this appears as the added damping term . Physically it is electrical feedback inside the motor itself. Ignoring this term can make a motor model look far more responsive than the real device.
Analogies between electrical and mechanical systems are useful but should not be memorized blindly. In a force-voltage analogy, force corresponds to voltage and velocity corresponds to current, so mass corresponds to inductance, damping to resistance, and spring compliance to capacitance. In a force-current analogy, the mapping changes. Nise uses analogies to show common mathematical structure, not to suggest that every mechanical system must be redrawn as a circuit before it can be modeled.
Model order should match the purpose. A motor-position loop might begin with a second-order or third-order model that neglects armature inductance, gear flexibility, amplifier dynamics, and sensor inertia. If measured response shows high-frequency oscillation, excessive delay, or current-loop limitations, those neglected dynamics must be restored. A low-order model is valuable because it gives insight, but it is not a license to ignore evidence from the physical system.
Parameter identification is often part of modeling. Some constants can be read from datasheets, such as resistance or nominal torque constant. Others, such as viscous damping, friction, load inertia, or effective stiffness, may require experiments. A step test, frequency sweep, or free-decay measurement can estimate the parameters that make the transfer function match reality. The model should record whether parameters are measured, calculated, assumed, or fitted.
Loading effects also matter. Connecting a sensor, amplifier, or mechanical load can change the subsystem being modeled. An ideal op-amp or ideal gear assumption removes these interactions for simplicity, but real hardware has finite impedance, compliance, backlash, and bandwidth. If a subsystem model was derived in isolation, verify that interconnection does not invalidate it.
Every model should specify sign conventions for positive displacement, rotation, voltage, current, force, and torque. Consistent signs make feedback polarity clear and prevent accidental conversion of negative feedback into positive feedback during block-diagram assembly.
Write the conventions next to the schematic.
Visual
| Domain | Through variable | Across variable | Storage element | Dissipative element |
|---|---|---|---|---|
| Electrical | current | voltage | , | |
| Translational | force | velocity | , | |
| Rotational | torque | angular velocity | , | |
| Motor coupling | current | angular velocity | electromechanical conversion | winding resistance and damping |
Worked example 1: mass-spring-damper transfer function
Problem: A kg mass is connected to ground by a N-s/m damper and an N/m spring. A force is applied to the mass. Find and identify the standard second-order parameters.
Method:
- Write force balance:
- Transform with zero initial conditions:
- Divide:
- Compare the denominator with
Thus
and
Checked answer: , with rad/s and .
Worked example 2: dc motor voltage-to-position model
Problem: A dc motor has , N-m/A, V-s/rad, kg-m, and N-m-s/rad. Neglect armature inductance. Find .
Method:
- Start from the simplified result:
- Compute the torque gain term:
- Compute the electrical damping contribution:
- Add mechanical damping:
- Substitute:
- Factor from the bracket:
Checked answer: . The motor has an integrator for position and a real pole at rad/s.
Code
import numpy as np
from scipy import signal
M, D, K = 2.0, 6.0, 18.0
mass_sys = signal.TransferFunction([1.0], [M, D, K])
print("mass-spring-damper poles:", np.roots([M, D, K]))
Ra, Kt, Kb = 2.0, 0.4, 0.4
J, Dm = 0.02, 0.04
num = [Kt / Ra]
den = [J, Dm + Kt * Kb / Ra, 0.0]
motor_sys = signal.TransferFunction(num, den)
print("motor transfer function numerator:", motor_sys.num)
print("motor transfer function denominator:", motor_sys.den)
print("motor poles:", np.roots(den))
Common pitfalls
- Selecting coordinates inconsistently. A spring between two moving bodies depends on relative displacement, not either displacement alone.
- Forgetting reflected inertia or damping through gears. Gear ratios square when reflecting inertias to another shaft.
- Mixing speed and position transfer functions. Motor voltage-to-speed removes one integrator compared with voltage-to-position.
- Neglecting armature inductance without checking time scales. Nise often does this for simpler models, but the assumption should be justified.
- Losing sign conventions in gears. Opposite rotation can introduce a minus sign that matters in feedback interconnections.
- Treating static component gains and dynamic transfer functions as interchangeable. A potentiometer may be modeled as static gain only when its mechanical dynamics are negligible.
Connections
- Laplace transfer functions give the transform rules used here.
- Block-diagram reduction connects component models into complete systems.
- Time response interprets the poles of these models.
- Simulation extends these models into numerical and Simulink-style experiments.
- Embedded control matters when these continuous models are implemented on real hardware.