aerospace · 2001

HokieSat

Virginia Tech's satellite in ION-F, a three-satellite student formation built to measure the ionosphere for NASA and the Air Force's University Nanosatellite Program.

Role: Systems lead and project manager, Virginia Tech nanosatellite team (2000–2003)

From May 2000 to May 2003 I was the systems lead and project manager for HokieSat, our entry in the University Nanosatellite Program that NASA Goddard and the Air Force ran with DARPA. HokieSat was one of three 15-kilogram satellites in ION-F, the Ionospheric Observation Nanosatellite Formation, alongside Utah State’s USUSat and the University of Washington’s Dawgstar. Student teams designed and built each one, with faculty and industry people guiding them. Besides coordinating a large team, I designed the attitude determination and control system, worked on the real-time software architecture for the spacecraft, and analyzed the formation through different mission scenarios. The attitude system became a paper with K. A. Makovec and Chris Hall at the AAS/AIAA Astrodynamics Specialists Conference in Quebec City in August 2001 (AAS 01-311).

The science was space weather. Flying as a “string of beads” with changing separations, the three satellites would measure density irregularities in the ionosphere, the same irregularities that scramble radio and GPS signals. Doing that meant real formation flying with three-axis-stabilized spacecraft, onboard GPS from the Johns Hopkins Applied Physics Lab, and propulsion on two of the satellites to keep the formation together. It was also the target for my master’s research: the plan was to fly my neural network attitude controller on a simulator table first and then on HokieSat itself, against a conventional gain-scheduled controller.

Put on your engineering cap

In June 2001 I realized that Corrie didn’t actually know what I was working on, mostly because I had been so poor at explaining it. So I wrote her a letter by hand, with sketches in pencil, that asked her to put on her “geek… err, engineering cap.” It is still the plainest description of HokieSat that I have, so the rest of this page follows it, and the diagrams are redrawn from those sketches.

ION-F was one of two stacks that would launch together. The other was Three Corner Sat (3CS), three satellites from Arizona State, the University of Colorado at Boulder and New Mexico State. Both stacks were attached to one large base plate, the Multiple Satellite Deployment System (MSDS), which the Shuttle would release. For Shuttle safety we then had to float for four days before the satellites could power on and separate from the MSDS and from each other. Only then would the mission begin: measuring the ionosphere while the three satellites flew in formations about each other, a line, a triangle and so on. In 2001 that had never been done autonomously.

The ION-F and Three Corner Sat stacks, three satellites each, on the shared MSDS deployment plate, with the four steps from Shuttle release to formation flying
Two stacks on one plate, and what happens after the Shuttle lets go

Which way are we facing?

My part of the satellite was the ADCS, the attitude determination and control system: the sensors that measure our attitude (the satellite’s orientation) and the hardware that changes it. Determination works by measuring something from the spacecraft that we already know in inertial space. Solar cells gave us the direction to the Sun, a magnetometer the Earth’s magnetic field, cameras the Earth’s horizon, and rate gyros how fast we were spinning (which for inertial space is zero). There are so many sensors because each one has some error, so you kind of add and compare them.

The example I gave Corrie was driving down the road, wanting to know where you’re facing. The compass says you are pointed 86° clockwise from magnetic north, so you’re heading kind of east. It’s also morning, the Sun rises a little south of east, and it is slightly to your right. So you’re probably actually 88° clockwise from north. You synthesize all of the information to find out where you’re heading.

HokieSat's hexagonal body with the magnetometer, three cameras, solar cells, rate gyros and three torque coils marked, and the bottom pointing at the Earth
Where the attitude sensors and torque coils sat, after my sketch (placement is schematic)

Once you know your attitude, you need to know where you would like to be pointing. For us that was nadir, bottom towards the Earth, since that is where our antennas were. HokieSat turned itself with torque coils, which work like the needle in a compass. Pass an electrical current through each of three orthogonal coils and you create an artificial magnetic field (remember your high school physics?), a “north” for the spacecraft that then lines up with the Earth’s north. So by changing the currents you can change that north and rotate the satellite.

However, the coils can only create torques perpendicular to the Earth’s magnetic field, so there are times when you can’t get the torque you want. On top of that, you have to know how much torque to apply so that you don’t overshoot or waste power, but it also doesn’t take forever. That was the job of my neural network. It basically tries something and sees if it works, and if it doesn’t, it changes its parameters (basically how hard it tries) a little and tries again, which is why it’s “adaptive.” I signed off as “your e-nerd” and promised that the next letter would teach her how a neural network works.

Feedback loop: desired attitude minus measured attitude gives an error, the neural network turns it into coil current, the torque coils turn HokieSat, and the sensors feed the new attitude back
The control loop from the letter, with the neural network as the controller

The constellation was meant to ride the Space Shuttle in 2004. It never flew. After the Columbia accident in 2003 the launch went away, and ION-F was cancelled with only Dawgstar delivered. Satellites get cancelled for reasons that have nothing to do with the engineering; GOCE, which I worked on next, was cancelled three times before it finally launched.