Moderator

3689365189?profile=original


This is a Blog I decided to start chronicling my experience in the hopes that I might make it easier for newcomers to get involved with these amazing machines we call UAVs!


First let me tell you a little about myself. I live in the Adirondack Mountains of upstate New York, in the United States. I'm shown above with my new Senior Telemaster. (Anyone who has followed any of my posts knows the lengths I have gone to to obtain this plane. That's another story!) I am a Network Administrator with a Composites Manufacturer providing Manufacturing capabilities to medical, industrial, and recreational vendors. I have a background in CAD, and CNC Machining. I have had a lifelong love of aviation since I was a small boy growing up in the suburbs of Boston Massachusetts I have always had an interest in electronics, computer programming, and model aviation. First came Radio Control.in about 1989 I started flying a Great Planes PT-40 I purchased at the local hobby shop. Next came an introduction to robotics about 2 years ago with a kit my son got of the Parallax BOE-BOT. This led me to the Arduino platform. Then last January my brother-in-law (a really good guy) gave me a gift certificate to Sparkfun for my birthday! When browsing Sparkfun's web store I came across the ArduPilot, the rest is my experience chronicled here.


First lets talk about my choice of airframe. I wanted a large, stable platform, with a large interior. My "mission" was aerial photography/videography, OK lets face it really I just want to have fun! Anyway , you need to look at what you want to do with your project when deciding on the proper plane to purchase. If you are looking to burn holes in the sky, then a high wing trainer isn't a good choice; if however you want a gentle stable flyer to take aerial photos (as I did) then a high wing trainer is a good choice Many people here like the Multiplex Easystar. The choice is yours but take some time and decide what your "mission profile" is and then seek the advice of others if you aren't familiar with a particular model. While I'm talking about the airframe let me make a basic recommendation, when we all learned to ride a bike, we didn't hope on a 10 speed and just take off down the street never looking back. Rather we started with a beginners bike, and training wheels.If you haven't flown Radio Control before, do yourself a favor and contact your local club and find yourself an instructor. You'll be glad you did!


3689365065?profile=original


Shown in the picture above are the two main boards of the ArduPilot system. On the left is the ArduPilot board on the left, and the ArduIMU+ V2. The ArduPilot is the "brain" of the system that integrates all the sensor data, from sensors such as the ArduIMU, and what output is necessary to obtain the desired performance from the aircraft. The IMU is an option as opposed to using thermopiles. Both systems monitor the attitude of the aircraft by sensing the aircraft' orientation in space. The sense I got was that the IMU provided better stability than the thermopiles in mountainous terrain (such as where I live).




3689365214?profile=original

. Shown here to the left is the uBlox GPS module.

This module has proven to be very popular, and in my experience very easy to work with. If you've spent any

time reading threads around here you'll probably realize

it does have a few weak points, the antenna connection

is very fragile; so care must be taken to make sure to protect it. The connector on the back of the module is

also very fragile so care should be taken with it as well.

You can see the uBlox adapter, sold at the DIY drones

store, hidden behind the uBlox module. I would suggest using some hot-glue to hold the two parts firmly

together.


Crash protection is highly recommended with this very fragile item. I have heard several methods of protection, including shrink wrapping the parts together, However I have also heard reports of reduced numbers of satellites

obtaining a lock as the temperature rises, so it's important now to insulate it too well.


There are a several supported brands and communications protocols to choose from. With a wide range of features and a wide range of price as well Another important thing to consider is sampling rate, most GPS units come with sampling rates in the 1Hz to 10Hz range. At the low end 1Hz, a slow moving RC car might be able to use a sampling rate this low, but it's not very practical for a plane, at the 10Hz end you could have good data for a fast moving plane. For me 4Hz was great for a slow flying high wing trainer. The choice yours.



3689365081?profile=original

No matter what hardware you have, you'll need to consider how to mount them in your airframe. I wanted to have a system I could adjust.

