Systems and Control Introduction


Systems and Control Introduction

Anna
Hello, everyone, and welcome to our first lecture on control engineering. This course begins with a short introduction to systems and control, along with some basic mathematical tools and notation that we will use later.

Maria
Let’s start with the central question: what do we mean by a system? In this course, a system is a collection of physical, biological, or even abstract components that interact with one another to achieve an intended objective.

Anna
From a control perspective, we can describe a system more practically. When we apply an input, also called an excitation, the system produces an output, or response. We often represent that relationship with a simple diagram: input going into the system, and output coming out.

Maria
And a system does not have to be just one component. It can contain several connected subsystems. The overall input passes through those subsystems and produces an overall response.

Anna
A motor is a straightforward example. Its input is electrical energy, and its output is mechanical energy, such as torque. An air conditioner takes electrical energy as an input and produces a change in heat or ambient temperature.

Maria
There are biological examples too. For a human body infected by a virus, the prescribed drug can be considered the input, while the output includes how the drug is distributed through the body and its effect in killing the virus.

Anna
A car gives us another example. A control signal can produce acceleration, and the output we observe may be the vehicle’s displacement. Later, control engineering gives us mathematical models for describing these input-output relationships.

Maria
Before classifying systems, let’s establish the notation. The lowercase letter t represents time. The input is usually written as u of t, the output as y of t, and a time delay is represented by delta.

Anna
A time-varying disturbance is usually written as w of t, and f denotes a function, meaning a rule that maps one variable to another. These symbols will make the later mathematical descriptions much easier to read.

Maria
The lecture introduces four important ways to classify systems. A system can be linear or nonlinear, static or dynamic, time-invariant or time-variant, and causal or non-causal.

Anna
Let’s begin with linear systems. A linear system is one whose output varies linearly with its input. Mathematically, that means it satisfies two properties: superposition and homogeneity.

Maria
Superposition means that the response to the sum of two inputs is the sum of the individual responses. If f is the system function, we write this idea as f of x1 plus x2 equals f of x1 plus f of x2.

Anna
Homogeneity means that scaling the input by a constant scales the output by the same constant. In other words, f of a times x equals a times f of x, where a is a constant.

Maria
A resistor illustrates both properties. For a resistor with resistance R, an applied voltage V produces a current I equal to V divided by R. If two voltage sources, V1 and V2, are applied together, the current is V1 plus V2 divided by R.

Anna
That total current can be separated into V1 divided by R plus V2 divided by R. Those are exactly the currents produced by each voltage source individually, so the responses add together. If we scale the voltages by constants a and b, the corresponding currents are also scaled by a and b, which demonstrates homogeneity.

Maria
An inductor also provides a linear example. Its voltage is related to the rate of change of current by V equals L times dI by dt. With two voltage sources, the total voltage is V1 plus V2, and the resulting rate of change of current can be written as V1 over L plus V2 over L.

Anna
So the inductor also allows the individual responses to be added, and scaling the input scales the response. That is why it satisfies the linearity requirements.

Maria
A nonlinear system does not have this behavior. Its response does not vary linearly with the input, so superposition and homogeneity do not hold. A diode is the example given, with a current described by an exponential relationship such as I equals I-zero times e to the power V over tau, minus one.

Anna
If the voltage is V1 plus V2, the diode current contains the exponential of the sum. That is not equal to the sum of the two separate diode currents. Scaling the voltage also does not simply scale the current, so the diode is nonlinear.

Maria
The next classification is static versus dynamic. A static system’s output depends only on the current value of the input. Because it does not depend on earlier inputs, it is also called memoryless.

Anna
A resistor is an example. If we apply a voltage, it produces a current according to V equals I times R. When the voltage is switched to zero, the current immediately becomes zero as well.

Maria
A dynamic system is different because its output depends on past as well as present inputs. Such a system has memory. An R-L circuit demonstrates this through the inductor, which stores energy in its magnetic field.

Anna
For the R-L circuit, the equation is V equals iR plus L times di by dt. If a voltage is applied for a while and then removed, the current does not instantly disappear, because the inductor has stored energy.

Maria
After the voltage is removed, the circuit satisfies iR plus L di by dt equals zero. If the current at time zero is i of zero, then the future current is i of zero multiplied by e to the power negative R over L times t.

Anna
This current gradually decays to zero rather than dropping there immediately. The rate of that decay depends on R and L, and these values are associated with the system’s time constants. That stored energy and dependence on earlier behavior are what give the system memory.

Maria
So, in mathematical terms, a memoryless system can be described as an output y of t depending on the input u of t at that same instant. In a dynamic system, the output can depend on previous input values as well—for example, the current at one second may depend on inputs beginning at time zero.

