On the Kinematics of Undulator Girder Motion

Similar documents
On the Kinematics of Undulator Girder Motion

Modeling with CMU Mini-FEA Program

LCLS Undulator Quadrupole Fiducialization Plan

CMSC 425: Lecture 10 Basics of Skeletal Animation and Kinematics

Approaches to Simulate the Operation of the Bending Machine

MEM380 Applied Autonomous Robots Winter Robot Kinematics

DYNAMICS MODELING OF A POWER TRANSMISSION MECHANISM WITH LINKAGE AND INERTIAL MASS

1. We ll look at: Types of geometrical transformation. Vector and matrix representations

y = f(x) x (x, f(x)) f(x) g(x) = f(x) + 2 (x, g(x)) 0 (0, 1) 1 3 (0, 3) 2 (2, 3) 3 5 (2, 5) 4 (4, 3) 3 5 (4, 5) 5 (5, 5) 5 7 (5, 7)

A rigid body free to move in a reference frame will, in the general case, have complex motion, which is simultaneously a combination of rotation and

8.6 Three-Dimensional Cartesian Coordinate System

Scientific Manual FEM-Design 16.0

Two Dimensional Viewing

2.1 The ReCTAngUlAR COORdInATe SySTemS And graphs

EELE 482 Lab #3. Lab #3. Diffraction. 1. Pre-Lab Activity Introduction Diffraction Grating Measure the Width of Your Hair 5

Position and Displacement Analysis

Developing a Tracking Algorithm for Underwater ROV Using Fuzzy Logic Controller

Computer Graphics. Geometric Transformations

CS770/870 Spring 2017 Transformations

Computer Graphics. Geometric Transformations

MECHANICS OF MATERIALS

2.8 Distance and Midpoint Formulas; Circles

Computer Graphics. P04 Transformations. Aleksandra Pizurica Ghent University

Determining the 2d transformation that brings one image into alignment (registers it) with another. And

D-Calib: Calibration Software for Multiple Cameras System

A Method to Measure Eye-Hand Coordination for Extracting Skilled Elements-Simultaneous Measurement of Eye-Gaze and Hand Location-

Definitions. Kinematics the study of constrained motion without regard to forces that cause that motion

COORDINATE MEASUREMENT MACHINES AS AN ALIGNMENT TOOL *

3D Geometry and Camera Calibration

Robot Geometry and Kinematics

02/22/02. Assignment 1 on the web page: Announcements. Test login procedure NOW!

CS 351: Perspective Viewing

Implicit differentiation

CS770/870 Spring 2017 Transformations

HEXFLEX: A PLANAR MECHANISM FOR SIX-AXIS MANIPULATION AND ALIGNMENT

The Graph of an Equation

Lab #4: 2-Dimensional Kinematics. Projectile Motion

Tubes are Fun. By: Douglas A. Ruby Date: 6/9/2003 Class: Geometry or Trigonometry Grades: 9-12 INSTRUCTIONAL OBJECTIVES:

Exploiting Rolling Shutter Distortions for Simultaneous Object Pose and Velocity Computation Using a Single View

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z

Beams. Lesson Objectives:

Kinematics of Machines Prof. A. K. Mallik Department of Mechanical Engineering Indian Institute of Technology, Kanpur. Module - 2 Lecture - 1

UNIT NUMBER 5.2. GEOMETRY 2 (The straight line) A.J.Hobson

Lecture 12 Date:

3D X-ray Laminography with CMOS Image Sensor Using a Projection Method for Reconstruction of Arbitrary Cross-sectional Images

Closure Polynomials for Strips of Tetrahedra

Chapter 3. Interpolation. 3.1 Introduction

Supplementary Information. Design of Hierarchical Structures for Synchronized Deformations

10/11/07 1. Motion Control (wheeled robots) Representing Robot Position ( ) ( ) [ ] T

More on Transformations. COS 426, Spring 2019 Princeton University

Equations and Inequalities

CS 157: Assignment 6

Homogeneous Coordinates

An idea which can be used once is a trick. If it can be used more than once it becomes a method

Glossary alternate interior angles absolute value function Example alternate exterior angles Example angle of rotation Example

Linear Algebra and Image Processing: Additional Theory regarding Computer Graphics and Image Processing not covered by David C.

CS559: Computer Graphics

Jacobians. 6.1 Linearized Kinematics. Y: = k2( e6)

0 COORDINATE GEOMETRY

