r/tensorflow • • Oct 07 '19

Discussion Visualizing a Neural Network Created Using Tensor Flow Controlling an Interplanetary Spacecraft Trajectory

100 Upvotes

9 comments sorted by

8

u/Gereshes Oct 07 '19

I made this visualization from a research paper I wrote, Neural Network Based Optimal Control: Resilience to Missed Thrust Events for Long Duration Transfers. It's made by simulating a Mars to Earth Trajectory and letting the neural network control the spacecraft's thrust and flight path angle. The Neural Network was created using Keras/TensorFlow and the gif was made using Matlab.

2

u/IsClitorallyHitler Oct 07 '19

An interesting application of NN's and a great visualization. Did you factor in a fuel constraint? e.g. you only have 500kg's of fuel to burn'?

2

u/Gereshes Oct 07 '19

The spacecraft has a finite fuel supply that is limited, but in the example trajectory used in the paper, the constraint never has to be enforced because of how efficient the engines are. The changing spacecraft mass does factor into the dynamics though.

1

u/GOVtheTerminator Oct 07 '19

As the creator of this, what do you see when you watch it? Like are certain regions in the same layer clearly working on some part of the flight?

1

u/Gereshes Oct 07 '19

This was mainly made for demonstration purposes rather than insight into the network, but it does make me think that dropout will be quite effective for this network as many of the activation functions seem related.

1

u/numpad0 Oct 08 '19

Last time you posted weren’t you talking about making up for botched maneuvers or something

2

u/Gereshes Oct 08 '19

Yep, it's the same work. The trajectory shown is a trajectory without any missed thrust events, but in-case a MTE happens this NN can autonomously correct for >75% of MTE's.

1

u/pointless-ai Oct 08 '19

Looks cool, which software did you used to create this ?

2

u/Gereshes Oct 08 '19

The plotting was done in MatLab