Anna
Now we need to distinguish dynamics from time variation. A current can change with time in a dynamic system, but that does not automatically make the system time-variant.

Maria
A time-invariant system has an output that does not depend on the time at which the input is applied. For instance, if a one-volt input is applied to a one-ohm resistor today, the current is one ampere. Applying the same experiment tomorrow should produce the same reading, because the resistance parameter has not changed.

Anna
In a time-variant system, the response can change depending on when the input is applied because the system parameters themselves change. Consider an aircraft: as it burns fuel, its mass decreases, so its mass at takeoff differs from its mass at landing.

Maria
The important point is that time invariance concerns changing system parameters, not merely whether the output varies as time passes. Resistance is the relevant parameter in the resistor example, while aircraft mass is the changing parameter in the aircraft example.

Anna
The final classification is causal versus non-causal. A causal system depends only on inputs available in the present or the past. It is also called non-anticipatory because it does not require future input information.

Maria
In signal terms, a causal output at time t can depend on the input at t, at t minus one, at t minus two, and earlier times. It cannot depend on an input at t plus one if that input has not happened yet.

Anna
Most physical systems around us are causal. A motor, a generator, or an air conditioner cannot react today to something that will happen tomorrow. A weather forecasting system is an example of a non-causal description because it uses expectations about future conditions to make a prediction today.

Maria
The lecture also gives everyday examples of anticipating future inputs. When preparing for an exam, we consider what questions might appear. In a cricket match, a player considers the pitch and the likely bowlers before deciding how to prepare.

Anna
Now let’s connect these system ideas to control. A control mechanism directs an input through a system or plant and regulates the output so that a desired objective is achieved. The plant could be a motor, a car, a missile, or another system that needs to be controlled.

Maria
The controller generates a control input based on a desired reference. For example, if the goal is to set a car’s speed to a particular value, the controller uses the reference speed to determine how the plant should be controlled.

Anna
However, the plant can be affected by disturbances, which are unwanted signals. In an air-conditioned room, people entering or leaving can change the temperature, and external conditions at six in the morning may differ from those at noon or in the evening.

Maria
This is why feedback is important. Feedback measures or senses the plant’s output and sends a signal back so that the actual output can be compared with the desired reference.

Anna
Imagine an air conditioner with a desired temperature of 24 degrees Celsius. If the actual temperature is 27 degrees, the difference tells the controller that corrective action is needed. The controller then changes its input to the air conditioner so the room temperature moves toward 24 degrees.

Maria
The action depends on the measured output. The controller responds differently when the room is at 21 degrees than when it is at 27 degrees. In this way, feedback helps the system achieve the desired performance even when disturbances are present.

Anna
For example, suppose the room is already at the desired 24 degrees and ten people enter. The temperature may rise to 26 degrees. The feedback continuously detects the difference, and the controller takes action to bring the temperature back toward 24 degrees.

Maria
Let’s compare open-loop and closed-loop air-conditioning control. In a simple open-loop arrangement, the room is the plant, the air conditioner is the controller, and the control action could simply be switching the air conditioner on or off. A temperature-setting knob or a fan regulator can provide the chosen setting, but the actual room temperature is not necessarily used to correct the action.

Anna
When analyzing a control system, we should identify the process or plant, the output being measured, the desired input or reference, any intermediate subsystems, and the actuator. In the air-conditioner example, the plant is the room and the output is the room’s actual temperature.

Maria
A practical air conditioner is generally closed-loop. The plant remains the room, the air conditioner is the controller, the reference is the desired temperature, and the control input may be an on-off command. The measured output is the actual temperature, while disturbances include people entering or leaving and changes in ambient conditions.

Anna
The feedback signal carries the actual temperature back for comparison with the desired temperature. That comparison determines the on-off control action, allowing the system to maintain the desired temperature more effectively.

Maria
Driving a car from point A to point B provides another closed-loop example. The desired destination is the reference, the steering mechanism is part of the control input, and the actual position of the car is the output being measured and compared with the goal.

Anna
The driver continually checks how far the car is from point B and adjusts the control action. Traffic, road conditions, and slopes act as disturbances, so the driver must keep correcting the steering and driving actions.

Maria
To summarize, this first lecture introduced systems as collections of interacting components with inputs and outputs. We classified them as linear or nonlinear, static or dynamic, time-invariant or time-variant, and causal or non-causal.

Anna
We also introduced the basic idea of feedback control: measure the output, compare it with the desired reference, and adjust the control input so the plant performs as required, even in the presence of disturbances.

Maria
In the next lecture, the focus will shift to building mathematical models. We will look at why models are important, the different types of mathematical models, and the steps involved in modeling systems.

Ask anything
We've read this whole study set, so questions about it get the best answers.