The ArduIMU needs to be parallel to the ground in level flight. Unfortunately it's not easy to calculate exactly where that will be without some actual flight testing. Most planes will fly at a slightly positive AoA (Angle of Attack), therefore the ArduIMU would need to be mounted at an equivalent NEGATIVE angle in order to be parallel to the ground.


The picture on the left shows the installation of my mounting system in my Senior Telemaster. At the back you can see a long strip of Velcro, this acts as a hinge for the plate to pivot on. The 4 Velcro tabs are to attach the removable AP system panel from the mounting plate. The socket head cap screw at the front of the mounting board allows the adjustment of the pitch, positive or negative, of the mount.


While not necessary to make an adjustable mount I think it will allow me some greater degree of precision. If you are using something like a Multiplex EasyStar, it wouldn't make sense to go with something this elaborate.




3689365121?profile=original


This picture above shows how I protected my uBlox module with a foam cradle. Notice the cable connected to the uBlox adapter, it goes AFT to the main payload bay where it is connected to the ArduIMU.

The picture below shows the assembly after it was slid in place between the battery tunnel and the fuselage side.


3689365096?profile=original


3689365151?profile=original


This picture shows the battery monitor adapter, and associated cable I made to attach to the battery monitor on the Ardu Shield V2. If your not going to use the optional telemetry you can ignore this item, as it's unnecessary.


Because I am using a 6s1p LiPo battery pack whose nominal pack voltage is 22.2 volts, well over the 15 volt maximum input to the Ardu Shield V2 board, I needed a way to modify reduce the voltage "seen" by the analog input (AN5).


