Adding ECD to Matlab/Mathematica SUS models

Slides:



Advertisements
Similar presentations
Matrices and MATLAB Dr Viktor Fedun
Advertisements

State Variables.
6.1 Vector Spaces-Basic Properties. Euclidean n-space Just like we have ordered pairs (n=2), and ordered triples (n=3), we also have ordered n-tuples.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Lumped Parameter Systems.
The Power of Many?..... Coupled Wave Energy Point Absorbers Paul Young MSc candidate, University of Otago Supervised by Craig Stevens (NIWA), Pat Langhorne.
Gauss – Jordan Elimination Method: Example 2 Solve the following system of linear equations using the Gauss - Jordan elimination method Slide 1.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Slides by Olga Sorkine, Tel Aviv University. 2 The plan today Singular Value Decomposition  Basic intuition  Formal definition  Applications.
Chapter 3 Determinants and Matrices
Review of basic mathematics: Vectors & Matrices Differential equations Rende Steerenberg (BE/OP) 16 January 2012 Rende Steerenberg (BE/OP) 16 January 2012.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Velocities and Static Force
Linear Algebra – Linear Equations
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Suspension Dynamics Modeling for (TAMA and) LIGO and KAGRA Mark Barton July GW Seminar 7/24/15.
LIGO-G D 1 25-May-02 Advanced LIGO Suspension Model in Mathematica Gravitational Wave Advanced Detector Workshop Elba - May 2002 Mark Barton.
Little Linear Algebra Contents: Linear vector spaces Matrices Special Matrices Matrix & vector Norms.
A Study of The Applications of Matrices and R^(n) Projections By Corey Messonnier.
Robot Dynamics – Slide Set 10 ME 4135 R. R. Lindeke, Ph. D.
Different Types of Fields to Describe the Earth. Anisotropy, heterogeneity SEM of shale (Josh et al., 2012)
An introduction to the finite element method using MATLAB
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Lecture 14: Stability and Control II Reprise of stability from last time The idea of feedback control Remember that our analysis is limited to linear systems.
Eng Ship Structures 1 Matrix Analysis Using MATLAB Example.
4 May 2007 LIGO-G K Pendulum Modeling in Mathematica™ and Matlab™ IGR Thermal Noise Group Meeting 4 May 2007.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
Class Opener:. Identifying Matrices Student Check:
Forward modelling The key to waveform tomography is the calculation of Green’s functions (the point source responses) Wide range of modelling methods available.
A string is an array of characters Strings have many uses in MATLAB Display text output Specify formatting for plots Input arguments for some functions.
Word : Let F be a field then the expression of the form a 1, a 2, …, a n where a i  F  i is called a word of length n over the field F. We denote the.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
Ch 9.2: Autonomous Systems and Stability In this section we draw together and expand on geometrical ideas introduced in Section 2.5 for certain first order.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
1.7 Linear Independence. in R n is said to be linearly independent if has only the trivial solution. in R n is said to be linearly dependent if there.
In The Name of Allah The Most Beneficent The Most Merciful 1.
S3-1 ADM703, Section 3, August 2005 Copyright  2005 MSC.Software Corporation SECTION 3 SUSPENSION SYSTEM.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3 - Chapter 8 Linear Algebraic Equations and Matrices.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
MTH108 Business Math I Lecture 20.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Vectors AP Physics C.
MESB374 System Modeling and Analysis
Modeling and Simulation Dr. Mohammad Kilani
ECE 3301 General Electrical Engineering
Chapter 7 Matrix Mathematics
Signals in Matlab Matlab as a name stands for Matrix Laboratory.
Matrices - Addition and Subtraction
Matrix Operations.
Features in the Quad State Space Model
Matrix Operations SpringSemester 2017.
Dr. Ameria Eldosoky Discrete mathematics
Mechanical Engineering at Virginia Tech
Chapter 10: Solving Linear Systems of Equations
Quantum One.
Autonomous Cyber-Physical Systems: Dynamical Systems
Implementation of 2D stress-strain Finite Element Modeling on MATLAB
Matrices Elements, Adding and Subtracting
Chapter 4 Systems of Linear Equations; Matrices
Coordinate Transformation in 3D Final Project Presentation
Elementary Linear Algebra
Basics of Linear Algebra
Chapter 4 Systems of Linear Equations; Matrices
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
November 5, 2002 SE 180 Final Project.
Presentation transcript:

Adding ECD to Matlab/Mathematica SUS models M. Barton for SUS Testing Meeting 1/7/14, revised 1/15/15 G1400012-v2

