Automatic control is interested in mathematical models describing the evolution in time of system variables as a response to excitation. Such mathematical models are also known as dynamical models and systems represented by these models are called dynamical systems. The dynamical models that are useful for classical control techniques consist of differential equations, in particular, ordinary differential equations where the independent variable is time. Partial differential equations arise when several independent variables exist, for instance, a flexible body where vibration has to be described with respect to both position in the body and time. However, this class of problem is outside the scope of classical control; hence, partial differential equations will not be used to model physical systems in this book.
On the other hand, ordinary differential equations can be linear or nonlinear, time-invariant or time-variant. Because of the mathematical complexity required to study nonlinear and time-variant differential equations, classical control constrains its study to linear invariant (also called constant coefficients) ordinary differential equations. As real physical systems are intrinsically nonlinear and time-variant, it is common to consider several simplifications when modeling physical systems in classical control. For instance, model nonlinearities are approximated by linear expressions and parameters that change with time (such as resistance in an electric motor) are assumed to be constant in time, but the design of the controller must be robust. This means that the controller must ensure good performance of the designed closed-loop control system, despite the changes in such a parameter.
It is important to remark that model simplifications are only valid if the simplified model is still accurate enough to represent the true behavior of the physical system. This idea is captured by stating that a good model must be simple enough to render possible its mathematical study, but it must also be complex enough to describe the important properties of the system. This is the approach employed in the present chapter to model physical systems, following many ideas in [1].
2.1 Mechanical Systems
In mechanical systems there are three basic phenomena: bodies, flexibility, and friction . The main idea is to model each one of these phenomena and then connect them to obtain the mathematical model of the complete mechanical system. Furthermore, there are two different classes of mechanical systems: translational and rotative. In the following, we study both of them.
2.1.1 Translational Mechanical Systems



A rigid body with mass m in a translational mechanical system

A spring in a translational mechanical system





Viscous friction appears as a result of opposition to air flow through the holes



As the static friction force is not zero as velocity tends to zero, it is responsible for some of the problems in position control systems: the difference between the desired position and position actually reached by the mechanism is different from zero, which is known as “a nonzero steady state error.” On the other hand, static and Coulomb friction have nonlinear and discontinuous constitutive functions; hence, they can be handled using control techniques developed for neither linear systems nor “smooth” nonlinear systems. This is the reason why these kinds of friction are not often considered when modeling control systems. However, it must be remarked that the effects of these frictions are always appreciable in experimental situations. The reader is referred to [4] to know how to measure the parameters of some friction models.
Once the constitutive functions of each system component have been established, they must be connected to conform the mathematical model of more complex systems. The key to connecting components of a mechanical system is to assume that all of them are connected by means of rigid joints. This means that velocities on both sides of a joint are equal and that, invoking Newton’s Third Law , each action produces a reaction that is equal in magnitude but opposite in direction. This is clarified in the following by means of several examples.
Example 2.1

A mass-spring-damper system
A free-body diagram is shown in Fig. 2.5b. Notice that two forces, equal in magnitude but with opposite directions, exist at each joint between two components. This is to satisfy Newton’s Third Law [2], pp. 88, which establishes that for each action (from A on B) there is one corresponding reaction (from B on A). Wheels under the mass indicate that no friction exists between the mass and the floor. This also means that gravity has no effect. From the friction modeling point of view, it is equivalent to eliminating a damper at the right and replace it by friction between the mass and the floor. The friction model between the mass and the floor is identical to the friction model due to a damper as considered in the following.
-
, where x m is the mass position.
-
, where x b is the position of the damper’s mobile side.
-
, where x K is the position of the spring’s mobile side.










Example 2.2
-
, where x is the mass position.
-
, where x K = x b stands for the spring’s and damper’s mobile sides.


A mass-spring-damper system





Example 2.3

Two bodies connected by a spring
-
, where x m1 is the position of body 1.
-
, where x m2 is the position of body 2.
-
, where x b1 is the position of damper 1’s mobile side.
-
, where x b2 is the position of damper 2’s mobile side.
-
, where x 1 is the position of the spring side connected to body 1.
-
, where x 2 is the position of the spring side connected to body 2.









