Unit 1 - Notes
Unit 1: Introduction to Control Systems
1.1 Introduction to Linear Control Systems
A system is a collection of components arranged to perform a specific function. A control system is a system that manages, commands, directs, or regulates the behavior of other devices or systems to achieve a desired objective.
Basic Components of a Control System:
- Objective (Input, Reference): The desired value or response, denoted as
r(t). - Control System (Controller): The element that processes the input and influences the plant.
- Plant (Process): The system or process being controlled, denoted as
G(s). - Controlled Variable (Output): The actual value or response of the plant, denoted as
y(t). - Disturbance: An unwanted signal that tends to adversely affect the value of the system's output.
Linear vs. Non-linear Systems:
- A system is linear if it obeys the principle of superposition. The superposition principle states that the response produced by the simultaneous application of two different inputs is the sum of the individual responses to each input.
- Most real-world systems are non-linear. However, they can often be approximated as linear systems for a limited range of operating conditions.
- This course primarily focuses on Linear Time-Invariant (LTI) systems, as their analysis and design are significantly simpler using powerful mathematical tools like the Laplace Transform.
1.2 The Concept of Feedback
Feedback is a fundamental concept in control systems where a fraction of the output signal is "fed back" to the input to be compared with the reference signal. This comparison generates an error signal, which is then used by the controller to adjust the plant's output and bring it closer to the desired value.
Key Idea: Feedback allows a system to self-correct. It continuously measures the output, compares it to the desired objective, and makes adjustments to minimize the difference (error).
Elements in a Feedback System:
- Summing Junction (Comparator): This element compares the reference signal
R(s)with the feedback signalB(s)to produce the error signalE(s) = R(s) - B(s). - Feedback Element (Sensor): This element measures the output
Y(s)and converts it into a form that can be compared with the reference input. Its transfer function isH(s).
1.3 Open-Loop and Closed-Loop Systems
Control systems are broadly classified into two categories.
1.3.1 Open-Loop Control Systems
An open-loop system is one in which the control action is independent of the output. There is no feedback loop and no mechanism for self-correction.
Block Diagram:
R(s) ----> [Controller] ----> [Plant/Process] ----> Y(s)
Input (Actuator) (G(s)) Output
Characteristics:
- No feedback loop; the output is not measured or compared with the input.
- The system cannot compensate for disturbances.
- Accuracy depends on prior calibration.
- Simpler in construction and design.
- Generally less expensive than closed-loop systems.
Advantages:
- Simple and easy to construct.
- Economical.
- Generally stable.
Disadvantages:
- Inaccurate and unreliable.
- Susceptible to disturbances and changes in system parameters.
- Requires periodic recalibration to maintain accuracy.
Examples:
- Automatic Toaster: The toasting time is set manually. The system does not measure the brownness of the toast (the output).
- Traffic Light: The lights change at pre-determined intervals, regardless of the actual traffic volume.
- Washing Machine: Operates on a pre-set time cycle without measuring the cleanliness of the clothes.
1.3.2 Closed-Loop (Feedback) Control Systems
A closed-loop system is one in which the control action is dependent on the output. It uses feedback to compare the actual output with the desired output and corrects any difference.
Block Diagram:
+ E(s) U(s) Y(s)
R(s) ---> O ----> [Controller] ----> [Plant/Process] ---->O-----> Output
^ - (Gc(s)) (Gp(s)) |
| |
| B(s) |
+------- [Feedback Sensor] <------------------+
(H(s))
- R(s): Reference Input
- Y(s): Controlled Output
- E(s): Error Signal (
E(s) = R(s) - B(s)) - B(s): Feedback Signal (
B(s) = H(s) * Y(s)) - G(s): Forward Path Transfer Function (
G(s) = Gc(s) * Gp(s)) - H(s): Feedback Path Transfer Function
Characteristics:
- Uses a feedback loop to measure the output.
- The error signal drives the controller to correct the output.
- Can compensate for disturbances and parameter variations.
- More complex and expensive.
Advantages:
- Highly accurate.
- Reduced sensitivity to parameter variations.
- Ability to reject external disturbances.
- Bandwidth of the system can be increased.
Disadvantages:
- More complex and costly.
- Feedback can introduce instability into the system if not designed properly.
- May have slower response compared to open-loop systems.
Examples:
- Air Conditioner with Thermostat: The thermostat (sensor) measures the room temperature (output) and compares it to the set point. If the room is too warm, it turns the compressor on.
- Automobile Cruise Control: The system measures the car's speed and adjusts the engine throttle to maintain the set speed, compensating for hills and wind.
- Human Body Temperature Control: The body uses feedback to maintain a stable internal temperature of ~37°C.
1.4 Transfer Functions
A transfer function is a mathematical model that represents the relationship between the input and output of a linear time-invariant (LTI) system. It is defined as:
The ratio of the Laplace transform of the output to the Laplace transform of the input, assuming all initial conditions are zero.
Mathematical Representation:
Given a system with input r(t) and output y(t), their Laplace transforms are R(s) and Y(s) respectively. The transfer function G(s) is:
G(s) = Y(s) / R(s)
where s is the complex Laplace variable (s = σ + jω).
Properties:
- It is a property of the system itself, independent of the input signal's magnitude and nature.
- It depends only on the physical parameters of the system.
- The transfer function of a system can be used to analyze its stability and time-domain/frequency-domain response.
- It is expressed as a ratio of two polynomials in
s:G(s) = N(s) / D(s).- Zeros: The roots of the numerator polynomial
N(s)are the zeros of the system. - Poles: The roots of the denominator polynomial
D(s)are the poles of the system. The poles largely determine the system's stability and response characteristics.
- Zeros: The roots of the numerator polynomial
1.5 Industrial Control Examples
- Process Control in a Chemical Plant: A common example is controlling the temperature of a chemical reactor. A temperature sensor measures the reactor's temperature, which is fed back to a controller. The controller compares this to a setpoint temperature and adjusts a steam valve (actuator) to either heat or cool the reactor, maintaining the desired temperature for the chemical reaction.
- Robotic Arm Control: In manufacturing, a robotic arm must move to precise positions. The control system takes a desired position (input), measures the arm's actual position using encoders on the joints (feedback), and calculates the error. It then sends voltage/current commands to the motors to move the arm and reduce the position error to zero.
- Boiler Drum Level Control: Maintaining a stable water level in a boiler drum is critical for power plant safety and efficiency. A level transmitter measures the water level. This is compared to the desired level. The controller then adjusts the feedwater control valve to either increase or decrease the flow of water into the drum.
1.6 Transfer Function of Electrical Systems
To find the transfer function of an electrical circuit, we follow these steps:
- Write the differential equations governing the circuit using Kirchhoff's Voltage Law (KVL) or Kirchhoff's Current Law (KCL).
- Take the Laplace transform of these equations, assuming zero initial conditions.
- Algebraically manipulate the equations to find the ratio of the output Laplace transform
Y(s)to the input Laplace transformR(s).
Laplace Impedances of Basic Elements:
- Resistor (R):
V(s) = R * I(s)-> ImpedanceZ_R(s) = R - Inductor (L):
V(s) = sL * I(s)-> ImpedanceZ_L(s) = sL - Capacitor (C):
V(s) = (1/sC) * I(s)-> ImpedanceZ_C(s) = 1/sC
Example: Series RLC Circuit
Consider a series RLC circuit with input voltage v_i(t) and output taken across the capacitor, v_o(t).
-
Apply KVL:
v_i(t) = R * i(t) + L * (di(t)/dt) + v_o(t)
And the current through the capacitor is:
i(t) = C * (dv_o(t)/dt) -
Take Laplace Transform (with zero initial conditions):
V_i(s) = R * I(s) + sL * I(s) + V_o(s)
I(s) = sC * V_o(s) -
Solve for the Transfer Function
V_o(s) / V_i(s):
SubstituteI(s)from the second equation into the first:
V_i(s) = R * (sC * V_o(s)) + sL * (sC * V_o(s)) + V_o(s)
V_i(s) = (sRC + s^2LC + 1) * V_o(s)Rearranging for the transfer function:
TEXTG(s) = V_o(s) / V_i(s) = 1 / (LCs^2 + RCs + 1)
1.7 Transfer Function of Mechanical Systems
Mechanical systems can be either translational (motion in a straight line) or rotational. The process is similar to electrical systems:
- Draw a free-body diagram for the system.
- Write the equations of motion using Newton's Second Law (
ΣF = maorΣT = Jα). - Take the Laplace transform of the equations, assuming zero initial conditions.
- Solve for the ratio of output (displacement,
X(s)) to input (force,F(s)).
1.7.1 Translational Systems
Basic Elements (s-domain):
- Mass (M): Opposes acceleration. Force
F(s) = Ms^2 X(s). - Damper (B) (Viscous Friction): Opposes velocity. Force
F(s) = Bs X(s). - Spring (K): Opposes displacement. Force
F(s) = K X(s).
Example: Mass-Spring-Damper System
A force f(t) is applied to a mass M, which is connected to a wall by a spring K and a damper B. The output is the displacement x(t).
-
Free-Body Diagram & Newton's Second Law:
The applied forcef(t)must overcome the inertial force (m*a), damping force (B*v), and spring force (K*x).
ΣF = ma
f(t) - K*x(t) - B*(dx(t)/dt) = M*(d^2x(t)/dt^2) -
Take Laplace Transform:
F(s) - K*X(s) - B*sX(s) = M*s^2X(s) -
Solve for the Transfer Function
X(s) / F(s):
F(s) = (Ms^2 + Bs + K) * X(s)TEXTG(s) = X(s) / F(s) = 1 / (Ms^2 + Bs + K)
1.7.2 Rotational Systems
Basic Elements (s-domain):
- Moment of Inertia (J): Opposes angular acceleration. Torque
T(s) = Js^2 θ(s). - Rotational Damper (B): Opposes angular velocity. Torque
T(s) = Bs θ(s). - Torsional Spring (K): Opposes angular displacement. Torque
T(s) = K θ(s).
1.8 Electrical Analogous Systems
Complex mechanical systems can be modeled and analyzed as equivalent electrical circuits, which are often easier to solve. There are two main analogies.
1.8.1 Force-Voltage (F-V) Analogy (Series Analogy)
This analogy compares the KVL equation for a series RLC circuit with the force equation for a translational M-B-K system.
Mechanical Equation: M(d^2x/dt^2) + B(dx/dt) + Kx = f(t)
Electrical Equation (Series RLC): L(d^2q/dt^2) + R(dq/dt) + (1/C)q = v(t) (since i=dq/dt)
| Mechanical Quantity | Analogous Electrical Quantity |
|---|---|
Force, f(t) |
Voltage, v(t) |
| Mass, M | Inductance, L |
| Damping Coefficient, B | Resistance, R |
| Spring Constant, K | Reciprocal of Capacitance, 1/C |
Displacement, x(t) |
Charge, q(t) |
Velocity, v(t) |
Current, i(t) |
1.8.2 Force-Current (F-I) Analogy (Parallel Analogy)
This analogy compares the KCL equation for a parallel RLC circuit with the force equation.
Mechanical Equation: M(d^2x/dt^2) + B(dx/dt) + Kx = f(t)
Electrical Equation (Parallel RLC): C(dv/dt) + (1/R)v + (1/L)∫v dt = i(t)
By taking the derivative and noting that v = dφ/dt (where φ is magnetic flux), this becomes:
C(d^2φ/dt^2) + (1/R)(dφ/dt) + (1/L)φ = i(t)
| Mechanical Quantity | Analogous Electrical Quantity |
|---|---|
Force, f(t) |
Current, i(t) |
| Mass, M | Capacitance, C |
| Damping Coefficient, B | Reciprocal of Resistance, 1/R |
| Spring Constant, K | Reciprocal of Inductance, 1/L |
Displacement, x(t) |
Magnetic Flux, φ(t) |
Velocity, v(t) |
Voltage, v(t) |
1.9 Effect of Feedback
Feedback has profound effects on the performance of a control system. Consider the standard closed-loop system with forward path G(s) and feedback path H(s).
The closed-loop transfer function T(s) is:
T(s) = Y(s) / R(s) = G(s) / (1 + G(s)H(s))
The term G(s)H(s) is known as the open-loop transfer function or loop gain.
1.9.1 Effect on Gain
The gain of the closed-loop system is G / (1 + GH). The gain of the open-loop system is G.
Since (1 + GH) is typically greater than 1, feedback reduces the overall gain of the system. This is a "price" paid for the improvements in performance.
1.9.2 Effect on Stability
Stability is a system's ability to return to an equilibrium state after a temporary disturbance.
- Feedback can improve stability or cause a stable system to become unstable.
- The stability of the closed-loop system depends on the poles of the transfer function
T(s), which are the roots of the characteristic equation:1 + G(s)H(s) = 0. - If
G(s)H(s) = -1, the denominator becomes zero, the gain becomes infinite, and the system becomes unstable. This condition is the basis for stability analysis methods like the Nyquist criterion.
1.9.3 Effect on Sensitivity (Reduction of Parameter Variation)
Sensitivity is the measure of how much a system's transfer function changes due to variations in its parameters (e.g., due to aging or environmental changes).
The sensitivity of the closed-loop transfer function T with respect to changes in the forward path gain G is defined as:
S_G^T = (∂T/T) / (∂G/G) = (∂T/∂G) * (G/T)
By differentiating T = G / (1 + GH) with respect to G, we get:
∂T/∂G = ((1+GH)*1 - G*(H)) / (1+GH)^2 = 1 / (1+GH)^2
Substituting this back into the sensitivity formula:
S_G^T = [1 / (1+GH)^2] * [G / (G/(1+GH))] = 1 / (1 + G(s)H(s))
Conclusion: The sensitivity is reduced by a factor of (1 + GH). If the loop gain |GH| is large, the sensitivity to parameter variations in G is very small. This is a primary benefit of using feedback.
1.9.4 Effect on Disturbance Rejection
Disturbances are unwanted signals that affect the system's output. Consider a disturbance D(s) added between the controller Gc(s) and the plant Gp(s).
Block Diagram with Disturbance:
+ E(s) + D(s) Y(s)
R(s) ---> O ----> [Gc(s)] ----> O---------> O ----> [Gp(s)] ---->O-----> Output
^ - ^ + | |
| | | |
| B(s) | | |
+------- [ H(s) ] <--+-------------------+------------+
The output Y(s) is now a sum of the response to R(s) and the response to D(s). Using superposition (setting R(s)=0 to find the effect of D(s)):
Y(s) = D(s) * Gp(s) - Y(s) * H(s) * Gc(s) * Gp(s)
Y(s) * (1 + Gc(s)Gp(s)H(s)) = D(s) * Gp(s)
The transfer function from the disturbance to the output is:
Y(s) / D(s) = Gp(s) / (1 + Gc(s)Gp(s)H(s)) = Gp(s) / (1 + G(s)H(s))
Conclusion: The effect of the disturbance on the output is reduced by the factor (1 + GH). A large loop gain |GH| significantly minimizes the impact of external disturbances, making the system more robust.