Mechanics, to Electronics, through Control An excursion into - - PDF document

mechanics to electronics through control an excursion
SMART_READER_LITE
LIVE PREVIEW

Mechanics, to Electronics, through Control An excursion into - - PDF document

HAL Id: inria-00569427 scientifjques de niveau recherche, publis ou non, Control. Fifty Years of Finite Freedom Mechanics. Colloquium organised in honor of Michel Jean on Vincent Acary. An excursion into Nonsmooth Dynamics: from Mechanics, to


slide-1
SLIDE 1

HAL Id: inria-00569427 https://hal.inria.fr/inria-00569427

Submitted on 25 Feb 2011 HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entifjc research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la difgusion de documents scientifjques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

An excursion into Nonsmooth Dynamics: from Mechanics, to Electronics, through Control

Vincent Acary To cite this version:

Vincent Acary. An excursion into Nonsmooth Dynamics: from Mechanics, to Electronics, through

  • Control. Fifty Years of Finite Freedom Mechanics. Colloquium organised in honor of Michel Jean on

the occasion of his seventieth birthday, Oct 2010, Marseille, France. ฀inria-00569427฀

slide-2
SLIDE 2

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

An excursion into Nonsmooth Dynamics: from Mechanics, to Electronics, through Control

Vincent Acary

INRIA Rhˆ

  • ne–Alpes, Grenoble.

vincent.acary@inrialpes.fr

Fifty Years of Finite Freedom Mechanics. On the occasion of Michel Jean’s 70th birthday Marseille, 25–27 October 2010

slide-3
SLIDE 3

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Contents

From Mechanics of divided materials to multi-body and robotic systems, History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme To control (Sliding mode control Theory) To electronics (Nonsmooth modeling of switched Electrical circuits)

slide-4
SLIDE 4

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

From the mechanics of divided Materials. . .

slide-5
SLIDE 5

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Stack of beads with perturbation

slide-6
SLIDE 6

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

slide-7
SLIDE 7

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

1 2 3 1 2 3

(a) FEM H8 meshing (b) Zoom on the window (c) Contact detection

slide-8
SLIDE 8

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Figure: von Mises stresses

slide-9
SLIDE 9

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Divided Materials and Masonry

1 2 3 1 2 3

MISES VALUE +2.07E+01 +1.67E+05 +3.34E+05 +5.01E+05 +6.68E+05 +8.35E+05 +1.00E+06 +1.17E+06 +1.34E+06 +1.50E+06 +1.67E+06 +1.84E+06 +2.00E+06 +2.17E+06

1 2 3 1 2 3

MISES VALUE +1.77E+04 +9.20E+04 +1.66E+05 +2.41E+05 +3.15E+05 +3.89E+05 +4.64E+05 +5.38E+05 +6.12E+05 +6.87E+05 +7.61E+05 +8.35E+05 +9.10E+05 +9.84E+05
slide-10
SLIDE 10

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

FEM models with contact, friction cohesion, etc...

D H D H

Joint work with Y. Monerie, IRSN.

slide-11
SLIDE 11

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

to the dynamics of Multibody and robotic systems . . .

slide-12
SLIDE 12

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Simulation of Circuit breakers (INRIA/Schneider Electric)

slide-13
SLIDE 13

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Bipedal Robot INRIA BIPOP

slide-14
SLIDE 14

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Towards controlled robotic systems on granular materials

slide-15
SLIDE 15

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

Simulation of the ExoMars Rover (INRIA/Trasys Space/ESA)

slide-16
SLIDE 16

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Mechanical systems with contact, impact and friction

They are all nonsmooth mechanical systems but they differ in

◮ the presence of perfect nonlinear joints, ◮ the presence of finite rotations, ◮ the presence of Control (sensors & actuators) ◮ the desired properties in design and development which influence the

numerical simulation and prototyping

slide-17
SLIDE 17

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Unilateral constraints as an inclusion

Definition (Perfect unilateral constraints on the smooth dynamics)

8 > > < > > : M(q) dv dt + F(t, q, v) = r −r ∈ NC(t)(q(t)) (1) where

◮ r = ∇qg(q, t) λ is the generalized reactions due to the constraints. ◮ Finite set of ν unilateral constraints on the generalized coordinates :

g(q, t) = [gα(q, t) 0, α ∈ {1 . . . ν}]T . (2)

◮ Admissible set C(t)

C(t) = {q ∈ M(t), gα(q, t) 0, α ∈ {1 . . . ν}} . (3)

◮ Normal Cone to C(t)

NC(t)(q(t)) = 8 > < > : y ∈ Rn | y = − X

α

λα∇gα(q, t), λα 0, λαgα(q, t) = 0 9 > = > ; (4)

slide-18
SLIDE 18

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Non Smooth Lagrangian Dynamics

Fundamental assumptions.

◮ The velocity v = ˙

q is of Bounded Variations (B.V) ➜ The equation are written in terms of a right continuous B.V. (R.C.B.V.) function, v+ such that v+ = ˙ q+ (5)

◮ q is related to this velocity by

q(t) = q(t0) + Z t

t0

v+(t) dt (6)

◮ The acceleration, ( ¨

q in the usual sense) is hence a differential measure dv associated with v such that dv(]a, b]) = Z

]a,b]

dv = v+(b) − v+(a) (7)

slide-19
SLIDE 19

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Non Smooth Lagrangian Dynamics

Definition (Non Smooth Lagrangian Dynamics)

8 > < > : M(q)dv + F(t, q, v+)dt = di v+ = ˙ q+ (8) where di is the reaction measure and dt is the Lebesgue measure.

Remarks

◮ The non smooth Dynamics contains the impact equations and the

smooth evolution in a single equation.

◮ The formulation allows one to take into account very complex

behaviors, especially, finite accumulation (Zeno-state).

