Skip to content
EX-802 (D) · Application of AI in Electrical/Electronics Engg./Quick Revision Short Notes

Application of AI in Electrical/Electronics Engg. (EX-802 (D)) - Unit 2 Short Notes

UNIT 2: AI Techniques and Applications in Power Systems


I. Neural Networks and Learning Paradigms

A. Radial Basis Function Network (RBFN)
  • Architecture: A three-layer feedforward network.

    1. Input Layer: Receives the input vector $$\displaystyle \mathbf{x} \in \mathbb{R}^n $$. No computation.

    2. Hidden Layer: Contains radial basis functions (typically Gaussian). Each neuron computes the Euclidean distance between $\mathbf{x}$ and its center $$\displaystyle \mathbf{c}_i $$, then applies a basis function:

$$ \phi_i(\mathbf{x}) = \exp\left(-\frac{\|\mathbf{x} - \mathbf{c}_i\|^2}{2\sigma_i^2}\right) $$

    where $$\displaystyle \sigma_i $$ is the spread (width) of the $$\displaystyle i^{th} $$ RBF.

3.  **Output Layer:** A linear combiner that computes a weighted sum of the hidden layer outputs:

$$ y_k(\mathbf{x}) = \sum_{i=1}^{m} w_{ki} \phi_i(\mathbf{x}) + b_k $$

    where $$\displaystyle w_{ki} $$ are weights, $$\displaystyle b_k $$ is bias, $m$ is number of RBFs, and $k$ is output index.
  • Key Idea: RBFNs implement localized receptive fields. Hidden layer neurons respond strongly only to inputs near their center $$\displaystyle \mathbf{c}_i $$. This makes training often faster than MLPs.

  • Training: Usually a two-stage process:

    1. Determine centers $$\displaystyle \mathbf{c}_i $$ and spreads $$\displaystyle \sigma_i $$ (e.g., using K-means clustering on input data).

    2. Solve a linear regression problem to find output weights $$\displaystyle w_{ki} $$ (using least squares or pseudo-inverse).

[!TIP] Exam Focus: Be prepared to draw the 3-layer architecture and write the Gaussian RBF equation. Contrast with MLP: RBF hidden layer is non-linear (fixed after center selection), output layer is linear.

B. Functional Link Network (FLN)
  • Architecture: A single-layer network where the input is expanded into a higher-dimensional functional space before being presented to a linear neuron.

    • Input: $$\displaystyle \mathbf{x} = [x_1, x_2, ..., x_n]^T $$

    • Functional Expansion: The input vector is non-linearly transformed using a set of basis functions $$\displaystyle F(\mathbf{x}) = [f_1(\mathbf{x}), f_2(\mathbf{x}), ..., f_M(\mathbf{x})]^T $$, where $M \gg n$ (e.g., polynomial, trigonometric, or exponential functions).

    • Output: $$\displaystyle y = \mathbf{w}^T F(\mathbf{x}) + b $$

  • Key Idea: It enhances the non-linear separability of the input data by mapping it to a higher dimension, similar to the kernel trick in SVMs, but with an explicit, fixed expansion. The learning is linear in the expanded space.

  • Example: For a 2D input $$\displaystyle \mathbf{x} = [x_1, x_2]^T $$, a quadratic expansion could be: $$\displaystyle F(\mathbf{x}) = [1, x_1, x_2, x_1^2, x_2^2, x_1x_2]^T $$.

[!TIP] Common Pitfall: Do not confuse FLN with a multi-layer perceptron. FLN has no hidden layer of adaptive neurons; the expansion is a fixed, pre-defined transformation.

C. Self-Organizing Maps (SOM) - Kohonen Maps
  • Concept: An unsupervised, competitive learning neural network that produces a low-dimensional (typically 2D), topology-preserving representation of the input space. It performs vector quantization and dimensionality reduction.

  • Working Principle:

    1. Initialization: Neurons on a 2D grid have associated weight vectors $$\displaystyle \mathbf{w}_i \in \mathbb{R}^n $$, initialized randomly.

    2. Competition: For an input $\mathbf{x}$, find the Best Matching Unit (BMU) $c$ with weight vector closest to $\mathbf{x}$ (using Euclidean distance).

    3. Cooperation: Define a neighborhood function $$\displaystyle h_{ci}(t) $$ (usually a Gaussian) around the BMU on the grid. Neurons within this neighborhood "cooperate".

    4. Adaptation: Update the weights of the BMU and its neighbors:

