ARO309 - Astronautics and Spacecraft Design

Slides:



Advertisements
Similar presentations
Formal Computational Skills
Advertisements

Chapter 6 Differential Equations
Today’s topic: Some Celestial Mechanics F Numeriska beräkningar i Naturvetenskap och Teknik.
ARO309 - Astronautics and Spacecraft Design Winter 2014 Try Lam CalPoly Pomona Aerospace Engineering.
MATLAB EXAMPLES Initial-value problems
ARO309 - Astronautics and Spacecraft Design Winter 2014 Try Lam CalPoly Pomona Aerospace Engineering.
Numeriska beräkningar i Naturvetenskap och Teknik Today’s topic: Some Celestial Mechanics F.
ARO309 - Astronautics and Spacecraft Design Winter 2014 Try Lam CalPoly Pomona Aerospace Engineering.
Lecture 18 - Numerical Differentiation
Chapter 9 Gauss Elimination The Islamic University of Gaza
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Simplified Method to Detail the BL Profile… P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Flat Plate Boundary Layer Solutions.
Numerical Solutions of Ordinary Differential Equations
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Why Function Optimization ?
§ 10.5 Systems of Nonlinear Equations in Two Variables.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Gravity & orbits. Isaac Newton ( ) developed a mathematical model of Gravity which predicted the elliptical orbits proposed by Kepler Semi-major.
ECE 5233 Satellite Communications Prepared by: Dr. Ivica Kostanic Lecture 2: Orbital Mechanics (Section 2.1) Spring 2014.
Special Applications: Central Force Motion
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Simpson Rule For Integration.
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
Table of Contents Solving Linear Systems of Equations - Dependent Systems The goal in solving a linear system of equations is to find the values of the.
Physics 430: Lecture 19 Kepler Orbits Dale E. Gary NJIT Physics Department.
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Math 3120 Differential Equations with Boundary Value Problems
Lecture 3 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
The Two-Body Problem. The two-body problem The two-body problem: two point objects in 3D interacting with each other (closed system) Interaction between.
The Three-Body Problem. Context Motivation and History Periodic solutions to the three-body problem The restricted three-body problem Runge-Kutta method.
Charles Hakes Fort Lewis College2 Chapter 1 Kepler’s Laws.
Differential Equations MTH 242 Lecture # 13 Dr. Manshoor Ahmed.
12 INFINITE SEQUENCES AND SERIES Power Series In this section, we will learn about: Power series and testing it for convergence or divergence. INFINITE.
Lecture 26 Molecular orbital theory II
© Imperial College London Numerical Solution of Differential Equations 3 rd year JMC group project ● Summer Term 2004 Supervisor: Prof. Jeff Cash Saeed.
Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (II)
Circuits Theory Examples Newton-Raphson Method. Formula for one-dimensional case: Series of successive solutions: If the iteration process is converged,
ASEN 5050 SPACEFLIGHT DYNAMICS Lambert’s Problem
Chapter 9 Gauss Elimination The Islamic University of Gaza
ITEC 109 Lecture 11 While loops. while loops Review Choices –1 st –2 nd to ?th –Last What happens if you only use ifs? Can you have just an else by itself?
1 Section 5.3 Linear Systems of Equations. 2 THREE EQUATIONS WITH THREE VARIABLES Consider the linear system of three equations below with three unknowns.
Notes – 2/13 Addition Method of solving a System of Equations Also called the Elimination Method.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 27.
Advanced Engineering Mathematics, 7 th Edition Peter V. O’Neil © 2012 Cengage Learning Engineering. All Rights Reserved. CHAPTER 4 Series Solutions.
Math 3120 Differential Equations with Boundary Value Problems
PHY 301: MATH AND NUM TECH Contents Chapter 10: Numerical Techniques I. Integration A.Intro B.Euler  Recall basic  Predictor-Corrector C. Runge-Kutta.
Boundary-Value Problems in Rectangular Coordinates
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
NUMERICAL DIFFERENTIATION or DIFFERENCE APPROXIMATION Used to evaluate derivatives of a function using the functional values at grid points. They are.
Searching a Linear Subspace Lecture VI. Deriving Subspaces There are several ways to derive the nullspace matrix (or kernel matrix). ◦ The methodology.
ARO309 - Astronautics and Spacecraft Design Winter 2014 Try Lam CalPoly Pomona Aerospace Engineering.
Ch 6.2: Solution of Initial Value Problems The Laplace transform is named for the French mathematician Laplace, who studied this transform in The.
11.8 Power Series In this section, we will learn about: Power series and testing it for convergence or divergence. INFINITE SEQUENCES AND SERIES.
Celestial Mechanics I Introduction Kepler’s Laws.
Celestial Mechanics II
Answers for Review Questions for Lectures 1-4. Review Lectures 1-4 Problems Question 2. Derive a closed form for the estimate of the solution of the equation.
Linear Equations Constant Coefficients
Today's Contents Review Answer of homework
Today's Contents Review Elliptic expansion parallelogram.
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
Numerical Analysis Lecture 37.
Numerical Analysis Lecture 38.
ARO309 - Astronautics and Spacecraft Design
Numerical solution of first-order ordinary differential equations
MATH 175: Numerical Analysis II
Sec 23: Runge–Kutta Methods
Numerical solution of first-order ordinary differential equations 1. First order Runge-Kutta method (Euler’s method) Let’s start with the Taylor series.
Presentation transcript:

ARO309 - Astronautics and Spacecraft Design Winter 2014 Try Lam CalPoly Pomona Aerospace Engineering

Lecture 03: Numerical Integrations Chapter TBD

Mathematical Models (Equations) Introductions In this lecture we will look at how dynamical system problems are solved numerically Real Life Problem In Astodynamics Problems we usually deal with Initial Value Problem (IVP) Mathematical Models (Equations) Given: Find: Numerical Algorithm

2nd Order Runge Kutta Given an 1st order ODE Applying Taylor Series expansion to 2nd order Since: and

2nd Order Runge Kutta Now we have

2nd Order Runge Kutta Or The Coefficient in Butcher Tableaux form. Note:

2nd Order Runge Kutta Graphically slope=k2 yn+1 (Approximate Soln) slope=k1=f yo Exact Solution to t1

Gernal Runge Kutta (explicit) The explicit RK method is given by

Runge Kutta (explicit) Note that RK must satisfy: Butcher Table

Runge Kutta (explicit) RK4 where

RK4 Example Goal: Integrate the 2-Body Problem using RK4 for a single step with step size = 60 sec Equations of Motion (EOM): State Equation (around Earth):

RK4 Example From the problem:

RK4 Example

RK4 Example RK4 fails for large time steps (range plot example)

Lecture 04: Two-Body Dynamics: Orbit Position as a Function of Time Chapter 3

Introductions Chapter 2 (Lection 1 and 2) relates position as a function of θ (true anomaly) but not time Time was only introduced when referring to orbit period Here we attempt to find the relations between position of the S/C and time  Kepler’s Equation

Time versus True Anomaly Recall from Chapter 2 Since Then Integrating from 0 (assuming tp = 0) to t and from 0 to θ

Time versus True Anomaly

Time versus True Anomaly Simple Case: Circular Orbits (e=0) If e = 0, then therefore Since for a circular orbit we have then FOR CIRCULAR ORBIT OR

Time versus True Anomaly Elliptical Orbits (0<e<1) Then a = 1 and b = e, therefore we have b < a Me = Mean anomaly for the ellipse

Time versus True Anomaly Elliptical Orbits (0<e<1) Therefore we have From the orbit period of an ellipse we know (or can derive) that Therefore we can solve for me as function orbit period as OR where n = mean motion = 2π/Te

Time versus True Anomaly Elliptical Orbits (0<e<1) We need to fine out Me still ? Let’s introduce another variable E = eccentric anomaly

Time versus True Anomaly Elliptical Orbits (0<e<1) OR This relates E and θ, but it leaves the quadrant of the solution unknown and you get two values of E for the equation. To eliminate this ambiguity we use the following identity Therefore or

Time versus True Anomaly Elliptical Orbits (0<e<1) We need to fine out Me still E This is Kepler’s Equation

