Salta al contenuto
Note per Studenti Mathematical Models of Mechanical Systems Report

Mathematical Models of Mechanical Systems

Lumped-parameter systems are introduced in Continuous-Time Modeling of Dynamic SystemsWhy control engineers need a model, white-box versus black-box modeling, the assumptions behind linear time-invariant lumped models, linear ODEs with constant coefficients, and the classification of lumped elements as passive or active.Continuous-Time Modeling of Dynamic Systems →. Here the basic mechanical elements and the derivation procedure are collected. The same ideas return in System ModelingA mathematical model (parameters, variables, relations) describes a system quantitatively; models are classified as static or dynamic, causal, linear, time-invariant, SISO or MIMO, and the course focuses on SISO continuous-time causal dynamic LTI systems described by a constant-coefficient input-output ODE.System Modeling →.

Lumped elements in mechanical systems

For each element, FF (or τ\tau) is the force (or torque) exerted by the environment on the element.

Translational elements

Element Law Symbols
Mass F=m x¨F = m\,\ddot x x¨=d2x/dt2\ddot x = d^2x/dt^2 acceleration [m/s2^2]; FF force [N]; mm mass [kg]
Spring F=k ΔxF = k\,\Delta x Δx=x1−x2\Delta x = x_1 - x_2 compression [m]; kk spring constant [N/m]
Damper F=b dΔxdtF = b\,\dfrac{d\Delta x}{dt} dΔxdt=x˙1−x˙2\dfrac{d\Delta x}{dt} = \dot x_1 - \dot x_2 compression speed [m/s]; bb viscous friction coefficient [Ns/m]

The spring and the damper have two ends, with positions x1,x2x_1, x_2 (velocities x˙1,x˙2\dot x_1,\dot x_2) and the same force FF acting on both ends, in opposite directions.

Rotational elements

Element Law Symbols
Rotor τ=J ϑ¨\tau = J\,\ddot\vartheta ϑ¨\ddot\vartheta angular acceleration [rad/s2^2]; τ\tau torque [Nm]; JJ moment of inertia [kg m2^2]
Torsional spring τ=k Δϑ\tau = k\,\Delta\vartheta Δϑ=ϑ1−ϑ2\Delta\vartheta = \vartheta_1 - \vartheta_2 torsion [rad]; kk torsional spring constant [Nm/rad]
Torsional damper τ=b dΔϑdt\tau = b\,\dfrac{d\Delta\vartheta}{dt} dΔϑdt=ϑ˙1−ϑ˙2\dfrac{d\Delta\vartheta}{dt} = \dot\vartheta_1 - \dot\vartheta_2 torsion speed [rad/s]; bb viscous friction coefficient [Nm s/rad]

(The slide prints the torsional damper law with dϑd\vartheta at the denominator; the symbol list below it defines the torsion speed as ϑ˙1−ϑ˙2\dot\vartheta_1-\dot\vartheta_2, which is what is used here.)

Sources (active elements)

  • Force/torque source: applies a force or torque regardless of the resulting displacement (e.g. externally applied forces or torques).
  • Displacement source (linear or angular): imposes a specified linear or angular displacement (or speed) regardless of the force or torque required (e.g. displacement imposed by an external source).

Lever and gearbox (lossless elements)

Lever (forces F1,F2F_1, F_2 at distances l1,l2l_1, l_2 from the pivot, velocities v1=x˙1v_1=\dot x_1, v2=x˙2v_2=\dot x_2):

F1l1−F2l2=0 (moment balance),v1l1=−v2l2 (kinematic constraint)F_1 l_1 - F_2 l_2 = 0 \ \text{(moment balance)},\qquad \frac{v_1}{l_1} = -\frac{v_2}{l_2}\ \text{(kinematic constraint)}

⇒(F2v2)=(l1l200−l2l1)(F1v1)\Rightarrow\quad \begin{pmatrix} F_2 \\ v_2 \end{pmatrix} = \begin{pmatrix} \dfrac{l_1}{l_2} & 0 \\[2mm] 0 & -\dfrac{l_2}{l_1} \end{pmatrix} \begin{pmatrix} F_1 \\ v_1 \end{pmatrix}

Gearbox (radii ratio r1:r2r_1 : r_2, ω1=ϑ˙1\omega_1=\dot\vartheta_1, ω2=ϑ˙2\omega_2=\dot\vartheta_2):

τ1r1−τ2r2=0 (force balance),ω1r1=−ω2r2 (kinematic constraint)\frac{\tau_1}{r_1} - \frac{\tau_2}{r_2} = 0\ \text{(force balance)},\qquad \omega_1 r_1 = -\omega_2 r_2\ \text{(kinematic constraint)}

⇒(τ2ω2)=(r2r100−r1r2)(τ1ω1)\Rightarrow\quad \begin{pmatrix} \tau_2 \\ \omega_2 \end{pmatrix} = \begin{pmatrix} \dfrac{r_2}{r_1} & 0 \\[2mm] 0 & -\dfrac{r_1}{r_2} \end{pmatrix} \begin{pmatrix} \tau_1 \\ \omega_1 \end{pmatrix}

