Exercise 1.1#

Fig. 1 Schematic of the motor (courtesy of Exercise Manual for Automatic Control)#
The scheme above is a DC motor characterized by the following physical relationships. The rotating axis is described by
where \(\theta\) is the angle of rotation, \(M\) is the torque, \(J\) is the angular momentum, and \(f\) is the frictional coefficient.
The torque is related to the stator current by the following relationship
where \(i\) is the stator current and \(k_a\) is a proportional constant characteristic for the motor. In addition,
where \(v\) is the induced voltage and \(k_v\) is a proportional constant.
Let the input voltage \(u\) be the control signal and \(\theta\) be the output.
Write a differential equation that relates \(u\) and \(\theta\) (the inductance \(L_a\) can be neglected).
Determine the transfer function between the input and the output.
Discuss the behavior of the system by calculating step response of the system. That is, \(\theta(t)\) when \(u = \textrm{step}(t)\).
Solution#
Let’s start by noting that \(V_L(t) = L_a \frac{di}{dt}\) corresponds, in the Laplace domain, to \(V_L(s) = L_a s I(s)\), where \(s\) is the Laplace operator. Similarly, the induced voltage is \(v(t) = k_v \dot{\theta}(t)\), which means \(V(s) = k_v s \Theta(s)\).
Question 1#
From the Ohm’s law, we have that \(U(s) = R_a I(s) + L_a s I(s) + k_v s \Theta(s)\). Solving by \(I(s)\), and recalling that \(L_a = 0\), we get
Question 2#
From the momentum balance,
Replacing the expression of \(I(s)\) we get
We then isolate \(\Theta(s)\):
The transfer function is therefore
where \(k_o = \frac{k_a}{R_a J}\) and \(\alpha = \frac{f_s + \frac{k_a k_v}{R_a}}{J}\).
Note: the ODE describing the evolution of the angle can be derived as
Question 3#
We can get a qualitative idea of the step response by looking at the static gain and poles of the transfer function (1).
We compute the poles as the roots of the denominator, i.e. by solving \(s(s+\alpha) = 0\). We have two poles:
\(s=-\alpha < 0\), which is stable.
\(s = 0\), which is only marginally stable. This pole is due to the fact that the angular position \(\theta(t)\) is the integral of the angular velocity \(\dot{\theta}(t)\). In the Laplace domain, this corresponds to \(\Theta(s) = \frac{1}{s} \dot{\Theta}(s)\).
Because the assumption of the Final Value Theorem are not satisfied (not all the poles are stable, that is, not all the poles have strictly negative real part), we cannot apply it to compute \(\lim_{t \to \infty} \theta(t)\).
Whether such a limit exists and is finite depends on the specific input \(u(t)\) applied to the system. We can get the output by computing the output \(\Theta(s)\) in the Laplace domain, and then anti-transforming it to get \(\theta(t)\).
Noting that \(U(s) = \mathcal{L} \left[ \textrm{step}(t) \right] = \frac{1}{s}\), we get
We then decompose it into the sum of simpler rational transfer functions
The values of \(A\), \(B\), and \(C\) are found equating the two expressions of \(\Theta(s)\):
\(A\), \(B\), and \(C\) can be found by comparing the coefficients of the polynomial at the numerator, which results in a linear system of equations
We can therefore re-write \(\Theta(s)\) as
This allows us to easily anti-transform \(\Theta(s)\)
Note that \(\lim_{t \to \infty} \theta(t) = \infty\).
Let’s use MATLAB (Octave) to plot the step response (we will take \(\alpha=1\) and \(k_o=1\) since numerical values are not provided in the text of the exercise).
s = tf('s');
G = 1 / (s * (s + 1));
step(G); % Get the step response of the transfer function G

Remember
Before applying the Final Value Theorem, always check that its assumptions are satisfied!