Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,

Slides:



Advertisements
Similar presentations
Lect.3 Modeling in The Time Domain Basil Hamed
Advertisements

SOLUTION OF STATE EQUATION
FIRST AND SECOND-ORDER TRANSIENT CIRCUITS
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Review Resources: Wiki: State Variables YMZ: State Variable Technique Wiki: Controllability.
Applications of Laplace Transforms Instructor: Chia-Ming Tsai Electronics Engineering National Chiao Tung University Hsinchu, Taiwan, R.O.C.
AC modeling of quasi-resonant converters Extension of State-Space Averaging to model non-PWM switches Use averaged switch modeling technique: apply averaged.
Response of First-Order Circuits
Lecture 261 Nodal Analysis. Lecture 262 Example: A Summing Circuit The output voltage V of this circuit is proportional to the sum of the two input currents.
ECE53A RLC Circuits W. Ku 11/29/2007
ECE53A Introduction to Analog and Digital Circuits Lecture Notes Second-Order Analog Circuit and System.
Modeling in the Time Domain - State-Space
EE42/100 Lecture 9 Topics: More on First-Order Circuits Water model and potential plot for RC circuits A bit on Second-Order Circuits.
Lecture 26 Review Steady state sinusoidal response Phasor representation of sinusoids Phasor diagrams Phasor representation of circuit elements Related.
Lecture 5 Review: Circuit reduction Related educational modules:
Lecture 16 Inductors Introduction to first-order circuits RC circuit natural response Related educational modules: –Section 2.3, 2.4.1,
ES250: Electrical Science
Chapter 8 Second-Order Circuits
Overview of ENGR 220 Circuits 1 Fall 2005 Harding University Jonathan White.
First-Order Circuits. Now that we have considered the three passive elements (resistors, capacitors, and inductors), we are prepared to consider circuits.
Transient Analysis - First Order Circuits
APPLICATION OF THE LAPLACE TRANSFORM
FIRST ORDER TRANSIENT CIRCUITS
EENG 2610: Circuit Analysis Class 12: First-Order Circuits
Chapter 7 In chapter 6, we noted that an important attribute of inductors and capacitors is their ability to store energy In this chapter, we are going.
ES250: Electrical Science
AC STEADY-STATE ANALYSIS SINUSOIDAL AND COMPLEX FORCING FUNCTIONS Behavior of circuits with sinusoidal independent sources and modeling of sinusoids in.
Lecture 7 Review: Circuit techniques to date Overview of Nodal and Mesh analysis Nodal Analysis Related educational modules: –Sections 1.6.0,
Chapter 7 In chapter 6, we noted that an important attribute of inductors and capacitors is their ability to store energy In this chapter, we are going.
Fundamentals of Electric Circuits Chapter 16 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 15 Review: Energy storage and dynamic systems Basic time-varying signals Capacitors Related educational modules: –Section 2.2.
EENG 2610: Circuit Analysis Class 11: Capacitor and Inductor Combinations RC Operational Amplifier Circuits Oluwayomi Adamo Department of Electrical Engineering.
Lecture 19 Review: First order circuit step response Steady-state response and DC gain Step response examples Related educational modules: –Section
1 1st Order Circuits Any circuit with a single energy storage element, an arbitrary number of sources, and an arbitrary number of resistors is a circuit.
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
1 Alexander-Sadiku Fundamentals of Electric Circuits Chapter 16 Applications of the Laplace Transform Copyright © The McGraw-Hill Companies, Inc. Permission.
Determine the mathematical models that capture the behavior of an electrical system 1.Elements making up an electrical system 2.First-principles modeling.
1 Loop (Mesh) Analysis. 2 Loop Analysis Nodal analysis was developed by applying KCL at each non-reference node. Loop analysis is developed by applying.
1 Time-Domain Representations of LTI Systems CHAPTER 2.11 Characteristics of Systems Described by Differential and Difference Equations and Difference.
Lecture 7: State-Space Modeling 1.Introduction to state-space modeling Definitions How it relates to other modeling formalisms 2.State-space examples 3.Transforming.
Lecture 17 Review: RL circuit natural response
1 EKT101 Electric Circuit Theory Chapter 5 First-Order and Second Circuits.
First Order And Second Order Response Of RL And RC Circuit
Time Domain Representation of Linear Time Invariant (LTI).
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Lecture 18 Review: Forced response of first order circuits
Linear Constant-Coefficient Difference Equations
Chapter 5 First-Order and Second Circuits 1. First-Order and Second Circuits Chapter 5 5.1Natural response of RL and RC Circuit 5.2Force response of RL.
Lecture - 7 First order circuits. Outline First order circuits. The Natural Response of an RL Circuit. The Natural Response of an RC Circuit. The Step.
Dynamic Presentation of Key Concepts Module 6 – Part 2 Natural Response of First Order Circuits Filename: DPKC_Mod06_Part02.ppt.
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 2: Closed Form Solutions (Linear System)
CONTROL SYSTEM UNIT - 6 UNIT - 6 Datta Meghe Institute of engineering Technology and Research Sawangi (meghe),Wardha 1 DEPARTMENT OF ELECTRONICS & TELECOMMUNICATION.
1 College of Communication Engineering Undergraduate Course: Signals and Linear Systems Lecturer: Kunbao CAI.
Linear Constant-Coefficient Difference Equations
Engineering Problem Solution
Modeling and Simulation Dr. Mohammad Kilani
DEPT.:-ELECTRONICS AND COMMUNICATION SUB: - CIRCUIT & NETWORK
Chapter 16 Applications of the Laplace Transform
5. Modeling of Electrical Systems
Fundamentals of Electric Circuits Chapter 16
FIRST AND SECOND-ORDER TRANSIENT CIRCUITS
Digital Control Systems (DCS)
Digital Control Systems (DCS)
§1-2 State-Space Description
Homework 1: Electrical System
Chapter 7 In chapter 6, we noted that an important attribute of inductors and capacitors is their ability to store energy In this chapter, we are going.
Control Systems Spring 2016
Apply KCL to the top node ,we have We normalize the highest derivative by dividing by C , we get Since the highest derivative in the equation is.
Chapter 3 Modeling in the Time Domain
Presentation transcript:

Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1, 2.6.2

