The Mathematics of the Stewart Platform

Similar documents
SELF STABILIZING PLATFORM

Circuit Analysis-II. Circuit Analysis-II Lecture # 2 Wednesday 28 th Mar, 18

Phasor. Phasor Diagram of a Sinusoidal Waveform

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

1. Measure angle in degrees and radians 2. Find coterminal angles 3. Determine the arc length of a circle

Math 3560 HW Set 6. Kara. October 17, 2013

MATLAB/SIMULINK IMPLEMENTATION AND ANALYSIS OF THREE PULSE-WIDTH-MODULATION (PWM) TECHNIQUES

Trigonometry. An Overview of Important Topics

Generation of Switching pulses for a 3 x 3 Matrix Converter

13.2 Define General Angles and Use Radian Measure. standard position:

Graphing Sine and Cosine

Unit Circle: Sine and Cosine

THE SINUSOIDAL WAVEFORM

Mathematics Lecture. 3 Chapter. 1 Trigonometric Functions. By Dr. Mohammed Ramidh

DICOM Correction Item

Polarization Experiments Using Jones Calculus

Chapter 6: Periodic Functions

Experiment O11e Optical Polarisation

CHAPTER 5 INDUSTRIAL ROBOTICS

Chapter 6: Periodic Functions

Trigonometry. David R. Wilkins

Design and Development of Novel Two Axis Servo Control Mechanism

Chapter 3, Part 1: Intro to the Trigonometric Functions

CHAPTER 3. NOVEL MODULATION TECHNIQUES for MULTILEVEL INVERTER and HYBRID MULTILEVEL INVERTER

4G MIMO ANTENNA DESIGN & Verification

Triangle Definition of sin θ and cos θ

Study Guide for Chapter 11

Modeling And Pid Cascade Control For Uav Type Quadrotor

Precalculus Lesson 9.2 Graphs of Polar Equations Mrs. Snow, Instructor

Dr.Arkan A.Hussein Power Electronics Fourth Class. 3-Phase Voltage Source Inverter With Square Wave Output

Arkansas Tech University MATH 1203: Trigonometry Dr. Marcel B. Finan. Review Problems for Test #3

Mekanisme Robot - 3 SKS (Robot Mechanism)

1 Trigonometric Identities

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN

Space Vector PWM and Model Predictive Control for Voltage Source Inverter Control

How to Do Trigonometry Without Memorizing (Almost) Anything

Chapter 4/5 Part 2- Trig Identities and Equations

2009 A-level Maths Tutor All Rights Reserved

Algebra and Trig. I. The graph of

Unit 8 Trigonometry. Math III Mrs. Valentine

Chapter 6: Periodic Functions

DC motor control using arduino

Generalized Theory Of Electrical Machines

EFFECTS OF PHASE AND AMPLITUDE ERRORS ON QAM SYSTEMS WITH ERROR- CONTROL CODING AND SOFT DECISION DECODING

A Novel Four Switch Three Phase Inverter Controlled by Different Modulation Techniques A Comparison

MASTER SHIFU. STUDENT NAME: Vikramadityan. M ROBOT NAME: Master Shifu COURSE NAME: Intelligent Machine Design Lab

CHAPTER 6 UNIT VECTOR GENERATION FOR DETECTING VOLTAGE ANGLE

Thermal Imaging, Power Quality and Harmonics

Design and Implementation of FPGA-Based Robotic Arm Manipulator

Figure 5.1. sin θ = AB. cos θ = OB. tan θ = AB OB = sin θ. sec θ = 1. cotan θ = 1

Trigonometry Review Page 1 of 14

Simulation And Comparison Of Space Vector Pulse Width Modulation For Three Phase Voltage Source Inverter

Math 102 Key Ideas. 1 Chapter 1: Triangle Trigonometry. 1. Consider the following right triangle: c b

Alternating voltages and currents

5.1 Graphing Sine and Cosine Functions.notebook. Chapter 5: Trigonometric Functions and Graphs

PRESENTED AT PCIM-97 EUROPE CLOSED LOOP CONTROL OF THE LINEAR STEPPING MOTORS ABSTRACT

Module 5. DC to AC Converters. Version 2 EE IIT, Kharagpur 1

Lesson 27: Sine and Cosine of Complementary and Special Angles

Development of a Ball and Plate System

PART I: Emmett s teacher asked him to analyze the table of values of a quadratic function to find key features. The table of values is shown below:

Module 4. AC to AC Voltage Converters. Version 2 EE IIT, Kharagpur 1

ZJUDancer Team Description Paper