$$ \mathbf{w}_i(t+1) = \mathbf{w}_i(t) + \alpha(t) \cdot h_{ci}(t) \cdot (\mathbf{x} - \mathbf{w}_i(t)) $$

    where $\alpha(t)$ is the learning rate, and $$\displaystyle h_{ci}(t) $$ decreases with distance from BMU and time.

5.  Repeat steps 2-4 for all inputs, decreasing $\alpha(t)$ and neighborhood radius over time.
DiagramCANVAS: A 2D grid of neurons (e.g., 6x6). Input vector X in high-D space. Show BMU highlighted. Draw concentric neighborhoods around BMU. Arrows from BMU and neighbors pointing towards X, indicating weight update.
  • Applications in Power Systems: Load profiling, contingency analysis, security assessment, visualization of high-dimensional system states.

[!TIP] Exam Tip: Always explain the BMU concept and the neighborhood adaptation rule. The diagram is crucial—show the grid, BMU, and neighborhood.

D. Learning in Neural Networks
  • 1. Competitive Learning:

    • Mechanism: Neurons compete to respond to an input. Only the "winner" (usually the one with smallest error/distance) updates its weights. Fundamental to SOMs and some clustering algorithms.

    • Rule: $$\displaystyle \Delta \mathbf{w}_c = \alpha (\mathbf{x} - \mathbf{w}_c) $$ for winner $c$, others unchanged.

    • Task: Clustering, vector quantization.

  • 2. Supervised Learning:

    • Mechanism: Network learns a mapping from inputs to known target outputs using a error signal (difference between predicted and target). Uses gradient descent (backpropagation for MLPs).

    • Rule: $$\displaystyle \Delta w_{ji} = -\eta \frac{\partial E}{\partial w_{ji}} $$, where $E$ is error function (e.g., MSE).

    • Task: Function approximation, classification, regression (e.g., load forecasting).

  • 3. Learning Tasks:

    • Pattern Association: Auto-associative (input = output) or hetero-associative (input ≠ output). Used in fault detection.

    • Pattern Recognition: Classification of system states (e.g., stable/unstable).

    • Function Approximation: Mapping input variables (load, generation) to output (cost, frequency deviation).

    • Control: Adaptive control, system identification.


II. Fuzzy Logic Systems

A. Operations on Fuzzy Relations
  • Fuzzy Set Operations (on sets $A, B$ in universe $X$):

    • Union: $$\displaystyle \mu_{A \cup B}(x) = \max[\mu_A(x), \mu_B(x)] $$

    • Intersection: $$\displaystyle \mu_{A \cap B}(x) = \min[\mu_A(x), \mu_B(x)] $$

    • Complement: $$\displaystyle \mu_{\bar{A}}(x) = 1 - \mu_A(x) $$

    • Algebraic Product: $$\displaystyle \mu_{A \cdot B}(x) = \mu_A(x) \cdot \mu_B(x) $$

    • Algebraic Sum: $$\displaystyle \mu_{A + B}(x) = \mu_A(x) + \mu_B(x) - \mu_A(x)\mu_B(x) $$

  • Fuzzy Relation Composition: Given relations $R \subseteq X \times Y$ and $S \subseteq Y \times Z$.

    • Max-Min Composition: $$\displaystyle T = R \circ S $$, where $$\displaystyle \mu_T(x,z) = \max_{y \in Y} \min[\mu_R(x,y), \mu_S(y,z)] $$

    • Max-Product Composition: $$\displaystyle \mu_T(x,z) = \max_{y \in Y} [\mu_R(x,y) \cdot \mu_S(y,z)] $$

[!TIP] Common Pitfall: Max-min is most common. Remember composition is like matrix multiplication but with min and max replacing multiplication and addition.

