Salta al contenuto
Note per Studenti Introduction to Control Systems Report

Introduction to Control Systems

In questa pagina 8

This note covers the introductory lesson of the course: what a control system is, why it is studied, the main application areas, how a real system is abstracted into a mathematical model, how the control problem is formulated, and the difference between open-loop and closed-loop control. The course objective is to acquire the basic competence to analyze and design simple control systems, using the methods of classical control theory, i.e. the results developed in 1930-1950. The next step, how to represent dynamic systems mathematically, is 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 → and Time-Domain Solution of ODEsA linear constant-coefficient ODE is solved as the sum of a homogeneous solution (natural modes from the characteristic equation) and a particular solution (forced by the input), with the constants fixed by the initial conditions; the sign of the real part of the roots decides growth or decay.Time-Domain Solution of ODEs →.

1. Why study control systems

Control systems are nowadays a pervasive technology:

  • control system engineers: the essence of the course is part of their daily work;
  • engineers in other fields: control systems have become pervasive in most artificial systems;
  • managers and entrepreneurs: the course gives the tools for a general understanding of control systems and of how to design them.

Control is a foundational subject for robotics (autonomy and adaptation capabilities are critical when moving from structured production lines to unstructured environments) and for many other areas. The mathematical foundations must be understood first.

Milestones

Period Stage Content
Late 1800s Mathematical foundation Maxwell analyzed the stability of the governor, establishing mathematical control theory
1930-1940 Classical control theory Bode plot, Nyquist's stability criterion, PID controllers
1960s Modern control state-space approach and optimal filtering techniques
1980s-2000s Robust control, digital control systems that maintain performance despite uncertainties; real-time control
2000s-present Intelligent control AI-powered control systems: self-driving cars, drones, robotics, smart factories, autonomous systems

This course is about the 1930-1950 stage (classical control theory).

Learning objectives of the lesson

  1. Define what a control system is and explain its purpose.
  2. Understand the concept of feedback and the difference between open-loop and closed-loop control systems.
  3. Understand the main components of a control system.
  4. Recognize common applications of control systems in engineering.

2. A first example: speed control of a car

Goal: keep the speed of a car at 100 km/h.

  • Question 1. What does a human driver do to reach and maintain that speed? (He looks at the speed indicator, compares it with the desired value, and presses or releases the pedal accordingly.)
  • Question 2. Design an engineering system that maintains the desired speed without human intervention. Available components:
    1. sensors to measure the speed;
    2. motors (actuators) to regulate the pedal;
    3. a computer to read the sensor data and command the motor.

The answer is the feedback scheme (key principle of the lesson). In the slide's diagram:

 desired speed      e  +-------------+  u  +-------+        actual speed
 ------------->(+)---->| Controller  |---->| Plant |--+----------------->
                 ^ -   +-------------+     +-------+  |
                 |                                    |
                 |            +---------+             |
                 +------------| Sensors |<------------+
                  measured    +---------+
                   speed
  • the computer plays the role of the controller, the motor acts on the pedal, the car is the plant, the speed sensor closes the loop;
  • the error is e=desired speed−measured speede = \text{desired speed} - \text{measured speed};
  • the slide's example of control law is u(t)=k e(t)u(t) = k\,e(t): the command is proportional to the error.

This is called closed-loop control strategy.

Discussion point of the slide: think about five possible examples of control systems (see the next section for the application areas shown in the lesson).

3. Applications of control systems (as listed in the lesson)

Area Examples
Industrial sector production lines, CNC machines, machine tools (also photolithography for integrated circuits), intelligent warehouse, process control
Automotive airbag, Electronic Stability Program (ESP), traction control, autonomous driving
Aerospace automatic pilot, stabilization of unstable configurations, Vertical Take-Off and Landing (VTOL), air traffic control, satellite control
Robotics space robotics, ocean exploration, bomb-disposal robots, teleoperation, robotic surgery, humanoid robotics
Complex and connected systems smart cities, smart buildings, smart grids, renewable energy, financial markets, intelligent control and machine learning

The robotics examples in the lesson distinguish classical robotics (well-established industrial robots) from advanced robotics (humanoids, autonomous operation in unstructured environments).

