Closed Form Solutions of Hybrid Systems 1 Introduction

Closed Form Solutions of Hybrid Systems 1 Introduction

Closed Form Solutions of Hybrid Systems Martin v Mohrenschildt Department of Computing and Software FacultyofEngineering McMaster University Hamilton Ontario Canada LS K email mohrensmcmasterca March In this pap er we present a new symbolic approachtohybrid systems Hybrid systems are systems con taining b oth continuous and discrete changing quantities We mo del hybrid systems using hybrid automata Hybrid automata extend the classical notion of nite state machines bycombining dierential equations to mo del the dynamic b ehavior of systems with a nite control In contrast to other approaches we consider a hybrid automata as a generalization of dierential equations and develop the notion of a symb olic closed form solution of a hybrid automata A closed form solution is an expression which gives the value of the quantities in question as a function of design parameters and time These solutions allow us to p erform the verication of design prop erties We were able to detect design constrains on control systems that other metho ds fail to detect This pap er gives the basic denitions algorithms and an example to demonstrate the advantage of the prop osed approach Intro duction Many engineered systems contain both traditional analog comp onents and mo dern digital nite state comp onents Such mixed continuousdiscrete systems are often called Hybrid Systems It is of high interest to develop precise mo dels for hybrid systems in order to develop and verify control software hardware for systems suchasnuclear reactors patrol chemical plants or car engines In general we observetwo approaches to hybrid systems discretisation and continuation the systems are transformed either to a pure discrete or to a pure continuous system There are few exceptions to this classication eg The discrete approach describ es the system in terms of a nite set of states assignments of values to the state variables The hybrid system is transformed into a discrete system by partitioning the continuous state space into modes The mo de changes of a hybrid system are commonly triggered by some external events or by conditions on the state variable The theory of Hybrid Automata follows this discrete metho dology Most analytical approaches approaches based on logic do not actually study the dierential equations which describ e the continuous state changes but restrict themselves to a sp ecic easily solved class of equations most of the time equations of the form y c In discretisation approaches muchof the dynamic b ehavior of the system is lost For example valves do not close instantaneously even though many discrete mo dels assume so Furthermore by using discrete mo deling techniques some design constraints are lost in the pro cess of mo deling For the well known water level control discrete mo dels failed to detect the valve closing sp eed constraints whichwere easily detected using my prop osed approach eg On the other hand the continuation approach often found in control theory transforms the discrete state changes into continuous ones by using approximation techniques or integral transformations The result is a set of nonlinear dierential equations mo deling the hybrid system These dierential equations are then solved using sophisticated mathematical metho ds such as dierential inclusions As many of the real control functions are implemented on digital machines they contain discrete state changes the continuous mo dels do not mo del the real system In this pap er we presentasymb olic algebraic approachtohybrid systems which can b e seen as a mixture of the twoabove describ ed metho ds Wedevelop ed a metho d to dene and compute closed form expressions called solutions of a hybrid system A solution of a hybrid system is dened as a closed form algebraic expression which when evaluated interpreted as a function determines the value of each of the state variables as the system evolves in time This is accomplished by symb olically solving all dierential equations and then by deriving a recurrence relation which when solved gives the initial conditions for each mo de the system is in as time passes Tobe able to representthese piecewise and p erio dic functions as algebraic expressions wehave to extend basic algebraic structures to contain elements representing discrete switches and p erio dic functions The solutions of hybrid systems will often contain design parameters parameters that can be chosen in order to optimize the b ehavior of the system by minimizing or maximizing some costfunction as in control theory The solutions being symb olic expressions allow us to verify design constraints and to optimize design parameters Further in contrast to numerical solutions the symb olic solutions are exact they do not contain any rounding errors rounding errors could trigger an unwanted discrete state change The prop osed approach diers form the logic based approachwhich normally use xp oint computation in order to derive formulas which hold in each state the system is in Our approach allows to verify systems which do not convert xp oint computation metho ds cannot b e applied to such systems This pap er gives an intro duction the basic denitions algorithms and demonstrate the power of our metho ds with an example a water level control system It is not in the scop e of this pap er to give all technical details such as decidability and stabilityofhybrid systems Dierential Equations with Piecewise Continuous Co ecients Normally the denition of a solution of a dierential equation assumes that all co ecients of the dierential equation are continuous But as we mo del real systems esp ecially engineering systems containing a discrete control the dierential equation mo deling the b ehavior of the system can change in a discrete manner These discrete changes can in general b e triggered not only by conditions on time MohMoh but also by conditions on the solution itself The solutions of classical ordinary dierential equations are localmeaning that the behavior of the system is dened by the shap e of the vector eld at the point of interest Real systems can have a nite memory the vector eld given by the co ecients of the equations can change based on a nite number of events of the past eg hysteresis We could even stop the system in any state p ointoftime and then continue with some variables initial states changes in a discrete manner Even the order of some dierential equations could change as in the example given later in the pap er Hybrid systems can p erform actions expressed in terms of dierential equations New initial conditions can b e given triggered by some conditions on the state of the system The ab ove shows that in order to mo del hybrid systems we have to extend the notion of dierential equations to hybrid dierential equations For example y sig numy y y describ es a system an oscillator where the co ecientofy dep ends on the p osition of the system or y H y x where H x is a hysteresis function Dening and computing the solution of hybrid dierential equation is much more dicult than that of a continuous dierential equations The variety of p ossible b ehaviors is much larger The classical uniqueness theorems for initial value problems which requiter Lipschitz continuityof the equations Hybrid systems are not Lipschitz continuous We approachhybrid dierential equations by transforming them into semantically equivalenthaving the same solution hybrid automata Ahybrid automata splits the system into mo des where in each mo de the dierential equation is continuous and all discrete state changes are p erformed as the mo de is changed Hybrid Automata We study systems containing several continuous variables changing continuously or discrete in time A state of a system is given as each of the variables has a sp ecic value Clearly if we consider time as an integral comp onent of our systems the system will never b e two times in the same state The values of the variables of the systems can either change continuously in time or instantly discrete to new values The continuous changes of the variables are describ ed by dierential equations the discontinuous changes are describ ed by assignments We mo del such systems using hybrid automata which are automata consisting of a nite set of mo des and a nite set of transitions Eachmodecontains a system of dierential equations The transitions b etween the mo des are guarded with conditions and can contain assignments actions Formal a hybrid automata is given by A nite set of variables V fy g All variables dep end on time Wewritey t to denote the value i i of a variable y a time p oint t i A nite set of mo des S fs g i n The mo de s contains the system of m autonomous i i dierential equations y f y t j m Without loss of generalitywe assume that these are ij l l coupled rstorder systems Derivatives are always derivatives bythetime t Asetoftransitions T The transition t leads from mo de s to mo de s A transition t is a pair ij i j ij c a of ij ij Condition c c a b o olean expression which can contain predicates on the solution of the ij ij dierential y equation or in general any other discrete or analog variables i Actions a An action a is an assignmentto variables of V Actions are used to trigger ij ij events or to give new initial conditions to the dierential equations of the next mo de The unique initial transition t truea with an identical true condition and the action a i i i which initializes all variables of V Often a graphical representation of hybrid systems is given y:=2,y’:=2 y<0 y’’=-

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us