Both are lossless elements: the algebraic sum of the input powers is zero, e.g. F1v1+F2v2=0F_1 v_1 + F_2 v_2 = 0 and τ1ω1+τ2ω2=0\tau_1\omega_1 + \tau_2\omega_2 = 0. (The gearbox is the element used for the DC servomotor in Course Overview and Laboratory SetupOrganisation of the Control Systems Laboratory course (credits, lab types, exam rules, prerequisites) and a preview of the whole model-to-real-system workflow, illustrated on the speed control of a DC servomotor.Course Overview and Laboratory Setup →.)

Derivation of the mathematical model

  1. Draw the free-body diagram: for each body, identify the forces exchanged with the environment (external) and with the other elements (internal).
  2. Apply Newton-Euler's 2nd law to each rigid body:
    • translation: m x¨=∑nFnm\,\ddot x = \sum_n F_n;
    • rotation: J ϑ¨=∑nτnJ\,\ddot\vartheta = \sum_n \tau_n.
  3. Apply Newton-Euler's 3rd law (action-reaction principle) to eliminate the internal forces from the model.

Example: mass-spring-damper system

A mass mm is pushed by an external force FF and attached to a fixed wall through a damper bb and a spring kk in parallel; xx is the displacement of the mass.

        +-----+      +---- damper b ----+
  F --> |  m  |------+                  +---| wall
        +-----+      +---- spring k ----+
          -> x

Free-body diagram: the mass receives FF (towards positive xx) and the two reaction forces F1F_1 (from the damper) and F2F_2 (from the spring), both towards negative xx. The damper and the spring, each with one end fixed to the wall, are loaded by the opposite forces F1F_1 and F2F_2 (action-reaction).

{mx¨=F−F1−F2F1=b x˙F2=k x⇒ m x¨+b x˙+k x=F \begin{cases} m\ddot x = F - F_1 - F_2\\ F_1 = b\,\dot x\\ F_2 = k\,x \end{cases} \quad\Rightarrow\quad \boxed{\,m\,\ddot x + b\,\dot x + k\,x = F\,}

Taking xx as the output (and FF as the input), the model is a 2nd-order linear ODE with constant coefficients. Its transfer function and step response are discussed in Second-Order System Step ResponseThe unit step response of a BIBO stable second-order system with complex conjugate poles is W(0) times one minus an exponentially decaying sinusoid, and its rise time, settling time and overshoot are approximately 1.8 over the natural frequency, 4.6 over the real part of the pole magnitude, and exp of minus pi times the damping ratio over the square root of one minus its square.Second-Order System Step Response →.

Versione ripasso

Translational: mass F=mx¨F=m\ddot x; spring F=kΔxF=k\Delta x, Δx=x1−x2\Delta x=x_1-x_2; damper F=b dΔxdtF=b\,\dfrac{d\Delta x}{dt}. Rotational: rotor τ=Jϑ¨\tau=J\ddot\vartheta; torsional spring τ=kΔϑ\tau=k\Delta\vartheta; torsional damper τ=b dΔϑdt\tau=b\,\dfrac{d\Delta\vartheta}{dt}. Here F,τF,\tau are exerted by the environment on the element.

Sources (active): force/torque source and displacement (or speed) source, independent of the load.

Lever: F1l1−F2l2=0F_1l_1-F_2l_2=0, v1/l1=−v2/l2v_1/l_1=-v_2/l_2, so F2=l1l2F1F_2=\frac{l_1}{l_2}F_1, v2=−l2l1v1v_2=-\frac{l_2}{l_1}v_1. Gearbox: τ1r1−τ2r2=0\frac{\tau_1}{r_1}-\frac{\tau_2}{r_2}=0, ω1r1=−ω2r2\omega_1r_1=-\omega_2r_2, so τ2=r2r1τ1\tau_2=\frac{r_2}{r_1}\tau_1, ω2=−r1r2ω1\omega_2=-\frac{r_1}{r_2}\omega_1. Both lossless: F1v1+F2v2=0F_1v_1+F_2v_2=0, τ1ω1+τ2ω2=0\tau_1\omega_1+\tau_2\omega_2=0.

Procedure: (1) free-body diagram; (2) mx¨=∑Fnm\ddot x=\sum F_n, Jϑ¨=∑τnJ\ddot\vartheta=\sum\tau_n; (3) action-reaction to remove internal forces.

Example (mass, spring, damper in parallel to a wall, force FF): mx¨=F−F1−F2m\ddot x=F-F_1-F_2, F1=bx˙F_1=b\dot x, F2=kxF_2=kx give mx¨+bx˙+kx=Fm\ddot x+b\dot x+kx=F a 2nd-order linear ODE with constant coefficients (output xx).

Typical mistake: forgetting that the internal forces cancel by action-reaction, or mixing the sign of Δx=x1−x2\Delta x=x_1-x_2.

Teoria collegata