◮ This formulation is sound from a mathematical Analysis point of view.

References

[Schatzman, 1973, 1978, Moreau, 1983, 1988]

slide-20
SLIDE 20

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Non Smooth Lagrangian Dynamics

Decomposition of measure

 dv = γ dt+ (v+ − v−) dν+ dvs di = f dt+ p dν+ dis (9) where

◮ γ = ¨

q is the acceleration defined in the usual sense.

◮ f is the Lebesgue measurable force, ◮ v+ − v− is the difference between the right continuous and the left

continuous functions associated with the B.V. function v = ˙ q,

◮ dν is a purely atomic measure concentrated at the time ti of

discontinuities of v, i.e. where (v+ − v−) = 0,i.e. dν = P

i δti

◮ p is the purely atomic impact percussions such that pdν = P

i piδti

◮ dvS and diS are singular measures with the respect to dt + dη.

slide-21
SLIDE 21

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Impact equations and Smooth Lagrangian dynamics

Substituting the decomposition of measures into the non smooth Lagrangian Dynamics, one obtains

Definition (Impact equations)

M(q)(v+ − v−)dν = pdν, (10)

  • r

M(q(ti))(v+(ti) − v−(ti)) = pi, (11)

Definition (Smooth Dynamics between impacts)

M(q)γdt + F(t, q, v)dt = fdt (12)

  • r

M(q)γ+ + F(t, q, v+) = f + [dt − a.e.] (13)

slide-22
SLIDE 22

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

The Moreau’s sweeping process of second order

Definition (Moreau [1983, 1988])

A key stone of this formulation is the inclusion in terms of velocity. Indeed, the inclusion (1) is “replaced” by the following inclusion 8 > > > > > < > > > > > : M(q)dv + F(t, q, v+)dt = di v+ = ˙ q+ −di ∈ NTC (q)(v+) (14)

Comments

This formulation provides a common framework for the non smooth dynamics containing inelastic impacts without decomposition. ➜ Foundation for the time–stepping approaches.

slide-23
SLIDE 23

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

The Moreau’s sweeping process of second order

Comments

◮ The inclusion concerns measures. Therefore, it is necessary to define

what is the inclusion of a measure into a cone.

◮ The inclusion in terms of velocity v+ rather than of the coordinates q.

Interpretation

◮ Inclusion of measure, −di ∈ K ◮ Case di = r ′dt = fdt.

−f ∈ K (15)

◮ Case di = piδi.

−pi ∈ K (16)

◮ Inclusion in terms of the velocity. Viability Lemma

If q(t0) ∈ C(t0), then v+ ∈ TC (q), t t0 ⇒ q(t) ∈ C(t), t t0 ➜ The unilateral constraints on q are satisfied. The equivalence needs at least an impact inelastic rule.

slide-24
SLIDE 24

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

The Moreau’s sweeping process of second order

The Newton-Moreau impact rule

− di ∈ NTC (q(t))(v+(t) + ev−(t)) (17) where e is a coefficient of restitution.

Velocity level formulation. Index reduction

−λ ∈ NR+(y)

  • −λ ∈ NTR+ ( ˙

y)

  • 0 y ⊥ λ 0
  • if y 0 then 0 ˙

y ⊥ λ 0 (18)

slide-25
SLIDE 25

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

State–of–the–art

Numerical time–integration methods for Nonsmooth Multibody systems (NSMBS):

Nonsmooth event capturing methods (Time–stepping methods)

robust, stable and proof of convergence low kinematic level for the constraints able to deal with finite accumulation very low order of accuracy even in free flight motions

Nonsmooth event tracking methods (Event–driven methods)

high level integration of free flight motions no proof of convergence sensibility to numerical thresholds reformulation of constraints at higher kinematic levels. unable to deal with finite accumulation

slide-26
SLIDE 26

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Objectives & means

Objectives

Design nonsmooth event capturing methods with

◮ same properties as standard methods (robustness, accumulation, . . . ) ◮ Higher resolution (ratio error/computational cost) ◮ Higher order of accuracy

Means

  • 1. Adaptive time–step size and order strategies for standard methods
  • 2. Mixed integrators with rough pre-detection of events
  • 3. Splitting strategies
  • 4. Ad hoc detection of discontinuity and order of discontinuity methods.
slide-27
SLIDE 27

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

NonSmooth Multibody Systems (NSMBS)

Academic examples

q m f (a) Bouncing ball example m q (b) Linear Oscillator example

Figure: Academic test examples with analytical solutions

slide-28
SLIDE 28

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

NonSmooth Multibody Systems (NSMBS)

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 0.5 1 1.5 2 2.5 3 3.5 4 time (s) Exact Solution. Bouncing Ball Example position velocity

Figure: Analytical solutions. Bouncing ball example]

slide-29
SLIDE 29

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

NonSmooth Multibody Systems (NSMBS)

  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 0.5 1 1.5 2 2.5 3 3.5 4 time (s) Exact Solution. Linear Oscillator Example position velocity

Figure: Analytical solutions. Linear Oscillator

slide-30
SLIDE 30

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Moreau–Jean’s Time stepping scheme [Moreau, 1988] and [Jean, 1999]

Principle of NSCD

8 > > > > > > > > > > > > > > > > < > > > > > > > > > > > > > > > > : M(qk+θ)(vk+1 − vk) − h˜ Fk+θ = G(qk+θ)Pk+1, (19a) qk+1 = qk + hvk+θ, (19b) Uk+1 = G T (qk+θ) vk+1 (19c) −Pk+1 ∈ NTI

Rm + (˜

yk+γ)(Uk+1 + eUk),

(19d) ˜ yk+γ = yk + hγUk, γ ∈ [0, 1]. (19e) with θ ∈ [0, 1], γ 0 and xk+α = (1 − α)xk+1 + αxk and ˜ yk+γ is a prediction of the constraints.