The battery monitor circuit on the Ardu Shield V2, uses a voltage divider to drop the voltage down to a value AN5 can read without causing damage to the board. Using the formula: Vout = (R1 / (R2 + R1 + "X") * Vin, I was able to determine the value of "X" necessary to bring the voltage down to 5 volts. For me that was 164k ohms. This is only necessary if you are using a voltage greater than 15 volts at full charge. Always calculate based on the full maximum charge, not the nominal rated voltage.


3689365326?profile=original


In this picture I've added the Ardu Shield V2. This enables us to add the differential pressure sensor (black box in the middle on the left) for airspeed sensing, and the battery monitoring capability with the voltage divider. It simply rests atop the ArduPilot board. I haven't installed the pitot tubes yet, but the will go out on the wing at least one prop diameter out on the wing. It's important to note here that you should install both the active and the static tubes outside the airframe, and out of the disturbed airflow behind the prop. If you are using a pusher such as with the Multiplex EasyStar you can simply install these in the nose of the aircraft.


Many people using fast moving airframes with IMUs don't bother using the airspeed sensor, however in slow moving airframes, or airframes that fly near stall speed, the Ardu Shield is recommended.



3689365355?profile=original

Here in the picture on the left you can see the ArduIMU on the left, the ArduPilot (red board) on the right, and the Ardu Shield on top of the ArduPilot.


They are all isolated from vibration using two different types of foam. You can see a 1/4" thick layer of neoprene foam on the bottom, and a 3/4" pocketed closed cell blue packing foam.


The idea is that the different foam densities protect the electronics from vibration at different frequencies.That's the idea at least, we'll see how well it works in practice.


At the top of the payload bay you can see the battery monitor cable coming from the forward compartment visible at the top of the photograph. Towards the front on the right hand side, you can see where the momentary push-button reset switch is installed through the fuselage side.








3689365264?profile=original



This picture shows how the adjustable mount is used to level the cradle the IMU is mounted in. First I check to see that the wing saddle is
level, then I move the level to the cradle, and adjust the mount to
bring the mount level with the wing saddle.



Well, that's it for now! In Part Two, I'll install the pitot tube in the wing, load the code, run through some ground tests, and finally begin some flight testing!


Good luck with all your projects,


Nathaniel






.

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Moderator
    Thanks for the information Dorulet. I'll check that out and see first hand if it's the same density and construction as what I am using. The foam I'm using is about 1.7Lbs density, and you got the texture right on the money, it has a rubbery texture to it.

    Regards,
    Nathaniel
  • About the blue foam: it's called EPE foam (Expanded Poly Ethylene). It is used for packing, but also for floor isolation. And by floor i mean the wood on top the concrete(it goes between the concrete and floorboards). ( http://www.casesigradini.ro/imgofe/786_parchet%20merbau%20os%202.JPG ) It can be bought at your local hardware shop, usually where you find the floorboards. It comes in quite a variety of thicknesses: from 3mm to 15mm. At my local hardware store and i found out there is a 30mm thickens that can be ordered online. It comes in LARGE (30 meter) rolls with one meter width and the salesman cuts it to your needs. It can be glued with Super glue and it has almost a rubbery feel to it. I even think that it might be used to make foamies with proper reinforcement due to it's capacity to absorb impact forces and not break or tear.
  • Moderator
    Mark,
    Thanks! The level in the photo isn't a permanent thing, I just placed it in the photo to show how I could establish the relationship between the wing saddle and the AP tray. That said I like the idea of a small round level somewhere on the outside to give me a consistent reading from flight to flight. Having this relationship will allow me to determine the Actual AoA of the wing in flight, since it is relative to the flat bottom of the wing I can calculate the AoA and determine the lift co-efficient at cruise speed as well as the AoA and stall speed. Having this understanding will help me to tune the code for the best flight characteristics.

    Nathaniel
  • Developer
    Great post, nice installation, uBlox is well protected. IMU is almost at CG, just a tad left of center. I initialize my Stryker_II's IMU with a +3° AOA, but it really is not necessary. Latest AP version AOA is user defined. I use a round RV level for testing setup and Android phone too. Sr. TeleMaster looks great!
  • Moderator
    Victor,

    I am about 120 miles North of you, in the Adirondacks, near Lake Placid.

    Nathaniel
  • Nathaniel, I also live in upstate New York, a Ph.d. student in aerospace engineering at RPI doing some research on unmanned systems using the Ardupilot. Whereabouts do you live upstate, perhaps we can collaborate
  • Admin
    Good Work Nathaniel,
    I have been using the same foam for ages now to enclose RC RX and batt in all my airframes. I get tons of those foam from server packing. I cut a block of the foam and then carve out the required space for any thing I need to mount inside the airframe. All most all servers brands use similar packing material to ship the equipments. They are non conductive and fuel proof and in each box you will get enough foam to supply every one in your field :). So my fuel tanks are also isolated with the same. and I have never had any electronics damaged in any of the worst crashes i ever had. BTW you can button spirit level from Hobbyking for a $ . I have one installed/glued in each of my UAV airframes.
  • @Greg, many planes fly with the nose up just slightly too, especially park flyers. I have my IMU tilted slightly down on the nose side of the plane so that when the plane is in flight, the actual IMU is parallel to the ground.
  • Very nice and neat installation. I haven't flown the IMU version yet but have done a lot of desk top experimentation. It seems that "level" is were ever the board is during the initialization period when the IMU board starts. You can have it in any orientation and it locks onto that as level.The plane has to be level on the ground and stationary during start up. This sets the accelerometer offsets and gyro zero points. You could have the board in any orientation in the plane, but the plane must be level. The AOA will be sorted out by the autopilot PID loops. Of course I would also level the IMU with the airframe as you have done, but the important part is level the plane during the initialization period for ~ 30 sec after IMU power up. I have initialize my IMU at random angles and it locks in this state as level. That's how the DCM works. If you started it with the plane upside down it would think that was level. Any how good luck with your first auto flight and be ready to switch to manual if things go wrong.
  • Moderator
    Tom,

    Sorry missed your comment! No I haven't been to the NEAT fair yet. I was thinking about maybe going this year. That's my home field here in Keene Valley, NY. Just type Marcy Field in GE and you'll see it!

    Regards,

    Nathaniel
This reply was deleted.