Nothing is ever perfect. Or even as right as we might like. But I've been holding out on you, my friends, focused as I was until lately on moderating, I haven't been taking the final steps to share my code, photos and images of my aircraft, and other files I've been working on, such as this X-Plane model of an ArduPlane based on the Bixler. 

 

Well, I hung up that moderator hat to focus on contributing in other ways. I wish I could say that gave me the free time to polish this model to the point that it is where I'd like it to be for a general release, but the truth is that I simply added more projects to my plate. I'm not going to let it slide anymore, so this is getting released as it is, and as condemnation and criticism shames me sufficiently, I'll fix it up and release more often. 

 

 

The model originally came with a 1.5MB, 20 page "developers" guide that spelled out in painful detail the scaling and specific characteristics of the plane. I haven't updated it, it is even more boring than this post, and it isn't required to get flying, so please allow me to bring your attention to the most important aspects of using this model first. Then I'll add some details for those of you who are interested afterwards (and if you really like to slog through overlong explanations, ask me and I'll send you the documentation, in all its outdated gorry...err ... glory.)

 

Installing

 

Simply unzip the model files in your "X-Plane/Aircraft" directory. Make sure you are using X-Plane 9.70 or higher. 

 

Before You Fly

 

Assuming you plan to fly Hardware-in-the-Loop, follow the instructions in the manual, but use the following adjustments.

 

  1. Increase the number of flight models per frame. In X-plane, find the menu item for "Operations & Warnings", and increase the flight model per frame to at least 3. 
  2. In APM Planner, Simulation, change the throttle gain to "5000."
  3. In APM Planner, load the attached Parameter file, then recalibrate your radio and setup your modes according to your preferences.

 

That is all you really need, but here are some more details for those of you who are interested.

 

Runways, Grass, and Landing Gear

 

As you can tell from the video, in keeping with the physical model, there is no landing gear on the plane. A Bixler is typically hand launched, but X-Plane does not include a virtual hand to throw the plane. In reality, there are hidden, invisible skids on this model, to allow the plane to "sit" on the ground properly. Just give the plane full throttle and get it off the ground before it heads for the rough grass, and it should lift off fine. If you get off course, go off the runway, or get turned too severely, it will get "stuck" (as it would in real life.) I've reduced the friction of the "skids" just enough that it will take off from the belly, which is more than it will usually do in real life, but I did not think you'd mind if, on this point, I departed from reality. Most of the time I perform full automatic missions, from take off to landing. If the wind is too strong, or if the mission script is not right, the plane will sometimes go astray and get stuck in the grass. As with after a landing, you simply re-open the plane (or re-open the airport) and you are set for another run. 

 

A Brief Note on Scale

 

The X-Plane simulator does a fantastic job approximating flight in fantastic detail, and this model was prepared to leverage quite a few features, including drag of the onboard gear, Reynolds numbers, realistic weight, center of gravity, motor and propeller performance, and at one time (now disabled) I even added battery life into the model. However, with models under 5 lbs / 2.2 Kg, the simulator tends to crash. Well, sometimes the plane crashes and sometimes the entire simulator crashes. There are two things done here to address this issue, and it has been very reliable for myself and for everyone who has so far reported back to me. The first is to increase the flight modes per frame (see above) and the second is to scale the airplane such that it is at least 5 lbs. I have adjusted every aspect of the plane to balance a realistic simulation with this scaling requirement. Thus the plane is scaled at 1.7x (size) and about 3x in terms of weight to maintain the correct relationship between wing area and weight in scaling. Proportional changes to Reynolds, motor power, propeller dimensions were all adjusted in concert in an attempt to be as authentic as possible. If you want the specific numbers you can mine the model or ask me and I'll send you more details. 

 

Trimmed, Level Flight

 

I hope the pilots here will forgive me, this is a note for folks with less hands on experience. Planes are designed and trimmed for specific flight speeds. Many planes flown with more throttle will tend to pitch up and climb, and if the forward airspeed is below the designed speed, they will tend to pitch down slightly and lose altitude. Pilots correct this by trimming the plane, and the APM could do this with the P_to_T parameter (which I have not explored, and which I have also not set in my real life Bixler parameter files... nor have I seen any real life parameter files yet that have this set.) 

So it is helpful to know that I designed this plane to fly level at about .480 throttle. If you find it pitches up or down and does not fly exactly level in the simulator, take a peek at your throttle setting. I normally display the throttle data on the screen during flight, and you can do this easily as well. Look at items #25 and #26 in your X-Plane Data Input & Output. The circled items below are essential for HiL, but the items I did not circle are recommended for onscreen feedback.

 

 

 

A Big Thank You

 

I want to say thank you to a few people who either directly contributed or cannot be left out of any list of thanks related to ArduPlane (and, sadly, I will leave people out, my apologies.) A big thank you to:

