Variational integrators for electric and nonsmooth systems

Size: px
Start display at page:

Download "Variational integrators for electric and nonsmooth systems"

Transcription

1 Variational integrators for electric and nonsmooth systems Sina Ober-Blöbaum Control Group Department of Engineering Science University of Oxford Fellow of Harris Manchester College Summerschool Applied Mathematics and Mechanics: Geometric Methods in Dynamics 5 9 September 216 Sina Ober-Blöbaum p.1

2 Overview Lecture 1: Variational integrators for electric circuits Ober-Blöbaum, Tao, Cheng, Owhadi, Marsden: Variational integrators for electric circuits. Journal of Computational Physics, 213. Lecture 2: Variational integrators for nonsmooth systems Fetecau, Marsden, Ortiz, West: Nonsmooth Variational Mechanics and Variational Collision Integrators. SIAM Applied Dynamical Systems, 23. Lecture 3: Recent topics in Variational Integration Higher order variational integrators, error analysis, relation to Runge-Kutta methods,... Sina Ober-Blöbaum p.2

3 Overview Lecture 1: Variational integrators for electric circuits Ober-Blöbaum, Tao, Cheng, Owhadi, Marsden: Variational integrators for electric circuits. Journal of Computational Physics, 213. Sina Ober-Blöbaum p.3

4 Variational (symplectic) integration " ! Sina Ober-Blöbaum p.4

5 Variational (symplectic) integration " ! " " " ! ! ! explicit Euler symplectic Euler implicit Euler Sina Ober-Blöbaum p.5

6 Variational (symplectic) integration " ! preservation of symplecticity due to variational structure (generating function) momentum map preservation (e.g. linear and rotational momentum) due to discrete Noether theorem good long term energy behavior due to symplecticity and backward error analysis Sina Ober-Blöbaum p.6

7 Motivation electro-mechanical and mechatronic systems (mechanical and electrical parts) RailCab Neue Bahntechnik Paderborn Motor with circuit Goal: unified framework for simulation and optimization Sina Ober-Blöbaum p.7

8 +! Motivation Mechanical systems: variational integrators well established based on discrete variational principle in mechanics Electrical systems: L R C 1 U V C 2 variational principle required Lagrangian formulation with degenerate symplectic form forces and constraints discrete variational scheme Future goal: powerful unified variational scheme for the simulation and optimization of electromechanical systems Sina Ober-Blöbaum p.8

9 Outline Basics on circuit modeling Geometric setting Variational formulation: forces, constraints, degeneracy and reduced formulations Construction of integrators: discrete variational formulation Structure preserving properties Numerical examples and comparison to standard approaches Nonlinear circuits Literature overview Sina Ober-Blöbaum p.9

10 +! Basic notations C 1 L U V C 2 R device linear nonlinear resistor i R = Gu R i R = g(u R, t) capacitor i C = C d dt u C i C = d dt q C (u C, t) inductor u L = L d dt i L u L = d dt ϕ L(i L, t) device independent controlled voltage source u V = v(t) u V = v(u ctrl, i ctrl, t) current source i I = i(t) i I = i(u ctrl, i ctrl, t) characteristic equations for basic elements Sina Ober-Blöbaum p.1

11 Energies in electric circuits magnetic energy stored in inductor E mag (i L ) = il electrical energy stored in capacitor E el (q C ) = qc ϕ L (y) dy u C (y) dy linear circuit: ϕ L (i L ) = Li L and u C (q C ) = C 1 q C E mag (i L ) = 1 2 Li 2 L, E el (q C ) = 1 2 C 1 q 2 C Sina Ober-Blöbaum p.11

12 +! Graph representation graph consisting of n branches, m + 1 nodes on each branch there are inductor L i, capacitor C i, resistance R i, voltage source ɛ i L i C i R i " i Sina Ober-Blöbaum p.12

13 Kirchhoff Laws Kirchhoff Current Law (KCL) The sum of currents leading to and leaving from any node is equal to zero. i = Kirchhoff Voltage Law (KVL) The sum of voltages along each mesh of the network is equal to zero. u = Sina Ober-Blöbaum p.13

14 Kirchhoff Laws Kirchhoff Constraints matrix (incidence matrix) K R n,m 1 branch i connected inward to node j K ij = +1 branch i connected outward to node j otherwise K = [K T L K T C K T R K T V ] T, K J R n J,m, J {L, C, R, V } Mesh matrix K 2 R n,n m 1 branch i is a backward branch in mesh j K 2,ij = +1 branch i is a forward branch in mesh j branch i does not belong to mesh j, K 2 = [K T 2,L K T 2,C K T 2,R K T 2,V ] T, K 2,J R n J,n m, j {L, C, R, V } Sina Ober-Blöbaum p.14

15 Kirchhoff Laws Kirchhoff Current Law (KCL) The sum of currents leading to and leaving from any node is equal to zero. i = K T i(t) = Kirchhoff Voltage Law (KVL) The sum of voltages along each mesh of the network is equal to zero. u = K T 2 u(t) = Tellegen s theorem: im(k 2 ) im(k) Sina Ober-Blöbaum p.15

16 Geometric setting configuration, tangent and cotangent space charge space Q, branch charge q R n current space TQ, branch currents (i =)v T q Q R n flux linkage space T Q, flux linkages p Tq Q R n constraint distribution and annihilator Sina Ober-Blöbaum p.16

17 Geometric setting configuration, tangent and cotangent space charge space Q, branch charge q R n current space TQ, branch currents (i =)v T q Q R n flux linkage space T Q, flux linkages p Tq Q R n constraint distribution and annihilator constraint distribution Q (q) = {v T q Q w a, v =, a = 1,..., m} T q Q annihilator Q(q) = {w Tq Q w, v = v Q (q)} Tq Q Sina Ober-Blöbaum p.17

18 Geometric setting configuration, tangent and cotangent space charge space Q, branch charge q R n current space TQ, branch currents (i =)v T q Q R n flux linkage space T Q, flux linkages p Tq Q R n constraint distribution and annihilator constraint KCL space Q (q) = {v T q Q K T v = } T q Q constraint KVL space Q(q) = {u Tq Q K2 T u = } Tq Q Sina Ober-Blöbaum p.18

19 Geometric setting space of branches B = Q Q, Q R n space of meshes M = TM T M, M R n m space of nodes N = TN T N, N R m T ˆq N K Q (q) K T 2 {} T q M N B M nodes branches meshes {} Tˆq N K T Q (q) K 2 T q M with the linear maps K : T ˆq N Q (q) and K 2 : T q M Q (q), and their adjoints K T : ( Q (q)) Tˆq N and K2 T : ( Q(q)) T q M KCL K T v = or v = K 2 ṽ KVL K2 T u = or u = K û Tellegen s theorem: im(k 2 ) im(k) Sina Ober-Blöbaum p.19

20 Variational formulation mechanical system electrical circuit (linear relations) kinetic energy magnetic energy 1 2 v T Lv R potential energy electrical energy 1 2 qt Cq R friction dissipation R v R n external force external sources E u R n (non)holonomic constraints KCL K T v = with L = diag(l 1,..., L n ), C = diag( 1 C 1,..., 1 C n ), R = diag(r 1,..., R n ), E = diag(ɛ 1,..., ɛ n ) Sina Ober-Blöbaum p.2

21 Variational formulation Lagrangian L(q, v) = 1 2 v T Lv 1 2 qt Cq on TQ forces f = R v + E u T q Q distribution Q (q) = {v T q Q K T v = } = null(k T ) 1. dissipative and external forces (d Alembert) 2. KCL constraints (constrained variations) 3. degenerate Lagrangian Legendre transformation FL(q, v) = (q, L/ v) if 2 L = L is not invertible degenerate system v 2 constraint flux linkage subspace P = FL( Q ) T Q, Sina Ober-Blöbaum p.21

22 Constrained variational formulation Constrained Lagrange-d Alembert-Pontryagin Principle on TQ T Q gives implicit Euler-Lagrange equations [Yoshimura, Marsden 26] T T δ (L(q, v) + p, q v ) dt + f δqdt =, δq Q (q) Sina Ober-Blöbaum p.22

