UAV Autopilot Tuning

April 8th, 2008 by David

On Saturday (April 5th) we flew the airplane for the first time with the autopilot since it got the new wing.  But before we went out to the RC airfield we had to physically install the autopilot in the fuselage, which went well.  We then performed all of the flights necessary to tune the autopilot in HIL (Hardware In the Loop) simulation mode.

Missouri S&T UAV on the Ground

Using HIL simulation allowed us to all to get a better of idea of what we had to do once we got out to the airfield.  In the end performing the HIL simulation in the lab saved us a lot of time and allowed me to get more familiar with tuning the PID control loops for the autopilot.  Previously we had not used the PID window in Virtual Cockpit, but after using it in the HIL simulation it proved to be invaluable for properly tuning the autopilot, it allows you to see the actual, desired, and effort of a certain control parameter (i.e. pitch, roll, yaw, altitude, etc.).  Previously we had had issues seeing a change in the behavior from the ground after changing a certain PID gain.

On the first flight soon after takeoff the aircraft became unstable and began to become uncontrollable and began oscillating wildly, fortunately our pilot Kyle was able to get it back on the ground without any damage.  It turns out that our CG was too far aft, but after adjusting the CG we were able to continue with testing.  Using the PID window and the having performed the same process of tuning the autopilot in HIL mode, the first few flights went quickly and we were able to quickly tune the level 1 control loops within two 15-minute flights.  A graph of the autopilot’s roll performance is shown below, ideally the two lines should match, and they are in fact very close.

Missouri S&T UAV Team - Autopilot Roll Performance

We then moved on to the level 2 control loops (i.e. pitch from airspeed, pitch from altitude, airspeed from throttle, etc.).  These were slightly more difficult, and took several passes over the airfield to complete, but we were able to get them tuned to a reasonable level.  The ability of the autopilot to maintain a constant altitude is shown below, there are slight oscillations in the altitude (+/- 3 meters), these are reasonable, but might be improved at a later time with more tuning.

Missouri S&T UAV Team - Altitude Performance

Just as my laptop battery was about to give out we moved on to the final flight of the day.  The purpose of the final flight was to verify that the autopilot is able to navigate accurately and safely.  The first test was simply placing a loiter waypoint above the center of the RC airfield; although there were some oscillations in altitude, the overall performance was quite good (note the 4 m/s wind speed).

Missouri S&T UAV Team - Loiter Performance

The final test was to create an oval over the airfield that the UAV would have to navigate.  The first time around the circuit the UAV did not adhere to the waypoints too strictly, but after adjusting some of the navigation parameters the performance was significantly improved (see image below).  After completing these flights the telemetry was reviewed and we were better able to analyze the performance of the autopilot and its navigation.

Missouri S&T UAV Team - Oval Flight Performance

Overall the testing went well and we were able to tune the autopilot control loops better than we had previously been able to with the old wing, this is most likely due to our use the PID window and the HIL simulation which allowed our time at the airfield to be spent much more efficiently.

And now for some video of the flight and the telemetry from the navigation flights:

Posted in Autopilot, Electronics, Flying, Media | 1 Comment »

Wing Construction

January 26th, 2008 by David

We began construction of the new wing on Friday (January 25th) after all the ribs were waterjet. The new wing is build out of plywood and balsa and hardwood rib caps. So far it seems to be significantly stronger than our previous wing. Building a wing from scratch can be a rather tedious and time consuming process, in the last two days we have put in 20+ hours building the wing, and it’s now nearing completion. The control surfaces are the last major component left to build. Below are some pictures of the wing (for more pictures visit our flickr).

UAV Wing Panel

The left wing panel.

UAV Complete Wing

The complete three panel wing.

UAV Wing Dissasembled

By having a three panel wing, transportation is greatly simplified.

Posted in Construction, Media, Wing | Comments Off

More pictures of the UAV

March 26th, 2007 by David

To see more pictures of our UAV you can visit our flickr site. We will be updating our the flickr site frequently with new pictures of our progress.

We have also just recently purchased the autopilot, which should be coming in within the next week or so. After extensive searching and comparisons of various autopilot solutions, the autopilot we decided to go with is the Kestrel by Procerus Technologies. It is quite the feature packed autopilot and should allow us to get the plane up and flying autonomously rather quickly. And we are still in the process of determining what we will use for our video link back to the ground station, the biggest issue is the range, whatever we decide to use must be able to achieve a maximum range of seven miles (line of sight), and lots of bandwidth would be nice too.

As a note we are still looking for sponsors please contact me (derdos (at) ieee.org) if you might be interested in sponsoring our team.

Posted in Electronics, Media | No Comments »