slide-31
SLIDE 31

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Schatzman’s Time stepping scheme [Paoli and Schatzman, 2002]

Principle

8 > > > > > > > > < > > > > > > > > : M(qk + 1)(qk+1 − 2qk + qk−1) − h2F(tk+θ, qk+θ, vk+θ) = pk+1, (20a) vk+1 = qk+1 − qk−1 2h , (20b) −pk+1 ∈ NK „qk+1 + eqk−1 1 + e « , (20c) where NK defined the normal cone to K. For K = {q ∈ I Rn, y = g(q) 0} 0 g „ qk+1 + eqk−1 1 + e « ⊥ ∇g „ qk+1 + eqk−1 1 + e « Pk+1 0 (21)

slide-32
SLIDE 32

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Comparison

Shared mathematical properties

◮ Convergence results for one constraints ◮ Convergence results for multiple constraints problems with acute

kinetic angles

◮ No theoretical proof of order

Mechanical properties

◮ Position vs. velocity constraints ◮ Respect of the impact in one step (Moreau–Jean) vs.

Two-steps(Schatzman)

◮ Linearized constraints rather than nonlinear.

slide-33
SLIDE 33

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Empirical order of convergence. Moreau–Jean’s time–stepping scheme

0.0001 0.001 0.01 0.1 1 10 0.0001 0.001 0.01 0.1 Relative error (log scale) Time step (log scale) Hausdorff distance Uniform norm L2 norm L1 norm

(a) The bouncing ball example

Figure: Empirical order of convergence of the Moreau–Jean’s time-stepping scheme.

slide-34
SLIDE 34

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Empirical order of convergence. Moreau–Jean’s time–stepping scheme

0.001 0.01 0.1 1 10 0.0001 0.001 0.01 0.1 Relative error (log scale) Time step (log scale) Hausdorff distance Uniform norm L2 norm L1 norm

(a) The linear oscillator example

Figure: Empirical order of convergence of the Moreau–Jean’s time-stepping scheme.

slide-35
SLIDE 35

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Empirical order of convergence. Schatzman–Paoli’s time–stepping scheme

0.0001 0.001 0.01 0.1 1 10 0.0001 0.001 0.01 0.1 Relative error (log scale) Time step (log scale) Hausdorff distance Uniform norm L2 norm L1 norm

(a) The bouncing ball example

Figure: Empirical order of convergence of the Schatzman-Paoli’s time-stepping scheme.

slide-36
SLIDE 36

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Empirical order of convergence. Schatzman–Paoli’s time–stepping scheme

0.001 0.01 0.1 1 10 0.0001 0.001 0.01 0.1 Relative error (log scale) Time step (log scale) Hausdorff distance Uniform norm L2 norm L1 norm

(a) The linear oscillator example

Figure: Empirical order of convergence of the Schatzman-Paoli’s time-stepping scheme.

slide-37
SLIDE 37

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Local error estimates for the Moreau-Jean’s time–stepping

Assumption 1 : Existence and uniqueness

A unique global solution over [0, T] for Moreau’s sweeping process is assumed such that q(

) is absolutely continuous and admits a right

velocity v+(

) at every instant t of [0, T] and such that the function

v+ ∈ LBV ([0, T], Rn). ➜ Assumption 1 is ensured in the framework introduced by Ballard [Ballard, 2000] who proves the existence and uniqueness of a solution in a general framework mainly based on the analyticity of data.

Assumption 2 : Smoothness of data

The following smoothness on the data will be assumed: a) the inertia

  • perator M(q) is assumed to be of class Cp and definite positive, b) the

force mapping F(t, q, v) is assumed to be of class Cp, c) the constraint functions g(q) are assumed to be of class Cp+1 and d) the Jacobian matrix G(q) = ∇T

q g(q) is assumed to have full-row rank.

slide-38
SLIDE 38

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Local error estimates for the Moreau-Jean’s time–stepping

Lemma

Let I = [tk, tk+1]. Let us assume that the function f ∈ BV (I, Rn). Then we have the following inequality for the θ–method, θ ∈ [0, 1], ‚ ‚ ‚ ‚ ‚ Z tk+1

tk

f (s) ds − h(θf (tk+1) + (1 − θ)f (tk)) ‚ ‚ ‚ ‚ ‚ C(θ)(tk+1 − tk) var(f , I), (22) where var(f , I) ∈ R is the variation of f on I and C(θ) = θ if θ 1/2 and C(θ) = 1 − θ otherwise. Furthermore, the value of C(θ) yields a sharp bound in (22).

slide-39
SLIDE 39

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Local error estimates for the Moreau-Jean’s time–stepping

Proposition

Under Assumptions 1 and 2, the local order of consistency of the Moreau-Jean time–stepping scheme for the generalized coordinates is eq = qk+1 − q(t + h) = O(h) and at least for the velocities ev = v+(tk + h) − vk+1 = O(1) .

Comments

The bounds are reached if an impact is located within the time–step and the activation of the constraint is not correct.

slide-40
SLIDE 40

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Higher Order Time–stepping schemes

Background

Work of Mannshardt [1978] on time–integration schemes of any order for ODE/DAEs with discontinuities (with tranversality assumption)

Principle

◮ Let us assume only one event per time–step at instants t∗. ◮ Choose any ODE/DAE solvers of order p ◮ Perform a rough location of the event inside the time step of length h

Find an interval [ta, tb] such that t∗ ∈ [ta, tb] and |tb − ta| = Chp+1 + O(hp+2) (23) Dichotomy, Newton, Local Interpolants, Dense output,. . .

◮ Perform an integration on [tk, ta] with the ODE solver of order p ◮ Perform an integration on [ta, tb] with Moreau’s time–stepping

scheme

◮ Perform an integration on [tb, tk+1] with the ODE solver of order p

slide-41
SLIDE 41

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Integration of the smooth dynamics