23 Constrained variational formulation Constrained Lagrange-d Alembert-Pontryagin Principle on TQ T Q gives implicit Euler-Lagrange equations [Yoshimura, Marsden 26] T T δ (L(q, v) + p, q v ) dt + f δqdt =, δq Q (q) see blackboard Sina Ober-Blöbaum p.23

24 Constrained variational formulation Constrained Lagrange-d Alembert-Pontryagin Principle on TQ T Q gives implicit Euler-Lagrange equations [Yoshimura, Marsden 26] T T δ (L(q, v) + p, q v ) dt + f δqdt =, δq Q (q) q = v charge-current relation ṗ = L + f + K û q = L p v = K T v KCL KVL form u = K û flux relation ( primary constraints ) n + n + n + m equations differential-algebraic system differential variables q and p, algebraic variables v and û non-autonomous system due to external force f (t) no ode description for singular Lagrangian Sina Ober-Blöbaum p.24

25 Reduction 1. less redundant formulation 2. degeneracy of Lagrangian is cancelled for specific systems 3. physical meaning of reduced space: mesh space M with coordinates ( q, ṽ, p), q, ṽ, p R n m T ˆq N K Q (q) K T 2 {} T q M N B M nodes branches meshes {} Tˆq N K T Q (q) K 2 T q M Sina Ober-Blöbaum p.25

26 Reduction 1. less redundant formulation 2. degeneracy of Lagrangian is cancelled for specific systems 3. physical meaning of reduced space: mesh space M with coordinates ( q, ṽ, p), q, ṽ, p R n m T ˆq N K Q (q) K T 2 {} T q M N B M nodes branches meshes {} Tˆq N K T Q (q) K 2 T q M Sina Ober-Blöbaum p.26

27 Reduction steps T ˆq N K Q (q) K T 2 {} T q M N B M nodes branches meshes {} Tˆq N K T Q (q) K 2 T q M replace KCL formulation K T v = by K 2 ṽ = v Q (q) = {v T q Q K T v = } is integrable configuration submanifold C = {q Q K T q = } for consistent initial values q C q = K 2 q. Sina Ober-Blöbaum p.27

28 Reduction steps T ˆq N K Q (q) K T 2 {} T q M N B M nodes branches meshes {} Tˆq N K T Q (q) K 2 constrained Lagrangian L M := K 2 L: TM R T q M L M ( q, ṽ) = L(K 2 q, K 2 ṽ) = 1 2ṽT K T 2 LK 2 ṽ 1 2 qt K T 2 CK 2 q reduced Legendre transformation FL M : TM T M FL M ( q, ṽ) = ( q, L M / ṽ) = ( q, K2 T LK 2 ṽ). reduced force f M ( q, ṽ, t) = K2 T f (K 2 q, K 2 ṽ, t) in T M reduced flux p = K2 T p in T M Sina Ober-Blöbaum p.28

29 Reduced constrained variational formulation reduced L-d A-Pontryagin Principle on TM T M T ( δ L M ( q, ṽ) + p, q ṽ ) T dt + f M δ qdt = implicit Euler-Lagrange equations on mesh space M q = ṽ p = LM q + f KVL form K T 2 u = = LM LM p with = K2 T LK 2 ṽ ṽ ṽ 3 (n m) equations differential variables q and p, algebraic variable ṽ Is 2 L M ṽ 2 = K T 2 LK 2 invertible? Sina Ober-Blöbaum p.29

30 Cancellation of degeneracy by constraints Cancellation of degeneracy For linear LRCV circuits the system is non-degenerate, if the number of capacitors n C, resistors n R and voltage sources n V equals the number of independent constraints l X involving the currents through the capacitor, resistor and source branches, i.e., if n C + n R + n V = l X Proof uses basic linear algebra arguments showing 1. null([kc T K R T K V T ]) = {} 2. null(k2 T LK 2) = {} Sina Ober-Blöbaum p.3

31 Examples 1 L 1 C L 1 C1 L 2 C 1 C 2 C K T L = ( 1 1 ), K T C = ( ) K T L = ( 1 ), K T C = ( null(kc T ) = {} null(k C T ) {} non-degenerate constrained Lagrangian degenerate constrained Lagrangian interpretation: Each fundamental loop has to contain at least one inductor ) Sina Ober-Blöbaum p.31

32 Next steps Alternative 1: Construction of non-degenerate Lagrangian on submanifold projection onto image of Legendre transformation identification of more constraints ((non)holonomic) e.g. Gotay-Nester: C C 2 C k T Q loss of physical meaning for reduced variables, difficult to identify additional contraints Alternative 2: Keep degeneracy derive integrator for degenerate Lagrangian (DAE integrator) derive discrete version of implicit EL equations check for applicability Sina Ober-Blöbaum p.32

33 Discrete variational principle discrete time grid t = {t k = kh k =,..., N} discrete paths that approximate continuous paths q(t), v(t) and p(t) q d : {t k } N k= Q, v d : {t k } N k= T q Q, p d : {t k } N k= T q Q, q k := q d (t k ) q(kh) v k := v d (t k ) v(kh) p k := p d (t k ) p(kh) discrete reduced L.-d Alembert-Pontryagin principle { N 1 ( δ h L M ( q k, ṽ k ) + p k, q ) } N 1 k+1 q k ṽ k +h f M ( q k, ṽ k, t k )δ q k = h k= k= time derivative q(t) is approximated by the forward difference operator force evaluated at the left point Forward Euler (EFD) Sina Ober-Blöbaum p.33

34 Discrete variational principle discrete time grid t = {t k = kh k =,..., N} discrete paths that approximate continuous paths q(t), v(t) and p(t) q d : {t k } N k= Q, v d : {t k } N k= T q Q, p d : {t k } N k= T q Q, q k := q d (t k ) q(kh) v k := v d (t k ) v(kh) p k := p d (t k ) p(kh) discrete reduced L.-d Alembert-Pontryagin principle { N ( δ h L M ( q k, ṽ k ) + p k, q ) } k q k 1 N ṽ k +h f M ( q k, ṽ k, t k )δ q k = h k=1 time derivative q(t) is approximated by the backward difference operator force evaluated at the right point Backward Euler (EBD) k=1 Sina Ober-Blöbaum p.34

35 Discrete variation discrete variations δ q k with δ q = δ q N = discrete variations δṽ k and δ p k L M N 1 v ( q [ L M, ṽ ) p, δṽ + v ( q k, ṽ k ) p k, δṽ k k=1 L M + q ( q k, ṽ k ) 1 h ( p k p k 1 ) + f M ( q k, v k, t k ), δ q k δ p k 1, q ] k q k 1 q N q N 1 ṽ k 1 + δ p N 1 ṽ N 1 = h h Sina Ober-Blöbaum p.35

36 Discrete reduced Euler-Lagrange equations L M v ( q, ṽ ) = p, q N q N 1 h L M q ( q k, ṽ k ) 1 h ( p k p k 1 ) + f M ( q k, ṽ k, t k ) = q k q k 1 Forward Euler h L M v ( q k, ṽ k ) = ṽ N 1 = ṽ k 1 = p k k = 1,..., N 1 q 1 q L M = ṽ 1, h v ( q 1, ṽ 1 ) = p 1 L M q ( q k 1, ṽ k 1 ) 1 h ( p k p k 1 ) + f M ( q k 1, ṽ k 1, t k 1 ) = q k q k 1 = ṽ k k = 2,..., N h L M Backward Euler v ( q k, ṽ k ) = p k Sina Ober-Blöbaum p.36