ME 115(a): Final Exam (Winter Quarter 2009/2010)

Section 12.1 Translations and Rotations

Think About. Unit 5 Lesson 3. Investigation. This Situation. Name: a Where do you think the origin of a coordinate system was placed in creating this

SAMPLE STUDY MATERIAL. Mechanical Engineering. Postal Correspondence Course. Theory of Machines. GATE, IES & PSUs

PARAMETRIC EQUATIONS AND POLAR COORDINATES

Three-Dimensional Coordinates

MDP646: ROBOTICS ENGINEERING. Mechanical Design & Production Department Faculty of Engineering Cairo University Egypt. Prof. Said M.

AP CALCULUS BC PACKET 2 FOR UNIT 4 SECTIONS 6.1 TO 6.3 PREWORK FOR UNIT 4 PT 2 HEIGHT UNDER A CURVE

NONCONGRUENT EQUIDISSECTIONS OF THE PLANE

10.7. Polar Coordinates. Introduction. What you should learn. Why you should learn it. Example 1. Plotting Points on the Polar Coordinate System

Kinematic Design Principles

(0, 2) y = x 1 2. y = x (2, 2) y = 2x + 2

Modelling of mechanical system CREATING OF KINEMATIC CHAINS

NATIONAL UNIVERSITY OF SINGAPORE. (Semester I: 1999/2000) EE4304/ME ROBOTICS. October/November Time Allowed: 2 Hours

Polynomials. Math 4800/6080 Project Course

[ ] [ ] Orthogonal Transformation of Cartesian Coordinates in 2D & 3D. φ = cos 1 1/ φ = tan 1 [ 2 /1]

2.3 Polynomial Functions of Higher Degree with Modeling

Image Metamorphosis By Affine Transformations

Chain Pattern Scheduling for nested loops

Kinematics of Machines. Brown Hills College of Engineering & Technology

9 3 Rotations 9 4 Symmetry

Lecture 3. Planar Kinematics

2.2 Absolute Value Functions

Motion Control (wheeled robots)

Visual motion. Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys

Introduction to Homogeneous Transformations & Robot Kinematics

EXPANDING THE CALCULUS HORIZON. Robotics

2.2 Differential Forms

Geometric Model of Camera

Three-Dimensional Laser Scanner. Field Evaluation Specifications

KINEMATIC ANALYSIS OF A THREE-MEMBER END CAM MECHANISM

Def.: a, b, and c are called the for the line L. x = y = z =

Raycasting. Chapter Raycasting foundations. When you look at an object, like the ball in the picture to the left, what do

9. Representing constraint

Magnet Alignment Challenges for an MBA Storage Ring*

ADJUSTABLE GEOMETRIC CONSTRAINTS 2001 MIT PSDAM AND PERG LABS

Engineering and Construction F3HV 11 Maths Craft 1 RIGHT ANGLED TRIANGLES : PYTHAGORAS' THEOREM

METR Robotics Tutorial 2 Week 2: Homogeneous Coordinates

WEEKS 1-2 MECHANISMS

Kinematics Fundamentals CREATING OF KINEMATIC CHAINS

Kinematic Synthesis. October 6, 2015 Mark Plecnik

Transcription:

LCLS-TN-09-02 On the Kinematics of Undulator Girder Motion J. Welch March 23, 2010 The theor of rigid bod kinematics is used to derive equations that govern the control and measurement of the position and orientation of undulator girders. The equations form the basis of the girder matlab software on the LCLS control sstem. The equations are linear for small motion and easil inverted as desired. For reference, some relevant girder geometrical data is also given. 1 Rigid Bod Motion An ideal, perfectl rigid bod, is one that can be moved and rotated in space but does not deform in an wa. Kinematics refers the stud of the motion of such bodies. It deals with the issues of what motions are possible, how to describe them, and the effects of constraints on the motion. It is an old discipline and not much in vogue an more. Onl one surviving theorem is relevant to this paper, Chasle s theorem [1], and it is hardl a theorem. It states that ou can completel describe an motion of an rigid bod b a single pure translation and a single pure rotation. That means all ou can know about the motion can be boiled down to answering the questions, how did it translate, and how did it rotate. The theorem is generall true for three dimensional objects with three translational degrees of freedom and three rotational degrees of freedom six degrees of freedom overall. It turns out that in the case of the undulator girders, it is simpler to derive the Work supported in part b the DOE Contract DE-AC02-76SF00515. This work was performed in support of the LCLS project at SLAC. Figure 1: Two dimensional representation of rigid bod motion. overall 3D motion b first analzing the 2D transverse motion of the girder in two planes of different longitudinal coordinate z. So we will onl develop equations for 2D motion. Such motion involves three degrees of freedom, two spatial and one rotational, and is illustrated in Figure 1. Figure 1 shows a planar bod in two possible positions: 1 and 2. The net motion of an arbitrar point P fixed in the bod can be described b the difference of vectors from the origin of a fixed coordinate sstem to the point P : R 2 R 1. If ou know where P is in position 1, and ou also know R 2 R 1, ou can calculate its location in the position 2. To ap- 1