Mainly for the sake of simplicity, the numerical integration over a smooth period is made with a Runge–Kutta (RK) method on the following index-1 DAE, 8 > < > : M(q(t)) ˙ v(t) = F(t, q(t), v(t)) + G(q)λ(t), ˙ q(t) = v(t), γ(t) = G(q(t)) ˙ v(t) = 0. (24) In practice, the time–integration is performed for the following system 8 > < > : M(q(t)) ˙ v(t) = F(t, q(t), v(t)) + G(q)λ(t), ˙ q(t) = v(t), 0 γ(t) = G(q(t)) ˙ v(t) ⊥ λ(t) 0 (25)

  • n the time–interval I where the index set I(t) of active constraints is

assumed to be constant on I and λ(t) > 0 for all t ∈ I.

slide-42
SLIDE 42

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Integration of the smooth dynamics

Using the standard notation for the RK methods (see Hairer et al. [1993] for details), the complementarity problem that we have to solve at each time–step reads 8 > > > > > > > > > > < > > > > > > > > > > : tki = tk + cih, vk+1 = vk + h Ps

i=1 biV ′ ki,

qk+1 = qk + h Ps

i=1 biVki,

V ′

ki = M−1(Qki) [F(tki, Qki, Vki) + G(Qki)λki] ,

Vki = vk + h Ps

j=1 aijV ′ nj,

Qki = qk + h Ps

j=1 aijVnj,

0 γki = G(Qki)V ′

ki ⊥ λki 0.

(26)

slide-43
SLIDE 43

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Assumption 3

Let I a smooth period time–interval. We assume that

  • 1. the local order of the RK method (26) is p that is

eq = ev = O(hp+1) (27)

  • 2. starting from inconsistent initial value ˜

qk such that ˜ qk − qk = O(hp+1), the error made by the RK method (26) is ˜ qk+1 − qk+1 = O(hp+1) (28)

slide-44
SLIDE 44

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Theorem

Let us assume that Assumptions 1, 2 and 3 hold. The local error of consistency of the scheme is of order p in the generalized coordinates that is eq = O(hp+1). (29)

slide-45
SLIDE 45

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Results on the linear oscillator

1e-16 1e-14 1e-12 1e-10 1e-08 1e-06 0.0001 0.01 1 0.0001 0.001 0.01 0.1 error (log scale) time step (log scale) (Moreau) (Moreau RADAU IIA 3) (Moreau RADAU IIA 5) (Moreau Lobatto IIIA 2) (Moreau Lobatto IIIA 4) (Moreau Lobatto IIIA 6)

(a) The linear oscillator example with implicit Runge Kutta Method

Figure: Precision Work diagram for the Moreau’s time-stepping scheme coupled with Runge–Kutta method.

slide-46
SLIDE 46

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Higher Order Time–stepping schemes

Finite accumulation

◮ Repeat the whole process on the remaining part of the interval [tb, tk] ◮ By induction, repeat this process up to the end of the original time

step.

slide-47
SLIDE 47

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . History and Motivations The smooth multibody dynamics The Non smooth Lagrangian Dynamics The Moreau’s sweeping process State–of–the–art Objectives & means Academic examples. Background Local error estimates for the Moreau’s Time–stepping scheme Any Order scheme to Control,. . . To Electronics. References

Results on the Bouncing Ball

1e-16 1e-14 1e-12 1e-10 1e-08 1e-06 0.0001 0.01 1 0.0001 0.001 0.01 0.1 error (log scale) time step (log scale) (Moreau) (Moreau RADAU IIA 3) (Moreau RADAU IIA 5) (Moreau Lobatto IIIA 2) (Moreau Lobatto IIIA 4) (Moreau Lobatto IIIA 6)

(a) The Bouncing Ball example with implicit Runge Kutta Method

Figure: Precision Work diagram for the Moreau’s time-stepping scheme.

slide-48
SLIDE 48

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Contents

From Mechanics of divided materials to multi-body and robotic systems, To control (Sliding mode control Theory) Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To electronics (Nonsmooth modeling of switched Electrical circuits)

slide-49
SLIDE 49

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Sliding Mode Control for dummies

Basic principles on a naive example

Problem: Stabilization of this simple dynamics  x(t0) = x0 ∈ R ˙ x = f , |f | 1, (30) at the origin x = 0. Naive solution:  x(t0) = x0 ∈ R ˙ x = f + u, |f | < 1, (31)

◮ “Push on right” if the state is at the right of 0

u = −1 if x > 0 (32)

◮ “Push on right” if the state is at the left of 0

u = +1 if x > 0 (33)

◮ “balance the external load” in 0

u = −f if x = 0 (34)

slide-50
SLIDE 50

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Sliding Mode Control for dummies

Basic principles on a naive example

◮ Switched control based on the sign function

u = −sign(x) = 8 > < > : −1 for x > 0 +1 for x < 0 ? for x = 0 (35) Definition of u at x = 0 ?

◮ Discontinuous ODEs

˙ x = f − sign(x) (36) Notion of solutions ?

Mathematical framework

◮ Multivalued maximal monotone operator

u = −sgn(x) = 8 > < > : −1 for x > 0 +1 for x < 0 [−1, 1] for x = 0 (37)

◮ Filippov’s differential inclusions

slide-51
SLIDE 51

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

In the continuous setting

◮ Robust control w.r.t external uncertainties ◮ Finite time convergence to target

➜ SMC is the most widely used non linear control in industrial practice.

In the discrete setting

Digital implementation of SMC suffers from “chattering” due to explicit approximation xk+1 − xk = f − sgn(xk) (38) This causes

◮ Wear and damage in actuators ◮ Need for complex filtering systems which entails the good properties

  • f continuous SMC.
slide-52
SLIDE 52

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

  • 0.2