Time versus True Anomaly Elliptical Orbits (0<e<1) To find t given Δθ Given orbital parameters, find e and h (assume θ = 0 deg) Find E: Find T (orbit period):

Time versus True Anomaly Elliptical Orbits (0<e<1) To find t given Δθ Fine Me: Find t: Question: What if you are going from a θ = θa to θ = θb? Answer: Find the time from θ = 0 to θ = θa and the time from θ = 0 to θ = θb. Then subtract the differences.

Time versus True Anomaly Elliptical Orbits (0<e<1) To find θ given Δt Given orbital parameters, find e and h (assume θ = 0 deg Find T (orbit period): Find Me: Find E using Newton’s method (or a transcendental solver)

Time versus True Anomaly Elliptical Orbits (0<e<1) To find θ given Δt Using Newton’s Method: Initialize E = Eo: Find f(E): Find f’(E): If abs( f(E) / f’(E) ) > TOL, then repeat with Else Econverged = En For Me < 180 deg For Me > 180 deg

Time versus True Anomaly Elliptical Orbits (0<e<1) To find θ given Δt After finding the converged E, then find θ

Time versus True Anomaly Parabolic Orbits (e = 1) Then a = 1 and b = e, therefore we have b = a MP = Parabolic Mean Anomaly

Time versus True Anomaly Parabolic Orbits (e = 1) STEPS: Find h Find MP Find θ Thus given t or Δt we can find MP To fine θ we can find the root of the below equation Which has one real root

Time versus True Anomaly Hyperbolic Orbits (e > 1) Then a = 1 and b = e, therefore we have b > a

Time versus True Anomaly Hyperbolic Orbits (e > 1) Where the Hyperbolic mean anomaly is Thus we have Similar with Ellipse we will intro a new variable, F, the hyperbolic eccentric anomaly to help solve for the Mean Hyperbolic anomaly, Mh.

Time versus True Anomaly Hyperbolic Orbits (e > 1) Hyperbolic eccentric anomaly for the Hyperbola Since:

Time versus True Anomaly Hyperbolic Orbits (e > 1) We now have Solving for F and since we now have Using the following trig identities for sine and cosine

Time versus True Anomaly Hyperbolic Orbits (e > 1) We now have Therefore we now have: This is Kepler’s Equation for Hyperbola Similar to Elliptical orbits we can solve for F as a function of θ, which is found to be. Thus given θ we can find F, and Mh, and finally t.

Time versus True Anomaly Hyperbolic Orbits (e > 1) If time, t, was given and θ is to be found then we have to solve for Kepler’s equation for hyperbola iteratively using Newton’s method STEPS TO FIND θ (given t) Set initial F0 = Mh where Find f and f’ If abs( f / f’ ) > TOL, repeat steps with updated F Else, Fconverged = Fi. Now find θ

Universal Variables What happens if you don’t know what type of orbit you are in? Why use 3 set of equations? Kepler’s equation can be written in terms of a universal variable or universal anomaly, Χ, and Kepler’s equation becomes the universal Kepler’s equation. If α < 0, then orbit is hyperbolic If α = 0, then orbit is parabolic If α > 0, then orbit is elliptical Where

Universal Variables Stumpff functions or for z = αΧ2 ,

Universal Variables To use Newton’s method we need to define the following function and it’s derivative Iterate with the following algorithm with

Universal Variables Relation ship between X and the orbits For t0 = 0 at periapsis

Universal Variables Example 3.6 (Textbook: Curtis’s) Find h and e Since , then

Universal Variables Example 3.6 (Textbook: Curtis’s) Therefore So X0 is the initial X to use for the Newton’s method to find the converged X

Universal Variables Example 3.6 (Textbook: Curtis’s)

Universal Variables Example 3.6 (Textbook: Curtis’s) Thus we accept the X value of X = 128.5 where

Lagrange Coefficients II Recall Lagrange Coefficients in terms of f and g coefficients From the universal anomaly X we can find the f and g coefficients

Lagrange Coefficients II Where and Steps finding state at a future Δθ using Lagrange Coefficients Find r0 and v0 from the given position and velocity vector Find vr0 and α Find X Find f and g Find r, where r = f r0 + g v0 Find fdot and gdot Find v