Math Section 4.3 Unit Circle Trigonometry

of the whole circumference.

7.1 INTRODUCTION TO PERIODIC FUNCTIONS

Module 2: Lecture 4 Flight Control System

Three-Phase, Step-Wave Inverter Circuits

Pulsewidth Modulation for Power Electronic Converters Prof. G. Narayanan Department of Electrical Engineering Indian Institute of Science, Bangalore

Chapter 3, Part 4: Intro to the Trigonometric Functions

Attitude Determination. - Using GPS

MATH 1113 Exam 3 Review. Fall 2017

CHAPTER 3 COMBINED MULTIPULSE MULTILEVEL INVERTER BASED STATCOM

Development of a High-Precision DOP Measuring Instrument

the input values of a function. These are the angle values for trig functions

Smart Electromechanical Systems Modules

SPACE VECTOR PULSE WIDTH MODULATION OF A MULTI-LEVEL DIODE CLAMPED CONVERTER WITH EXPERIMENTAL VERIFICATION

P1 Chapter 10 :: Trigonometric Identities & Equations

Inverted Pendulum Swing Up Controller

Chapter 1. Trigonometry Week 6 pp

UNIVERSIDAD CARLOS III DE MADRID DEPARTMENT OF MECHANICAL ENGINEERING MACHINE THEORY ANALYSIS AND DESIGN OF CAMS. Course 2010/11

7.1 INTRODUCTION TO PERIODIC FUNCTIONS

1 Trigonometry. Copyright Cengage Learning. All rights reserved.

Module 5. DC to AC Converters. Version 2 EE IIT, Kharagpur 1

CC Geometry H Aim #3: How do we rotate points 90 degrees on the coordinate plane? Do Now:

Measurement and compensation of displacement errors by non-stop synchronized data collection

Reference Point System

The Principle of Superposition

Chapter 5. Drawing a cube. 5.1 One and two-point perspective. Math 4520, Spring 2015

Dr.Arkan A.Hussein Power Electronics Fourth Class. Operation and Analysis of the Three Phase Fully Controlled Bridge Converter

Review of Filter Types

Design of Self-tuning PID Controller Parameters Using Fuzzy Logic Controller for Quad-rotor Helicopter

Performance Comparison of a Three Phase AC to Three Phase AC Matrix Converter using Different Carrier based Switching Algorithms

TMR for 2D Angle Sensing

Trig functions are examples of periodic functions because they repeat. All periodic functions have certain common characteristics.

The Sine Function. Precalculus: Graphs of Sine and Cosine

Simulating the Arm Movements of a Stepper Motor Controlled Pickand-Place Robot Using the Stepper Motor Model

User Guide IRMCS3041 System Overview/Guide. Aengus Murray. Table of Contents. Introduction

A Machine Tool Controller using Cascaded Servo Loops and Multiple Feedback Sensors per Axis

2.4 Translating Sine and Cosine Functions

Trigonometric Identities

Transcription:

The Mathematics of the Stewart Platform The Stewart Platform consists of 2 rigid frames connected by 6 variable length legs. The Base is considered to be the reference frame work, with orthogonal axes x, y, z. The Platform has its own orthogonal coordinates x, y, z. The Platform has 6 degrees of freedom with respect to the Base The origin of the Platform coordinates can be defined by 3 translational displacements with respect to the Base, one for each axis. Three angular displacements then define the orientation of the platform with respect to the Base. A set of Euler angles are used in the following sequence: 1. Rotate an angle ψ (yaw) around the z-axis 2. Rotate an angle θ (pitch) around the y-axis 3. Rotate an angle (roll) around the x-axis If we consider the first rotation ψ (yaw) around the z-axis: y P i x + j y + k z ix + jy + kz y P ψ X x OA BC x cos ψ y sin ψ C B y AB + PC O ψ A x x sin ψ + y cos ψ z z We define the rotation matrix where and Similarly If we consider the second rotation θ (pitch) around the y-axis we can show,

And for the third rotation (roll) around the x-axis: The full rotation matrix of the Platform relative to the Base is then given by:.. - (1) Now consider a Stewart Platform. For the leg: z O y Platform x T Base O z y x The coordinates of the anchor point with respect to the Base reference framework are given by the equation T +. - (2)

