680 likes | 1.11k Views
EE3511: Automatic Control Systems. 5. Modeling of Electrical Systems. Dr. Ahmed Nassef. Learning Objective. To derive mathematical models (ODE models or transfer functions) of simple electric circuits involving resistors, capacitors, inductors, current sources and voltage sources.
E N D
EE3511: Automatic Control Systems 5. Modeling of Electrical Systems Dr. Ahmed Nassef Salman bin Abdulaziz University
Learning Objective • To derive mathematical models (ODE models or transfer functions) of simple electric circuits involving resistors, capacitors, inductors, current sources and voltage sources. Salman bin Abdulaziz University
Modeling Procedure • Represent the system by a set of idealized elements • Define a set of suitable variables • Write the appropriate element laws • Write the appropriate interaction laws • Combine element and interaction laws to write the model of the system • If the model is nonlinear, select an appropriate equilibrium condition and linearize the system Salman bin Abdulaziz University
VariablesThe equations are expressed in terms of one or more of the following types of variables • Other variables of interest ( charge, flux, flux linkage ) Salman bin Abdulaziz University
Notation i1 i2 Circuit element The current entering any circuit element is the same as the current leaving the element and therefore only one of them is shown i1 Circuit element Salman bin Abdulaziz University
Notation i + _ Circuit element The direction of the current is the direction of movement of positive ions entering the element. Electrons (negative charges) moves opposite to the indicated direction Salman bin Abdulaziz University
Element LawsResistor Salman bin Abdulaziz University
Element LawsCapacitor Salman bin Abdulaziz University
Element LawsCapacitor Salman bin Abdulaziz University
Element LawsInductor Salman bin Abdulaziz University
Element LawsInductor Salman bin Abdulaziz University
Element LawsSources 3A 6V + − 6V + − Salman bin Abdulaziz University
Interaction Laws • Interaction laws describe the way different elements are interconnected • important interaction laws • Kirchhoff’s Current Law (KCL) • Kirchhoff’s Voltage Law (KVL) Salman bin Abdulaziz University
Kirchhoff’s Current Law (KCL) • The algebraic sum of all currents at any node is zero at all times. Current entering the node i1 i2 i3 Current leaving the node Salman bin Abdulaziz University
Applications of KCL The current through the capacitor is the same as the current through the resistor The current through the capacitor is the same as the sum of currents through the two resistors Salman bin Abdulaziz University
Kirchhoff’s Voltage Law (KVL) • The algebraic sum of voltages across all the elements that make up a loop is zero Salman bin Abdulaziz University
Applications of KVL The voltage across the capacitor is the same as the voltage across the resistor Salman bin Abdulaziz University
Element Laws (t -Domain) Salman bin Abdulaziz University
Element Laws (S -Domain)Resistor Salman bin Abdulaziz University
Element Laws (S -Domain)Capacitor Salman bin Abdulaziz University
Element Laws (S -Domain)Capacitor Salman bin Abdulaziz University
Element Laws (S -Domain) Inductor Salman bin Abdulaziz University
Element Laws (S -Domain) Inductor Salman bin Abdulaziz University
Element Laws (S -Domain) (With zero initial condition) Salman bin Abdulaziz University
Obtaining The Model (Method 1)Loop Equation Method • Label loop currents • Express current through all elements in terms of one or more loop currents • Use KVL and element's laws to write the model Salman bin Abdulaziz University
Obtaining The Model (Method 2) Node Equation Method • Label all voltage nodes • Express voltage across all elements in terms of node voltages • Use KCL and element's laws to write the model Salman bin Abdulaziz University
Resistive Circuits • You can simplify the resistive circuit by • replacing resistors in parallel by a single resistor • replacing resistors in series by a single resistor • Remember that a resistive circuit does not have any dynamics and it can be modeled by a static model. Salman bin Abdulaziz University
Resistor in series Equivalent resistance of resistors in series is the sum of resistances Salman bin Abdulaziz University
Resistors in parallel + e − + e − Salman bin Abdulaziz University
Current Divider Salman bin Abdulaziz University
Voltage Divider + e − Salman bin Abdulaziz University
Transfer Function (TF) The transfer function of a linear, time-invariant, differential equation system is defined as the ratio of the Laplace transform of the output (response function) to the Laplace transform of the input (driving function) under the assumption that all initial conditions are zero. Transfer Function G(s) Salman bin Abdulaziz University
Example 1Find eo in terms of ei Two resistors in parallel Replace them by one resistor Salman bin Abdulaziz University
Example 1Find eo in terms of ei Two resistors in series Replace them by one resistor Salman bin Abdulaziz University
Example 1Find eo in terms of ei Two resistors in parallel Replace them by one resistor Salman bin Abdulaziz University
Example 1Find eo in terms of ei Two resistors in series Replace them by one resistor Salman bin Abdulaziz University
Example 1Find eo in terms of ei Two resistors in parallel Replace them by one resistor Salman bin Abdulaziz University
Example 1Find eo in terms of ei This can be seen as voltage divider Salman bin Abdulaziz University
Example 1Find eo in terms of ei This can be seen as voltage divider Salman bin Abdulaziz University
Example 1Find eo in terms of ei This can be seen as voltage divider Salman bin Abdulaziz University
Example 2 Derive an input-output model Input ei (t)output e0 (t) Salman bin Abdulaziz University
Example 2 i Salman bin Abdulaziz University
Example 2 i Salman bin Abdulaziz University
Example 2 (alternative method) Convert the circuit to its Laplace form and use KVL and KCL as the resistive circuits i Salman bin Abdulaziz University
Example 3: Find TF model of the circuit i1 i2 Salman bin Abdulaziz University
Example 3: Transfer the circuit to Laplace and use KVL i1 i2 Salman bin Abdulaziz University
Example 4 (Homework)Derive a state-variable model Find a model of the circuit Input ii (t)output e0 (t) Salman bin Abdulaziz University
Steady State Response to Constant input • Steady state response to constant input is the response after very long time. • The steady state behavior is governed by a static model obtained from resistive circuit by • Replacing capacitors by open circuits • Replacing inductors by short circuits • Solve to get the steady state response. Salman bin Abdulaziz University
Steady State Response to Constant input • Method 1: After deriving the I/O model, replace derivatives by zero and solve the algebraic model to get steady state response. • Method 2: Replace Capacitors by open circuits and replace inductors by short circuits and obtain the model from the resistive circuit. Solve to get the steady state response. Both give the same answer Salman bin Abdulaziz University
Example 5 + 24 − + 24 − Salman bin Abdulaziz University