0.2 0.4 0.6 0.8 1 2 4 6 8 10 x x1

t (a) h = 0.2

Figure: A simple example for x0 = 1.01 at t0 = 0.

slide-53
SLIDE 53

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Implicit Implementation of SMC

Our background

◮ Nonsmooth modelling of Friction ◮ Well–posedness analysis of Monotone Differential Inclusions ◮ Implicit numerical time integration for DI.

Objectives

◮ Study the implicit Euler discretization of a class of differential

inclusions with sliding surfaces (⊂ Filippov’s systems)

◮ Show that this numerical method permits a smooth stabilization on

the sliding surface, in a finite number of steps

◮ Show how this may be used in real-time implementations of sliding

mode control

slide-54
SLIDE 54

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

To start with we consider the simplest case: ˙ x(t) ∈ −sgn(x(t)) = 8 < : 1 if x(t) < 0 −1 if x(t) > 0 [-1,1] if x(t) = 0 , x(0) = x0 (39) with x(t) ∈ R. This system possesses a unique Lipschitz continuous solution for any x0. The backward Euler discretization of (39) reads as: 8 < : xk+1 − xk = −hsk+1 sk+1 ∈ sgn(xk+1) (40)

slide-55
SLIDE 55

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

As is known the explicit Euler discretization of such discontinuous systems yields spurious oscillations around the switching surface [Galias et al, IEEE TAC and CAS 2006, 2007, 2008]. this means that the derivative of the switching function while sliding

  • ccurs, is very badly estimated.

Both the explicit and the implicit methods converge (the approximated solution xN(

) tends to the Filippov’s solution as h → 0).

However or the backward Euler method the following holds:

Lemma

For all h > 0 and x0 ∈ R, there exists k0 such that xk0+n = 0 and xk0+n+1 − xk0+n h = 0 for all n 1.

slide-56
SLIDE 56

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

On this simple case this has the following graphical interpretation, as the intersection of two graphs:

xi −h h xk xk+1 xk+2 xk−1 si

Figure: Iterations of the backward Euler method.

slide-57
SLIDE 57

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

An interesting property is that the smooth stabilization and the finite-time convergence on the switching surface, hold (more or less) independently of the step h > 0:

  • 1
  • 0.5

0.5 1 0.5 1 1.5 2

t

x(t) −s(t)

(a) h = 0.2

Figure: A simple example for x0 = 1.01 at t0 = 0.

slide-58
SLIDE 58

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

  • 1
  • 0.5

0.5 1 0.5 1 1.5 2

t

x(t) −s(t)

(a) h = 0.02

Figure: A simple example for x0 = 1.01 at t0 = 0.

slide-59
SLIDE 59

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

  • 1
  • 0.5

0.5 1 0.5 1 1.5 2

t

x(t) −s(t)

(a) h = 0.01

Figure: A simple example for x0 = 1.01 at t0 = 0.

slide-60
SLIDE 60

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

General Extensions

We shall focus on inclusions of the form: 8 < : ˙ x(t) ∈ f (t, x(t)) − B Sgn(Cx(t) + D), a.e. on (0, T) x(0) = x0 (41) with B ∈ Rn×m Sgn(Cx(t) + D) ∆ = (sgn(C1x + D1), ..., sgn(Cmx + Dm))T ∈ Rm, where sgn(

) is multivalued at 0.
slide-61
SLIDE 61

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Well-posedness of the differential inclusions (41)

Proposition

Consider the differential inclusion in (41). Suppose that

◮ There exists L 0 such that for all t ∈ [0, T], for all x1, x2 ∈ Rn, one has

||f (t, x1) − f (t, x2)|| L||x1 − x2||.

◮ There exists a function Φ(

) such that for all R 0:

Φ(R) = sup  ∂f ∂t (

, v) L2((0,T);Rn) | v L2((0,T);Rn) R

ff < +∞.

If there exists an n × n matrix P = PT > 0 such that PB•i = C T

i•

(42) for all 1 i m, then for any initial data the differential inclusion (41) has a unique solution x : (0, T) → Rn that is Lipschitz continuous.

Sketch of the proof

◮ Change of state variables z = Rx where R = RT > 0 and R2 = P. ◮ Use a result in [Bastien-Schatzman ESAIM M2AN 2002] to conclude.

slide-62
SLIDE 62

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References ◮ The existence of a positive definite P such that PB = C T is satisfied

in many instances of sliding-mode control: observer-based sliding-mode control, Lyapunov-based discontinuous robust control.

◮ This is an “input-output” constraint on the system, constraining the

relative degree of the triple (A, B, C).

◮ It is satisfied when (A, B, C) is positive real (dissipative).