Damping for HAUX/HTTS There is a suite of Matlab models for different suspension types, including a single pendulum with blades for HAUX/HTTS. None of these have built-in eddy current damping – any damping has been added by wrapping a control system around the model in Simulink or the like. HAUX and HTTS have built-in ECD and it is inconvenient not having this as part of the model. Partial support was added a few months ago by hacking the state space A matrix. This was enough to support standard SUS testing by giving valid optic force/torque to optic displacement TFs. Rana et al. have requested support for structure displacement to optic displacement TFs. This was trickier, and required adding a set of new structure-velocity inputs and hacking the B matrix. The changes have been implemented but there is an outstanding bug. G1400012-v2

Status Quo Ante Each Mathematica model exports symbolic matrix elements in Matlab format, e.g., symbexport1bladesfull.m for single model with blades. Damping had not been exported due to incompatible representations. Mathematica uses frequency dependent complex matrixes acting on a state vector of (just) displacements. Can easily represent arbitrary frequency dependence, including structural, thermoelastic and velocity damping terms. Less convenient in time domain. Matlab uses state-space formalism Convenient for Matlab Simulink and linear analysis tools. Can only represent velocity damping. In principle, the velocity damping component of the total damping could be automatically exported from Mathematica, but historically hasn’t been. => Re-add from scratch. G1400012-v2

Mathematica Equation of motion (T020205): All matrices complex and/or frequency-dependent. Solved numerically for individual values of f. ECD can be added as a spring with damping factor 0+2πif. Curious sign of coupling matrix CXS(eff) is artifact of definition as submatrix of master stiffness matrix – main entries are typically negative (see T020205). G1400012-v2

Matlab (Old) Usual Matlab model uses a state-space formulation: State is optic displacements and velocities. Inputs are structure displacements and direct forces/torques. Outputs are pendulum displacements and (optionally) reaction force. A/B equation becomes C/D equation becomes Velocity damping should go here in A matrix. No input, so no place to put in B matrix. G1400012-v2

Matlab (New – A&B stuff) Velocity damping corner now filled out in A: New input, corresponding new column in B E matrix maps relative velocities to damping forces/torques. O matrix maps velocities at structure origin to velocities near ECD. is the "true length" from the suspension point down to the COM of the optic. Bug described in –v1 of this presentation turned out to be a sign error in the LP term of O. G1400012-v2

Matlab (New – C&D stuff) New o (for OSEM/ECD position) output, corresponding rows in C and D: New column in D for new input: As before with A and B, maps structure origin position or velocity to the position/velocity near the optic, and is the "true length" from the suspension point down to the COM of the optic. G1400012-v2

Matlab (New – other stuff) New fields in pend data structure in hauxopt_damp.m: pend.B0xx = 0.5*pend.m0; pend.B0yy = 1.*pend.m0; pend.B0zz = 1.*pend.m0; pend.B0yawyaw = 0.05*pend.I0z; pend.B0pitchpitch = 2.*pend.I0y; pend.B0roll = 1.*pend.I0x; New stuff in ssmake1MBf_damp.m: E = diag([pend.B0xx,pend.B0yy,pend.B0zz,… pend.B0yawyaw,pend.B0pitchpitch,pend.B0rollroll]); O = [1 0 0 0 -pend.tl0 0; 0 1 0 0 0 pend.tl0; 0 0 1 0 0 0; … 0 0 0 1 0 0; 0 0 0 0 1 0; 0 0 0 0 0 1]; mbsingleA = [... zeros(6) eye(6) -km\(xm-cqxm'/qm*cqxm) -km\E ]; bm1 = -km\(cxsm-cqxm'/qm*cqsm); bm2 = km\(E*O); bm3 = km\eye(6); mbsingleB = [... zeros(6,18) bm1 bm2 bm3 ]; mbsingleC = [... eye(6) zeros(6,6) zeros(6,12) ]; mbsingleD = [... zeros(6,18) O zeros(6,12) ]; G1400012-v2

Results (L=x) Perfect agreement between Mathematica and Matlab! Note expected rolloff to 1/f at high frequency G1400012-v2

Results (P=pitch and Y=yaw ) Also good agreement! Bug reported for P in –v1 turned out to be sign error in LP term of EB G1400012-v2

Results (L as measured at OSEM) New outputs allow easy plotting of displacement as measured at OSEMs Note however, the OSEM coordinate outputs track the s input and ignore - make sure they're consistent! G1400012-v2