Chris Anderson, Doug Weibel, Jose Julio, Jordi Munoz, Jason Short, Andrew Tridgell, Michael Oborne, Paul Mather, Bill Premerlani, and everyone else who shaped ArduPlane and, without whom, this work would neither be possible nor of any value. And a special thanks to Knut Lagies, Didier, Robert Elgin, Yury, David Buzz, Thomas Berndt, Justin Beech, Colin Bouriquet, Michael Brown, George Dimitoglou, Kevin Finisterre, David Jones, Mike, Carlos Moreira, Linux Penzlien, Pavel Skotak, Eric aka Eagle, Dusan Trenic, and Stephen Wong for flying a previous version of this model and providing feedback. 

 

A Note on Reproducibility and PID Tuning

 

These PIDs work well for me. However, since each HiL computing environment is different, variations in the resources of the OS, running processes, and especially background tasks such as an Antivirus scan can dramatically affect the latency of control and sensor data to/from the APM. If these PIDs do not work for you, check that you don't have resource hogs tying up your memory or CPU, and please do share your PIDs as you get them dialed in better for your environment. 

 

Here is a previous video (very cheezy; I was having fun with an iMovie template) announcing the plane, provided for your amusement. 

 

 

What about X-Plane 10? Flexible Wings?

Yes, I have produced a variety of different models, including an X-Plane 10 model leveraging the nifty bendy wing features (and in real life, the Bixler's wings flex like crazy.) However, as X-Plane 10 was brand-spanking new at the time, there were issues in using it for HiL that, combined with the additional cost and lack of backward compatibility, caused me to give up this sexy feature and restrict myself to an X-Plane 9 model. You can open and fly this in X-Plane 10, and you can also open and upgrade it to a native X-Plane 10 model using Plane-Maker yourself. If there is enough demand, I'll explore flexible wings and X-Plane 10 again. I have also made 3 channel planes and other variations. If you are really that excited about a variation, please let me know. 

And Now, the Files (attached)

DIYDrones-HiLStar17F-0.3.2.zip

HiLStar-June2012.param

Views: 4804

Comment by Patrick B. on February 28, 2013 at 8:39am

And correct me if I'm wrong but isn't Flight Data and/or Flight Planner suppose to show the plane at the airport I have loaded? That isn't happening as well.

Comment by Patrick B. on February 28, 2013 at 9:40am

While looking at MP and on the Simulation tab and looking at "AdruPilot Output", everything changes to my stick inputs except throttle. Throttle is stationary at .998.

Sorry for blowing up this thread, I'm just trying to give you the information you need.


Moderator
Comment by Michael Pursifull on February 28, 2013 at 5:13pm
Go to "Configuration->Radio transmitter" see if your throttle moves there. If it does not, then there is most likely a channel, wiring, or tx/RX problem. If it does move here, and you are in manual, then there is a different problem. And in that case, it would be better to open a discussion post, since we can attach files, and have a threaded conversation.
Comment by Eduardo Romero on March 3, 2013 at 3:18pm

This is great! good job.  Does this plane have flaps? if so how can I enable them? 

Thanks! 


Moderator
Comment by Michael Pursifull on March 3, 2013 at 6:13pm
It does not have flaps. You could add them, but I'm not certain if HiL presently allows you to wire them for automatic control. Give it a try.
Comment by Hafidz M. on February 26, 2014 at 8:34pm

Do you care to share 1:1 scale model with me, and as you said "Thus the plane is scaled at 1.7x (size) and about 3x in terms of weight to maintain the correct relationship between wing area and weight in scaling. Proportional changes to Reynolds, motor power, propeller dimensions were all adjusted in concert in an attempt to be as authentic as possible. If you want the specific numbers you can mine the model or ask me and I'll send you more details. " could you please send me the details of this model?  


Moderator
Comment by Michael Pursifull on February 27, 2014 at 4:13am
@hafidz: the 1:1 scale model does not work. The simulator crashes constantly when using the 1:1 model.
Comment by Hafidz M. on February 27, 2014 at 7:37am

thank you for your timely response! we really appreciate your contributions and your willingness to share... God guide us all...

Comment by Ayoub Zarzouri on August 4, 2016 at 12:42pm

Really great, works perfectly and looks awesome. Thanks a lot 

Please how can I add same landing gear to this module ?

Comment by Karthik on February 1, 2017 at 12:12am

Hello to all, The model flies very well in manual mode using my transmitter and Qground control. However it loses altitude and goes into "Land" mode while i try to switch to "Auto"/"Mission" mode. TheTake off command doesn't work as well. I hope this problem to be solved. pls guide me if i have to post this issue in a different forum.

Thanks in advance.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service