pl Chasle s theorem we express R 2 R 1 in terms of another translation vector T and a rotation about and arbitraril chosen point fixed in the bod. In the figure, r 1 and r 2 represent vectors from this origin to P, and the vector T represents the translation of the origin. Clearl, for a rigid bod, r 1 and r 2 must have the same length, but the ma have different directions if the bod has rotated. B inspection we have R 2 R 1 = T + r 2 r 1, (1) and we know that r 2 can be obtained b a rotation of r 1. To simplif the discussion, we will onl calculate differential motion such that all bod rotation angles are much less than 1. Because the interesting motions of the girders are ver small compared to the girder size, all changes in rotational angles involved are also ver small compared to 1, and differential motion is an appropriate description. If higher accurac is desired, then the differential motion can be integrated as a series of small steps. If the dθ is defined as the differential rotation angle, and e z is a unit vector in the z direction, then r 2 r 1 = dθe z r 1. If we appl this to equation 1 we have dr = R 2 R 1 = dt + dθe z r 1. (2) We are essentiall done with the theor. Equation 2 expresses the differential change of position of an point in the bod as a single translation vector dt and a single differential rotation angle dθ (the same for all points in the bod) and the rotation of a relative position vector r 1. A 3-D version of this equation would have in place of dθ a rotation vector of three angles, but otherwise would look about the same. The trick now is to appl the theor. 2 Girder Motion 2D Using the above theor, simple as it is, we can calculate the position of the girder from either, (1) the readings of potentiometers that measure linear displacement at arbitrar points on the girder, or (2) the shaft rotation angles of the five cams that support the girder. Inversel, this theor allows us to start with an assumed girder position and then calculate cam shaft angles required to obtain it and what the potentiometer readings should be. To simplif the discussion we will first show how this works first for linear potentiometers and then stud case of cam motion, both in 2-D. Finall, we shall see that b using a simple extrapolation, a 2-D analsis is all we reall need to completel describe the complete 3-D girder motion. 2.1 Linear Potentiometers Imagine a plane figure, such as the one in Figure 2, in contact at three points with the ends of the sliding shafts of three linear potentiometers. The locations of the points of contact and the angles of contact with the edge of the figure are arbitrar. The bodies of the linear potentiometers are considered fixed in space so that If the bod moves, there will be a change shaft lengths. For a 2-D bod there are onl three degrees of freedom, translations in x and coordinates, and roll. So three linear potentiometers are necessar to determine the motion. Now refer to Figure 3 showing a close-up of a single linear potentiometer in contact with a bod in both the moved and initial positions. The unit vector u is defined as perpendicular to the surface of the bod at the initial contact point P 1 and is directed into the bod. We assume that the linear potentiometer is pointed in this same direction for simplicit. Since onl differential motion is assumed, there is no significant change in the direction of the unit vector u. The increase in the length of the potentiometer shaft, LP, is then just the dot product of the displacement of point P 1 and the unit vector u. From equation 2 applied to point P 1 we can write down the differential change in the position of the initial contact point and relate it to the change in the potentiometer reading, R 2 R 1 = dt + dθe z r P1 (3) LP = u1 (R 2 R 1 ) (4) LP = u1 (dt + dθe z r P1 ), (5) 2

