final presentation 2 · title: final presentation 2.key created date: 5/14/2014 7:59:39 pm

30
Blue Team Modeling & Simulation Final Presentation April 23, 2013 Victor Gandarillas Nick Kowalczyk Mitch Sangalis Collin York Daniel Zhou

Upload: others

Post on 09-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Blue TeamModeling & Simulation Final Presentation

April 23, 2013

Victor Gandarillas Nick Kowalczyk Mitch Sangalis Collin York Daniel Zhou

Page 2: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Objective

2

• To simulate rendezvous of two spacecraft in LEO • Spacecraft named Reference Spacecraft and

Displaced Spacecraft

Project Motivation

Reference Spacecraft

Displaced Spacecraft

Page 3: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Orbit Model Assumptions

3

• Earth treated as a point mass • Two circular, coplanar orbits about Earth

– Reference Spacecraft -> Inverse Square Law – Displaced Spacecraft -> Hill-Clohessy-Wiltshire (HCW)

equations for relative motion (assumed to be valid) • Other natural forces not incorporated

Reference SpacecraftDisplaced Spacecraft

Page 4: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Attitude Model Assumptions

4

• Gravity torque affects orientations, no effect on orbits !

• Other natural forces not incorporated !

• Thrusters control spacecraft attitude !

• Mass remains constant !

• No gyroscopes

Page 5: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

 

Inverse Square Law

5

 

 

 

   

 

Reference Spacecraft

Page 6: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

 

Hill-Clohessy-Wiltshire Model

6

 

 

 

 

 

 Reference Spacecraft

Displaced Spacecraft

Page 7: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Position error integral incorporated to change final location

7

HCW Control LawHCW in State Space Form 

        

Acceleration inputs become functions of state variables 

  

Use MATLAB to generate gain matrix K to stabilize the system

Page 8: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Nonlinear Attitude Model

8

 

 

 

 

 

 

 

 

  

 

 

   

 

Page 9: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Linearized Attitude Model

9

 

 

 

 

 

 

 

 

  

 

 

   

 

Page 10: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Attitude Control LawSimilar to HCW control, incorporate integral terms for the Euler parameters and stabilize the linear system with state feedback control:

 

 

10

For each time step, solve for linear moment inputs and apply them to the nonlinear system as torques:

*Full nonlinear equations in Appendix

Page 11: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

11

Trick Simulation HierarchySatellite

Simulation

Trick models Trick sims

Orbit AttitudeHCW S_define Tcl communication Data Record

GUI Avizo

• Simulation uses two integrators with different time steps.

Page 12: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Software Communication Overview

12

GUI Trick (simulation)

UNIX Server

Avizo Animation

Workstation

Control inputs

*Simulation runs in real time

Data

Data

Page 13: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

13

Trick GUI: HCW Controller• GUI allows for human in the

loop capability with the HCW controller.

• Uses the variable server to directly modify variables within the simulation.

• When a button is clicked, the desired relative location of the Displaced Spacecraft increments in the corresponding direction.

Page 14: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Objective

14

‘Serverconnect’ is the .tcl file used within Avizo to connect/listen to a remote server containing the Trick simulation.

The remote server’s IP address is input by the user. !Avizo then finds Trick on the remote server via Trick’s variable server.

The Serverconnct file now interfaces between Trick and Avizo, telling Avizo what to move and how.

! The inputs seen to the right are customizable

within the Serverconnect file according to the user’s preferences.

Avizo-Trick Communications

Page 15: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Experiment 1 Overview

15

Evaluate accuracy of HCW equations !

All else being equal, larger initial displacements between two spacecraft will result in less time for the error in the Hill-Clohessy-Wiltshire model to exceed a prescribed threshold. !

Error is the distance between the two Displaced Spacecraft models.

r1

r2

Error

Ref S/C (Inverse Square Law)

Disp S/C (HCW)

Disp S/C (Inverse Square Law)

Page 16: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Experiment 1 Results

16

xo = 10 km

xo = 100 km

xo = 1000 km

We observe that the time to error threshold does decrease as the initial displacement is increased. This supports the hypothesis.

t = 2,600 sec

t = 800 sec

t = 100 sec

Page 17: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Experiment 1 Implications

17

Run Experiment 1 with Experiment 2 initial conditions.

xo = 30 m

10 minutes of run time produces 20 meters in error.

Page 18: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

18

Experiment 2 OverviewControl of the HCW Equations

The response of a 6th order HCW model with an integral and state feedback controller can be modeled as a 2nd order system if 4 of the poles are placed relatively far away.

Page 19: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

19

Experiment 2 Resultssettling time, s 95.3

rise time, s 20.34

percent overshoot, % 13.21

settling time, s 96.21

rise time, s 20.45

percent overshoot, % 13.59

X Step Response

Y Step Response

• Moves 20 meters ahead in orbit

• Move 20 meters higher in altitude

settling time, s 75

rise time, s 23.18

percent overshoot, % 0.1867

Second Order Performance

X = relative altitude, Y = relative position along orbit

We observe that 2nd order approximations do not accurately predict the behavior of the HCW equations under control of a 6th order state-feedback controller.

Page 20: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

20

Trick GUI: Staged Rendezvous Demonstration• GUI created to control staged events of rendezvous

• Bring Displaced Spacecraft to within 5m of Reference Spacecraft

• Stabilize the orientation of both spacecrafts • Bring Displaced Spacecraft to rendezvous with Reference

Spacecraft Relative Position Time History

Page 21: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

21

Staged Controller Demonstration

Stage 1: Approach Stage 2: Orient

Stage 3: Rendezvous

Euler Parameters Time History

Page 22: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

22

Staged Controller Demonstration

Staged Video

Page 23: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Appendix Slides

Page 24: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

  

 

 

 

 

 

HCW Control Law 

Page 25: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Linearized Attitude Model

25

 

 

 

 

 

 

 

Linearized where axis of symmetry is parallel to radial direction:

  

 

 

 

 

 

 

 

 

 

 

Page 26: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

Nonlinear Attitude Model

26

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 27: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

27

Pole Placement and Gains

 

 

 

 

 

 

 

Gains Matrix from place command

Experiment 2 6th Order Model

Poles:Poles that are relatively far away

Poles that govern 2nd order response

Page 28: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

28

2nd Order Performance

 

 

 

 

settling time, s 75

rise time, s 23.18

percent overshoot, % 0.1867

Experiment 2 2nd Order Model

Page 29: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

29

Random Initial Conditions• Start at (0.02, -0.02) and move to (0, 0) with initial velocity 0.0096985207

km/s in the x-direction and -0.0086985207 km/s in the y-direction

Page 30: Final Presentation 2 · Title: Final Presentation 2.key Created Date: 5/14/2014 7:59:39 PM

30

Random Initial Conditions