37 Applicability apply e.g. Newton s scheme to determine x k+1 = ( q k+1, ṽ k+1, p k+1 ) by solving = F (x k, x k+1 ) for given x k = ( q k, ṽ k, p k ) unique solutions for regular Jacobian of F w.r.t. x k+1 applicability dependent on update rule Example: EBD for linear circuit leads to the iteration scheme I hi q k I q k 1 K2 T LK 2 I ṽ k = ṽ k 1 + u s(t k 1 ) } {{ I } p k hk2 T CK 2 hk2 T diag(r)k 2 I p k 1 hk2 T =A A is invertible iff K T 2 LK 2 is regular Sina Ober-Blöbaum p.37

38 Applicability apply e.g. Newton s scheme to determine x k+1 = ( q k+1, ṽ k+1, p k+1 ) by solving = F (x k, x k+1 ) for given x k = ( q k, ṽ k, p k ) unique solutions for regular Jacobian of F w.r.t. x k+1 applicability dependent on update rule Example: EFD for linear circuit leads to the iteration scheme I q k I hi q k 1 K2 T LK 2 I ṽ k = ṽ k 1 + u s(t k ) hk2 T CK 2 } hk2 T diag(r)k 2 {{ I } p k I p k 1 hk2 T =A A is invertible iff K T 2 (L+hR)K 2 is regular Sina Ober-Blöbaum p.38

39 Applicability For linear RLCV circuits we have EBD applicable if K T 2 LK 2 is regular (i.e., if reduced system is non-degenerate) EFD applicable if K T 2 (L + R)K 2 is regular VI based on implicit midpoint rule applicable if K T 2 (L + R + C)K 2 is regular extension to higher order (symprk) methods possible [Bou-Rabee et al. 26] trade off: the more implicit the better but the more expensive Sina Ober-Blöbaum p.39

40 Structure preservation symplecticity symlecticity: conservation of symplectic form Ω = dq i dp i (F t ) Ω = Ω t conformal symlecticity (in presence of uniform dissipative forces f L = c p, c R): (F t ) Ω = exp (ct)ω t variational integrator preserves the symplectic form, or the rate of decay of the symplectic form, respectively leads to good long-term energy behavior of variational integrators e.g. Hairer, Lubich 24 Sina Ober-Blöbaum p.4

41 Structure preservation momentum maps Noether: exact preservation of momentum maps in presence of symmetries Lie group G with Lie group action ψ : G Q Q (and ψ g = ψ(g, ) with g G), tangent lift ψg TQ : TQ TQ infinitesimal generator ξ Q (q) := d dt t= ψ(exp (tξ), q) with ξ g and the exponential function exp : g G invariance of Lagrangian under Lie group action L ψg TQ = L g G invariance of holonomic constraints h(q) = under Lie group action h ψ g = g G force f M L orthogonal to group action, i.e., f L (q, v), ξ Q (q) = for all (q, v) TQ and all ξ g = J F t = J with flow F t and L J(q, v), ξ = v, ξ Q(q) = p, ξ Q (q) Sina Ober-Blöbaum p.41

42 Structure preservation momentum maps Examples from mechanics G = R temporal energy G = R 3 translational linear momentum G = SO(3) rotational angular momentum variational integrator preserves the invariance property if the discrete Lagrangian has the same symmetry What are momentum maps for electric circuits? Which symmetries can we expect? Sina Ober-Blöbaum p.42

43 Momentum maps for electric circuits Lagrangian L(q, v) = 1 2 v T Lv 1 2 qt Cq force f = Rv + Eu, KCL K T v = Invariance of Lagrangian The Lagrangian of the unreduced system is invariant under the translation of q L. Proof: Let G = R n L, Φ TQ (g, (q, v)) = (q L + g, q C, q R, q V, v L, v C, v R, v V ) L Φ TQ g (q, v) = 1 2 v L v C v R v V T L v L v C v R v V 1 2 q L + g q C q R q V T C q L + g q C q R q V ( ) = 1 2 v T Lv 1 2 qt 1 Cq = L(q, v) since C = diag C 1,..., 1 C n with the first n L diagonal elements being zero. Sina Ober-Blöbaum p.43

44 Momentum maps for electric circuits Lagrangian L(q, v) = 1 2 v T Lv 1 2 qt Cq force f = Rv + Eu, KCL K T v = Orthogonality of external force The external force f is orthogonal to the action of the group G = R n L being translations of ql. Proof: Let ξ g = R n L. For Φ g (q) = (q L + g, q C, q R, q V ) we compute ξ Q (q) = d dt Φ exp tξ (q) = d t= dt (q L +exp tξ, q C, q R, q V ) = (ξ,,, ). t= Thus, we have f L, ξ Q (q) = Rv + Eu, ξ Q (q) = since R and E have zero entries in the first n L lines and columns. Sina Ober-Blöbaum p.44

45 Momentum maps for electric circuits Topology assumption: For every node j = 1,..., m in the circuit (except ground) the same amount of inductor branches connect inward and outward to node j. the sum of each row of KL T i = 1,..., m. Invariance of distribution is zero, i.e. n L j=1 (K T L ) ij = for Under the topology assumption the KCL on configuration level are invariant under equal translation of q L. Proof: Let g = a1 G with a R and 1 being a vector in R n L with each component 1. It follows that q L + g K T Φ g (q) = K T q C q R = K T q + KL T g = K T q + KL T 1a = K T q q V since the sum of each row of K T L is zero. Sina Ober-Blöbaum p.45

46 Momentum maps for electric circuits Theorem (Preservation of flux) Under the topology assumption the sum of all inductor fluxes in the electrical circuit described by the Lagrangian L, the external forces f, and the KCL, is preserved. Proof Invariance of Lagrangian L and KCL f orthogonal to group action induced momentum map J(q, v), ξ = L v, ξ Q(q) J(q, v) = n L i=1 p n Li is preserved by Noether = L v i ξ i Q(q) = L v Li ξ i more general: for any circuit η T p L = const for η null(kl T ). Sina Ober-Blöbaum p.46

47 Example: LC transmission line L 1 1 L 2 2 L 3 flux C 1 C 2 p L1 K = K L = ( ) 1 K C = 1 p L2 p L3.5 p L1 +p L2 +p L time n L j=1 (K T L ) ij =, i = 1, 2 p L1 + p L2 + p L3 = const Sina Ober-Blöbaum p.47

48 Structure preservation what else? Preservation of frequency spectrum consider the example of the 1D harmonic oscillator define one-step update scheme as (q k+1, p k+1 ) T = A (q k, p k ) T = QVQ 1 (q k, p k ) T with A having linearly independent eigenvectors λ 1, λ 2 and being diagonalizable with V = diag(λ 1, λ 2 ) with the coordinate transformation (x k, y k ) T = Q 1 (q k, p k ) T we obtain (x k+1, y k+1 ) T = V (x k, y k ) T i.e., x k+1 = λ 1 x k and y k+1 = λ 2 y k Sina Ober-Blöbaum p.48

49 Structure preservation frequency spectrum We show 1. A has two eigenvalues of norm 1 iff scheme is symplectic 2. methods defined by matrices with norm 1 eigenvalues preserve frequeny spectrum defined on different time spans Proof of 2. discrete inverse Fourier transformation x k = 1 N N n=1 x n exp ( 2πi N kn), k = 1,..., N Consider a sequence of discrete points {X k } N k=1 that is shifted by one time step such that X k = x k+1 = λ 1 x k, k = 1,..., N discrete inverse Fourier transformation X k = 1 N N n=1 λ 1 x n exp ( 2πi N kn), k = 1,..., N, i.e., X n = λ 1 x n by definition of the frequency spectrum, we have X n X n = x n λ 1 λ 1 x n = x n λ 1 2 x n = x n x n preservation of the frequency spectrum Sina Ober-Blöbaum p.49

50 Standard methods in circuit theory Circuit simulator SPICE (Simulation Program with Integrated Circuit Emphasis) Electronics Research Laboratory of the University of California, Berkeley Modeling: Modified Node Analysis (MNA) Simulation: Backward Differentiation Formulas (BDF) methods Sina Ober-Blöbaum p.5

51 Modified Nodal Analysis (MNA) (charge-flux) 1. Apply KCL to every node except ground 2. Insert representation for the branch current of resistors, capacitors and current sources 3. Add representation for inductors and voltage sources explicitely to the system (KCL) K T C q C (K C û, t) + K T R g(k Rû, t) + K T L v L + K T V v V +K T I v I (Kû, q C (K C û, t), v L, v V, t) = (inductors) ṗ L (v L, t) K L û = (voltage sources) u V (Ku, q C (K C u, t), v L, v V, t) K V û = inductor current v L, capacitor charge q C, inductor flux p L node voltage û, voltage source current v V, conductance g controlled current and voltage source v I and u V Sina Ober-Blöbaum p.51

52 Numerical integration schemes DAE system A[d(x(t), t)] + b(x(t), t) = with x = [û, v L, v v ] T and d(x, t) = [q C (K C û, t), p L (v L, t)] T conventional approach: Implicit linear multi-step formulas k α i d(x n+1 i, t n+1 i ) = h i= k β i d n+1 i BDF method: β 1 = = β k =, α = 1 k β α 1 α 2 scheme d(x n+1 ) d(x n ) = hd n+1 (implicit Euler) i= 1 3 d(x n+1 ) 4 3 d(x n) d(x n 1) = h 2 3 d n+1 low computational cost (1 function evaluation per step) compared to RK methods BUT non-symplectic (Tang 1993) Sina Ober-Blöbaum p.52

53 Example computations Comparison of different solutions exact solution (exact) variational integrator of second order (VI) variational integrator of first order (EBD) variational integrator of first order (EFD) Runge Kutta of order 4 (RK) BDF method of order 2 applied to MNA system (MNA BDF) (fixed time-stepping for all methods) Sina Ober-Blöbaum p.53

54 Example: RLC circuit on edge 1 5 pair of capacitor and inductor (C i = L i = 1) on edge 6 only capacitor (C 6 = 1) n = 6 branches, m + 1 = 4 nodes, l = 3 meshes Sina Ober-Blöbaum p.54

55 LC circuit (no resistors) with step size h = current on branch 1 current on branch time time current branch 1 current branch exact VI VI EBD VI EFD RK4 MNA BDF current on branch energy time current branch time energy behavior Sina Ober-Blöbaum p.55

56 LC circuit (no resistors) with step size h = exact VI VI EBD VI EFD RK4 MNA BDF exact VI VI EBD VI EFD RK4 MNA BDF.5.5 current on branch 1.5 current on branch time time current branch 1 current branch exact VI VI EBD VI EFD RK4 MNA BDF current on branch energy exact VI VI EBD VI EFD RK4 MNA BDF time current branch time energy behavior Sina Ober-Blöbaum p.56

57 Frequency spectrum of first branch current frequency of branch current exact VI VI EBD VI EFD RK4 MNA BDF frequency of branch current exact VI VI EBD VI EFD RK4 MNA BDF ! ! h =.1 h =.2 frequency of branch current exact VI VI EBD VI EFD RK4 MNA BDF frequency of branch current exact VI VI EBD VI EFD RK4 MNA BDF ! ! h =.4 h =.6 Sina Ober-Blöbaum p.57

58 Current of first branch of LC circuit (no resistors) 1 exact VI RK4 MNA BDF 1 exact VI RK4 MNA BDF.5.5 current on branch 1 current on branch time time h =.1 h =.2 1 exact VI RK4 MNA BDF 1 exact VI RK4 MNA BDF.5.5 current on branch 1 current on branch time time h =.4 h =.6 Sina Ober-Blöbaum p.58

59 LCR circuit (with resistors) with step size h = exact VI VI EBD VI EFD RK4 MNA BDF exact VI VI EBD VI EFD RK4 MNA BDF.5.5 current on branch 1.5 current on branch time time current branch 1 current branch exact VI VI EBD VI EFD RK4 MNA BDF exact VI VI EBD VI EFD RK4 MNA BDF current on branch energy time current branch time energy behavior Sina Ober-Blöbaum p.59

60 Example: Oscillating LC circuit two capacitors C 1 = 1, C 2 = 1 two inductors L 1 = 1, L 2 = 1 n = 4 branches, m + 1 = 3 nodes, l = 2 meshes C L 1 K = C1 2 L 2 K 2 = Sina Ober-Blöbaum p.6

61 Oscillating LC circuit with step size h = current on branch current on branch time time Current on inductor 1 Current on inductor charge on branch charge on branch time time Charge on capacitor 1 Charge on capacitor 2 Sina Ober-Blöbaum p.61

62 Energy of oscillating LC circuit energy exact energy exact VI VI EBD.492 VI VI EBD.485 VI EFD RK4.49 VI EFD RK4 MNA BDF MNA BDF time time h =.1 h = energy.46 energy exact VI VI EBD VI EFD RK4 MNA BDF exact VI VI EBD VI EFD RK4 MNA BDF time time h =.4 h =.6 Sina Ober-Blöbaum p.62

63 Charge on capacitor 1 of LC circuit (h =.6) charge on branch exact VI VI EBD VI EFD RK4 MNA BDF time charge on branch exact VI VI EBD VI EFD RK4 MNA BDF time t [, 3] t [, 5] exact VI VI EBD VI EFD RK4 MNA BDF charge on branch charge on branch exact VI VI EBD VI EFD RK4 MNA BDF time time t [3, 35] t [25, 255] Sina Ober-Blöbaum p.63

64 Frequency spectrum of charge on capacitor exact VI VI EBD VI EFD RK4 MNA BDF.3.25 exact VI VI EBD VI EFD RK4 MNA BDF frequency of branch charge frequency of branch charge frequency of branch charge ! ! h =.1 h =.2 exact VI VI EBD VI EFD RK4 MNA BDF frequency of branch charge exact VI VI EBD VI EFD RK4 MNA BDF ! ! h =.4 h =.6 Sina Ober-Blöbaum p.64

65 Nonlinear circuits Lagrangian L(q, v) = n L forces f L (q, v, t) = k=1 v Lk ϕ Lk (y) dy n C j=1 (linear circuit: L(q, v) = 1v T Lv qt C 1 q) L C f R (q, v, t) = f S (q, v, t) q Cj u Cj (y) dy L C f R (v R ) f S (v S, t) distribution Q (q) = {v T q Q K T v = } Legendre transform ( FL(q, v) = q, L ) ( ( )) ϕl (v L ) (q, v) = q, = (q, ϕ) v C,R,S results on cancellation of degeneracy, preservation properties etc. extendable to nonlinear case Sina Ober-Blöbaum p.65

66 Nonlinear LCR circuit Lagrangian: L(q C, v L ) = c 2 v 2 L 1 + d 2 log((tan(v L 2 /d)) 2 +1) sgn(q C1 ) a 3 q3 C 1 1 2b q2 C 2 force: f R (v R ) = ev 3 R (a =.2, b = 1, c = 3, d = 1, e = 5) energy energy VI EFD VI EBD VI MPR RK4 ODE45 exact time.1 VI EFD VI EBD VI MPR RK4 ODE time energy, no resistor (h =.8) energy with resistor (h =.8) Sina Ober-Blöbaum p.66

67 Conclusions variational approach for circuit modeling (degenerate Lagrangian, dissipative and external forces, KCL constraints) reduced variational approach on mesh space (cancels degeneracy for some cases, reduced system) discrete variational approach provides structure-preserving integrator preservation of momentum maps preservation of frequency spectrum good energy behavior variational integrators are convenient tools for the simulation of electric and electromechanical systems Sina Ober-Blöbaum p.67

68 Literature overview Variational inegrators for electric circuits Ober-Blöbaum, Tao, Cheng, Owhadi, Marsden (213): linear circuits Ober-Blöbaum, Lindhorst (214): nonlinear circuits Lagrangian / Hamiltonian modeling of circuits MacFarlane (1967): tree structures (capacitor charges or inductor fluxes as generalized coordinates) Chua, McPherson (1973): mixed set of coordinates Maisser et al. (1995): Lagrangian modeling of electromechanical systems Degenerate Lagrangian / Hamiltonian Dirac, Bergmann (1956): construction of submanifolds Gotay, Nester (1979): Lagrangian viewpoint van der Schaft (1995): implicit Hamiltonian systems Yoshimura, Marsden (26): implicit Lagrangian systems Sina Ober-Blöbaum p.68

Variational Integrators for Electrical Circuits

Variational Integrators for Electrical Circuits Variational Integrators for Electrical Circuits Sina Ober-Blöbaum California Institute of Technology Joint work with Jerrold E. Marsden, Houman Owhadi, Molei Tao, and Mulin Cheng Structured Integrators

More information

Discrete Dirac Mechanics and Discrete Dirac Geometry

Discrete Dirac Mechanics and Discrete Dirac Geometry Discrete Dirac Mechanics and Discrete Dirac Geometry Melvin Leok Mathematics, University of California, San Diego Joint work with Anthony Bloch and Tomoki Ohsawa Geometric Numerical Integration Workshop,

More information

arxiv: v1 [math.na] 8 Mar 2011

arxiv: v1 [math.na] 8 Mar 2011 Variational integrators for electric circuits Sina Ober-Blöbaum a, Molei Tao b, Mulin Ceng c, Houman Owadi b,c, Jerrold E. Marsden b,c, a Computational Dynamics and Optimal Control, University of Paderborn,

More information

Dirac Structures and the Legendre Transformation for Implicit Lagrangian and Hamiltonian Systems

Dirac Structures and the Legendre Transformation for Implicit Lagrangian and Hamiltonian Systems Dirac Structures and the Legendre Transformation for Implicit Lagrangian and Hamiltonian Systems Hiroaki Yoshimura Mechanical Engineering, Waseda University Tokyo, Japan Joint Work with Jerrold E. Marsden

More information

A geometric Birkhoffian formalism for nonlinear RLC networks

A geometric Birkhoffian formalism for nonlinear RLC networks Journal of Geometry and Physics 56 (2006) 2545 2572 www.elsevier.com/locate/jgp A geometric Birkhoffian formalism for nonlinear RLC networks Delia Ionescu Institute of Mathematics, Romanian Academy of

More information

arxiv:math/ v1 [math.ds] 5 Sep 2006

arxiv:math/ v1 [math.ds] 5 Sep 2006 arxiv:math/0609153v1 math.ds 5 Sep 2006 A geometric Birkhoffian formalism for nonlinear RLC networks Delia Ionescu, Institute of Mathematics of the Romanian Academy P.O. Box 1-764, RO-014700, Bucharest,

More information

Network Graphs and Tellegen s Theorem

Network Graphs and Tellegen s Theorem Networ Graphs and Tellegen s Theorem The concepts of a graph Cut sets and Kirchhoff s current laws Loops and Kirchhoff s voltage laws Tellegen s Theorem The concepts of a graph The analysis of a complex

More information

Stochastic Variational Integrators

Stochastic Variational Integrators Stochastic Variational Integrators Jeremy Schmitt Variational integrators are numerical geometric integrator s derived from discretizing Hamilton s principle. They are symplectic integrators that exhibit

More information

SPECTRAL VARIATIONAL INTEGRATORS

SPECTRAL VARIATIONAL INTEGRATORS SPECTRAL VARIATIONAL INTEGRATORS JAMES HALL AND MELVIN LEOK Abstract. In this paper, we present a new variational integrator for problems in Lagrangian mechanics. Using techniques from Galerkin variational

More information

The Geometry Underlying Port-Hamiltonian Systems

The Geometry Underlying Port-Hamiltonian Systems The Geometry Underlying Port-Hamiltonian Systems Pre-LHMNC School, UTFSM Valparaiso, April 30 - May 1, 2018 Arjan van der Schaft Jan C. Willems Center for Systems and Control Johann Bernoulli Institute

More information

Automatic Formulation of Circuit Equations

Automatic Formulation of Circuit Equations ECE 570 Session 3 IC 752-E Computer Aided Engineering for Integrated Circuits Automatic Formulation of Circuit Equations Objective: Basics of computer aided analysis/simulation Outline:. Discussion of

More information

Variational Collision Integrators and Optimal Control

Variational Collision Integrators and Optimal Control Variational Collision Integrators and Optimal Control David Pekarek, and Jerrold Marsden 1 Abstract This paper presents a methodology for generating locally optimal control policies for mechanical systems

More information

Variational principles and Hamiltonian Mechanics

Variational principles and Hamiltonian Mechanics A Primer on Geometric Mechanics Variational principles and Hamiltonian Mechanics Alex L. Castro, PUC Rio de Janeiro Henry O. Jacobs, CMS, Caltech Christian Lessig, CMS, Caltech Alex L. Castro (PUC-Rio)

More information

Modified Equations for Variational Integrators

Modified Equations for Variational Integrators Modified Equations for Variational Integrators Mats Vermeeren Technische Universität Berlin Groningen December 18, 2018 Mats Vermeeren (TU Berlin) Modified equations for variational integrators December

More information

arxiv: v1 [math-ph] 12 Apr 2017

arxiv: v1 [math-ph] 12 Apr 2017 Dirac structures in nonequilibrium thermodynamics arxiv:1704.03935v1 [math-ph] 12 Apr 2017 François Gay-Balmaz Hiroaki Yoshimura CNRS, LMD, IPSL School of Science and Engineering Ecole Normale Supérieure

More information

Lecture IV: Time Discretization

Lecture IV: Time Discretization Lecture IV: Time Discretization Motivation Kinematics: continuous motion in continuous time Computer simulation: Discrete time steps t Discrete Space (mesh particles) Updating Position Force induces acceleration.

More information

Kirchhoff's Laws and Circuit Analysis (EC 2)

Kirchhoff's Laws and Circuit Analysis (EC 2) Kirchhoff's Laws and Circuit Analysis (EC ) Circuit analysis: solving for I and V at each element Linear circuits: involve resistors, capacitors, inductors Initial analysis uses only resistors Power sources,

More information

Dirac Structures in Lagrangian Mechanics

Dirac Structures in Lagrangian Mechanics Dirac Structures in Lagrangian Mechanics Part II: Variational Structures Hiroaki Yoshimura Jerrold E. Marsden Department of Mechanical Engineering Control and Dynamical Systems Waseda University California

More information

Gauge Fixing and Constrained Dynamics in Numerical Relativity

Gauge Fixing and Constrained Dynamics in Numerical Relativity Gauge Fixing and Constrained Dynamics in Numerical Relativity Jon Allen The Dirac formalism for dealing with constraints in a canonical Hamiltonian formulation is reviewed. Gauge freedom is discussed and

More information

The Geometry of Euler s equation. Introduction

The Geometry of Euler s equation. Introduction The Geometry of Euler s equation Introduction Part 1 Mechanical systems with constraints, symmetries flexible joint fixed length In principle can be dealt with by applying F=ma, but this can become complicated

More information

An Overview of Variational Integrators

An Overview of Variational Integrators An Overview of Variational Integrators A. Lew, M. West Stanford University J. Marsden, M. Ortiz Caltech April, 2004 Variational Integrators What? Theory to generate space and time integrators Why? Conservation

More information

QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34)

QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34) QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34) NOTE: FOR NUMERICAL PROBLEMS FOR ALL UNITS EXCEPT UNIT 5 REFER THE E-BOOK ENGINEERING CIRCUIT ANALYSIS, 7 th EDITION HAYT AND KIMMERLY. PAGE NUMBERS OF

More information

Network Topology-2 & Dual and Duality Choice of independent branch currents and voltages: The solution of a network involves solving of all branch currents and voltages. We know that the branch current

More information

Discrete Mechanics and Optimal Control for Constrained Systems (DMOCC)

Discrete Mechanics and Optimal Control for Constrained Systems (DMOCC) Discrete Mechanics and Optimal Control for Constrained Systems (DMOCC) Sigrid Leyendecker Aeronautics and Control and Dynamical Systems California Institute of Technology 5-45 Pasadena, CA 9115 email:

More information

Superconductors: Quantum circuits

Superconductors: Quantum circuits Superconductors: Quantum circuits J. J. García-Ripoll IFF, CSIC Madrid (20-4-2009) Mesoscopic QIPC Small systems So far we have only seen small systems to store and process QI Individual atoms As trapped

More information

Geometric Mechanics and Global Nonlinear Control for Multi-Body Dynamics

Geometric Mechanics and Global Nonlinear Control for Multi-Body Dynamics Geometric Mechanics and Global Nonlinear Control for Multi-Body Dynamics Harris McClamroch Aerospace Engineering, University of Michigan Joint work with Taeyoung Lee (George Washington University) Melvin