4. Use of abstraction

Control design works with a mathematical abstraction of reality. The lesson's diagram has two sides:

        REALITY                               ABSTRACTION

   Real system --- Modeling / Identification --->  Mathematical model
       ^                                              (x' = Ax + Bu,
       |                                               y  = Cx + Du)
       |                                                   |
       |                                              Design methods
       |                                                   v
   Controller device <--- Implementation / Technology --- Control algorithm
  1. Modeling / identification: from the real system to a mathematical model (for instance a state-space model x˙=Ax+Bu\dot{x} = Ax + Bu, y=Cx+Duy = Cx + Du).
  2. Design methods: from the model to a control algorithm.
  3. Implementation / technology: from the algorithm to a physical controller device, which then acts on the real system.

The take-home message: the mathematical approach of control theory allows us (1) to work with a wide class of systems using the same methodology and (2) to derive simpler abstract representations. Both technological aspects (sensors, actuators, processing units) and methodological aspects (system and control theory) are needed.

5. Problem formulation

The basic ingredients are:

  • systems;
  • inputs, divided into control input and disturbance;
  • outputs.

5.1 Concept of system

System (IEEE definition quoted in the lesson): a combination of components that act together to perform a function not possible with any of the individual parts.

  • Physical systems: human-made systems (plants, mechanical, electric, thermal, hydraulic, chemical devices, ...) and natural systems (ecological, biological, ...).
  • Abstract systems: social systems, financial systems, ...

5.2 Input/output systems

In an input/output system the external variables have a direction (a "verse") and are either inputs or outputs.

   inputs (from top)
        | |
        v v
      +--------+
 ---->|        |---->
 ---->| System |---->
      +--------+
   inputs        outputs
  • Input: a variable that comes from the environment and influences the system (the cause).
  • Output: a variable that comes from the system and influences the environment (the effect).

The lesson asks to identify system, input and output in two examples (the car, and a rotating plate experiment).

5.3 Control input and disturbance

An input variable can be of two kinds:

  • control input: we can assign its value;
  • disturbance: we cannot assign or influence its value; it is sometimes measurable.

In the car example the pedal position is a control input, while an external effect like the road slope is a disturbance (the slide asks the student to find them; the road-slope example is an illustration, not a statement of the slide).

6. The control problem

Back to the speed-control scheme: the desired speed at time tt is the reference r(t)r(t), and the actual speed at time tt is the output y(t)y(t). The whole feedback loop is seen as a "controlled system" with input r(t)r(t) and output y(t)y(t):

   r(t)  +------------------+  y(t)
  ------>| Controlled System|------>
         +------------------+

The objective of the control system is to design a control strategy that ensures, ideally, that for all tt

y(t)=r(t).y(t) = r(t).

This is impossible for physical systems. In practice we aim at y(t)≈r(t)y(t) \approx r(t), introducing requirements:

  • static requirements: for the steady-state phase, e.g. accuracy;
  • dynamic requirements: for the transient phase, e.g. overshoot, settling time.

Two classical problems

  1. Regulation: the reference is constant, r=constr = \text{const} (e.g. keep a room at a fixed temperature).
  2. Tracking: the reference is a function of time, r=r(t)r = r(t).

7. Example: temperature control of a room

Control problem: keep the temperature of the room "close" to a desired value (the slide uses 20 degrees). The plant, as drawn in the lesson, is made of: (1) gas burner, (2) boiler, (3) pump, (4) valve, (5) radiator, (6) window, (7) door.

Discussion points: how would you do it automatically? What happens if we open the window? The window is a typical disturbance: it changes the room temperature and we cannot decide it.

7.1 Closed-loop version

A thermostat turns the boiler on or off based on the measured temperature. When the measured temperature reaches a given threshold, the boiler is switched accordingly. A thermometer inside the thermostat measures the room temperature and commands the burner.

General closed-loop block diagram (slide):

                          disturbance
                              |
                              v
                 +----- plant (impianto) -------+
                 |                               |
 reference  +------------+   +----------+   +---------+     output
 --------->| Controller |-->| Actuator |-->| Process |--+---------->
            +------------+   +----------+   +---------+  |
                  ^                                       |
                  |           +--------+                  |
                  +-----------| Sensor |<-----------------+
                              +--------+
                                  ^
                           measurement errors