Example 2.4
-
, where x 1 is the position of body 1.
-
, where x 2 is the position of body 2.
-
, where x b1 is the position of the damper side connected to body 1.
-
, where x b2 is the position of the damper side fixed to body 2.
-
, where x is the position of the spring side connected to body 1.
-
, where y is the position of the spring side fixed to body 2.
-
, where x K1 is the position of the mobile side of the spring connected only to body 1.
-
, where x K3 is the position of the mobile side of the spring fixed only to body 2.

A mechanical system with two bodies and three springs






As in the previous example, these differential equations cannot be combined in a single differential equation because variables x 1 and x 2 are linearly independent, i.e., there is no algebraic equation relating these variables. Also notice that terms corresponding to the central spring and damper appear with the opposite sign in each one of these differential equations. This is because forces exerted by the central spring or the damper on body 1 are applied in the opposite direction to the force exerted on body 2.
2.1.2 Rotative Mechanical Systems

A rotative rigid body with inertia I



A rotative spring
The directions shown for torque and velocities are defined as positive for this system component. It is assumed that the spring has no moment of inertia whereas deformation is not permanent and does not produce heat. The net spring angular deformation is given as:




A damper in rotative mechanical systems
Example 2.5
-
, where θ is the body’s angular position.
-
, where θ b is the angular position of the damper’s mobile side.
-
, where θ K is the angular position of the spring’s mobile side.


A rotative mass-spring-damper system





Example 2.6




Simple pendulum








Example 2.7
-
, where θ 2 is the body 1 angular position.
-
, where θ 5 is the body 2 angular position.
-
, where θ 1 is the angular position of the mobile side of the damper connected to body 1.
-
, where θ 6 is the angular position of the mobile side of the damper connected to body 2.
-
and
, where θ 3 and θ 4 are the angular positions of the spring sides.

Two rotative bodies connected by a spring






2.2 Electrical Systems

An inductor in electrical systems





A capacitor in electrical systems


An electric resistance in electrical systems
Once the constitutive functions of each electrical system component have been defined, it is necessary to connect several of them to model more complex electrical systems. Kirchhoff’s Laws are the key to establishing connections between the different components of the electrical systems.
Property 2.1 (Kirchhoff’s Voltage Law)
The algebraic sum of voltages around a closed path (or mesh) must be zero.
Property 2.2 (Kirchhoff’s Current Law)
The algebraic sum of all currents entering and exiting a node must equal zero.
Example 2.8






Some first-order circuits
Example 2.9




Example 2.10




Example 2.11









Example 2.12






A series RLC circuit












Property 2.3
The equivalent impedance of a series connected circuit is given as the addition of impedances of all of the series connected circuit components.
The concept of impedance is very important in electric circuits and it is a tool commonly used to model and to analyze circuits in electrical engineering. This means that expressions in (2.59) also represent the mathematical model of the circuit in Fig. 2.19a.
Example 2.13














A parallel connected electric circuit
Property 2.4
The parallel circuit equivalent admittance is the addition of admittances of all of the parallel connected circuit components.




Example 2.14





Series-parallel RC circuit
Example 2.15


A RC phase-shift circuit
Criterion 2.1
Consider the i −th mesh. The algebraic sum of voltages at the circuit elements in the i −th mesh equals zero. Voltage at each circuit element is computed as the product of its impedance and the algebraic sum of the electric currents I 1(s), I 2(s) or I 3(s), flowing through that circuit element. Let I i(s) be the electric current defining the i −th mesh. If I 1(s), I 2(s) or I 3(s) has the same direction as I i(s) in that circuit element then I 1(s), I 2(s) or I 3(s), is affected by a “+ ” whereas a “−” affects those electric currents with the opposite direction. A coefficient equal to zero affects the electric currents not flowing through that circuit element. The value of a voltage source is affected by a “+ ” if I i(s) flows through that voltage source from terminal “+ ” to terminal “−”. A “−” is used if this is not the case.