slide-63
SLIDE 63

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Time-discretization of (41) The differential inclusion in (41) is therefore discretized as follows: ( xk+1 − xk h ∈ f (tk, xk) − BSgn(Cxk+1 + D), a.e. on (0, T) x(0) = x0 (43) From [Bastien-Schatzman ESAIM M2AN 2002] we have that:

Proposition

Under Proposition 2 conditions, there exists η such that for all h > 0 one has For all t ∈ [0, T], ||x(t) − xN(t)|| η √ h (44) Moreover limh→0+ maxt∈[0,T] ||x(t) − xN(t)||2 + R t

0 ||x(s) − xN(s)||2ds = 0.

slide-64
SLIDE 64

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

However we have more: the discrete state reaches the sliding surface (when it exists) in a finite number of steps, and stabilizes on it in a smooth way. Let y(t) ∆ = Cx(t) + D.

Lemma

Let us assume that a sliding mode occurs for the index α ⊂ {1 . . . m}, that is yα(t) = 0, t > t∗. Let C and B be such that (42) holds and Cα•B•α > 0. Then there exists hc > 0 such that ∀h < hc, there exists k0 ∈ I N such that yk0+n = Cxk0+n+1 + D = 0 for all integers n 1.

Such algorithms are similar to proximal algorithms which possess finite-time stabilization properties [Baji and Cabot, Set-Valued Analysis 2006].

slide-65
SLIDE 65

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Remarks

◮ Contrarily to other methods that reduce (not suppress...) chattering,

the discrete-time sliding surface is equal to the continuous-time sliding surface.

◮ At each step one has to solve a generalized equation with unknown

xk+1 that takes the form of a mixed linear complementarity system (MLCP).

◮ Specific MLCP solvers are needed to implement the method.

slide-66
SLIDE 66

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Numerical experiments

Let us consider the following two examples: ˙ x = » 0 1 −c1 – x − » 0 α – sgn( ˆ c1 1 ˜ x). (45) (codimension one sliding surface) B = » 1 2 2 −1 – , C = » 1 2 2 −1 – , D = 0, f (x(t), t) = 0 (46) (codimension two sliding surface)

slide-67
SLIDE 67

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Numerical experiments

  • 1
  • 0.5

0.5 1 1.5 2 2.5

  • 0.1

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

x1(t) x2(t)

(a) h = 0.3. Explicit Euler

  • 1
  • 0.5

0.5 1 1.5 2 2.5

  • 0.2

0.2 0.4 0.6 0.8 1

x1(t) x2(t)

(b) h = 0.1. Explicit Euler

Figure: Equivalent control based SMC, c1 = 1, α = 1 and x0 = [0, 2.21]T . State x1(t) versus x2(t).

slide-68
SLIDE 68

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Numerical experiments

  • 1
  • 0.5

0.5 1 1.5 2 2.5 0.1 0.2 0.3 0.4 0.5 0.6 0.7

x1(t) x2(t)

(a) h = 1. Implicit Euler

  • 1
  • 0.5

0.5 1 1.5 2 2.5 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

x1(t) x2(t)

(b) h = 0.3. Implicit Euler

Figure: Equivalent control based SMC, c1 = 1, α = 1 and x0 = [0, 2.21]T . State x1(t) versus x2(t).

slide-69
SLIDE 69

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Numerical experiments

  • 1
  • 0.5

0.5 1 1.5 2 2.5 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

x1(t) x2(t)

(a) h = 0.1. Implicit Euler

  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 2.5 0.2 0.4 0.6 0.8 1 1.2

x1(t) x2(t)

(b) h = 0.05. Implicit Euler

Figure: Equivalent control based SMC, c1 = 1, α = 1 and x0 = [0, 2.21]T . State x1(t) versus x2(t).

slide-70
SLIDE 70

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Numerical experiments

  • 1
  • 0.5
0.5 1 0.5 1 1.5 2 time t x1(t) x2(t) state x1(t) and x2(t)

(a) state x1(t) and x2(t) versus time

  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2
0.2 0.4 0.6 0.8 1 x1(t) x2(t) x

(b) phase portrait x2(t) versus x1(t)

  • 1
  • 0.5
0.5 1 0.5 1 1.5 2 time t s1(t) s2(t) s values state

(c) sgn function s1(t) and s2(t)

Figure: Multiple Sliding surface. h = 0.02, x(0) = [1.0, −1.0]T The system reaches firstly the sliding surface 2x2 + x1 = 0 without any chattering, The system then slides on the surface up to reaching the second sliding surface 2x1 − x2 = 0 and comes to rest at the origin.

slide-71
SLIDE 71

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

The Filippov’s example with switches accumulation B = » 1 −2 2 1 – , C = » 1 1 – , D = 0, f (x(t), t) = 0. (47) The trajectories may slide on the codimension 2 surface given by Cx = 0. The origin is attained after an infinite number of switches in finite time.

slide-72
SLIDE 72

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

  • 1.5
  • 1
  • 0.5
0.5 1 0.5 1 1.5 2 time t x1(t) x2(t) state

(a)

state x1(t) and x2(t) versus time

  • 1.4
  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2
0.2
  • 0.6
  • 0.4
  • 0.2
0.2 0.4 0.6 0.8 1 x1(t) x2(t)

(b) phase portrait x2(t) ver-

sus x1(t)

  • 1
  • 0.5
0.5 1 0.5 1 1.5 2 s values time t s1(t) s2(t)

(c) sgn function s1(t) and

s2(t)

Figure: Multiple Sliding surface. Filippov Example. h = 0.002, x(0) = [1.0, −1.0]T

The results show that the system reaches the origin without any chattering.

slide-73
SLIDE 73

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . Sliding mode control Implicit Implementation of SMC General extensions Numerical experiments. Conclusions To Electronics. References

Conclusions

The implicit Euler method allows one to nicely simulate the main features

  • f sliding-mode systems:

◮ Finite-time stabilization on the switching surface (of codimension

1)

◮ Smooth stabilization on the switching surface

It extends to the discrete-time implementation with ZOH discretization: looks like a promising solution for discrete-time sliding modes.

slide-74
SLIDE 74

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Contents

From Mechanics of divided materials to multi-body and robotic systems, To control (Sliding mode control Theory) To electronics (Nonsmooth modeling of switched Electrical circuits)

slide-75
SLIDE 75

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The RLC circuit with a diode

Example

A LC oscillator supplying a load resistor through a half-wave rectifier (see figure 14).

iR R C iD vD vR vL iL L vC iC v2 v1

Figure: Electrical oscillator with half-wave rectifier

slide-76
SLIDE 76

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The RLC circuit with a diode

Example

  • 3
  • 2
  • 1

1 2 3 4 5 6 7 1 2 3 4 5 (1) (2)

(a) state versus time vL and iL

0.5 1 1.5 2 2.5 3 1 2 3 4 5 (1)

(b) Diode current iD

  • 5

5 10 15 20 25 30 35 40 1 2 3 4 5 (1)

(c) Diode voltage vD

slide-77
SLIDE 77

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The RLC circuit with a diode

Example

◮ Kirchhoff laws :

vL = vC vR + vD = vC iC + iL + iR = 0 iR = iD

◮ Branch constitutive equations for linear devices are :

iC = C ˙ vC vL = L˙ iL vR = RiR

◮ ”branch constitutive equation” of the diode

0 ∈ F(iD, VD)

slide-78
SLIDE 78

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The RLC circuit with a diode

Example

The following dynamical system is obtained : „ ˙ vL ˙ iL « = „ 0

−1 C 1 L

«

  • „ vL

iL « + „

−1 C

«

iD

vD = vL − RiD 0 ∈ F(vD, iD) with the state variable x ∆ = „ vL iL « and λ ∆ = iD, y ∆ = vD, we get 8 > < > : ˙ x = Ax + Bλ, x ∈ I Rn, λ ∈ I Rm y = Cx + Dλ 0 ∈ F(y, λ) (48)

slide-79
SLIDE 79

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Diode behavior

A modeling choice

smooth modeling nonsmooth modeling

i(t) v(t)

(a)

(b)

i(t) v(t) −b −a

i(t) = is exp(− v(t)

α − 1)

0 i(t) + b ⊥ v(t) + a 0

Figure: Two models of diodes.

slide-80
SLIDE 80

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Diode behavior

Why a nonsmooth modeling ?

◮ To avoid stiff nonlinear models by using ideal constraints. ◮ To model the ideal behavior of switched components without articifial

regularization

slide-81
SLIDE 81

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The diode–bridge rectifier

IDF2 L C R 1 2 3 IC VC IL VR VL IR IDR1 IDF1 IDR2

Figure: The Diode-bridge rectifier

slide-82
SLIDE 82

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The diode–bridge rectifier

  • 10
  • 8
  • 6
  • 4
  • 2

2 4 6 8 10 V capacitor voltage 0.001 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.01 0.001 0.002 0.003 0.004 0.005 0.006 A time in s resistor current

Figure: The Diode-bridge rectifier. Standard results

slide-83
SLIDE 83

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

The diode–bridge rectifier

Differential systems

The dynamical equations are formulated as 8 > < > : ˙ x = Ax + Bλ, x ∈ I Rn, λ ∈ I Rm y = Cx + Dλ 0 y ⊥ λ 0 (49) choosing : x = » VL IL – , and y = 2 6 6 4 IDR1 IDF2 V2 − V1 V1 − V3 3 7 7 5 , λ = 2 6 6 4 V2 −V3 IDF1 IDR2 3 7 7 5 , (50) and with A = » −1/C 1/L – , B = » 0 −1/C 1/C – C = 2 6 6 4 −1 1 3 7 7 5 , D = 2 6 6 4 1/R 1/R −1 1/R 1/R −1 1 1 3 7 7 5 (51)

slide-84
SLIDE 84

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

A typical example of nonsmooth systems

Linear Complementarity Systems (LCS)

8 > < > : ˙ x = Ax + Bλ, x ∈ I Rn, λ ∈ I Rm y = Cx + Dλ 0 y ⊥ λ 0 (52) with A ∈ I Rn×n, B ∈ I Rn×m C ∈ I Rm×n, D ∈ I Rm×m, for m constraints. λ y

Piecewise linear systems

λ y 1 −1 λ y 1 −1 λ y 1 −1 Saturation Relay Relay with dead zone

slide-85
SLIDE 85

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

A slightly more general class of nonsmooth systems

Differential inclusion into normal cones

8 > < > : ˙ x = Ax + Bλ, x ∈ I Rn, λ ∈ I Rm y = Cx + Dλ −y ∈ NK (λ) (53) where K is a convex set and NK (λ) stands for the normal cone to K taken at λ

Usual examples for K

◮ K = Rm, then we obtain linear time invariant DAE

− y ∈ NRm(λ) ⇐ ⇒ y = 0, λ ∈ Rm (54)

◮ K = Rm

+, then we obtain Linear Complementarity Systems (LCS)

− y ∈ NRm

+(λ) ⇐

⇒ 0 y ⊥ λ 0 (55)

◮ K = [−1, 1]m, then we obtain linear relay systems ( related to

Filippov’s DI and sliding mode control). − y ∈ N[−1,1]m(λ) ⇐ ⇒ λ ∈ sgn(y) (56)

slide-86
SLIDE 86

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Objectives

Our background

◮ Nonsmooth modeling of unilateral constraints and friction ◮ Nonsmooth analysis of dynamics with jumps.

Our Objectives

◮ Understand what can be the nature of the solutions (uniqueness,

smoothness).

◮ How perform the numerical time–integration ? ◮ Open issues for the time–integration of large dynamical systems

arising in electrical network applications.

slide-87
SLIDE 87

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Some results

Nature of solutions for K ∈ Rm

+

The nature of solutions depends on

◮ the relative degree (index) between y and λ ◮ the possible consistency of the solution

The main types of solutions are

◮ C1 solutions when λ is a lipschitz function of x (relative degree 0) ◮ absolutely continuous solutions (relative degree 1) ◮ solutions of Bounded Variations (relative degree 2)

slide-88
SLIDE 88

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Some results

Numerical time–integration methods

The time integration methods depends on the solution

◮ C1 solutions : Standard DAE integrators of low order ◮ absolutely continuous solutions : Implicit first order scheme ◮ solutions of Bounded Variations : Moreau’s catching up algorithm

slide-89
SLIDE 89

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Some results

Industrial circuits and automatic circuit equations formulation

◮ Adaptation of the standard Modified Nodal Analysis (MNA)

to the nonsmooth elements to obtain Problem (DGE) M(X, t) ˙ X = D(X, t) + U(t) + R ] Differential Algebraic Equations y = G(X, λ, t) R = H(X, λ, t) – Input/output relations

  • n nonsmooth components

