5.4 System Modeling
5.4 System Modeling
Introduction to System Modeling
System modeling is the process of developing mathematical representations of physical systems to predict, analyze, and control their behavior. It is the foundation of modern control theory and engineering design. A model abstracts the essential dynamic characteristics of a system—be it mechanical, electrical, thermal, or a hybrid—using differential equations, transfer functions, or state-space representations. This unit introduces the core concepts of control systems, establishes the framework for modeling diverse physical domains, and demonstrates powerful analogies that allow engineers to translate understanding from one domain (e.g., electrical) to another (e.g., mechanical). Mastery of modeling is the first critical step towards designing automated, precise, and stable control systems for everything from robotic arms to chemical plants.
1. Control Systems: Definition and Classification
1.1 Definition
A control system is an interconnection of components forming a system configuration that will provide a desired system response. It manages, commands, directs, or regulates the behavior of other devices or systems.
1.2 Classification of Control Systems
Control systems are broadly classified based on several criteria:
Based on the Presence of Feedback:
Open-Loop Control Systems
Closed-Loop (Feedback) Control Systems
Based on the Nature of Signals:
Continuous-Time Systems: Signals are functions of a continuous time variable. Modeled by differential equations.
Discrete-Time Systems: Signals are defined only at discrete instants of time (sampled). Modeled by difference equations.
Based on System Parameters:
Linear vs. Non-Linear Systems:
Linear Systems: Obey the principles of superposition and homogeneity. Parameters are constant.
Non-Linear Systems: Do not obey superposition. Most real-world systems are non-linear but are often linearized about an operating point for analysis.
Time-Invariant vs. Time-Varying Systems:
Time-Invariant: Parameters do not change with time.
Time-Varying: Parameters change with time.
Based on the Number of Inputs/Outputs:
SISO (Single-Input, Single-Output): One input, one output.
MIMO (Multi-Input, Multi-Output): Multiple inputs and outputs.
2. Open-Loop vs. Closed-Loop (Feedback) Systems
2.1 Open-Loop Control Systems
Definition: A system where the control action is independent of the output. There is no feedback to compare the output with the desired input.
Block Diagram: Input → Controller → Actuator → Process → Output.
Examples: Washing machine (timed cycle), traffic light controller, toaster, basic electric fan.
Advantages: Simple construction, low cost, easy maintenance, stable.
Disadvantages:
Inaccurate (output is not corrected for disturbances or changes in system parameters).
Sensitive to disturbances (e.g., wind affecting a fan's speed).
Cannot correct its own errors.
2.2 Closed-Loop (Feedback) Control Systems
Definition: A system where the control action is dependent on the output. The output is measured (sensed), fed back, and compared with the reference input to generate an error signal, which drives the controller.
Block Diagram: Input → Comparator (∑) → Controller → Actuator → Process → Output → Sensor (→ Feedback path).
Key Elements:
Error Detector (Comparator): Generates error, e(t)=r(t)−b(t).
Feedback Path: Contains the sensor which measures the output.
Examples: Automatic electric iron (thermostat), cruise control in a car, water level controller, missile guidance.
Advantages:
Accurate (minimizes error).
Less sensitive to disturbances and parameter variations.
Stable performance over a wide range.
Disadvantages:
More complex and expensive.
Risk of instability due to feedback.
May introduce oscillations.
3. Modeling of Physical Systems
Modeling involves applying fundamental physical laws (Newton's, Kirchhoff's, etc.) to derive equations of motion.
3.1 Mechanical Systems (Translational & Rotational)
Fundamental Laws: Newton's Second Law for translation, and its rotational equivalent.
Basic Elements:
Mass (M, kg) / Moment of Inertia (J, kg·m²): Stores kinetic energy. F=Mdt2d2x, T=Jdt2d2θ.
Damper (B, N·s/m or N·m·s/rad): Dissipates energy as heat. Force/Torque is proportional to velocity. F=Bdtdx, T=Bdtdθ.
Spring (K, N/m or N·m/rad): Stores potential energy. Force/Torque is proportional to displacement. F=Kx, T=Kθ.
Procedure: Draw Free Body Diagram (FBD) → Apply Newton's Law → Write differential equation.
3.2 Electrical Systems
Fundamental Laws: Kirchhoff's Voltage Law (KVL) and Kirchhoff's Current Law (KCL).
Basic Elements (Impedances):
Resistor (R, Ω): VR=iR.
Inductor (L, H): VL=Ldtdi.
Capacitor (C, F): VC=C1∫idt.
Procedure: Write loop/mesh equations using KVL or node equations using KCL → Obtain integro-differential equation.
3.3 Liquid Level Systems
Fundamental Law: Based on conservation of mass.
Key Variables: Head (h, m), Volumetric Flow Rate (Q, m³/s).
Basic Elements:
Capacitance (Fluid Storage): C=ρgA for a tank of area A. Relates change in stored volume to head: Cdtdh=Qin−Qout.
Resistance (Fluid Flow): For laminar flow, Q=Rh, where R is flow resistance (e.g., for a pipe/valve).
Procedure: Apply mass balance: Accumulation = Input - Output.
3.4 Thermal Systems
Fundamental Law: Based on conservation of energy.
Key Variables: Temperature (T, °C or K), Heat Flow Rate (q, W).
Basic Elements:
Thermal Capacitance: Cth=mc, where m is mass, c is specific heat. CthdtdT=qin−qout.
Thermal Resistance: For conductive heat transfer, q=RthΔT, where Rth=L/(kA) (L: length, k: conductivity, A: area).
Procedure: Apply energy balance: Rate of change of internal energy = Net heat flow rate.
4. Force-Voltage and Force-Current Analogies
These analogies provide a direct mapping between mechanical and electrical systems, allowing analysis using familiar electrical circuit techniques.
4.1 Force-Voltage Analogy (Direct/Mobility Analogy)
Basis: Newton's Law (ΣF=0) is analogous to KVL (ΣV=0).
Mapping:
Force (F) ↔ Voltage (V)
Velocity (v) ↔ Current (i)
Mass (M) ↔ Inductance (L)
Damper (B) ↔ Resistance (R)
Spring (K) ↔ Inverse Capacitance (1/C)
Displacement (x) ↔ Charge (q)
Series mechanical system becomes a series electrical circuit.
4.2 Force-Current Analogy (Inverse/Impedance Analogy)
Basis: Newton's Law (ΣF=0) is analogous to KCL (Σi=0).
Mapping:
Force (F) ↔ Current (i)
Velocity (v) ↔ Voltage (V)
Mass (M) ↔ Capacitance (C)
Damper (B) ↔ Conductance (1/R)
Spring (K) ↔ Inverse Inductance (1/L)
Displacement (x) ↔ Flux Linkage (λ)
Series mechanical system becomes a parallel electrical circuit.
4.3 Choosing an Analogy
Force-Voltage is often more intuitive as series/parallel configurations are preserved similarly.
Force-Current can be more convenient for certain mechanical configurations (e.g., gears).
5. Modeling of Specific Components
5.1 Gears
Purpose: Transform torque and rotational speed.
Modeling Parameters: Gear Ratio N=θ2θ1=T1T2=r1r2.
Reflected Load: When modeling a motor with a gear train, the load inertia (JL) and damping (BL) on the secondary side are "reflected" to the primary (motor) side.
Reflected Inertia: Jeq=Jm+N2JL
Reflected Damping: Beq=Bm+N2BL
5.2 Transformers (Electrical)
Purpose: Voltage/current transformation and isolation.
Ideal Model: V2V1=N2N1=a, I2I1=a1.
Reflected Impedance: An impedance Z2 in the secondary is reflected to the primary as Z1=a2Z2.
5.3 Sensors and Encoders
Purpose: Measure system outputs (position, speed, etc.) for feedback.
Modeling: Often represented as a simple gain (K_s) in the feedback path. For ideal sensors, Ks=1 (with appropriate unit conversion).
Potentiometer (Position): Vout=Kp⋅θ.
Tachogenerator (Speed): Vout=Kt⋅ω.
Encoder (Digital Position/Speed): Generates a pulse train. Modeled by a gain (pulses/radian) and possibly a sampler.
5.4 Generators (DC & AC)
Purpose: Convert mechanical energy to electrical energy. Often used as sensors (tachogenerator) or power sources.
DC Generator Model: Generated voltage, Eg=Kgϕωm, where Kg is a constant, ϕ is flux, ωm is mechanical speed.
Armature Circuit: Vt=Eg−IaRa, where Vt is terminal voltage, Ia is armature current, Ra is armature resistance.
6. Modeling of Electromechanical and Mixed Systems
Many practical systems (actuators, motors) involve coupling between electrical and mechanical domains.
6.1 DC Motor (A Prime Example)
A DC motor converts electrical input (armature voltage Va) to mechanical output (shaft speed ωm and position θm).
Electrical Subsystem (Armature Circuit):
Va(t)=Raia(t)+Ladtdia(t)+eb(t)
Back EMF: eb(t)=Kbωm(t), where Kb is the back EMF constant.
Mechanical Subsystem (Rotor):
Jmdtdωm(t)+Bmωm(t)=Tm(t)
Motor Torque: Tm(t)=Ktia(t), where Kt is the torque constant. (For SI units, Kt=Kb).
Combined Model (Transfer Function):
Often, the armature inductance La is neglected for small motors.
Taking Laplace transforms and combining equations yields the transfer function from input voltage to output speed: Va(s)Ωm(s)=(RaJm)s+(RaBm+KtKb)Kt
For position output: Va(s)Θm(s)=s1⋅Va(s)Ωm(s)
6.2 General Procedure for Mixed Systems
Identify the energy domains involved (electrical, mechanical, thermal, fluidic).
Identify the energy conversion elements (e.g., motor, solenoid, pump).
Write the governing equations for each subsystem separately using domain-specific laws.
Write the coupling equations that link the subsystems (e.g., motor torque, back EMF).
Combine the equations algebraically to eliminate intermediate variables and obtain a relationship between the system's input and output.
Express the final model in the desired form: differential equation, transfer function, or state-space representation.
Conclusion: System modeling is the essential language of control engineering. By abstracting a physical system into a mathematical model—whether it's a simple mass-spring-damper or a complex electromechanical actuator—engineers gain the power to simulate behavior, predict performance, and design effective controllers before building costly prototypes. The analogies between different physical domains are particularly powerful, providing a unified framework for understanding and designing complex, interconnected systems.
Last updated