More information

Numerische Mathematik

Numerische Mathematik Numer. Math. DOI 1.17/s211-14-679- Numerische Mathematik Spectral variational integrators James Hall Melvin Leok Received: 19 November 212 / Revised: 16 October 214 Springer-Verlag Berlin Heidelberg 214

More information

UNIVERSITY OF CALIFORNIA, SAN DIEGO

UNIVERSITY OF CALIFORNIA, SAN DIEGO UNIVERSITY OF CALIFORNIA, SAN DIEGO Structured approaches to large-scale systems: Variational integrators for interconnected Lagrange-Dirac systems and structured model reduction on Lie groups A dissertation

More information

Solution: Based on the slope of q(t): 20 A for 0 t 1 s dt = 0 for 3 t 4 s. 20 A for 4 t 5 s 0 for t 5 s 20 C. t (s) 20 C. i (A) Fig. P1.

Solution: Based on the slope of q(t): 20 A for 0 t 1 s dt = 0 for 3 t 4 s. 20 A for 4 t 5 s 0 for t 5 s 20 C. t (s) 20 C. i (A) Fig. P1. Problem 1.24 The plot in Fig. P1.24 displays the cumulative charge q(t) that has entered a certain device up to time t. Sketch a plot of the corresponding current i(t). q 20 C 0 1 2 3 4 5 t (s) 20 C Figure