0 ∈ F(y, λ, t) + T(y, λ, t) ] Generalized equation X = [V , IL, IV, INS]T ] Variable definition (57) ➜ Difficulties to discuss the nature of solution and then to adapt the time numerical method ➜ In electrical circuits, the main difficulty is induced by the topology of the circuit rather than the inherent non–linearity of the components.

slide-90
SLIDE 90

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Applications to industrial electrical networks

comparator ampli +

+ −

R12 R11 C11 L Rp R21 C21 C Vcomp Vramp(t) Verror(t) Vref (t) VI IL pMOS DpMOS nMOS DnMOS Voutput Rload Cp

Figure: Buck converter.

slide-91
SLIDE 91

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Applications to industrial electrical networks

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 50 100 150 200 V time µs Vload

(a) Vload

  • 0.7
  • 0.6
  • 0.5
  • 0.4
  • 0.3
  • 0.2
  • 0.1

0.1 50 100 150 200 A time µs IL

(b) IL

  • 1
  • 0.5

0.5 1 1.5 2 2.5 3 3.5 196 196.5 197 197.5 198 198.5 199 V time µs pMOS drain potential

(c) pMOS drain potential

  • 0.5

0.5 1 1.5 2 2.5 196 196.5 197 197.5 198 198.5 199 V time µs Verror Vramp

