Friday, June 13, 2008

Progress!

So, I've been working on the autopilot for the last few days, now that my undergraduate classes are over. Since my last post, I've managed to make a fair bit of progress.

A brief rundown of changes to my autopilot:
--lowered the saturations to ~+/- 40-50 degrees for each control surface and 0.1-0.5 throttle
--added an airspeed hold function based on the altitude hold
--created a desired heading -> desired bank angle function
--created a desired GPS location -> desired heading function

Bumping the saturations down is helping a fair bit. The airplane doesn't try to do too many stupid things now--like try to deflect the elevator so much that it goes unstable. But it still has this funny problem where the steady state aileron command during level flight is nonzero (and negative). I haven't figured out what's causing it yet...but it's being annoying. Fortunately, it's not affecting the results too much (I think). The airplane model still reacts in a fairly sensible-looking manner.

The airspeed hold is a bit of a question mark. We need to figure out how better to integrate it into our command structure. Like...when speed command is issued, give it priority or something.

Jerry worked out the basic heading -> desired bank angle algorithm earlier in the month, but I wasn't able to incorporate it into the autopilot until this afternoon. We were encountering a problem having it turn left, however; it would simply refuse to do so, and dive into the ground when given a command to turn in that direction. Several hours of debugging later, I noticed that our preset ranges for sideslip angle were wrong; it was [0 10] degrees...and not something like [-20 20]. Changing that fixed our problem.

I also worked out the math for the GPS coordinates -> desired heading function. Given a starting GPS location and GPS coordinates for a waypoint, I can issue a command to track that point. The airplane will then turn and attempt to reach that point. Here's a nifty plot of my initial test of this function:

The airplane starts at the red circle and attempts to reach the black diamond. As you can see, it misses the waypoint and gets confused; subsequently, it begins to circle about that point in an attempt to reach it.

Very rudimentary...but it's a great proof of concept. I'm pretty excited about it, anyway. The next step from here is to set up some more control logic so that the airplane has a preset default command in the event that no waypoints can be found. For example, it could just level itself out after reaching a waypoint. But perhaps my only disappointment is that I'm graduating; next year, I'll have to leave this work to someone else. Maybe I should try to finish as much of this as I can....

9 comments:

Unknown said...

Hi,

I wanted to pursue a PhD in UAV control and obstacle avoidance and wanted to know who would be the faculty i would have to contact to better understand the prospects of a PhD at UCLA?
Thanks
Ankur

Anonymous said...

激突成人論壇.69成人網.aio性感辣妹34c甜心寶貝貼片.彩虹avdvd.美國免費 aa 片試看aio.a383情色網.0951影片下載34c正妹.girl5320 貼片et免費影片下載.北台灣視訊aio34c正妹.080援交網34c甜心寶貝貼片.情色sex520貼影片.高雄視訊34c.080本土自拍天堂.浪漫月光論壇85cc成人影片區.s383情色大網咖34c視訊美女.s383情色大網咖.八國聯軍成人.777 34c美女dvd.34c甜心寶貝貼片區.sex888movie 85cc影城.淫美成人論壇.aio台南視訊3p情色文學小說.aa 片俱樂部視訊i68美女.台南援交pchome交友.亞洲東洋影片gay片免費下載.免費視訊.一對多視訊大學生情人.383成人34c檳榔西施自拍照片.18成人85cc影城0204movie.aio情人視訊網,sex520免費影片.aio情人視訊網.豆豆聊天室aio辣妹視訊.台中援交34c甜心寶貝直播貼片.新浪視訊色情小魔女自拍天堂.免費色情小說一夜情正妹.aio免費aa片試看.sex888入口aio甜心寶貝直播貼片.成人漫畫區百分百成人圖片.情色視訊34c dudu sex.girl5320成人網.免費視訊聊天.台灣情色論壇.色咪咪貼影片視訊.視訊ukiss.383v live實境影音.av影片下載you tube影片下載.網交甜心.85cc色咪咪貼影片.avdvd免費影片亞洲成人圖片區.高雄援交本土自拍天堂.日本同志色教館情色文學成人小說.情色文學成人小說.情色論壇sex貼片.xvediox.台中援交bt程式下載影片下載區.hi5 tv免費影片援交走光.hi5 tv免費avdvd影片.go2av免費影片亞洲瘋情.禁地論壇情色080成人交友.kk121視訊俱樂部.yutube影片下載色情小說.sogo 色論壇aa 片試看

Motor Controller said...

Frustrated pilot here impressed with your work

wholesale electronic said...

Nice post ! thanks

wholesale2005 said...

Chinazrh Wholesale Electronics - China Supplier, Wholesale Distributor and China Dropship for Consumer Electronics, Direct From China.Wide Range of Electronics Products Chinazrh Wholesale Ltd offers to you: Mobile Phones ,GPS Devices ,Car Audio & Video ,Electronic Cigarette ,Electronic Gadgets ,Digital Cameras ,MP3 and Media Player ,Notebooks ,Home Audio & Video ,Digital Photo Frames ,Surveillance Equipment etc.

johnthomas75 said...

why have you stopped posting. this is great stuff!

Anonymous said...

For the plane not reaching the waypoint, why don't you write into the code an acceptable range of error. Im sure in a real life flight the plane does not need to reach every waypoint exactly. It can be off a reasonable amount and still be considered on course. Although you might have some trouble upon landing depending on the plane's size.

Anonymous said...

好文章給人的感覺就是很好,謝謝您~~ .................................................................

guo hu said...

If the fringes have to be repaired, an experienced will start by stitching the end in the rug to help keep the initial binding fibers jointly and in place. After this really is done, they will change any damaged tassels with new kinds by hand. Repairs are accomplished by hand to retain the integrity and splendor on autel maxidiag eu702 the rug. The new fringe is sewn in excess of the foundation from the aged fringe and any broken fringe is trimmed. This can help guard the rugs edges from any additional hurt.Caring for your rug includes guarding it from items such as drinking water, foods, beverages, and animals. It must be vacuumed or swept when per week. Cleansing needs to be completed by a rug cleaning support to make sure that it's carried out correctly, all residues are taken off, and it truly is completely dried. All essential repairs have to be cared for when they are seen to prevent the injury from becoming even worse. Doing these simple issues will hold your rug seeking excellent and forestall you from needing to replace it sooner than it should be.
Fringe on an antique rug has to be cleaned and repaired by a to maintain the rugs sturdiness. should help maintain the good quality and elegance of one's rug.


Anti
You'll be able to in no way stop the condensation of drinking water droplets over a area. Where you will find a alter in temperature, there's water condensing. Yet if you can create a surface area where the h2o droplets sort just one film by spreading out then fogging could possibly be avoided. The water isn't removed however , you can't see it any longer. A coating that turns seemingly opaque drinking water droplets into sleek crystal clear films could possibly be accustomed to maintain lavatory mirrors, goggles, & car windows from turning misty.Fogging happens when steam is condensed over launch x431 gx3 super scanner a area with a lesser temperature forming microscopic water droplets because of the area tension of the h2o. Molecules of water are drawn to each other more than to molecules of air; thus, they assume a globular shape in