2.3 Transformers
In this book, the term transformers is used to designate those components that manipulate the system variables in such a way that energy is conserved, i.e., they neither store nor dissipate energy; energy simply flows through them.
2.3.1 Electric Transformer

Electric transformer













2.3.2 Gear Reducer



A gear reducer







2.3.3 Rack and Pinion




A rack and pinion system
2.4 Converters
We label as converters those system components that constitute a connection between two systems having a different nature.
2.4.1 Armature of a Permanent Magnet Brushed Direct Current Motor



A permanent magnet brushed direct current (DC) motor. (a) Superior view. (b) Front view














2.4.2 Electromagnet


Force due to a magnetic field









On the other hand, the inductance L(x) depends on the bar position x, as explained in the following. According to (2.41), the flux linkage in the inductor is given as the product of inductance and the electric current, i.e., ψ = L(x)i = Nλ. Moreover, according to (2.96) and (2.95), if x decreases, flux λ increases if the electric current is kept constant. According to Nλ = L(x)i, an increase in flux λ only can be produced by an increase in inductance L(x), i.e., inductance increases if x decreases.



Example 2.16
-
, where x m is the position of the rack with the mass m.
-
, where θ 1 is the angular position of the rotative body 1.
-
, where θ 2 is the angular position of the rotative body 2.
-
v 1 is the rack translational velocity produced as a consequence that body 1 rotates with angular velocity ω 1.
-
v 2 is the rack translational velocity produced as a consequence that body 2 rotates at angular velocity ω 2.
-
, where θ b1 is the angular position of the mobile side of the damper connected to body 1 (friction between body 1 and its supports).
-
, where θ b2 is the angular position of the mobile side of the damper connected to body 2 (friction between body 2 and its supports).
-
, where x b is the position of the mobile side of the damper connected to rack m. This damper represents the friction between rack and floor.















Two rotative bodies connected by a rack
Example 2.17
-
, where θ is the angular position of body 1.
-
, where θ 4 is the angular position of body 2.
-
, where θ b1 is the angular position of the mobile side of the damper connected to body 1.
-
, where θ b2 is the angular position of the mobile side of the damper connected to body 2.
-
ω n1 and ω n2 are the angular velocities of the gear wheels that result from the movement of bodies 1 and 2.
-
T n1 and T n2 are the torques appearing on gear wheels as consequences of the movement of bodies 1 and 2.

Two rotative bodies connected by a gear reducer










Example 2.18


-
and
, where x A and x B are the positions of the sides of the spring on the left.
-
and
, where x C and x D are the positions of the sides of the spring on the right.

A transmission system with a flexible rack


Example 2.19








Transmission system with a flexible gear reducer
These differential equations must be solved simultaneously and they represent the corresponding mathematical model. Notice that these differential equations cannot be combined into a single differential equation because variables θ and θ 4 are linearly independent, i.e., there is no algebraic expression relating both of these variables. This is the main difference with respect to the problem solved in Example 2.17 and it is due to the introduction of the spring in the present example.
Example 2.20 (Taken from [6], pp. 122)
-
, where θ m is the motor angular position.
-
, where θ P is the pinion angular position.
-
, where x is the body M position.
-
, where θ b1 is the angular position of the mobile side of the damper connected to the motor.
-
, where θ b2 is the angular position of the mobile side of the damper connected to the pinion.
-
, where x b3 is the position of the mobile side of the damper connected to body M.
-
ω 1 and ω 2 are the angular velocities of the gear wheels that result from the movement of the motor and the pinion.
-
u is the voltage applied at the motor terminals and i is the electric current flowing through the motor.
-
F, T P, and v are the force, torque, and translational velocity produced at the rack and pinion system as a result of movement of the pinion and mass M.
















Servomechanism

Free-body diagrams corresponding to the servomechanism in Fig. 2.32

