A hybrid system is a
dynamical system that exhibits both continuous and discrete dynamic behavior – a system that can both ''flow'' (described by a
differential equation) and ''jump'' (described by a
state machine
A finite-state machine (FSM) or finite-state automaton (FSA, plural: ''automata''), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number o ...
or
automaton). Often, the term "hybrid dynamical system" is used, to distinguish over hybrid systems such as those that combine
neural nets and
fuzzy logic
Fuzzy logic is a form of many-valued logic in which the truth value of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely ...
, or electrical and mechanical drivelines. A hybrid system has the benefit of encompassing a larger class of systems within its structure, allowing for more flexibility in modeling dynamic phenomena.
In general, the ''state'' of a hybrid system is defined by the values of the ''continuous variables'' and a discrete ''mode''. The state changes either continuously, according to a
flow
Flow may refer to:
Science and technology
* Fluid flow, the motion of a gas or liquid
* Flow (geomorphology), a type of mass wasting or slope movement in geomorphology
* Flow (mathematics), a group action of the real numbers on a set
* Flow (psych ...
condition, or discretely according to a ''control graph''. Continuous flow is permitted as long as so-called ''invariants'' hold, while discrete transitions can occur as soon as given ''jump conditions'' are satisfied. Discrete transitions may be associated with ''events''.
Examples
Hybrid systems have been used to model several cyber-physical systems, including
physical system
A physical system is a collection of physical objects.
In physics, it is a portion of the physical universe chosen for analysis. Everything outside the system is known as the environment. The environment is ignored except for its effects on the ...
s with ''impact'', logic-dynamic
controllers, and even
Internet congestion.
Bouncing ball
A canonical example of a hybrid system is the
bouncing ball
The physics of a bouncing ball concerns the physical behaviour of bouncing balls, particularly its motion before, during, and after impact against the surface of another body. Several aspects of a bouncing ball's behaviour serve as an introd ...
, a physical system with impact. Here, the ball (thought of as a point-mass) is dropped from an initial height and bounces off the ground, dissipating its energy with each bounce. The ball exhibits continuous dynamics between each bounce; however, as the ball impacts the ground, its velocity undergoes a discrete change modeled after an
inelastic collision
An inelastic collision, in contrast to an elastic collision, is a collision in which kinetic energy is not conserved due to the action of internal friction.
In collisions of macroscopic bodies, some kinetic energy is turned into vibrational energ ...
. A mathematical description of the bouncing ball follows. Let
be the height of the ball and
be the velocity of the ball. A hybrid system describing the ball is as follows:
When
, flow is governed by
,
where
is the acceleration due to gravity. These equations state that when the ball is above ground, it is being drawn to the ground by gravity.
When
, jumps are governed by
,
where
is a dissipation factor. This is saying that when the height of the ball is zero (it has impacted the ground), its velocity is reversed and decreased by a factor of
. Effectively, this describes the nature of the inelastic collision.
The bouncing ball is an especially interesting hybrid system, as it exhibits
Zeno behavior. Zeno behavior has a strict mathematical definition, but can be described informally as the system making an ''infinite'' number of jumps in a ''finite'' amount of time. In this example, each time the ball bounces it loses energy, making the subsequent jumps (impacts with the ground) closer and closer together in time.
It is noteworthy that the dynamical model is complete if and only if one adds the contact force between the ground and the ball. Indeed, without forces, one cannot properly define the bouncing ball and the model is, from a mechanical point of view, meaningless. The simplest contact model that represents the interactions between the ball and the ground, is the complementarity relation between the force and the distance (the gap) between the ball and the ground. This is written as
Such a contact model does not incorporate magnetic forces, nor gluing effects. When the complementarity relations are in, one can continue to integrate the system after the impacts have accumulated and vanished: the equilibrium of the system is well-defined as the static equilibrium of the ball on the ground, under the action of gravity compensated by the contact force
. One also notices from basic convex analysis that the complementarity relation can equivalently be rewritten as the inclusion into a normal cone, so that the bouncing ball dynamics is a differential inclusion into a normal cone to a convex set. See Chapters 1, 2 and 3 in Acary-Brogliato's book cited below (Springer LNACM 35, 2008). See also the other references on non-smooth mechanics.
Hybrid systems verification
There are approaches to automatically proving properties of hybrid systems (e.g., some of the tools mentioned below). Common techniques for proving safety of hybrid systems are computation of reachable sets,
abstraction refinement, and
barrier certificates.
Most verification tasks are undecidable, making general verification
algorithms impossible. Instead, the tools are analyzed for their capabilities on benchmark problems. A possible theoretical characterization of this is algorithms that succeed with hybrid systems verification in all robust cases implying that many problems for hybrid systems, while undecidable, are at least quasi-decidable.
[Stefan Ratschan: Safety verification of non-linear hybrid systems is quasi-decidable, Formal Methods in System Design, volume 44, pp. 71-90, 2014, ]
Other modeling approaches
Two basic hybrid system modeling approaches can be classified, an implicit and an explicit one. The explicit approach is often represented by a
hybrid automaton In automata theory, a hybrid automaton (plural: ''hybrid automata'' or ''hybrid automatons'') is a mathematical model for precisely describing hybrid systems, for instance systems in which digital computational processes interact with analog physica ...
,
hybrid programor a hybrid
Petri net. The implicit approach is often represented by guarded equations to result in systems of
differential algebraic equations (DAEs) where the active equations may change, for example by means of a
hybrid bond graph
A hybrid bond graph is a graphical description of a physical dynamic system
In mathematics, a dynamical system is a system in which a Function (mathematics), function describes the time dependence of a Point (geometry), point in an ambient s ...
.
As a unified simulation approach for hybrid system analysis, there is a method based on
DEVS formalism in which integrators for differential equations are quantized into atomic
DEVS models. These methods generate traces of system behaviors in discrete event system manner which are different from discrete time systems. Detailed of this approach can be found in references
ofman2004F2006
F, or f, is the sixth letter in the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''ef'' (pronounced ), and the plural is ''efs''.
Hist ...
utaro2010and the software tool
PowerDEVS.
Tools
Ariadne A C++ library for (numerically rigorous) reachability analysis of nonlinear hybrid systems
C2E2 Nonlinear hybrid system verifier
CORA A MATLAB Toolbox for reachability analysis of cyber-physical systems, including hybrid systems
Flow* A tool for reachability analysis of nonlinear hybrid systems
A Tool for Overapproximating Reachability of Hybrid Automata
A Hybrid System Solver for Matlab
HyPro A C++ library for state set representations for hybrid systems reachability analysis
HSolver Verification of Hybrid Systems
HyTech A Model Checker for Hybrid Systems
JuliaReach A Toolbox for Set-Based Reachability
A Hybrid Theorem Prover for Hybrid Systems
PHAVer Polyhedral Hybrid Automaton Verifier
*
PowerDEVS: A general-purpose software tool for DEVS modeling and simulation oriented to the simulation of hybrid systems
SCOTS A tool for the synthesis of correct-by-construction controllers for hybrid systems
SpaceEx State-Space Explorer
S-TaLiRo A MATLAB Toolbox for verification of Hybrid Systems with respect to Temporal Logic Specifications
See also
*
Hybrid automaton In automata theory, a hybrid automaton (plural: ''hybrid automata'' or ''hybrid automatons'') is a mathematical model for precisely describing hybrid systems, for instance systems in which digital computational processes interact with analog physica ...
*
Sliding mode control
*
Variable structure system
A variable structure system, or VSS, is a discontinuous nonlinear system of the form
:\dot = \varphi( \mathbf, t )
where \mathbf \triangleq _1, x_2, \ldots, x_n \in \mathbb^n is the state vector, t \in \mathbb is the time variable, and \varphi(\ma ...
*
Variable structure control
Variable structure control (VSC) is a form of discontinuous nonlinear control. The method alters the dynamics of a nonlinear system by application of a high-frequency ''switching control''. The state- feedback control law is ''not'' a continuou ...
*
Joint spectral radius In mathematics, the joint spectral radius is a generalization of the classical notion of spectral radius of a matrix, to sets of matrices. In recent years this notion has found applications in a large number of engineering fields and is still a topi ...
*
Cyber-physical system
*
Behavior trees (artificial intelligence, robotics and control) A behavior tree is a mathematical model of plan execution used in computer science, robotics, control systems and video games. They describe switchings between a finite set of tasks in a modular fashion. Their strength comes from their ability to c ...
*
Jump process (in the context of
probability), an example of a (stochastic) hybrid system with zero flow component
*
Piecewise-deterministic Markov process
In probability theory, a piecewise-deterministic Markov process (PDMP) is a process whose behaviour is governed by random jumps at points in time, but whose evolution is deterministically governed by an ordinary differential equation between those ...
(PDMP), an example of a (stochastic) hybrid system and a generalization of the jump process
*
Jump diffusion, an example of a (stochastic) hybrid system and a generalization of the PDMP
Further reading
*
*
*
*
*
ofman2004
*
F2006
F, or f, is the sixth letter in the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''ef'' (pronounced ), and the plural is ''efs''.
Hist ...
*
utaro2010
*
External links
IEEE CSS Committee on Hybrid Systems
References
{{Reflist
Systems theory
Differential equations
Dynamical systems
Control theory