More information

Discretizations of Lagrangian Mechanics

Discretizations of Lagrangian Mechanics Discretizations of Lagrangian Mechanics George W. Patrick Applied Mathematics and Mathematical Physics Mathematics and Statistics, University of Saskatchewan, Canada August 2007 With Charles Cuell Discretizations

More information

Basic. Theory. ircuit. Charles A. Desoer. Ernest S. Kuh. and. McGraw-Hill Book Company

Basic. Theory. ircuit. Charles A. Desoer. Ernest S. Kuh. and. McGraw-Hill Book Company Basic C m ш ircuit Theory Charles A. Desoer and Ernest S. Kuh Department of Electrical Engineering and Computer Sciences University of California, Berkeley McGraw-Hill Book Company New York St. Louis San

More information

Lecture 39. PHYC 161 Fall 2016

Lecture 39. PHYC 161 Fall 2016 Lecture 39 PHYC 161 Fall 016 Announcements DO THE ONLINE COURSE EVALUATIONS - response so far is < 8 % Magnetic field energy A resistor is a device in which energy is irrecoverably dissipated. By contrast,

More information

Quantize electrical circuits

Quantize electrical circuits Quantize electrical circuits a lecture in Quantum Informatics the 4th and 7th of September 017 Thilo Bauch and Göran Johansson In this lecture we will discuss how to derive the quantum mechanical hamiltonian

More information

Handout 10: Inductance. Self-Inductance and inductors

Handout 10: Inductance. Self-Inductance and inductors 1 Handout 10: Inductance Self-Inductance and inductors In Fig. 1, electric current is present in an isolate circuit, setting up magnetic field that causes a magnetic flux through the circuit itself. This

More information

Numerical Algorithms as Dynamical Systems

Numerical Algorithms as Dynamical Systems A Study on Numerical Algorithms as Dynamical Systems Moody Chu North Carolina State University What This Study Is About? To recast many numerical algorithms as special dynamical systems, whence to derive

More information

Lecture V: The game-engine loop & Time Integration

Lecture V: The game-engine loop & Time Integration Lecture V: The game-engine loop & Time Integration The Basic Game-Engine Loop Previous state: " #, %(#) ( #, )(#) Forces -(#) Integrate velocities and positions Resolve Interpenetrations Per-body change

More information

Review of Lagrangian Mechanics and Reduction

Review of Lagrangian Mechanics and Reduction Review of Lagrangian Mechanics and Reduction Joel W. Burdick and Patricio Vela California Institute of Technology Mechanical Engineering, BioEngineering Pasadena, CA 91125, USA Verona Short Course, August

More information

DIRAC COTANGENT BUNDLE REDUCTION HIROAKI YOSHIMURA JERROLD E. MARSDEN. (Communicated by Juan-Pablo Ortega)

DIRAC COTANGENT BUNDLE REDUCTION HIROAKI YOSHIMURA JERROLD E. MARSDEN. (Communicated by Juan-Pablo Ortega) JOURNAL OF GEOMETRIC MECHANICS doi:10.3934/jgm.2009.1.87 c American Institute of Mathematical Sciences Volume 1, Number 1, March 2009 pp. 87 158 DIRAC COTANGENT BUNDLE REDUCTION HIROAKI YOSHIMURA Applied

More information

HAMILTON S PRINCIPLE

HAMILTON S PRINCIPLE HAMILTON S PRINCIPLE In our previous derivation of Lagrange s equations we started from the Newtonian vector equations of motion and via D Alembert s Principle changed coordinates to generalised coordinates

More information

Noether Symmetries and Conserved Momenta of Dirac Equation in Presymplectic Dynamics

Noether Symmetries and Conserved Momenta of Dirac Equation in Presymplectic Dynamics International Mathematical Forum, 2, 2007, no. 45, 2207-2220 Noether Symmetries and Conserved Momenta of Dirac Equation in Presymplectic Dynamics Renato Grassini Department of Mathematics and Applications

More information

Modeling of Electromechanical Systems

Modeling of Electromechanical Systems Page 1 of 54 Modeling of Electromechanical Systems Werner Haas, Kurt Schlacher and Reinhard Gahleitner Johannes Kepler University Linz, Department of Automatic Control, Altenbergerstr.69, A 4040 Linz,

More information

Numerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li

Numerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li Numerical Methods for ODEs Lectures for PSU Summer Programs Xiantao Li Outline Introduction Some Challenges Numerical methods for ODEs Stiff ODEs Accuracy Constrained dynamics Stability Coarse-graining

More information

Lecture #3. Review: Power

Lecture #3. Review: Power Lecture #3 OUTLINE Power calculations Circuit elements Voltage and current sources Electrical resistance (Ohm s law) Kirchhoff s laws Reading Chapter 2 Lecture 3, Slide 1 Review: Power If an element is

More information

Port-Hamiltonian systems: network modeling and control of nonlinear physical systems

Port-Hamiltonian systems: network modeling and control of nonlinear physical systems Port-Hamiltonian systems: network modeling and control of nonlinear physical systems A.J. van der Schaft February 3, 2004 Abstract It is shown how port-based modeling of lumped-parameter complex physical

More information

Inductance, Inductors, RL Circuits & RC Circuits, LC, and RLC Circuits

Inductance, Inductors, RL Circuits & RC Circuits, LC, and RLC Circuits Inductance, Inductors, RL Circuits & RC Circuits, LC, and RLC Circuits Self-inductance A time-varying current in a circuit produces an induced emf opposing the emf that initially set up the timevarying

More information

Lecture I: Constrained Hamiltonian systems

Lecture I: Constrained Hamiltonian systems Lecture I: Constrained Hamiltonian systems (Courses in canonical gravity) Yaser Tavakoli December 15, 2014 1 Introduction In canonical formulation of general relativity, geometry of space-time is given

More information

Towards Discrete Exterior Calculus and Discrete Mechanics for Numerical Relativity

Towards Discrete Exterior Calculus and Discrete Mechanics for Numerical Relativity Towards Discrete Exterior Calculus and Discrete Mechanics for Numerical Relativity Melvin Leok Mathematics, University of Michigan, Ann Arbor. Joint work with Mathieu Desbrun, Anil Hirani, and Jerrold

More information

Math 692A: Geometric Numerical Integration

Math 692A: Geometric Numerical Integration Math 692A: Geometric Numerical Integration Melvin Leok Mathematics, Purdue University. mleok@math.purdue.edu http://www.math.purdue.edu/ mleok/ Mathematics, Purdue University NSF DMS-54747, 714223 and

More information

Transient Analysis of Electrical Circuits Using Runge- Kutta Method and its Application

Transient Analysis of Electrical Circuits Using Runge- Kutta Method and its Application International Journal of Scientific and Research Publications, Volume 3, Issue 11, November 2013 1 Transient Analysis of Electrical Circuits Using Runge- Kutta Method and its Application Anuj Suhag School

More information

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2. MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2. Diagonalization Let L be a linear operator on a finite-dimensional vector space V. Then the following conditions are equivalent:

More information

Model order reduction of electrical circuits with nonlinear elements

Model order reduction of electrical circuits with nonlinear elements Model order reduction of electrical circuits with nonlinear elements Andreas Steinbrecher and Tatjana Stykel 1 Introduction The efficient and robust numerical simulation of electrical circuits plays a

More information

Chaotic motion. Phys 750 Lecture 9

Chaotic motion. Phys 750 Lecture 9 Chaotic motion Phys 750 Lecture 9 Finite-difference equations Finite difference equation approximates a differential equation as an iterative map (x n+1,v n+1 )=M[(x n,v n )] Evolution from time t =0to

More information

Math 307 Learning Goals. March 23, 2010