![$$\displaystyle \begin{aligned} \begin{array}{rcl} I_m\frac{n_2}{n_1r}\ddot x+b_1\frac{n_2}{n_1r}\dot x=T-\frac{n_1}{n_2} \left[I_P\dot\omega_P+b_2\omega_{P}-rF\right]. {} \end{array} \end{aligned} $$](/epubstore/G/V-M-Guzman/Automatic-Control-With-Experiments/OEBPS/images/454499_1_En_2_Chapter/454499_1_En_2_Chapter_TeX_Equ137.png)













2.5 Case Study: A DC-to-DC High-Frequency Series Resonant Power Converter
Much electronic equipment at present employs a variety of electronic circuits that require several different levels of DC voltage. Several values of DC voltage can be obtained using a large electric transformer with several tabs in the secondary winding. Then, a rectifier filter circuit can be placed at each one of these tabs to obtain a different DC voltage level at the output of each circuit. However, this method is no longer utilized because it requires voluminous inductors and capacitors, aside from the fact that it produces large energy losses.
This problem is currently solved by using several power electronic circuits, which, using electronic commutation devices, are capable of delivering different DC voltage levels from a unique DC power supply. These circuits are known as DC-to-DC power electronic converters and they solve the above-described problem, reducing both equipment volume and energy losses. In fact, the impressive equipment miniaturization that it is known today is possible thanks to employment of power electronic converters.

DC-to-DC resonant power electronic converters . (a) Series. (b) Parallel

A DC-to-DC series resonant power electronic converter showing devices comprising the inverter







A simplified circuit of a DC-to-DC series resonant power electronic converter

Equivalent circuits for (a) i > 0 and (b) i < 0