where r P1 is a vector from some et-to-be-chosen origin fixed in the girder. Equation 5 is a generic equation that connects a linear poteniometer reading with the overall translation and rotation of the bod. If we write down three such equations for the three linear potentiometers in Figure 2, with readings: LP 1, LP 2, and LP 3; then we have in total, LP 1 = u1 (dt + dθe z r P1 ) (6) LP 2 = u2 (dt + dθe z r P2 ) (7) LP 3 = u3 (dt + dθe z r P3 ). (8) Figure 2: Three linear potentiometers at arbitrar positions can be used for measuring motions of a 2-D bod. Once the origin is chosen, r s and u s can be determined from the geometr of the bod. Equations 6-8 show that for a given 2-D vector dt and rotation angle dθ, the increases to the lengths of the linear potentiometers can be calculated. B inverting equations 6-8 we can go from linear potentiometer readings to bod translations and rotations. Generall the equations, which are linear, will be invertible unless there is a particularl poor choice for the locations and angles of the linear potentiometers, e.g., two are co-linear. An arbitrar point fixed in the bod can be chosen for the coordinate sstem origin which determines the r s and u s, but it is usuall convenient to pick one in which the positions of the contact points can be easil be evaluated. In the case of the Undulator sstem, a convenient choice is the point on the theoretical beamline when the girder is at the Home position and at the z midpoint of the undulator segment. The Home position is defined as the midpoint of the range of motion of the girder. 2.2 Cams Figure 3: Motion of initial contact point P 1 and the linear potentiometer displacement, LP. Now turn to Figure 4 which depicts three roller bearings, mounted eccentricall on fixed rotatings shafts, making contact with a 2-D bod at three points. The bearings have the propert that there is free relative motion between the bod and the bearing at the contact point in the tangential direction, but no motion allowed in the perpendicular direction. Because of the eccentricit, when a shaft rotation angle changes 3

Figure 4: Three roller bearings, depicted as circles, can be used for controlling motions of a 2-D bod. (shown as small arrows), the center of the corresponding bearing moves and in turn causes the bod to move. Since there are three degrees of freedom, there is a unique position of the bod for each set of three shaft angles (cam angles), provided the bod stas in contact with the roller bearings. If an one of the roller bearings was not making contact with the bod, the bod would be free to move and its position would be indeterminate. If we look closel at the contact point of one cam, as shown in Figure 5, we can see that the cam angle φ controls the distance from the fixed shaft axis to the flat spot on the edge of the bod. The eccentricit vector, ɛ is the vector from the axis of the shaft, which is fixed, to the axis of the cam bearing, which is moving. When the cam shaft angle φ defined such φ = 0 corresponds to ɛ being perpendicular to u, the unit surface vector at the initial contact point, then the relationship between motion of the initial contact point, R 2 R 1, and the cam shaft angle is: u (R 2 R 1 ) = u ɛ = ɛ sin φ. Note that u and the vector of bod motion R 2 R 1 are not generall co-linear. As before R 2 R 1 = dt + dθe z r P1. Appling Figure 5: A flat spot on the Bod in contact with a cam roller bearing is shown at two angles of the cam bearing axis, home and φ. these relations to all three cams, labeled 1,2,3, ields u1 (dt + dθe z r P1 ) = ɛ 1 sin φ 1 (9) u2 (dt + dθe z r P2 ) = ɛ 2 sin φ 2 (10) u3 (dt + dθe z r P3 ) = ɛ 3 sin φ 3 (11) These equations can be used in different was, depending on what is known and what is to be calculated. For example, if ou know the cam angles φ 1, φ 2, φ 3, the locations of the contact points r P1, r P2, r P3, and the roll and translation of the bod, then ou can calculate the magnitude of the eccentricit vectors. Similarl, if ou know the magnitude of the eccentricit vectors, cam angles and the locations of the contact points, then ou can calculate the translation and roll of the bod. In the most common cases, the locations of the contact points are known from the design geometr, and the magnitude of the eccentricit vectors are known from measurements on the cam shafts prior to assembl. Some of the basic geometr of the cams and girders is given in Figure 7 with respect to the girder coordinate sstem. If we write out equation 9 explicitl with horizontal 4