Math 307 Learning Goals. March 23, 2010 Math 307 Learning Goals March 23, 2010 Course Description The course presents core concepts of linear algebra by focusing on applications in Science and Engineering. Examples of applications from recent

More information

PHYSICS 110A : CLASSICAL MECHANICS

PHYSICS 110A : CLASSICAL MECHANICS PHYSICS 110A : CLASSICAL MECHANICS 1. Introduction to Dynamics motion of a mechanical system equations of motion : Newton s second law ordinary differential equations (ODEs) dynamical systems simple 2.

More information

Computing Phase Noise Eigenfunctions Directly from Steady-State Jacobian Matrices

Computing Phase Noise Eigenfunctions Directly from Steady-State Jacobian Matrices Computing Phase Noise Eigenfunctions Directly from Steady-State Jacobian Matrices Alper Demir David Long Jaijeet Roychowdhury Bell Laboratories Murray Hill New Jersey USA Abstract The main effort in oscillator

More information

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

MATH 304 Linear Algebra Lecture 34: Review for Test 2. MATH 304 Linear Algebra Lecture 34: Review for Test 2. Topics for Test 2 Linear transformations (Leon 4.1 4.3) Matrix transformations Matrix of a linear mapping Similar matrices Orthogonality (Leon 5.1

More information

Inductance, RL and RLC Circuits

Inductance, RL and RLC Circuits Inductance, RL and RLC Circuits Inductance Temporarily storage of energy by the magnetic field When the switch is closed, the current does not immediately reach its maximum value. Faraday s law of electromagnetic

More information

Series & Parallel Resistors 3/17/2015 1

Series & Parallel Resistors 3/17/2015 1 Series & Parallel Resistors 3/17/2015 1 Series Resistors & Voltage Division Consider the single-loop circuit as shown in figure. The two resistors are in series, since the same current i flows in both

More information

P441 Analytical Mechanics - I. RLC Circuits. c Alex R. Dzierba. In this note we discuss electrical oscillating circuits: undamped, damped and driven.

P441 Analytical Mechanics - I. RLC Circuits. c Alex R. Dzierba. In this note we discuss electrical oscillating circuits: undamped, damped and driven. Lecture 10 Monday - September 19, 005 Written or last updated: September 19, 005 P441 Analytical Mechanics - I RLC Circuits c Alex R. Dzierba Introduction In this note we discuss electrical oscillating

More information

Identification of Electrical Circuits for Realization of Sparsity Preserving Reduced Order Models

Identification of Electrical Circuits for Realization of Sparsity Preserving Reduced Order Models Identification of Electrical Circuits for Realization of Sparsity Preserving Reduced Order Models Christof Kaufmann 25th March 2010 Abstract Nowadays very-large scale integrated circuits contain a large

More information

Notes for course EE1.1 Circuit Analysis TOPIC 4 NODAL ANALYSIS

Notes for course EE1.1 Circuit Analysis TOPIC 4 NODAL ANALYSIS Notes for course EE1.1 Circuit Analysis 2004-05 TOPIC 4 NODAL ANALYSIS OBJECTIVES 1) To develop Nodal Analysis of Circuits without Voltage Sources 2) To develop Nodal Analysis of Circuits with Voltage

More information

. D CR Nomenclature D 1

. D CR Nomenclature D 1 . D CR Nomenclature D 1 Appendix D: CR NOMENCLATURE D 2 The notation used by different investigators working in CR formulations has not coalesced, since the topic is in flux. This Appendix identifies the

More information

Port-Hamiltonian systems: a theory for modeling, simulation and control of complex physical systems

Port-Hamiltonian systems: a theory for modeling, simulation and control of complex physical systems Port-Hamiltonian systems: a theory for modeling, simulation and control of complex physical systems A.J. van der Schaft B.M. Maschke July 2, 2003 Abstract It is shown how port-based modeling of lumped-parameter

More information

Module 24: Outline. Expt. 8: Part 2:Undriven RLC Circuits

Module 24: Outline. Expt. 8: Part 2:Undriven RLC Circuits Module 24: Undriven RLC Circuits 1 Module 24: Outline Undriven RLC Circuits Expt. 8: Part 2:Undriven RLC Circuits 2 Circuits that Oscillate (LRC) 3 Mass on a Spring: Simple Harmonic Motion (Demonstration)

More information

A little taste of symplectic geometry

A little taste of symplectic geometry A little taste of symplectic geometry Mathematics Seminar The Richard Stockton College of New Jersey Pomona, New Jersey Timothy E. Goldberg Cornell University Ithaca, New York goldberg@math.cornell.edu

More information

Parallel-in-time integrators for Hamiltonian systems

Parallel-in-time integrators for Hamiltonian systems Parallel-in-time integrators for Hamiltonian systems Claude Le Bris ENPC and INRIA Visiting Professor, The University of Chicago joint work with X. Dai (Paris 6 and Chinese Academy of Sciences), F. Legoll

More information

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS LINEAR ALGEBRA, -I PARTIAL EXAM SOLUTIONS TO PRACTICE PROBLEMS Problem (a) For each of the two matrices below, (i) determine whether it is diagonalizable, (ii) determine whether it is orthogonally diagonalizable,

More information

Discrete Dirac Structures and Implicit Discrete Lagrangian and Hamiltonian Systems

Discrete Dirac Structures and Implicit Discrete Lagrangian and Hamiltonian Systems Discrete Dirac Structures and Implicit Discrete Lagrangian and Hamiltonian Systems Melvin Leok and Tomoki Ohsawa Department of Mathematics, University of California, San Diego, La Jolla, CA 92093-0112,

More information