B. Fuzzy Logic System (FLS)
  • Explanation with Practical Example (LFC):

    • Inputs: Area Control Error (ACE) = $$\displaystyle \Delta P_{tie} + B \Delta f $$ (where $$\displaystyle \Delta P_{tie} $$ is tie-line power deviation, $\Delta f$ is frequency deviation, $B$ is frequency bias).

    • Fuzzification: Convert crisp ACE into fuzzy sets (e.g., Negative Large, Negative Small, Zero, Positive Small, Positive Large).

    • Rule Base: IF-THEN rules from operator experience.

      Rule 1: IF ACE is Negative Large AND $\Delta$ACE is Negative THEN $$\displaystyle \Delta P_{ref} $$ is Decrease Fast.

      Rule 2: IF ACE is Zero THEN $$\displaystyle \Delta P_{ref} $$ is No Change.

    • Inference Engine: Applies rules (using Mamdani or Sugeno method). Mamdani uses min for AND, max for aggregation.

    • Defuzzification: Converts fuzzy output to crisp control signal (e.g., using Centroid method: $$\displaystyle u_{crisp} = \frac{\int \mu_{agg}(u) \cdot u \, du}{\int \mu_{agg}(u) \, du} $$).

    • Output: Change in reference power $$\displaystyle \Delta P_{ref} $$ for governors.

  • Fuzzy Rule-Based System:

    • Rule Formation: Derived from expert knowledge, operator experience, or data mining. Rules capture heuristic control strategies.

    • Inference: For $n$ inputs and $m$ rules:

      1. Match: Compute firing strength $$\displaystyle \alpha_i $$ of each rule (e.g., $$\displaystyle \alpha_i = \min[\mu_{A_i}(x_1), \mu_{B_i}(x_2)] $$).

      2. Activate: Apply $$\displaystyle \alpha_i $$ to the consequent fuzzy set $$\displaystyle C_i $$ (implication, often using min: $$\displaystyle \mu_{C_i}'(u) = \min(\alpha_i, \mu_{C_i}(u)) $$).

      3. Aggregate: Combine all activated consequents: $$\displaystyle \mu_{agg}(u) = \max_i (\mu_{C_i}'(u)) $$.

      4. Defuzzify: Get crisp output from $$\displaystyle \mu_{agg}(u) $$.


III. Evolutionary Computation

A. Genetic Algorithms (GA)
  • Overview: Search heuristic inspired by natural selection, operating on a population of candidate solutions (chromosomes).

  • Genetic Operators:

    1. Selection: Choose parents for reproduction based on fitness (objective function value).

      • Roulette Wheel Selection: Probability proportional to fitness.

      • Tournament Selection: Randomly pick $k$ individuals, select best. Robust, common.

      • Rank Selection: Select based on rank, not absolute fitness.

    2. Crossover (Recombination): Exchange genetic material between two parents to create offspring.

      • Single-Point: Swap segments after a random cut point.

      • Two-Point: Swap segments between two cut points.

      • Uniform: Each gene independently chosen from either parent.

      • Arithmetic/Blend: For real-valued GAs: $$\displaystyle child = \alpha \cdot parent1 + (1-\alpha) \cdot parent2 $$.

    3. Other Operators:

      • Reproduction: Copying elite individuals directly to next generation (elitism) to preserve best solutions.
  • Mutation Operator:

    • Explanation: Random, small perturbation applied to a single gene with low probability $$\displaystyle p_m $$. Introduces genetic diversity, helps escape local optima.

    • Mechanism: For binary: flip a bit. For real-valued: add small random noise (e.g., $$\displaystyle x_{new} = x_{old} + \mathcal{N}(0, \sigma) $$).

    • Applications in Power System Optimization: ELD (minimize cost), Optimal Power Flow (OPF), capacitor placement, network reconfiguration. Balances exploration (mutation) and exploitation (crossover).

[!TIP] Exam Focus: Know the difference between selection methods (roulette vs. tournament) and crossover types. Relate mutation to avoiding premature convergence in ELD problems.


IV. Applications in Power System Optimization and Control

A. Economic Load Dispatch (ELD)
  • Problem Formulation: Minimize total fuel cost $$\displaystyle F_{total} = \sum_{i=1}^{N} F_i(P_i) $$ subject to:

    1. Power Balance: $$\displaystyle \sum_{i=1}^{N} P_i = P_D + P_{loss} $$ (where $$\displaystyle P_D $$ = demand, $$\displaystyle P_{loss} $$ = transmission loss).

    2. Generator Limits: $$\displaystyle P_i^{min} \leq P_i \leq P_i^{max} $$.

    3. Ramp Rate Limits: $$\displaystyle |P_i(t) - P_i(t-1)| \leq UR_i $$ (Up Ramp), $$\displaystyle |P_i(t) - P_i(t-1)| \leq DR_i $$ (Down Ramp).

  • Cost Function: Typically quadratic: $$\displaystyle F_i(P_i) = a_i P_i^2 + b_i P_i + c_i $$ ($/hr$).

  • AI-Based Solution Approaches:

    • GA/PSO/DE: Treat $$\displaystyle [P_1, P_2, ..., P_N] $$ as a chromosome/particle. Fitness = $$\displaystyle -F_{total} $$ (or penalized for constraint violation). Handle power balance by slack generator or penalty function.

    • Neural Networks: RBFN or FLN can approximate the incremental cost curve or solve the dispatch equations.

  • Worked Example Concept:

    • Given 3 generators with quadratic costs, demand $$\displaystyle P_D $$, and neglecting losses.

    • Equal Incremental Cost Criterion: $$\displaystyle \lambda = \frac{dF_1}{dP_1} = \frac{dF_2}{dP_2} = \frac{dF_3}{dP_3} $$.

    • Solve: $$\displaystyle 2a_1P_1 + b_1 = 2a_2P_2 + b_2 = 2a_3P_3 + b_3 $$ and $$\displaystyle P_1+P_2+P_3 = P_D $$.

    • Check limits, adjust if needed (lambda iteration or gradient method).

[!TIP] Critical: Always include power balance and generator limits. For AI, explain how constraints are handled (penalty function, repair operators).

B. Load Frequency Control (LFC)
  • Concept & Significance: Maintains system frequency $\Delta f$ near nominal (50/60 Hz) and tie-line power $$\displaystyle \Delta P_{tie} $$ between control areas at scheduled values. Ensures stability in interconnected grids.

  • Control Mechanism & Block Diagram:

    • Signal: Area Control Error (ACE) = $$\displaystyle \Delta P_{tie} + B \Delta f $$ ($B$ = frequency bias constant).

    • Controller (ACE signal) → Integral Controller (I) → Reference Power $$\displaystyle \Delta P_{ref} $$ → Governor → Turbine → Change in Generation $$\displaystyle \Delta P_g $$.

    • Plant Model: $$\displaystyle \frac{\Delta f(s)}{\Delta P_g(s)} = \frac{1}{M s + D} $$ (swing equation simplified, $M$=inertia, $D$=damping).

    • Governor Model: $$\displaystyle \frac{\Delta P_g(s)}{\Delta P_{ref}(s)} = \frac{1}{1 + T_g s} $$ (with speed droop $R$).

    • Full Block Diagram: Shows two parallel paths: (1) $\Delta f$ through $1/(Ms+D)$ and (2) $$\displaystyle \Delta P_{tie} $$ through tie-line transfer function $$\displaystyle K_{tie}/s $$. Sum gives ACE.

[[DIAGRAM: CANVAS: Standard LFC block diagram for a single area. Input: $$\displaystyle \Delta P_{ref} $$. Summing junction: -($$\displaystyle \Delta P_{tie} + B\Delta f $$) = ACE. ACE goes to I-controller (1/s). Output $$\displaystyle \Delta P_{ref} $$ (actually $$\displaystyle \Delta P_c $$) goes to governor (1/(1+T_gs)) with droop R. Governor output $$\displaystyle \Delta P_g $$ goes to plant (1/(Ms+D)). Plant output $\Delta f$ feeds back through B to summing junction. Also, $\Delta f$ goes through tie-line model (K_tie/s) to produce $$\displaystyle \Delta P_{tie} $$.]

  • Parameters Influencing Performance:

    • Governor Speed Droop $R$: Lower $R$ → better frequency regulation but less sharing of load between units.

    • Frequency Bias $B$: Should be chosen as $$\displaystyle B = \frac{1}{R} + D $$ for zero steady-state error in $\Delta f$.

    • Integral Gain $$\displaystyle K_I $$: Determines speed of response and steady-state error elimination.

    • Inertia $M$ & Damping $D$: Physical system parameters.

C. Small Signal Stability Analysis
  • Stability Concepts: Ability of power system to maintain synchronism after a small disturbance (e.g., small load change). Characterized by electromechanical oscillations (0.1-2.5 Hz) of generator rotors.

  • AI Techniques for Stability Improvement & Control:

    • Neural Networks: For online stability assessment. Train an MLP/RBFN on simulation data (features: power flows, voltages, generator states) to classify as stable/unstable or predict damping ratio.

    • Fuzzy Logic: Design damping controllers (Fuzzy PSS) where rules adjust PSS parameters based on speed/acceleration.

    • GA/PSO: Tune parameters of Power System Stabilizers (PSS) or FACTS controllers (e.g., SVC, TCSC) to maximize damping ratio of critical modes.

    • SOM: Cluster system operating points to identify vulnerable regions.

D. Load Forecasting
  • Types:

    • Short-Term (STLF): Hourly/daily, up to 1 week. For unit commitment, dispatch.

    • Medium-Term (MTLF): Weekly/monthly, up to 1 year. For maintenance scheduling, fuel planning.

    • Long-Term (LTLF): Yearly, 5-10 years. For generation/transmission expansion planning.

  • AI Methodologies:

    • Neural Networks: MLP with backpropagation is most common. Inputs: historical load, weather (temp, humidity), day-of-week, hour, holiday flags. RBFN can be faster for certain datasets.

    • Fuzzy Logic: Handle uncertainty in weather and human factors. Often hybridized with NNs (Neuro-Fuzzy).

    • GA/PSO: Used for feature selection (which past hours matter?) or optimizing NN weights.

    • Hybrid Models: e.g., Wavelet-NN (decompose load into components), SVM for regression.

[!TIP] Key Point: STLF uses similar-day and weather; LTLF uses economic/demographic indicators. AI models are data-hungry; preprocessing is critical.

E. Power System Modeling for Control
  • 1. Single Area System Model:

    • Assumes a coherent, infinite bus. Focuses on frequency control within one control area.

    • Components: Speed changer (governor), turbine, generator & load (aggregated as $1/(Ms+D)$), frequency sensor.

    • Transfer Function: $$\displaystyle \frac{\Delta f(s)}{\Delta P_{ref}(s)} = \frac{1}{1 + R} \cdot \frac{1}{1 + T_g s} \cdot \frac{1}{Ms + D} $$ (simplified, without ACE feedback loop shown in LFC block diagram).

    • Steady-State: $$\displaystyle \Delta f_{ss} = -\frac{\Delta P_{ref}}{1/R + D} $$.

  • 2. Two Area System Model:

    • Interconnections: Two control areas (Area 1, Area 2) connected by a tie-line.

    • Model: Each area has its own LFC loop (governor, turbine, $$\displaystyle M_i, D_i, R_i $$). The areas are coupled through the tie-line.

    • Tie-Line Power Deviation: $$\displaystyle \Delta P_{tie,1} = T_{12} (\theta_1 - \theta_2) \approx K_{tie} \int (\Delta f_1 - \Delta f_2) dt $$. In s-domain: $$\displaystyle \Delta P_{tie,1}(s) = \frac{K_{tie}}{s} (\Delta f_1(s) - \Delta f_2(s)) $$.

    • ACE for Area 1: $$\displaystyle ACE_1 = \Delta P_{tie,1} + B_1 \Delta f_1 $$.

    • Control Objective: In steady-state, $$\displaystyle \Delta f_1 = \Delta f_2 = 0 $$ and $$\displaystyle \Delta P_{tie,1} = \Delta P_{tie,2} = 0 $$ for a load change in one area (undisturbed area's generation changes to support the disturbed area).

DiagramCANVAS: Two parallel blocks for Area 1 and Area 2. Each block has: $$\displaystyle \Delta P_{ref,i} $$ -> Governor (1/(1+T_gs)) with droop R_i -> Turbine (1) -> Plant (1/(M_is+D_i)) -> $$\displaystyle \Delta f_i $$. $$\displaystyle \Delta f_i $$ feeds back to summing junction for ACE_i. ACE_i = $$\displaystyle \Delta P_{tie,i} + B_i \Delta f_i $$. The two $\Delta f$ signals go into a block $$\displaystyle \frac{K_{tie}}{s} $$ whose output is $$\displaystyle \Delta P_{tie,1} $$ (for area 1) and $$\displaystyle -\Delta P_{tie,1} $$ (for area 2, by sign convention).

[!TIP] Exam Essential: Be able to draw the two-area block diagram and write the ACE equations. Know that $$\displaystyle B_i $$ should be $$\displaystyle 1/R_i + D_i $$ for zero steady-state error.

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in