Overview of our approach to date We wrote one differential equation in one unknown This is called an input-output equation The equation relates the output directly to the input This approach is useful only for low-order systems We applied the approach to first and second order systems Allows us to obtain insight into the overall system behavior relative to input-output equation coefficients We want to simulate higher-order systems

Notes on generating input-output equations I defined unknowns as voltages across capacitors and currents through inductors Used KVL and KCL to write multiple equations in these unknowns Combined them into a single equation in one unknown Why did I recommend this approach?

State-variable models State-variable models consist of N first-order differential equations in N unknowns Mathematically equivalent to a single N th order equation in one unknown The unknowns are the state variables The state variables are the minimum amount of information necessary to completely describe the system’s state

Definition of system state The state of a system is the information necessary to completely characterize the system at some instant in time Given the state at some time, and the input at all subsequent times, we can determine the output at any subsequent time Comparable to initial conditions The state uniquely determines the energy in all the system’s energy storage elements

Choice of state variables The choice of state variables is not unique We will choose as our state variables: Voltages across capacitors Currents through inductors As we have seen, these variables will describe the energy stored in all energy storage elements They are a legitimate choice for state variables

Form of the state variable model State equations are in the form: are the state variables and u is the input “dot” notation denotes differentiation with respect to time

Output equations Any other circuit parameter can be determined from the states (this relation is called the output equation): The previous equations can be written in matrix form:

Matrix form – continued

Example 1 Determine state equations governing the circuit below

Example 1 continued Matrix form of state equations

Example 1 (still continued) Determine output equation

Simulating system response using MATLAB Analytical solution of higher-order differential equations is generally not feasible Typically, we resort to numerical (or computer- generated) solutions Numerical simulation of the system response MATLAB is a common tool for solving differential equations numerically Contains a number of built-in simulation capabilities

Prerequisite MATLAB background It is assumed that you have access to: MATLAB MATLAB’s control systems toolbox It is also assumed that you can use MATLAB to: Set up arrays Perform basic matrix operations Perform basic plotting operations

Natural and step responses using MATLAB MATLAB’s control systems toolbox provides special- purpose commands to determine the natural and step responses of a given system System is (for us) defined by a state variable model {A,b,c,d} MATLAB commands and syntax: step(A,b,c,d) plots the system’s unit step response initial(A,b,c,d,x0) plots the system’s natural response to the initial conditions provided in the vector x0

Example 1 – simulated step response Use MATLAB to simulate the current through the 0.1H inductor Choosing states as before results in previous state variable model Output equation:

MATLAB syntax Type at MATLAB’s command prompt (>>): >> R = 100; L1 = 0.1; L2 = 0.5; C = 1e-3; >> A = [-R/L1 R/L1 -1/L1; R/L2 -R/L2 0; 1/C 0 0]; >> b = [1/L1; 0; 0]; >> c = [1 0 0]; >> d = 0; >> step(A,b,c,d)

Simulated Response

State variable models and input-output equations Advantages of state variable models: Fairly easy to write governing equations for higher-order systems State variable models easy to solve numerically Changing output does not affect state equations! {A,b,c,d} can give direct information about system behavior Advantages of input-output equations Higher-order system responses are often interpreted in terms of first and second order system responses Laplace transform based techniques often rely on input- output representation of a system