• No results found

Automatic Control, Link ¨oping University, S-58183 Link ¨oping R

N/A
N/A
Protected

Academic year: 2021

Share "Automatic Control, Link ¨oping University, S-58183 Link ¨oping R"

Copied!
2
0
0

Loading.... (view fulltext now)

Full text

(1)

Verifying Temporal Properties in Discrete Event Systems

Roger Germundsson (

roger@isy.liu.se

)

Automatic Control, Link ¨oping University, S-58183 Link ¨oping R

EGLERMOTE

¨ ’94, V ¨

ASTERAS

˚ 1994/10/25-26

1 Introduction

By discrete processes we mean processes that have a discrete (usually finite) input, state and output do- main. These systems are ubiquous in man made en- vironments such as:

Macro level control of continuous systems, e.g.

shut down, start up and error recovery in larger plants such as ABB’s PFBC system.

In predominantly discrete systems, e.g. digital circuits, telecom and discrete control.

Since so many products and processes have signifi- cant discrete parts we would like to be able to manip- ulate these models. In particular this includes: mod- eling, analysis, design and implementation of such sys- tems. A significant obstacle when dealing with these systems is the complex nature these often exhibit, hence a theory that does not deal with the complex- ity issues are of little practical use. For much more on issues relating to these systems as well numerous references see [1].

This talk will feature a general modeling and anal- ysis technique and apply it to some industrial class processes – the JAS landing gear controller. It will be shown how one can model both the process (plant and controller) as well as the specification and then prove that the systems satisfy this specification. In particular this is a useful methodology for locating errors in specifications or systems as well as proving a systems correctness

1

.

1As opposed to simulating for potential correctness.

2 Models

As a first step we need to derive a mathematical model of the process. The models considered will be of the form

2

x +

=f(xu) y=g(xu)

where

x+

denotes next time and

f

and

g

are vectors of polynomials over finite fields. It is usually slightly inconvenient to directly specify a model in this al- gebraic format. Hence the model is usually derived from some model description language such as: fi- nite automata, Boolean difference equation or some of the domain specific languages Grafcet (IEC stan- dard), SDL (CCITT standard) or VHDL (IEEE stan- dard). These can then be translated into a suitable form. See [1] for more on these issues.

3 Specifications

A specification is basically a constraint on the al- lowed set of behaviors in a dynamic system. Some behaviors are undesirable, e.g. the system should never reach a dangerous state. Whereas some behav- iors are required, e.g. we should be able to perform some specific action. In the landing gear case, we do not want our controller to ever get in a mode where it gives commands to both extend and retract gears.

We also always want to be able to switch to an exten- sion maneuver whatever the previous action was.

2Actually we only need an implicit model of the form

R(zz +

)=0wherezare all the system variables, i.e.z=xuy]

in this example

1

(2)

Many of these properties can be conveniently be described in a temporal algebra

3

. The temporal al- gebra is a way of describing the dynamics of your system at a much lower resolution than the model.

See table 1 for some examples of simple specifica- tions. From a control theory developers point of view,

Specification Meaning

EGe]

For some future trajectory the property

e

will always be true.

EFe]

For some future trajectory the property

e

will eventually be true.

Table 1: Some example specifications.

the temporal algebra statements contain nothing that could not be formulated before using reachability type reasonings. However it is a formal language and allows you combine statements in a way that is fairly difficult in traditional control specifications.

From a control theory users point of view, tempo- ral algebra offers a straight forward way of translat- ing informal verbal specification into a formal alge- braic specification that then offers the use of exact symbolic/algebraic methods to prove system cor- rectness.

4 Verification

To verify a (discrete) system w.r.t. a temporal alge- bra specification means that we prove that the sys- tem has the desired behavior.

The actual computation needed to the proof con- sist of nested fixed point computations of ideal chains. This has been implemented in a prototype system by the author and seems to behave well on large systems. So far, systems with more than a hundred binary system variables have been success- fully verified. In particular this implies a potential state space of roughly

2100  1030

and the relation defining the system dynamics consists of polynomi- als with roughly

200

variables.

3Or temporal logic.

We have also completed part of an industrial strength application which consist of the landing gear controller of the JAS Gripen fighter aircraft.

5 Conclusion

We have presented a framework for dealing with the correctness of discrete dynamic system w.r.t. a tem- poral algebra specification. In order to do the veri- fication one needs a mathematical model of the pro- cess as well as the specification. The model is usu- ally derived from some modeling language that can be domain specific and the specification can usually be extracted from a verbal specification.

We have also provided some indications that this is an industrially viable method through a prototype implementation and some industrial strength case studies.

6 Acknowledgement

This work was supported by the Swedish Research Council for Engineering Sciences (TFR), which is gratefully acknowledged.

References

[1] R. Germundsson. Symbolic Algebraic Systems Theory. PhD thesis, Link ¨oping University, Automatic Control, Link ¨oping University, 1994.

Forthcoming thesis by author.

2

References

Related documents

Complementary/alternative medicine use in a comprehensive cancer center and the implications for oncology Journal of Clinical Oncology (28.349) Complementary therapies 2000 613

Materials at extreme conditions exhibit properties that differ substantially from ambient conditions. High pressure and high temperature expose anharmonic, non-linear behavior, and

In this picture MD i denotes a modeling domain, ID j denotes an implementation domain and PDS denotes polynomial dy- namical systems (over finite fields).... In figure 2 we receive

To explore the usefulness of symbolic and algebraic methods, we use polynomials over finite fields (see section 2) applied to DEDS with industrial sized complexity: The landing

Because of the limits of the computational resources a non optimised modelling of the boundary layer has been set up, and certainly absolute values of the

relevant theories that pertained to the problem we wanted to study. Many facets of the focus area have been increasingly difficult to acquire information about. We have read

Hjalmarsson, Studies on Design Automation of Analog Circuits—The Design Flow, Link¨ oping Studies in Science and Technology, Thesis No.. Carlsson, Studies on Asynchronous

The goal of the research presented in this dissertation is developing or adapting color separation models and halftoning algorithms that increase the perceived image quality