[#1] R 3 bracket for the spherical pendulum

[#1] R 3 bracket for the spherical pendulum .. Holm Tuesday 11 January 2011 Solutions to MSc Enhanced Coursework for MA16 1 M3/4A16 MSc Enhanced Coursework arryl Holm Solutions Tuesday 11 January 2011 [#1] R 3 bracket for the spherical pendulum

More information

DISCRETE VARIATIONAL OPTIMAL CONTROL

DISCRETE VARIATIONAL OPTIMAL CONTROL DISCRETE VARIATIONAL OPTIMAL CONTROL FERNANDO JIMÉNEZ, MARIN KOBILAROV, AND DAVID MARTÍN DE DIEGO Abstract. This paper develops numerical methods for optimal control of mechanical systems in the Lagrangian

More information

TWO APPROACHES UTILIZING INVARIANT MANIFOLDS TO DESIGN TRAJECTORIES FOR DMOC OPTIMIZATION

TWO APPROACHES UTILIZING INVARIANT MANIFOLDS TO DESIGN TRAJECTORIES FOR DMOC OPTIMIZATION TWO APPROACHES UTILIZING INVARIANT MANIFOLDS TO DESIGN TRAJECTORIES FOR DMOC OPTIMIZATION INTRODUCTION Ashley Moore Invariant manifolds of the planar circular restricted 3-body problem are used to design

More information

Chapter 1 Symplectic Integrator and Beam Dynamics Simulations

Chapter 1 Symplectic Integrator and Beam Dynamics Simulations Chapter 1 and Beam Accelerator Physics Group, Journal Club November 9, 2010 and Beam NSLS-II Brookhaven National Laboratory 1.1 (70) Big Picture for Numerical Accelerator Physics and Beam For single particle

More information

FDM for parabolic equations

FDM for parabolic equations FDM for parabolic equations Consider the heat equation where Well-posed problem Existence & Uniqueness Mass & Energy decreasing FDM for parabolic equations CNFD Crank-Nicolson + 2 nd order finite difference

More information

Computational Geometric Uncertainty Propagation for Hamiltonian Systems on a Lie Group

Computational Geometric Uncertainty Propagation for Hamiltonian Systems on a Lie Group Computational Geometric Uncertainty Propagation for Hamiltonian Systems on a Lie Group Melvin Leok Mathematics, University of California, San Diego Foundations of Dynamics Session, CDS@20 Workshop Caltech,

More information

Factorization of Indefinite Systems Associated with RLC Circuits. Patricio Rosen Wil Schilders, Joost Rommes

Factorization of Indefinite Systems Associated with RLC Circuits. Patricio Rosen Wil Schilders, Joost Rommes Factorization of Indefinite Systems Associated with RLC Circuits Patricio Rosen Wil Schilders, Joost Rommes Outline Circuit Equations Solution Methods (Schilders Factorization Incidence Matrix Decomposition

More information

Chaotic motion. Phys 420/580 Lecture 10

Chaotic motion. Phys 420/580 Lecture 10 Chaotic motion Phys 420/580 Lecture 10 Finite-difference equations Finite difference equation approximates a differential equation as an iterative map (x n+1,v n+1 )=M[(x n,v n )] Evolution from time t

More information

06. Lagrangian Mechanics II

06. Lagrangian Mechanics II University of Rhode Island DigitalCommons@URI Classical Dynamics Physics Course Materials 2015 06. Lagrangian Mechanics II Gerhard Müller University of Rhode Island, gmuller@uri.edu Creative Commons License

More information

CHAPTER 10: Numerical Methods for DAEs

CHAPTER 10: Numerical Methods for DAEs CHAPTER 10: Numerical Methods for DAEs Numerical approaches for the solution of DAEs divide roughly into two classes: 1. direct discretization 2. reformulation (index reduction) plus discretization Direct

More information

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents.

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents. Outline Week 5: Circuits Course Notes: 3.5 Goals: Use linear algebra to determine voltage drops and branch currents. Components in Resistor Networks voltage source current source resistor Components in

More information

arxiv: v1 [math.oc] 1 Feb 2015

arxiv: v1 [math.oc] 1 Feb 2015 HIGH ORDER VARIATIONAL INTEGRATORS IN THE OPTIMAL CONTROL OF MECHANICAL SYSTEMS CÉDRIC M. CAMPOS, SINA OBER-BLÖBAUM, AND EMMANUEL TRÉLAT arxiv:152.325v1 [math.oc] 1 Feb 215 Abstract. In recent years, much

More information

Lecture: Quadratic optimization

Lecture: Quadratic optimization Lecture: Quadratic optimization 1. Positive definite och semidefinite matrices 2. LDL T factorization 3. Quadratic optimization without constraints 4. Quadratic optimization with constraints 5. Least-squares

More information

Introduction to the. Geometry of Classical Dynamics

Introduction to the. Geometry of Classical Dynamics Introduction to the Geometry of Classical Dynamics Renato Grassini Dipartimento di Matematica e Applicazioni Università di Napoli Federico II HIKARI LT D HIKARI LTD Hikari Ltd is a publisher of international

More information

ENGR 2405 Chapter 8. Second Order Circuits

ENGR 2405 Chapter 8. Second Order Circuits ENGR 2405 Chapter 8 Second Order Circuits Overview The previous chapter introduced the concept of first order circuits. This chapter will expand on that with second order circuits: those that need a second

More information

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 28 PART II Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 29 BOUNDARY VALUE PROBLEMS (I) Solving a TWO

More information

Spectral Processing. Misha Kazhdan

Spectral Processing. Misha Kazhdan Spectral Processing Misha Kazhdan [Taubin, 1995] A Signal Processing Approach to Fair Surface Design [Desbrun, et al., 1999] Implicit Fairing of Arbitrary Meshes [Vallet and Levy, 2008] Spectral Geometry

More information

Port-Hamiltonian Systems: from Geometric Network Modeling to Control

Port-Hamiltonian Systems: from Geometric Network Modeling to Control Port-Hamiltonian Systems: from Geometric Network Modeling to Control, EECI, April, 2009 1 Port-Hamiltonian Systems: from Geometric Network Modeling to Control, EECI, April, 2009 2 Port-Hamiltonian Systems:

More information

Robotics. Dynamics. Marc Toussaint U Stuttgart

Robotics. Dynamics. Marc Toussaint U Stuttgart Robotics Dynamics 1D point mass, damping & oscillation, PID, dynamics of mechanical systems, Euler-Lagrange equation, Newton-Euler recursion, general robot dynamics, joint space control, reference trajectory

More information

Curves in the configuration space Q or in the velocity phase space Ω satisfying the Euler-Lagrange (EL) equations,

Curves in the configuration space Q or in the velocity phase space Ω satisfying the Euler-Lagrange (EL) equations, Physics 6010, Fall 2010 Hamiltonian Formalism: Hamilton s equations. Conservation laws. Reduction. Poisson Brackets. Relevant Sections in Text: 8.1 8.3, 9.5 The Hamiltonian Formalism We now return to formal

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

Electromagnetic Oscillations and Alternating Current. 1. Electromagnetic oscillations and LC circuit 2. Alternating Current 3.

Electromagnetic Oscillations and Alternating Current. 1. Electromagnetic oscillations and LC circuit 2. Alternating Current 3. Electromagnetic Oscillations and Alternating Current 1. Electromagnetic oscillations and LC circuit 2. Alternating Current 3. RLC circuit in AC 1 RL and RC circuits RL RC Charging Discharging I = emf R

More information

Geometric Numerical Integration

Geometric Numerical Integration Geometric Numerical Integration (Ernst Hairer, TU München, winter 2009/10) Development of numerical ordinary differential equations Nonstiff differential equations (since about 1850), see [4, 2, 1] Adams

More information

M3-4-5 A16 Notes for Geometric Mechanics: Oct Nov 2011

M3-4-5 A16 Notes for Geometric Mechanics: Oct Nov 2011 M3-4-5 A16 Notes for Geometric Mechanics: Oct Nov 2011 Text for the course: Professor Darryl D Holm 25 October 2011 Imperial College London d.holm@ic.ac.uk http://www.ma.ic.ac.uk/~dholm/ Geometric Mechanics

More information

Physics for Scientists & Engineers 2

Physics for Scientists & Engineers 2 Electromagnetic Oscillations Physics for Scientists & Engineers Spring Semester 005 Lecture 8! We have been working with circuits that have a constant current a current that increases to a constant current

More information

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67 1/67 ECEN 420 LINEAR CONTROL SYSTEMS Lecture 6 Mathematical Representation of Physical Systems II State Variable Models for Dynamic Systems u 1 u 2 u ṙ. Internal Variables x 1, x 2 x n y 1 y 2. y m Figure

More information

Boltzmann-Gibbs Preserving Langevin Integrators

Boltzmann-Gibbs Preserving Langevin Integrators Boltzmann-Gibbs Preserving Langevin Integrators Nawaf Bou-Rabee Applied and Comp. Math., Caltech INI Workshop on Markov-Chain Monte-Carlo Methods March 28, 2008 4000 atom cluster simulation Governing Equations

More information

BASIC EXAM ADVANCED CALCULUS/LINEAR ALGEBRA

BASIC EXAM ADVANCED CALCULUS/LINEAR ALGEBRA 1 BASIC EXAM ADVANCED CALCULUS/LINEAR ALGEBRA This part of the Basic Exam covers topics at the undergraduate level, most of which might be encountered in courses here such as Math 233, 235, 425, 523, 545.

More information

Dirac structures. Henrique Bursztyn, IMPA. Geometry, mechanics and dynamics: the legacy of J. Marsden Fields Institute, July 2012

Dirac structures. Henrique Bursztyn, IMPA. Geometry, mechanics and dynamics: the legacy of J. Marsden Fields Institute, July 2012 Dirac structures Henrique Bursztyn, IMPA Geometry, mechanics and dynamics: the legacy of J. Marsden Fields Institute, July 2012 Outline: 1. Mechanics and constraints (Dirac s theory) 2. Degenerate symplectic

More information

Electrical Circuits I

Electrical Circuits I Electrical Circuits I This lecture discusses the mathematical modeling of simple electrical linear circuits. When modeling a circuit, one ends up with a set of implicitly formulated algebraic and differential

More information

Solving Optimal Control Problems by Exploiting Inherent Dynamical Systems Structures

Solving Optimal Control Problems by Exploiting Inherent Dynamical Systems Structures DOI 10.1007/s00332-012-9140-7 Solving Optimal Control Problems by Exploiting Inherent Dynamical Systems Structures Kathrin Flaßkamp Sina Ober-Blöbaum Marin Kobilarov Received: 31 October 2011 / Accepted:

More information

Module 2. DC Circuit. Version 2 EE IIT, Kharagpur

Module 2. DC Circuit. Version 2 EE IIT, Kharagpur Module 2 DC Circuit Lesson 5 Node-voltage analysis of resistive circuit in the context of dc voltages and currents Objectives To provide a powerful but simple circuit analysis tool based on Kirchhoff s

More information