Linear Systems 2 2 Linear Systems
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
J-DSP Lab 2: the Z-Transform and Frequency Responses
J-DSP Lab 2: The Z-Transform and Frequency Responses Introduction This lab exercise will cover the Z transform and the frequency response of digital filters. The goal of this exercise is to familiarize you with the utility of the Z transform in digital signal processing. The Z transform has a similar role in DSP as the Laplace transform has in circuit analysis: a) It provides intuition in certain cases, e.g., pole location and filter stability, b) It facilitates compact signal representations, e.g., certain deterministic infinite-length sequences can be represented by compact rational z-domain functions, c) It allows us to compute signal outputs in source-system configurations in closed form, e.g., using partial functions to compute transient and steady state responses. d) It associates intuitively with frequency domain representations and the Fourier transform In this lab we use the Filter block of J-DSP to invert the Z transform of various signals. As we have seen in the previous lab, the Filter block in J-DSP can implement a filter transfer function of the following form 10 −i ∑bi z i=0 H (z) = 10 − j 1+ ∑ a j z j=1 This is essentially realized as an I/P-O/P difference equation of the form L M y(n) = ∑∑bi x(n − i) − ai y(n − i) i==01i The transfer function is associated with the impulse response and hence the output can also be written as y(n) = x(n) * h(n) Here, * denotes convolution; x(n) and y(n) are the input signal and output signal respectively. -
Closed Loop Transfer Function
Lecture 4 Transfer Function and Block Diagram Approach to Modeling Dynamic Systems System Analysis Spring 2015 1 The Concept of Transfer Function Consider the linear time-invariant system defined by the following differential equation : ()nn ( 1) ay01 ay ann 1 y ay ()mm ( 1) bu01 bu bmm 1 u b u() n m Where y is the output of the system, and x is the input. And the Laplace transform of the equation is, nn1 ()()aS01 aS ann 1 S a Y s mm1 ()()bS01 bS bmm 1 S b U s System Analysis Spring 2015 2 The Concept of Transfer Function 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. mm1 Ys() bS01 bS bmm 1 S b Transfer Function G() s nn1 Us() aS01 aS ann 1 S a Ps() ()nm Qs() System Analysis Spring 2015 3 Comments on Transfer Function 1. A mathematical model. 2. Property of system itself. - Independent of the input function and initial condition - Denominator of the transfer function is the characteristic polynomial, - TF tells us something about the intrinsic behavior of the model. 3. ODE equivalence - TF is equivalent to the ODE. We can reconstruct ODE from TF. 4. One TF for one input-output pair. : Single Input Single Output system. - If multiple inputs affect Obtain TF for each input x 6207()3()xx f t g t -If multiple outputs xxy 32 yy xut 3() System Analysis Spring 2015 4 Comments on Transfer Function 5. -
Lecture 3: Transfer Function and Dynamic Response Analysis
Transfer function approach Dynamic response Summary Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis Paweł Malczyk Division of Theory of Machines and Robots Institute of Aeronautics and Applied Mechanics Faculty of Power and Aeronautical Engineering Warsaw University of Technology October 17, 2019 © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 1 / 31 Transfer function approach Dynamic response Summary Outline 1 Transfer function approach 2 Dynamic response 3 Summary © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 2 / 31 Transfer function approach Dynamic response Summary Transfer function approach 1 Transfer function approach SISO system Definition Poles and zeros Transfer function for multivariable system Properties 2 Dynamic response 3 Summary © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 3 / 31 Transfer function approach Dynamic response Summary SISO system Fig. 1: Block diagram of a single input single output (SISO) system Consider the continuous, linear time-invariant (LTI) system defined by linear constant coefficient ordinary differential equation (LCCODE): dny dn−1y + − + ··· + _ + = an n an 1 n−1 a1y a0y dt dt (1) dmu dm−1u = b + b − + ··· + b u_ + b u m dtm m 1 dtm−1 1 0 initial conditions y(0), y_(0),..., y(n−1)(0), and u(0),..., u(m−1)(0) given, u(t) – input signal, y(t) – output signal, ai – real constants for i = 1, ··· , n, and bj – real constants for j = 1, ··· , m. How do I find the LCCODE (1)? . -
Automatic Linearity Detection
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Mathematical Institute Eprints Archive Report no. [13/04] Automatic linearity detection Asgeir Birkisson a Tobin A. Driscoll b aMathematical Institute, University of Oxford, 24-29 St Giles, Oxford, OX1 3LB, UK. [email protected]. Supported for this work by UK EPSRC Grant EP/E045847 and a Sloane Robinson Foundation Graduate Award associated with Lincoln College, Oxford. bDepartment of Mathematical Sciences, University of Delaware, Newark, DE 19716, USA. [email protected]. Supported for this work by UK EPSRC Grant EP/E045847. Given a function, or more generally an operator, the question \Is it lin- ear?" seems simple to answer. In many applications of scientific computing it might be worth determining the answer to this question in an automated way; some functionality, such as operator exponentiation, is only defined for linear operators, and in other problems, time saving is available if it is known that the problem being solved is linear. Linearity detection is closely connected to sparsity detection of Hessians, so for large-scale applications, memory savings can be made if linearity information is known. However, implementing such an automated detection is not as straightforward as one might expect. This paper describes how automatic linearity detection can be implemented in combination with automatic differentiation, both for stan- dard scientific computing software, and within the Chebfun software system. The key ingredients for the method are the observation that linear operators have constant derivatives, and the propagation of two logical vectors, ` and c, as computations are carried out. -
Control Theory
Control theory S. Simrock DESY, Hamburg, Germany Abstract In engineering and mathematics, control theory deals with the behaviour of dynamical systems. The desired output of a system is called the reference. When one or more output variables of a system need to follow a certain ref- erence over time, a controller manipulates the inputs to a system to obtain the desired effect on the output of the system. Rapid advances in digital system technology have radically altered the control design options. It has become routinely practicable to design very complicated digital controllers and to carry out the extensive calculations required for their design. These advances in im- plementation and design capability can be obtained at low cost because of the widespread availability of inexpensive and powerful digital processing plat- forms and high-speed analog IO devices. 1 Introduction The emphasis of this tutorial on control theory is on the design of digital controls to achieve good dy- namic response and small errors while using signals that are sampled in time and quantized in amplitude. Both transform (classical control) and state-space (modern control) methods are described and applied to illustrative examples. The transform methods emphasized are the root-locus method of Evans and fre- quency response. The state-space methods developed are the technique of pole assignment augmented by an estimator (observer) and optimal quadratic-loss control. The optimal control problems use the steady-state constant gain solution. Other topics covered are system identification and non-linear control. System identification is a general term to describe mathematical tools and algorithms that build dynamical models from measured data. -
Transformations, Polynomial Fitting, and Interaction Terms
FEEG6017 lecture: Transformations, polynomial fitting, and interaction terms [email protected] The linearity assumption • Regression models are both powerful and useful. • But they assume that a predictor variable and an outcome variable are related linearly. • This assumption can be wrong in a variety of ways. The linearity assumption • Some real data showing a non- linear connection between life expectancy and doctors per million population. The linearity assumption • The Y and X variables here are clearly related, but the correlation coefficient is close to zero. • Linear regression would miss the relationship. The independence assumption • Simple regression models also assume that if a predictor variable affects the outcome variable, it does so in a way that is independent of all the other predictor variables. • The assumed linear relationship between Y and X1 is supposed to hold no matter what the value of X2 may be. The independence assumption • Suppose we're trying to predict happiness. • For men, happiness increases with years of marriage. For women, happiness decreases with years of marriage. • The relationship between happiness and time may be linear, but it would not be independent of sex. Can regression models deal with these problems? • Fortunately they can. • We deal with non-linearity by transforming the predictor variables, or by fitting a polynomial relationship instead of a straight line. • We deal with non-independence of predictors by including interaction terms in our models. Dealing with non-linearity • Transformation is the simplest method for dealing with this problem. • We work not with the raw values of X, but with some arbitrary function that transforms the X values such that the relationship between Y and f(X) is now (closer to) linear. -
Digital Signal Processing Module 3 Z-Transforms Objective
Digital Signal Processing Module 3 Z-Transforms Objective: 1. To have a review of z-transforms. 2. Solving LCCDE using Z-transforms. Introduction: The z-transform is a useful tool in the analysis of discrete-time signals and systems and is the discrete-time counterpart of the Laplace transform for continuous-time signals and systems. The z-transform may be used to solve constant coefficient difference equations, evaluate the response of a linear time-invariant system to a given input, and design linear filters. Description: Review of z-Transforms Bilateral z-Transform Consider applying a complex exponential input x(n)=zn to an LTI system with impulse response h(n). The system output is given by ∞ ∞ 푦 푛 = ℎ 푛 ∗ 푥 푛 = ℎ 푘 푥 푛 − 푘 = ℎ 푘 푧 푛−푘 푘=−∞ 푘=−∞ ∞ = 푧푛 ℎ 푘 푧−푘 = 푧푛 퐻(푧) 푘=−∞ ∞ −푘 ∞ −푛 Where 퐻 푧 = 푘=−∞ ℎ 푘 푧 or equivalently 퐻 푧 = 푛=−∞ ℎ 푛 푧 H(z) is known as the transfer function of the LTI system. We know that a signal for which the system output is a constant times, the input is referred to as an eigen function of the system and the amplitude factor is referred to as the system’s eigen value. Hence, we identify zn as an eigen function of the LTI system and H(z) is referred to as the Bilateral z-transform or simply z-transform of the impulse response h(n). 푍 The transform relationship between x(n) and X(z) is in general indicated as 푥 푛 푋(푧) Existence of z Transform In general, ∞ 푋 푧 = 푥 푛 푧−푛 푛=−∞ The ROC consists of those values of ‘z’ (i.e., those points in the z-plane) for which X(z) converges i.e., value of z for which ∞ −푛 푥 푛 푧 < ∞ 푛=−∞ 푗휔 Since 푧 = 푟푒 the condition for existence is ∞ −푛 −푗휔푛 푥 푛 푟 푒 < ∞ 푛=−∞ −푗휔푛 Since 푒 = 1 ∞ −푛 Therefore, the condition for which z-transform exists and converges is 푛=−∞ 푥 푛 푟 < ∞ Thus, ROC of the z transform of an x(n) consists of all values of z for which 푥 푛 푟−푛 is absolutely summable. -
Step Response of Series RLC Circuit ‐ Output Taken Across Capacitor
ESE 271 / Spring 2013 / Lecture 23 Step response of series RLC circuit ‐ output taken across capacitor. What happens during transient period from initial steady state to final steady state? 1 ESE 271 / Spring 2013 / Lecture 23 Transfer function of series RLC ‐ output taken across capacitor. Poles: Case 1: ‐‐two differen t real poles Case 2: ‐ two identical real poles ‐ complex conjugate poles Case 3: 2 ESE 271 / Spring 2013 / Lecture 23 Case 1: two different real poles. Step response of series RLC ‐ output taken across capacitor. Overdamped case –the circuit demonstrates relatively slow transient response. 3 ESE 271 / Spring 2013 / Lecture 23 Case 1: two different real poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Uncorrected Bode Gain Plot Overdamped case –the circuit demonstrates relatively limited bandwidth 4 ESE 271 / Spring 2013 / Lecture 23 Case 2: two identical real poles. Step response of series RLC ‐ output taken across capacitor. Critically damped case –the circuit demonstrates the shortest possible rise time without overshoot. 5 ESE 271 / Spring 2013 / Lecture 23 Case 2: two identical real poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Critically damped case –the circuit demonstrates the widest bandwidth without apparent resonance. Uncorrected Bode Gain Plot 6 ESE 271 / Spring 2013 / Lecture 23 Case 3: two complex poles. Step response of series RLC ‐ output taken across capacitor. Underdamped case – the circuit oscillates. 7 ESE 271 / Spring 2013 / Lecture 23 Case 3: two complex poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Corrected Bode GiGain Plot Underdamped case –the circuit can demonstrate apparent resonant behavior. -
Frequency Response and Bode Plots
1 Frequency Response and Bode Plots 1.1 Preliminaries The steady-state sinusoidal frequency-response of a circuit is described by the phasor transfer function Hj( ) . A Bode plot is a graph of the magnitude (in dB) or phase of the transfer function versus frequency. Of course we can easily program the transfer function into a computer to make such plots, and for very complicated transfer functions this may be our only recourse. But in many cases the key features of the plot can be quickly sketched by hand using some simple rules that identify the impact of the poles and zeroes in shaping the frequency response. The advantage of this approach is the insight it provides on how the circuit elements influence the frequency response. This is especially important in the design of frequency-selective circuits. We will first consider how to generate Bode plots for simple poles, and then discuss how to handle the general second-order response. Before doing this, however, it may be helpful to review some properties of transfer functions, the decibel scale, and properties of the log function. Poles, Zeroes, and Stability The s-domain transfer function is always a rational polynomial function of the form Ns() smm as12 a s m asa Hs() K K mm12 10 (1.1) nn12 n Ds() s bsnn12 b s bsb 10 As we have seen already, the polynomials in the numerator and denominator are factored to find the poles and zeroes; these are the values of s that make the numerator or denominator zero. If we write the zeroes as zz123,, zetc., and similarly write the poles as pp123,, p , then Hs( ) can be written in factored form as ()()()s zsz sz Hs() K 12 m (1.2) ()()()s psp12 sp n 1 © Bob York 2009 2 Frequency Response and Bode Plots The pole and zero locations can be real or complex. -
Modeling and Analysis of DC Microgrids As Stochastic Hybrid Systems Jacob A
1 Modeling and Analysis of DC Microgrids as Stochastic Hybrid Systems Jacob A. Mueller, Member, IEEE and Jonathan W. Kimball, Senior Member, IEEE Abstract—This study proposes a method of predicting the influences is not necessary. Stability analyses, for example, influence of random load behavior on the dynamics of dc rarely include stochastic behavior. A typical approach to small- microgrids and distribution systems. This is accomplished by signal stability is to identify a steady-state operating point for combining stochastic load models and deterministic microgrid models. Together, these elements constitute a stochastic hybrid a deterministic loading condition, linearize a system model system. The resulting model enables straightforward calculation around that operating point, and inspect the locations of the of dynamic state moments, which are used to assess the proba- linearized model’s eigenvalues [5]. The analysis relies on an bility of desirable operating conditions. Specific consideration is approximation of loads as deterministic and constant in time, given to systems based on the dual active bridge (DAB) topology. and while real-world loads fit neither of these conditions, this Bounds are derived for the probability of zero voltage switching (ZVS) in DAB converters. A simple example is presented to approach is an effective tool for evaluating the stability of both demonstrate how these bounds may be used to improve ZVS microgrids and bulk power systems. performance as an optimization problem. Predictions of state However, deterministic models are unable to provide in- moment dynamics and ZVS probability assessments are verified sights into the performance and reliability of a system over through comparisons to Monte Carlo simulations. -
Glossary: a Dictionary for Linear Algebra
GLOSSARY: A DICTIONARY FOR LINEAR ALGEBRA Adjacency matrix of a graph. Square matrix with aij = 1 when there is an edge from node T i to node j; otherwise aij = 0. A = A for an undirected graph. Affine transformation T (v) = Av + v 0 = linear transformation plus shift. Associative Law (AB)C = A(BC). Parentheses can be removed to leave ABC. Augmented matrix [ A b ]. Ax = b is solvable when b is in the column space of A; then [ A b ] has the same rank as A. Elimination on [ A b ] keeps equations correct. Back substitution. Upper triangular systems are solved in reverse order xn to x1. Basis for V . Independent vectors v 1,..., v d whose linear combinations give every v in V . A vector space has many bases! Big formula for n by n determinants. Det(A) is a sum of n! terms, one term for each permutation P of the columns. That term is the product a1α ··· anω down the diagonal of the reordered matrix, times det(P ) = ±1. Block matrix. A matrix can be partitioned into matrix blocks, by cuts between rows and/or between columns. Block multiplication of AB is allowed if the block shapes permit (the columns of A and rows of B must be in matching blocks). Cayley-Hamilton Theorem. p(λ) = det(A − λI) has p(A) = zero matrix. P Change of basis matrix M. The old basis vectors v j are combinations mijw i of the new basis vectors. The coordinates of c1v 1 +···+cnv n = d1w 1 +···+dnw n are related by d = Mc. -
The Scientist and Engineer's Guide to Digital Signal Processing Properties of Convolution
CHAPTER 7 Properties of Convolution A linear system's characteristics are completely specified by the system's impulse response, as governed by the mathematics of convolution. This is the basis of many signal processing techniques. For example: Digital filters are created by designing an appropriate impulse response. Enemy aircraft are detected with radar by analyzing a measured impulse response. Echo suppression in long distance telephone calls is accomplished by creating an impulse response that counteracts the impulse response of the reverberation. The list goes on and on. This chapter expands on the properties and usage of convolution in several areas. First, several common impulse responses are discussed. Second, methods are presented for dealing with cascade and parallel combinations of linear systems. Third, the technique of correlation is introduced. Fourth, a nasty problem with convolution is examined, the computation time can be unacceptably long using conventional algorithms and computers. Common Impulse Responses Delta Function The simplest impulse response is nothing more that a delta function, as shown in Fig. 7-1a. That is, an impulse on the input produces an identical impulse on the output. This means that all signals are passed through the system without change. Convolving any signal with a delta function results in exactly the same signal. Mathematically, this is written: EQUATION 7-1 The delta function is the identity for ( ' convolution. Any signal convolved with x[n] *[n] x[n] a delta function is left unchanged. This property makes the delta function the identity for convolution. This is analogous to zero being the identity for addition (a%0 ' a), and one being the identity for multiplication (a×1 ' a).