(d) Vramp and Verror

Figure: Siconos buck converter simulation using standard parameters.

slide-92
SLIDE 92

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Applications to industrial electrical networks

  • 1

1 2 3 4 196 196.5 197 197.5 198 198.5 199 V time µs Vcomp Vdrain

(a) Vcomp and Vdrain

  • 0.5

0.5 1 1.5 2 2.5 196 196.5 197 197.5 198 198.5 199 V time µs Verror Vramp

(b) Vramp and Verror

Figure: Siconos buck converter simulation using sliding mode parameters.

slide-93
SLIDE 93

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

OPA OPA −1 +1 −1 +1 −1 +1 −1 +1 inv2 q1 q q1b inv1 inv3 h2b h2 h2 C10 C13 C14 C11 Cint11 Cint10 h1 h2 spg1 h1 h2 h1 q1 q1b h1 h1 h2 h2 q1b q1 h1 s101 s121 s102 s112 s103 s104 s106 s107 s108 s105 s115 s118 h2 h2 h2 q1b q1 h2 h2 Cint20 Cint21 C24 C21 C23 C20 Ccpp h1 h1 h1 h1 Ccpm s211 s212 s201 s202 s213 h1 s206 s207 s208 h1 s214 s216 s217 s218 s214 s113 s114 s116 s117 s204 h2 s203 h1 q1b h1 q1 h2 sng2

Figure: Delta-Sigma converter.

slide-94
SLIDE 94

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

−2.0 −1.0 0.0 1.0 2.0 3.0 −3.0 −2.0 −1.0 0.0 1.0 2.0 3.0 −10.0 −5.0 0.0 5.0 10.0 −4.0 −2.0 0.0 2.0 4.0

basc output

50 100 150 200 250 300 350 400 Voltage (V)

Time (µs)

V (PG1, NG1) V (SP1, SN1) V (SP2, SN2)

Figure: siconos simulation.

slide-95
SLIDE 95

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Open issues

For more general formulations and more complex systems, are we able to infer the nature of the solutions? That is to say,

◮ Define and predict an equivalent notion to index and relative degree

for instance, for a matrix D semi-definite positive.

◮ Given passive components, are we able to forecast the nature of the

solutions from some topological considerations ? (as for the DAE case.)

◮ Adapt the time–stepping schemes in an hierarchical way in taking

into account the ”index” of each variable.

slide-96
SLIDE 96

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

and towards

◮ Dynamics of gene regulatory networks (cell physiology) ◮ . . .

slide-97
SLIDE 97

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

Thank you for your attention. Happy Birthday Michel and thank you again

slide-98
SLIDE 98

An excursion into Nonsmooth Dynamics Vincent Acary From Mechanics. . . to Control,. . . To Electronics. References

  • P. Ballard. The dynamics of discrete mechanical systems with perfect

unilateral constraints. Archives for Rational Mechanics and Analysis, 154:199–274, 2000.

  • E. Hairer, S.P. Norsett, and G. Wanner. Solving Ordinary Differential

Equations I. Nonstiff Problems. Springer, 1993.

  • M. Jean. The non smooth contact dynamics method. Computer Methods

in Applied Mechanics and Engineering, 177:235–257, 1999. Special issue on computational modeling of contact and friction, J.A.C. Martins and A. Klarbring, editors.

  • R. Mannshardt. One-step methods of any order for ordinary differential

equations with discontinuous right-hand sides. Numerische Mathematik, 31:131–152, 1978. J.J. Moreau. Liaisons unilat´ erales sans frottement et chocs in´ elastiques. Comptes Rendus de l’Acad´ emie des Sciences, 296 s´ erie II:1473–1476, 1983. J.J. Moreau. Unilateral contact and dry friction in finite freedom

  • dynamics. In J.J. Moreau and Panagiotopoulos P.D., editors,

Nonsmooth Mechanics and Applications, number 302 in CISM, Courses and lectures, pages 1–82. CISM 302, Spinger Verlag, Wien- New York, 1988.

  • L. Paoli and M. Schatzman. A numerical scheme for impact problems I:

The one-dimensional case. SIAM Journal of Numerical Analysis, 40(2): 702–733, 2002.

  • M. Schatzman. Sur une classe de probl`

emes hyperboliques non lin´ eaires. Comptes Rendus de l’Acad´ emie des Sciences S´ erie A, 1973.

  • M. Schatzman. A class of nonlinear differential equations of second order

in time. Nonlinear Analysis, T.M.A, 2(3):355–373, 1978.