2.6 Summary
The mathematical model of a physical system is a differential equation or a set of differential equations describing the evolution of the important variables of the physical system when this is subject to particular conditions. Such a description is obtained when solving the corresponding differential equations, as in Chap. 3.
In the remainder of this book, the mathematical model of the system to be controlled is employed to design a controller (another differential equation, in general). The objective is that, when connecting the controller in feedback with the system to be controlled, a new differential equation is obtained (the closed-loop system differential equation) whose mathematical properties (studied in Chap. 3) ensure that the variable to be controlled evolves over time as desired.
2.7 Review Questions
- 1.
What are the fundamental laws of physics that are useful for connecting components in mechanical and electrical systems?
- 2.
Why is the mathematical model in Example 2.16 given by a single first-order differential equation, whereas the mathematical model in Example 2.7 is given by two second-order differential equations? Notice that there are three bodies in Example 2.16 and two bodies are involved in Example 2.7.
- 3.
Why is the term corresponding to θ 4, i.e., the position term, absent in the mathematical model in (2.118)?
- 4.
Why are first-order differential equations the mathematical models of RL and RC circuits, whereas the mathematical model of a RLC circuit is a second-order differential equation?
- 5.
It is often said that an inductor (and in general any electric circuit that is long enough) has properties that are analogous to the properties of momentum in mechanical systems. Can you explain what this statement refers to? Have you observed that a spark appears when a highly inductive circuit is disconnected? Do you remember what Newton’s First Law states?
- 6.
It has been shown that k e = k m in a permanent magnet brushed DC motor. On the other hand, it is clear that the electrical subsystem must deliver energy to the mechanical subsystem to render motion possible. Can you give an example of a situation in a DC motor where the mechanical subsystem delivers energy to the electrical subsystem? What is the role of the fact that k e = k m in this case?
- 7.
It has been shown that a gear box is the mechanical analog of an electric transformer. Can you list the relationship between electric currents and voltages at both windings of an electric transformer? Is it possible to establish some similar relationship between velocities and torques on both sides of a gear box? Can you list the advantages, disadvantages, and applications of these features in gear boxes and electric transformers?
- 8.
According to the previous question, why does an automobile run slower when climbing a hill, but it runs faster on flat surfaces?
- 9.
If an electric transformer can increase voltage just by choosing a suitable rate n 1∕n 2, why are transistor-based electronic circuits employed to amplify signals in communication systems instead of electric transformers?
- 10.
If the power is the same at both ports in electric transformers and gear boxes, where are the power losses?
2.8 Exercises
- 1.
Consider the mass-spring-damper system shown in Fig. 2.6a which was studied in Example 2.2. Suppose that this mechanism is rotated clockwise 90∘. This means that, now, the effect of gravity appears to be on the direction in which both the spring and the damper move, i.e., it can be assumed that the mass hangs from the roof through a spring and a damper. Show that the corresponding mathematical model is given as:
- 2.
Consider the mechanical system in Example 2.17. Assume that an external disturbance torque T p(t) is applied to the body on the right. Also assume that the body at the left is the rotor of a permanent magnet brushed DC motor, i.e., that the applied torque T(t) is torque generated by this electric motor, as in Example 2.20. Find the mathematical model from the voltage applied at the motor terminals to the position of the body on the right. Compare with the mathematical model in (10.9) and (10.10), chapter 10.
- 3.
Perform on (2.140), (2.141), the algebraic operations suggested in the last paragraph of Example 2.20.
- 4.
Perform the algebraic operations referred to in the previous exercise on the mathematical model obtained in Exercise 2 in this section.
- 5.
- 6.
Consider the electric circuits shown in Fig. 2.39. Show that the mathematical models are given as:Fig. 2.39
Some electric circuits
For the circuit in Fig. 2.39a:For the circuit in Fig. 2.39b:(2.146)For the circuit in Fig. 2.39c:For the circuit in Fig. 2.39d: - 7.
An analog DC voltmeter is basically a permanent magnet brushed DC motor with a spring fixed between the rotor and a point at the stator. This means that such a DC motor is constrained to rotate no more than 180∘. Based on this description, find the mathematical model of an analog DC voltmeter.
- 8.
Consider the system shown in Fig. 2.40, which represents a DC-to-DC buck power converter . This converter is also known as step-down converter, because the DC output voltage υ is less than or equal to the supplied voltage E, i.e., υ ≤ E. Show that the mathematical model is given as:(2.147)Fig. 2.40
Electric diagram of a DC-to-DC buck power converter. (a) Converter construction using a transistor and a diode. (b) Ideal circuit of the converter
- 9.
A buck power converter DC motor system , is shown in Fig. 2.41. It represents a suitable way of supplying power to a permanent magnet brushed DC motor. Given the following mathematical model for a permanent magnet brushed DC motor:
-
i is the electric current through the Buck power converter inductor.
-
υ is the converter output voltage, which also is the voltage applied at the motor terminals.
-
u stands for the switch position, i.e., the control variable, taking only two discrete values 0 or 1.
-
L represents the converter inductance.
-
C represents the converter capacitance.
-
E is the DC power supply voltage.
-
R is the converter load resistance.
-
i a stands for the electric current through the DC motor.
-
ω stands for the angular velocity of the DC motor.
-
L a represents the armature inductance of the DC motor.
-
R a represents the armature resistance of the DC motor.
-
J is the inertia of the DC motor.
-
k e is the counter-electromotive force constant.
-
k m is the torque constant.
-
B stands for the viscous friction coefficient.
Fig. 2.41Electric diagram of the buck power converter-DC Motor system. (a) Construction of the buck power converter DC motor system using a transistor and a diode. (b) Ideal representation of the buck power converter DC motor system
-
- 10.
Consider the series RLC circuit in Example 2.12, whose mathematical model is given in (2.53). The energy stored in the circuit is given as the magnetic energy stored in the inductor plus the electric energy stored in the capacitor, i.e.,
. Show that
. What does each term of this expression mean?
- 11.
Consider the inertia-spring-damper system in Example 2.5 whose mathematical model is given in (2.32). The energy stored in the system is given as the kinetic energy plus the potential energy in the spring, i.e.,
. Show that
. What does each one of the terms in this expression mean?
- 12.
Consider the mathematical model in (2.140), (2.141), for the electro-mechanical system in Example 2.20. The energy stored in this system is given as the magnetic energy stored in the armature inductor plus the kinetic energy of the mechanism. Is it possible to proceed as in the two previous examples to find a similar expression for
? What does each one of terms appearing in
mean? Can the reader identify the terms representing the energy exchange between the electrical and the mechanical subsystems?