and vertical components of dt, (dt x and dt ), we get, dt x u1 x + dt u1 + dθu1 e z r P1 = ɛ 1 sin φ 1 Analogous equations can be written for cams 2 and 3. Taking all three equations together, a matrix expression can be constructed. We define the matrix M 3 (which refers to the 3-cam plane) as M 3 = Then we can write dt x M 3 dt dθ = and M 1 3 u1 x u1 u1 e z r P1 u2 x u2 u2 e z r P2 u3 x u3 u3 e z r P3 ɛ 1 sin φ 1 ɛ 2 sin φ 2 ɛ 3 sin φ 3 ɛ 1 sin φ 1 ɛ 2 sin φ 2 ɛ 3 sin φ 3 = dt x dt dθ. (12) (13). (14) With this information, given the cam angles we can solve for the motion of the girder in the 3-cam plane, or inversel we can find the cam angles that will generate a given motion. We shall see that the full motion of the girder can be determined b additionall solving the motion in the 2-cam plane. However there are onl two degrees of freedom in the 2-cam plane so we can not generall solve for 2D transverse motion and roll. Since roll is uniquel determined in the 3-cam plane, we will take it as a known quantit when doing calculations in the 2-cam plane. As in the 3-cam plane we define a matrix connecting the cam angles with the motion: [ ] u4x u4 M 2 = u4 e z r P4, (15) u5 x u5 u5 e z r P5 so that M 2 dt x dt dθ = [ ] ɛ4 sin φ 4. (16) ɛ 5 sin φ 5 To invert this relationship and find the displacements as a function of angles for a given dθ we note that, u4 x dt x + u4 dt = dθ ɛ 4 sin φ 4 u4 e z r P4 u5 x dt x + u5 dt = dθ ɛ 5 sin φ 5 u5 e z r P5. Identifing the 2 2 matrix, [ ] u4x u4 A =, (17) u5 x u5 we have the desired inverse relationship for the 2-cam plane. [ ] [ ] A 1 ɛ4 sin φ 4 dθu4 e z r P4 dt =. (18) ɛ 5 sin φ 5 dθu5 e z r P5 dt 3 Girder Motion 3D So far we have onl looked at kinematics of 2D objects. The girders are, of course, 3D objects. But because the undulator cams are arranged in two planes whose z separation is much larger than the transverse motion, the 3D motion can easil and accuratel be calculated from the 2D motion in each of the two cam-planes. To see how this is done, consider Figure 6 which depicts a displaced line that should be thought of as moving with the girder and intiall co-linear with the ideal beam centerline z axis. We will define the girder axis as this line. The transverse coordinates of the girder axis in the planes z = Z A and z = Z B are given b the components of vectors T A and T B. From the figure it is clear that the transverse displacement of an point on the girder axis T(z) can be obtained from T A, T B, and the z positions of the point and the planes, via, T(z) = (T B T A ) z z A z B z A. (19) So knowledge of the displacement of the girder axis in an two planes is sufficient to determine the displacement of the girder axis at an point. For example, the motion of points of interest, such as the quadrupole center or the BPM center, can calculated using equation 19, where z A is the downstream camplane coordinate, z B is the upstream cam-plane coordinate, and z is the coordinate of the quadrupole center or bpm center. 5

T(z) = (T B - T A ) x (Z-Z A )/(Z B -Z A ) T A Z A Plane A Z T(Z) z x T B Z B Plane B Figure 6: An point on the girder axis can be calculated from the displacments of the axis at two planes A and B as shown in this figure. 4 Conclusion Equations 6-8 relate the linear potentiometer readings to the motion of the girder. Equations 9-11 relate the cam shaft angles to the motion of the girder. Both sets are easil inverted to either obtain the girder motion from the angles or readings, or, to find the angles and readings that would give a desired motion. The motion of an point on the girder can be calculated b appling either sets of equations to the two cam-planes and extrapolating in the z coordinate using equation 19. The formulation of the equations is quite general and easil coded via matrix and vector methods. The form the basis of the girder matlab software on the LCLS control sstem. Acknowledgements This work benefited from discussions between the author and H-D. Nuhn, and J. Xu. References [1] H. Goldstein, Classical Mechanics, p163 6

Wall x Aisle Wall x Aisle φ 3 φ 4 φ 1 φ 2 1 2 3 φ 4 5 5 dead zone of rotar pot (does not rotate) z = -1170 [mm] "UPSTREAM" 42.8 deg z = +1170 [mm] "DOWNSTREAM" 42.8 deg 0 deg -26.5 deg -26.5 deg Coordinate sstem x==0 at ideal beam center. z = 0 at segment midplane. (from D. Schafer special markups 10/7/08) Cam contact points x z Cam 1-151.4-384.2-1170 Cam 2 301.5-388.7-1170 Cam 3 357.7-397.1-1170 Cam 4-207.0-388.7 1170 Cam 5 358.3-397.1 1170 Quad center 0.0 0.0 1808 BPM center 0.0 0.0 1939 BFW center 0.0 0.0-1795 7 Control Sstem Definitions of cam angles, cam numbers, and flat angles. J.Welch 11/12/08 Figure 7: Configuration of cams and linear potentiometers.