Where T is the translation vector, giving the positional linear displacement of the origin of the Platform frame with respect to the Base reference framework, and is the vector defining the coordinates of the anchor point with respect to the Platform framework. Similarly the length of the leg is given by T +. - - (3) where is the vector defining the coordinates of the lower anchor point. These 6 equations give the lengths of the 6 legs to achieve the desired position and attitude of the platform. When considering the Forward Kinematics, this expression represents 18 simultaneous nonlinear equations in the 6 unknowns representing the position and attitude of the platform. Much work has been done on finding the solutions to these equations; in the general case there are 40 possible solutions, although in practice many of these solutions would not be practical. If the leg lengths are achieved via rotational servos, rather than linear servos, a further calculation is required to determine the angle of rotation of the servo. Each servo / leg combination can be represented as follows: z s y α β Axis of servo motor in x-y plane x

Where: a length of the servo operating arm are the points of the arm/leg joint on the servo with coordinates in the base framework. are the points of rotation of the servo arms with the coordinates in the base framework. are the points the joints between the operating rods and the platform, with coordinates in the platform framework S length of operating leg length of the leg as calculated from T +. - α angle of servo operating arm from horizontal β angle of servo arm plane relative to the x-axis. Note that the shaft axis lies in the x-y plane where z 0 z-axis π-α (iodd) (ieven) y-axis π+β α β x-axis Sweep of arm Point is constrained to be on the servo arm, but the arrangement of the servos means that the odd and even arms are a reflection of each other. So for the even legs we have: a, and - (4) a, and - (5)

And for the odd legs we have: a - (6) a, and a, and a But, and And, and Substituting these values into the equations for the odd legs, we get the same equations as (4), (5), and (6) for the even legs. By Pythagoras we also have: + + + - 2 - (7) + + + - 2 - (8) + + + - 2 And substituting from equations (7) & (8) - + 2 + - + 2-2 re-arranging gives 2 + 2 + 2 + 2 2 And substituting for,, from equations (4), (5) & (6) then gives 2 + 2 + 2 + 2-2

2 + 2 + 2-2 + 2a + 2-2 + 2a + 2-2 - Which reduces to 2a 2 + 2a 2a 2a Which is an equation of the form:- L Using the Trig identity for the sum of sine waves where and We therefore have another sine function of α with a phase shift δ L where δ Therefore And α - - (9) where L M 2a N 2a We now have sufficient information to calculate the lengths of the effective legs, and the associated angle of the servo arms, for the reverse kinematics for the platform. But to design and implement the hexapod platform we need to define a few constants in order to define the range of movement. 1) We need to define the home position of the platform. By definition this will be where the platform is at a height above the base framework, and there being no other translational or rotational movement. i.e. T +.

Similarly we will define the home position where the servo arms and rods are at right angles to each other. i.e. Giving - (10) and since the platform is constructed symmetrically around the z-axis, this equation will give the same result for any leg. 2) We can also calculate the angle of the servo arm at the Home position. Using the equation T +. - And remembering the symmetrical construction of the platform. The length of the legs in the home position is given by - (11) And the angle of the servo arm in the home position can be given by equation (9). Since we have symmetry, we can look at leg 2 only, where β 0. - - (12) where 2 2a 2a 2a

The servos are mounted so that their mid point is close to the home position, and we will restrict their movement to ± 45. The servos are controlled by a pulse whose duration defines the angle of the arm. Pulse Repetition every 20 msecs The servos used have the specification: Neutral position ( home ) is nominally 1500µsecs Rotation clockwise for increasing pulse width Pulse width change for 45 is 400 µsecs giving a servo rate, r µsecs / radian From the above, the pulse widths equations: for each of the servos can be obtained by the for even i and -(13) for odd i - (14) Where is the actual pulse width required to hold the servo in the home position. This is nominally 1500µsecs, but can be adjusted to compensate for differences in actual assembly.

Controlling the Stewart Platform using RC Servos The platform is constructed with symmetry round the z-axes, but the odd and even servos are mounted in opposition. The circuitry used to control the platform is based on a PICAXE microcontroller with attached maths co-processor (floating point) and attached servo motor controller. Input position variables PICAXE 40X2 µm-fpu µm-pwm Pulse output to servos I2c interface The sequence of events is as follows: 1) Input the positional information for the platform, s, a,. These are all constants from the build of the platform. 2) Input the constants for the servo motors, and r 3) Calculate the values of from equation (10), and from equation (12) 4) Input the variables for (x, y, z, ψ, θ, φ) for the required platform position 5) Calculate the rotational matrix from equation (1) 6) Calculate the effective leg lengths from equations (3) 7) Calculate the angles required for each servo from equation (9) 8) Calculate the pulse widths required for each servo from equations (13) & (14) 9) Output the values of to the µm-pwm to drive the servos 10) Return to step 4) to repeat the process.