Crashes…

September 9th, 2008 by David

Missouri S&T UAV - Sig Kadet Senior

Sig Kadet Senior before the crash.

On August 29th we were performing some long range testing with the UAV (Sig Kadet Senior) and everything appeared to be going smoothly.  It was navigating beautifully and maintaining altitude and airspeed very well.  When slowly the link quality started to decrease, it then lost the communication link, but not without the notification that it was “landing now.”  It ended up landing in a tree, which did not bode well for the UAV.
It turns out that the failsafes had been programmed incorrectly so instead of “flying home” it immediately tried to “Land Now” since the trigger time was set to 0 seconds instead of a couple minutes.  This was a rather unfortunate fact, and could have easily been avoided.  The decision then had to be made of whether or not to rebuild, with only 18 days left until we left for Australia.  If we were to rebuild we also had to decide whether or not to stick with the Sig Kadet, which was quickly ruled out due to the fact that the stock wing could not handle our payload.  So instead we selected an ARF Senior Telemaster, which had a much stronger stock wing and more spacious fuselage, this also meant that we needed to upgrade to a larger 1.20 O.S. Four-Stroke engine.

Missouri S&T UAV - Crash 1

Missouri S&T UAV - Crash 2

Remains of the Sig Kadet Senior

We scrambled to order the parts and to get the Telemaster together.  Fortunately all of the electronics survived the crash and we were able to get the Telemaster flying within a week.  Leaving a little more than a week to test the new airframe and UAV configuration.

Missouri S&T UAV - Senior Telemaster Build

The new Senior Telemaster UAV

Then to add even more to the drama, during early testing with the Telemaster, it was getting late and visibility was quickly diminishing so we decided to bring it in to land.  As the pilot came in for the approach, the airplane was much further out than expected and it dropped below the horizon and control was lost.  We feared for the worst, we expect the airplane to be in thousands of pieces, with no time for us to rebuild once again.  We quickly hopped in the car and tried to find it.  As we drove to the adjacent field we found the Telemaster sitting in the grass as pictured below (the wing was attached when we arrived, but was removed to inspect the internal damage):

Missouri S&T UAV - Telemaster Crash

Senior Telemaster after minor crash

This was probably the best crash we could have hopped for, one broken wheel hub, bent landing gear, and a few broken bulkheads inside the fuselage.  The repairs were quickly performed later that evening and we were back to testing within a day.

Note: This post has been backdated to reflect the order of actual events.

Posted in Construction, Flying | No Comments »

More Autonomous Flights and Bottle Drop

July 7th, 2008 by David

On May 10th we attempted our first bottle drop from 400 feet.  The bottle had an aluminum tab attached to it which was held by small servo at the center of gravity of the UAV.  We took off under manual control and gained altitude, as the UAV flew it’s oval path autonomously, the bottle was released over the field.  The first bottle we dropped was a 500mL Nalgene bottle, which failed miserably (see picture below).

Missouri S&T UAV

With the water bottle attached, the flight characteristics were not affected, although takeoff distance was increased, the autopilot’s ability to control the UAV was not affected noticably.  During these flights the winds were relatively high, ranging from 10 to 15 MPH, which made navigation for the UAV difficult, but the autopilot performed admirably.  Though at times it was blown off the path, it returned quickly to the intended flight path.  Several autonomous test flights were performed in the windy conditions, further demonstrating the robustness of our UAV platform.

Missouri S&T UAV Team - Nalgen Bottle

Three more test flights were performed on May 15th, all of which included water bottle drops with different bottle designs that took into account lessons learned from the first test.  Enclosures were developed for subsequent bottles that allowed them to survive the 400-foot drop.  Data was also gathered about where the bottles landed and at what point they were released.  With this data the theoretical and actual horizontal distance traveled were compared.  After analysis it turned out that the horizontal distance traveled from two of the drops was consistent, this allowed a simple model to be developed for the trajectory of the bottle.  During the final flight, aerial video of the bottle being released was also obtained from the onboard digital camera (see the video below).


These test flights provided valuable data about how the bottle’s trajectory is affected by the wind resistance, as well as about how the UAV platform handles moderate winds.  The next crucial step will be to integrate the onboard computer along with the camera into the aircraft to allow testing of the system as a whole.

Posted in Autopilot, Electronics, Flying | No Comments »

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 »

Progress Update

March 30th, 2008 by David

Sorry about the lack of updates, there are many new updates coming shortly so bear with us.  The first update being that we completed the new wing and completed the first flight with the new wing and it performed very well even in windy conditions.  Unfortunately there are no pictures of the actual flight but here are some pictures of the new wing on the airplane.  This new wing is significantly stronger allowing us to carry our large payload, it also has less drag allowing us to fly at greater speeds.

UAV New Wing

Although you can’t see from this picture the entire trailing edge consists of the control surfaces for the flaps and the ailerons, we plan on using the flaps during landing to allow us to land slower at slower speeds.

We have also been working on the onboard computer for the airplane, below are some pictures of it and the new enclosure that we had rapid prototyped out of polycarbonate on campus.  The onboard computer is a single-board-computer (SBC) with a 1.8GHz Pentium M processor, 1GB of RAM, and 4GB of flash running Ubuntu Linux.  This computer will handle all of the image acquisition and some or all of the image processing.

 UAV Onboard Computer SBC

Since we have the UAV in flying condition again we will be slowly integrating the all of the electronics into the actual airframe and there should be more frequent updates now that we will be back in the testing/development phase.

Posted in Construction, Electronics, Flying, Wing | No Comments »

The Crash…