Closed-loop control: the control action is determined taking into account measurements of the output. The sensor has measurement errors (an additional input of the scheme), and the plant is the actuator plus the process.

Properties listed in the lesson:

  • it can compensate disturbances and model errors;
  • it can stabilize unstable plants;
  • but it can also destabilize stable plants;
  • more complex and expensive architecture (needs sensors).

7.2 Open-loop version

Open-loop control: the boiler is activated in specific time slots by a timer. This works only if we know exactly in advance how much heat is needed to bring the room to a given temperature. The block diagram is the same as above without sensor and feedback path:

 reference  +------------+   +----------+   +---------+     output
 --------->| Controller |-->| Actuator |-->| Process |---------->
            +------------+   +----------+   +---------+
                                  ^   (plant)  ^
                                               |
                                          disturbance

Properties listed in the lesson:

  • simple and low-cost control architecture;
  • unable to counteract the effects of unknown disturbances and of parameter variations of the plant;
  • it requires accurate knowledge of the plant.

The question raised by the lesson: what happens if we have no sensors? Can we still implement a control system? Yes, an open-loop one, with the drawbacks above.

7.3 Summary table (slide)

Open loop Closed loop
Manual control manually turning the boiler on and off at given time intervals, without measuring the room temperature manually turning the boiler on and off taking into account the measured room temperature
Automatic control automatically turning the boiler on and off at given time intervals, without measuring the room temperature automatically turning the boiler on and off, considering the measured room temperature

The distinction open/closed loop is independent of manual/automatic: it depends only on whether the output measurement is used.

8. Take-home concepts

  • We aim at understanding and designing simple control systems.
  • Control systems are used in a wide range of fields and give autonomy to systems and machines.
  • Both technological aspects (sensors, actuators, processing units) and methodological aspects (system and control theory) are needed.
  • The mathematical approach lets us work with many classes of systems using the same methodology and derive simpler abstract representations.
  • Control systems can be open loop or closed loop; consider the advantages of each.

Versione ripasso

Control system: a system designed so that the output y(t)y(t) follows a reference r(t)r(t). Ideal goal y(t)=r(t)y(t) = r(t) is impossible for physical systems, so we require y(t)≈r(t)y(t) \approx r(t) with:

  • static requirements (steady state, e.g. accuracy);
  • dynamic requirements (transient, e.g. overshoot, settling time).

Ingredients: system, inputs (control input = assignable, disturbance = not assignable, sometimes measurable), outputs. Input = cause (from the environment), output = effect (on the environment).

Problems: regulation (r=constr = \text{const}), tracking (r=r(t)r = r(t)).

Abstraction: real system →\to (modeling/identification) mathematical model →\to (design methods) control algorithm →\to (implementation/technology) controller device →\to real system.

Feedback / closed loop (speed example): e=desired speed−measured speede = \text{desired speed} - \text{measured speed}, u(t)=k e(t)u(t) = k\,e(t).

 r --->(+)--e-->[Controller]--u-->[Plant]---+---> y
        ^ -                                  |
        +---------[Sensor]<------------------+
Open loop Closed loop
uses output measurement no yes
architecture simple, low cost more complex, expensive
unknown disturbances / parameter variations cannot counteract compensates them
plant knowledge accurate model required less critical
unstable plant cannot stabilize can stabilize
risk none from feedback can destabilize a stable plant

Typical mistakes: confusing open/closed loop with manual/automatic (a timer-driven boiler is automatic but open loop; a thermostat is automatic and closed loop); thinking y(t)=r(t)y(t) = r(t) can be guaranteed for all tt; forgetting that a disturbance (e.g. the open window) cannot be chosen by the designer.

Next: 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 →, Time-Domain Solution of ODEsA linear constant-coefficient ODE is solved as the sum of a homogeneous solution (natural modes from the characteristic equation) and a particular solution (forced by the input), with the constants fixed by the initial conditions; the sign of the real part of the roots decides growth or decay.Time-Domain Solution of ODEs →.

Teoria collegata