September 21st, 2007 by David

We went out flying a few weeks ago (September 8th) with the intent of tuning the autopilot control loops better, since in their current state they were not tuned well enough for autonomous landing. We headed out to the RC field around 3 and shortly got everything together. We had also installed a camera on the vertical stabilizer to finally get some in flight video. For the most part everything was going smoothly until the third flight.

During the third flight shortly after takeoff we began a descent and then both wings suddenly tore off from the fuselage. It is important to note that this occurred under the manual control of the pilot, it should also be noted that the UAV was carrying more weight than we have had in any other flights. We had also previously suspected that the wings might be too weak to handle the weight, and it turns out they were. After the wings tore off, the airplane was still several hundred feet in the air and it quickly went into a dive and plummeted into an open field, thankfully no cows were harmed in the crash. Below are pictures of the carnage…
UAV Crash

UAV Crash - Internals

As you can see from the pictures above the fuselage is completely ruined, as are the wings, but thankfully all of the electronics and the engine survived. We have already begun to search for a new airframe, currently we have not been able to find an aircraft that is more suited for our purpose so we will most likely be purchasing another Sig Kadet and building our own wings in order to make them much stronger and more efficient (by using a different airfoil).

Here is some in-flight video before the airplane crashed…

Click here to download the high quality video.

Posted in Autopilot, Electronics, Flying | No Comments »

First Autonomous Flight

May 24th, 2007 by David

We had our first few autonomous flights two weeks ago, and the UAV didn’t crash, unlike another airplane that day. We got out to the RC field in the early afternoon and it started to rain, it rained on and off all afternoon, so we were only able to fly for short periods of time in between the rain. There were also several other planes out at the field that day, including one of the senior project airplanes built entirely out of carbon fiber.

Carbon Fiber Senior Project Airplane

Unfortunately that airplane was extremely hard to control and on it’s first flight it crashed shortly after takeoff, shearing some nylon bolts. After replacements arrived, it took off again and the second flight lasted much longer, approximately five minutes, before the pilot lost control and it plummeted into the ground. Just as a note, the pilot was a quite experienced, and still had quite a bit of trouble controlling it. Now for the carnage…

Senior Projecty airplane after crash

Senior Project airplane engine

As you can see, not much was left of that…

Thankfully our flights did not end like that. Once the runways were clear we prepared for our first autonomous navigation with the autopilot. I created a simple path in the shape of a rectangle for the UAV to fly over the RC field. The UAV took off under manual control and once it was in the air control was handed over to the autopilot. The first time it flew in autonomous navigation mode, the path that the UAV took was rather sloppy, and not very close to the waypoints that were specified. After giving a quick call to Procerus and adjusting a few parameters it flew much better and closer to the path designated. It was quite the sight seeing the UAV fly itself, a little scary at times, but also very impressive.

After flying a few simple paths and loiters, we attempted to use the autonomous landing mode of the Kestrel autopilot. The UAV began to circle down to the proper altitude and once it reached the altitude where it was supposed to come in for the landing approach, for lack of better words, it simply wandered off into the distance and we were forced to take manual control and bring it back. After a few attempts at it, all resulting in the same behavior, we decided to give up and just send the telemtry log back to Procerus to see if they can diagnose the problem.

UMR AESS UAV Airplane

In this picture you can see the pitot tube to measure airspeed on the wing.

That weekend we went out flying again on Sunday and attempted our first autonomous takeoff, which worked quite well the first time. Once again we attempted some autonomous navigation, this time going farther from the home location (over 1.5 kilometers or ~1 mile). Several times during those flights we had to bring the UAV back under manual control since there was real air traffic to the nearby airport and we did not want to interfere. I will be posting video of our first autonomous flight soon, as well as an update on our electrical system soon.

Posted in Autopilot, Flying | No Comments »

First flight with the autopilot

April 19th, 2007 by David

We had our first flight of the airplane with the autopilot installed last Tuesday (April 17th). We arrived at the RC airfield around 6PM, much to our dismay there was some light rain, which eventually stopped. Setting up the ground station was the first priority, then all of the control surfaces were tested to make sure they were functioning and deflecting the right amount, although for some reason the throttle servo was not moving, after a little bit of tweaking in the Virtual Cockpit, it worked fine. Shortly after the throttle servo was fixed, the autopilot stopped responding, it turned out that the ground connection of the battery to the autopilot had failed, since we did not have a soldering iron handy, the two wires were twisted together and wrapped securely in electrical tape, although as an interesting note, if this wire would have come lose in flight, all control of the aircraft would have been lost.

Autopilot in the UAV

Starting the engine

Abe and Jonathan starting the airplane

The moment of truth came and we fired up the engine and began the to takeoff (on manual control), the airplane was able to takeoff in a relatively short distance and was quickly in the air. The radio link between the autopilot and the ground station was quite strong and the Virtual Cockpit provided us with the airspeed, height above ground, and the attitude of the aircraft. The first order of business was to calibrate the dynamic and static air pressure sensors on the airplane. The next few flights consisted of tuning the control loops with the correct parameters, this was fairly straightforward, but rather time consuming. Once the roll and yaw loops were configured, it was interesting to see how the airplane quickly straightened itself when the pilot attempted to roll it. Although we were not able to finish tuning the control loops since it began getting dark.

The ground station

Overall the first flight with the autopilot was a great success. We plan on flying the airplane again this Sunday, and will hopefully finish tunning the control loops and have our first autonomous flight.  For more pictures you can visit our flickr site.

Takeoff

Posted in Autopilot, Electronics, Flying | No Comments »