Ardu Copter
Ardu Copter
Ardu Copter
ArduCopter
Multirotor UAV
PDF generated January 27, 2015 by Kalin's PDF Creation Station WordPress plugin
1 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Table Of Contents
3DR Kits and Best Practices ............................................... 3
AC2_FIRST .......................................................... 5
AC2_Mag ........................................................... 10
AC2_Magnetos ....................................................... 12
AC2_QGCParameterWidget ............................................. 16
AC2_QGCWaypointWidget .............................................. 18
AC_MeasuringVibration ................................................ 20
AC_RollPitchTuning ................................................... 22
AC_ThrottleMid ...................................................... 24
AC_TipsForNewPilots .................................................. 26
Acro Mode .......................................................... 29
Advanced Configuration ................................................ 32
Adding an OSD board (MinimOSD) for FPV .................................. 34
Advanced MultiCopter Design ............................................ 35
Advanced Parameter List ................................................ 53
Advanced Pixhawk Quadcopter Wiring Chart ................................. 88
Advanced Vibration Control ............................................. 90
AdvancedCompassSetup ................................................ 95
Altitude Hold ....................................................... 100
APM1Wireless ...................................................... 104
2 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Table of Contents
Contents
1 3DR Kits & Best Practices
2 3DR Kits
3 Best Practices
Best Practices
When assembling your copter, we recommend using threadlocker on all motor mount screws. For more
information on using and applying threadlocker, check out this video. When securing wiring, keep
positive and negative wires close together, use zip ties to secure wiring to frame, and use cable mesh
where possible. Use a vibration dampening strategy as described in the Vibration Dampening and
Isolation page.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
3 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
4 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC2_FIRST
by alex - Saturday, May 04, 2013
http://copter.ardupilot.tridgell.net/wiki/ac2_first/
Content
First-time Setup
Setup steps
Table of Contents
Contents
1 First-time Setup
2 Setup steps
First-time Setup
For the APM 2 this setup can be performed without connecting a battery. (Generally the USB port will
provide sufficient power for both the APM 2 board and the receiver.)
The APM 1 does require an external battery to be connected (via the BEC output of one (or more) of your
ESCs. You can use both the USB connection and have the battery hooked up at the same time without
problem. This permits motor response checks.
1) Open the Mission Planner and Click on the Firmware tab.
If the Port setting in the upper right corner of the screen does not match the Com port setting from when
you first set up your USB use the arrow and select the correct Com Port. (The port listed is often incorrect
on the first use after initial set up). Also ensure that the baud rate is set to 115200.
2) Click on Connect in the top right corner.
The Mission Planner will now attempt to connect via MAVLink.
(If this is the first time youre using APM, the code will format your dataflash memory on startup, which
can interfere with the MAVLink connection and report a connection failure. If this is the case, let it sit for
5 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
This will open up a dialog box that will walk you through the basic setup process, described below.
Note: with APM 1 you MUST have a !LiPo plugged in to your power distribution board to power your
RC receiver. USB power does not power the RC receiver. If you do not separately power the RC system,
APM will be unable to read any signals on its RC inputs and may freeze. With APM 2 this is not
necessary.
CAUTION: The motors and props can spin up unexpectedly when connecting to USB, please
disconnect the Power Distribution Board or take precautions against injury or damage from any
spinning prop!
Setup steps
Caution: This section assumes you have set up and programmed your RC transmitter and receiver
correctly. This might be a good time to review the manual that came with your RC controller system. Pay
special attention to the sections on:
Channel reversing and mixing
expo modes which change the responsiveness of your controls according to a curve
failsafe modes for signal loss. An RX that remembers the last throttle setting if it loses signal,
will cause a plane to coast, but will cause a heli or multi-rotor to *continue climbing forever*,
rapidly so if you lost signal during an aggressive ascent. (this is known as not good).
Your transmitter must be on. If it has airplane and heli modes, make sure you are in airplane mode.
*!ArduCopter will not work if your RC gear is in any heli mode.* Channel assignments are as shown
above ( = Mode 2, Mode 1 has the throttle on the right and pitch on the left).
When you move the RC sticks, the relevant bars will move. (If you dont see any bars, click on the
Calibrate Radio button and they should show up.) If you havent already done so, click on Calibrate
Radio to set the radio limits. Red bars will appear and you should move them to their limits for each
channel you have connected. When you are done center the right stick, move the throttle to the bottom
center and move your 3 position mode switch to the center and Press Save.
6 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
For the magnetometer (compass), you have a choice of calibration options once you enable the sensor:
A) Recommended: Do nothing (auto-calibration), and the code will try to figure out all the offsets and
declination by comparing the compass readings with the GPS and IMU readings over time in flight. Pro:
No user effort. Con: It takes a few minutes of flying to get right, so the compass is a bit inaccurate at first
launch.
B) Just for mag zealots: Manual calibration in the Mission Planner (above). You can enter your
Declination as instructed below and then press the Live Calibration button and move and rotate your
copter around for 30 seconds while it records the data and does some math to calibrate the sensor. Pro: It
works very well. Con: its a little awkward, especially for big frames. Also it doesnt reflect the magnetic
interference that can occur when the motors are going in flight.
7 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
In this case, I would enter 14.13 into the magnetometer line (the Mission Planner software converts that
degrees.minutes notation to the proper decimal values internally).
4) Set your frame orientation
Choose whether you frame is set up for flying in + or x mode.
5) Calibrate the accelerometer
(Special Note for PX4 users for the moment you must level by following a separate
procedure).
If you are connected, disconnect by selecting the (Connect) icon.
Click on the Terminal icon.
After the screen stops changing type setup and return.
Then, with your PX4 system sitting perfectly level type level and hit the return key.
Wait for it to complete its leveling procedure.
Skip the rest of these instructions
8 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
6) Dont try spinning the props yet. Instead, go to the next section ([AC2_ESC here]), where youll
calibrate the ESCs and next set the prop direction then learn how to arm the ESCs by holding the rudder
stick all the way to the right for 4 seconds with the throttle down.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
9 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC2_Mag
by german - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/ac2_mag/
Content
Enabling the magnetometer
Setting Declination
Calibrating the magnetometer
Testing the magnetometer
Contents
1 Enabling the magnetometer
2 Setting Declination
2.1 Calibrating the magnetometer
2.2 Testing the magnetometer
Setting Declination
Declination
To help the GPS hold functionality work more accurately, you can correct for the difference between
magnetic north and true north (aka
declination
) in your local area.
10 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
If you are going through the Mission Planner setup process, you will get to this dialog box:
If you are in the US, you can just enter your ZIP code. Elsewhere, enter your home latitude and longitude.
Click on Compute Declination and it will open this window:
Enter the numbers that in the area circle in red above. The Mission Planner will convert from degrees and
minutes automatically, so if you enter 14.6 (14 degrees, six minutes) it will be converted internally to
14.05 decimal degrees.
11 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC2_Magnetos
by german - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/ac2_magnetos/
Content
Using a magnetometer
Connecting the DIYDrones magnetometer
Method One: Mounted on the board (recommended)
Method Two: Using a cable
Ensuring that the magnetometers are set up for the right voltage
AC2_Magnetos
Contents
1 Using a magnetometer
2 Connecting the DIYDrones magnetometer
2.1 Method One: Mounted on the board (recommended)
2.2 Method Two: Using a cable
2.2.1 Ensuring that the magnetometers are set up for the right voltage
Using a magnetometer
If youre flying multicopters or helis, which are often hovering in one position, the GPS (which can only
calculate a directional vector when its in forward motion) will not be able to correct the drift in the yaw
gyro. So you must use a magnetometer to do this and otherwise maintain correct yaw.
Important
: If you are flying with a GPS module, you
must
use a magnetometer. Otherwise, the only heading information will come from the GPS module, and that
will only work in forward flight. If you dont have a magnetometer, you must disconnect your GPS and
you will only be able to fly in RC mode (no waypoints or other autonomy)
12 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Now, solder in the four pin header (example of the header shown on the table next to the board). Its best
to solder the header with the long pins down, going through the board.
13 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Heres a picture of how it should look (we recommend threading the wires through the hole before
soldering for strain relief):
Plug it in here:
Ensuring that the magnetometers are set up for the right voltage
Note: the DIY Drones magnetometer can support either 3.3v or 5v systems. It comes from the factory
setup for APM, which is a 5v system. If for any reason yours has been changed, ensure its back to 5v
before connecting it to APM. This is regardless of whether it is connected via a cable or soldered directly
to the IMU.
14 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
15 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC2_QGCParameterWidget
by german - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/ac2_qgcparameterwidget/
Content
AC2_QGCParameterWidget
Introduction
Details
Table of Contents
AC2_QGCParameterWidget
Contents
1 AC2_QGCParameterWidget
2 Introduction
3 Details
Introduction
Using the QGroundControl Calibration and OnBoard Parameters Widget The contents of this page are
current as of 2/5/2011.
Details
The QGroundControl Calibration and OnBoard Parameters Widget can be used to:
View and change a variety on on-board APM parameters like PID gains, trim settings, throttle or
airspeed settings, etc.
Change the frequency that various Data Streams are sent from APM to QGroundControl
Run certain calibration wizards
16 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The OnBoard Parameters list will initially be empty. When the Refresh button is clicked APM will
send down a current list of its changeable parameters and values.
The list will be in an expandable format. Just click the + and to the left of each level to show or hide
parameters. Note that the parameter list in the graphic above is NOT from APM.
APMs parameter list will look different. Parameters are shown with a name and value. The names
cannot be changed. To change a value double-click on it. Once you have changed any values you wish
click on the Transmit button to send the new values to APM. Functionality for APM associated with
the Read (ROM) and Write (ROM) buttons is still under development. The Load File and Save
File buttons will allow you to save or load a parameter list to the ground station hard drive (Untested for
APM). The Data Stream Rates section allows you to configure APM to send certain telemetry streams
to QGroundControl on a periodic basis. APM can send data streams at rates of approximately 50Hz,
10Hz, or 3.3 Hz. On startup APM has all streams turned off, and only sends a heartbeat message to
QGroundControl. To turn on a particular stream put a frequency value (in Hertz) in the appropriate field.
Recommended frequency values are 3, 10, and 50. Be careful about turning on too many high frequency
streams as APM performance could be affected. QGroundControl uses the data received in these streams
to drive its Main Window and Widgets. For example if you have the Main Window set to a map and have
the button clicked to keep the map centered on the UAV, then the lat/lng info received in the position data
stream is used to know the UAVs position and center the map. General contents of the Data Streams are:
Raw Sensor the raw gyro and accelerometer data
Extended the current mode, battery voltage
Position the UAVs current lat/lng and altitude
Controller the autopilots current servo outputs
RC Values the current radio input values
Extra 1 the current gps status
Extra 2 the current waypoint
Extra 3 the current roll, pitch and yaw
Calibration Wizards information coming soon.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
17 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC2_QGCWaypointWidget
by german - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/ac2_qgcwaypointwidget/
Content
AC2_QGCWaypointWidget
Introduction
Details
Table of Contents
AC2_QGCWaypointWidget
Contents
1 AC2_QGCWaypointWidget
2 Introduction
3 Details
Introduction
Instructions for using the QGroundControl Waypoint List widget.
The contents of this page are current as of 2/5/2011.
Both
APM
and QGroundControl are under development, so expect frequent changes.
Details
The QGroundControl Waypoint List widget can be used to view the current mission loaded to APM,
change waypoints/commands in the mission, and upload mission changes to APM
18 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The widget looks like this (may vary with QGroundControl revision and setup)
Clicking the Read button (lower right) will cause the current mission command list to be downloaded
from
APM
19 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC_MeasuringVibration
by randy - Wednesday, July 24, 2013
http://copter.ardupilot.tridgell.net/wiki/ac_measuringvibration/
Content
Measuring Vibration
Table of Contents
Measuring Vibration
For good altitude hold and loiter performance it is important that your vibration levels are low. The
instructions below will shows you how to measure the vibration levels. If you find they are out-oftolerance you should follow the advice found on the First Time Set-up sections Vibration Damping page.
Please follow these steps to ensure your vibration levels are within tolerance:
Connect your APM/PX4 to the mission planner
Go to the CONFIG/TUNING > Standard Params screen and set the Log bitmask to Default+IMU.
This will enable the capture of the accelerometer data to the dataflash logs.
Press the Write Params button
Fly your copter in Stabilize mode and try to maintain a level hover (it doesnt need to be perfectly
stable or level)
Disconnect the Lipo, reconnect your APM/PX4 to the mission planner
Download the latest dataflash log using the Terminal screen (more detailed explanation of
working with dataflash logs is here)
After the download has completed, close the Log window and push the Log Browse button
and open the latest file in the log directory (its last digit will be the Log number you downloaded
so in the example above we downloaded Log #1 so the filename will end in 1.log)
When the Log Browser appears, scroll down until you find any IMU message. Click on the rows
AccX and push Graph this data Left button. Repeat for the AccY and AccZ columns to
produce a graph like below.
20 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Check the scale on the left and ensure that your vibration levels for the AccX and AccY are
between -3 and +3. For AccZ the acceptable range is -15 to -5. If it is very close or over these
limits you should refer back to the Vibration Dampening page for possible solutions.
After all the above is complete, go to the Mission Planners standard parameters page (you may
need to press the Connect button again) and set the Log Bitmask back to Default. This is
important because especially on the APM logging requires significant CPU resources and its a
waste to log these if theyre not really needed.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
21 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC_RollPitchTuning
by randy - Wednesday, July 24, 2013
http://copter.ardupilot.tridgell.net/wiki/ac_rollpitchtuning/
Content
Rate Roll and Pitch P tuning
In-flight tuning
Video of in-flight tuning
Table of Contents
Although there are many gains that can be tuned in APM:Copter to get optimal performance, the most
critical is the Rate Roll and Pitch P values which convert the desired rotation rate into a motor output.
This alone will likely get it flying reasonably well at least in Stabilize mode.
Some general advice on how to tune this parameter:
Too high and the copter will oscillate quickly in roll and/or pitch
Too low and the copter will become sluggish
High powered copter should use a lower gain, under powered copters are a higher gain
In-flight tuning
Rate Roll P and Rate Pitch P can be tuned in flight using your transmitters channel 6 tuning knob by
following these instructions:
22 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Note: while you are moving the tuning knob the values update at 3 times per second. The need to press
the Refresh button in the mission planner in steps #6 and #7 above is just because the APM:Copter is not
sending the updates to the mission planner in real-time.
23 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC_ThrottleMid
by randy - Wednesday, July 24, 2013
http://copter.ardupilot.tridgell.net/wiki/ac_throttlemid/
Content
Setting Throttle Mid
Table of Contents
After the download has completed, close the Log window and push the Log Browse button
and open the latest file in the log directory (its last digit will be the Log number you downloaded
so in the example above we downloaded Log #1 so the filename will end in 1.log)
When the Log Browser appears, scroll down until you find any CTUN message. Click on the
rows ThrOut column and push Graph this data Left button.
While referring to the scale on the left of the graph, estimate approximately what the throttle level
24 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
was during the hover. In the example above (which was an unnecessarily long flight) the mid
throttle appears to be about 550.
Note: if the average throttle is below 300 (i.e. 30%) then you have a
very overpowered copter and it would be best to add a some extra
weight (i.e. a bigger battery perhaps) or reduce the power in some
other way (smaller motors, move from a 4S to a 3S battery, etc)
If the average throttle is above 700 (i.e. 70%) then you have a very
underpowered copter. You should consider increasing the power of
the motors and ESCs or use a higher voltage battery (i.e. switch
from a 3S to a 4S battery).
Open the Mission Planners Software > Standard Params screen and update the Throttle Mid
Position (THR_MID) to the value estimated above (youll find it near the bottom of the list)
Push the Write Params button
On your next flight you should find the throttle is closer to mid while flying in stabilize mode
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
25 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AC_TipsForNewPilots
by randy - Wednesday, July 24, 2013
http://copter.ardupilot.tridgell.net/wiki/ac_tipsfornewpilots/
Content
Getting Off the Ground Tips for New Operators
First flight
Tips for your first flights
Warning about low batteries
Table of Contents
First flight
Hold the copter still and level after connecting the battery while the gyroscopes initialize. Ensure that
your RC mode toggle switch is in Stabilize mode. Slowly raise the throttle until the copter just lifts off the
ground.
If it seems like its going to flip or otherwise isnt lifting relatively straight up, drop the throttle and land
it. Hold the copter firmly in your hand and level in the air and with the props clear of your body,
advance the throttle a bit to get a feel for whats going on. When you move the stick forward, back, right
and left, does the copter tilt that way? (If not, youve set the wrong +/x orientation, hooked up your
motors in the wrong order or have the prop direction or pusher/puller order wrong).
26 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
If any of the controls are reversed (pitch or roll are backwards, meaning the copter moves in the opposite
direction as your stick), youll need to reverse the affected channel at your RC transmitter side. Please see
your RC transmitters manual if youre not familiar with the process. Its a good idea to re-do your RC
calibration in the Mission Planner after youve reversed a channel.
If it lifts off smoothly, you may see a little yaw. That shouldnt be more than about 30 degrees and will
correct itself with more flying time. There should be no pronounced wobble (if there is, you may have an
unbalanced prop or out-of-true motor).
The copter should also tend to stay in place, and you shouldnt have to fight strong tendencies to move
left or right or forward or back. If you do see that behavior, do NOT use your RC trims to correct (this
just throws off the calibration). Instead, it probably means that the copter may not have been completely
flat during calibration or the airframe is out of true (one motor tilted). Land and correct that.
If youre having trouble and the copter is not hovering smoothly, run through the troubleshooting guide
(Here!)
Assuming that all is fine so far, youre ready for more advanced modes, such as Alt Hold and Loiter.
27 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
For APM 2 or 2.5 without power module it is HIGHLY recommended you install a Battery
Voltage Monitor: (Here!)
For 3S LiPo batteries, the two wires can be soldered to the P-PCB directly, or you can
connect to the balancing plug of your battery.
The battery voltage monitor linked above has a buzzer and LEDs that function as follows:
Voltage
LED
Buzzer
> 11.0v
10.0v 11.0v
9.8v 10.0v
< 9.8v
Solid Blue
Flashing Blue
Solid Red
Flashing Red
Off
Off
Off
On
Note: If you are using a battery monitor, always connect the main LiPo battery wire before
connecting the balancing port wire to the APM.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
28 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Acro Mode
by german - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/acro-mode/
Content
Acro Mode
Overview
Acro Trainer
Tuning Parameters
Advanced Tuning Parameters
User Videos
Table of Contents
Acro Mode
Contents
1 Acro Mode
2 Overview
3 Acro Trainer
4 Tuning Parameters
5 Advanced Tuning Parameters
6 User Videos
Overview
Acro mode (Rate mode) uses the RC sticks to control the angular velocity of the copter. Release the sticks
and the vehicle will maintain its current attitude and will not return to level. Acro mode is useful for
aerobatics such as flips or rolls, or FPV when smooth and fast control is desired.
The throttle is completely manual with no compensation for tilt angle of the vehicle. If the pilot
puts the throttle completely down the motors will go to their minimum rate.
AC3.1 and higher include an Acro Trainer functionality that can be turned on/off to make learning
to fly Acro easier.
Stick inputs are interpreted in the body frame (as opposed to Sport mode in which they are
29 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
earth frame). The difference between body frame and earth frame is most obvious when
the vehicle is leaned over. For example when pitched forward at 45degrees, when left yaw is
applied if using an earth frame controller (i.e. Sport mode) the copter will maintain its pitch and
roll angles as its heading changes. With a body frame controller like Acro it will rotate about the
vehicles vertical axis meaning the pitch angle will become the roll angle and the roll angle will
become the pitch angle.
Warning: Acro is the most difficult flight mode to master and you can look forward to crashing multiple
times before you get the hang of it.
The above video was filmed with a Pixhawk running AC3.2 in ACRO mode using FPV goggles.
Acro Trainer
The ACRO_TRAINER parameter can be set to:
0 = disabled. This means the pilot operates in full Rate control with no
automatic leveling nor angle-limiting performed by the autopilot.
1 = automatic leveling. The vehicle will automatically return to the level
when the pilot releases the sticks. The aggressiveness with which it returns
to level can be controlled with the ACRO_BAL_ROLL and
ACRO_BAL_PITCH parameters. The default of 1.0 will cause it to return
to level at up to 30deg/sec. Higher values will make it return more quickly.
2 (Default) = automatic leveling and lean angle limited. Includes the
automatic levelling as option #1 but in addition the vehicle will not lean
more than 45 degrees (this angle can be configured with the ANGLE_MAX
parameter).
The trainer can be enabled/disabled using the Ch7/Ch8 switches. With a 3 position switch the off
position (i.e. PWM < 1200) will disable the trainer, middle position will enable option #1 (automatic
leveling) and the top position (i.e. PWM > 1800) will enable option #2 (leveling and lean angle limited).
With a 2 position switch only options #0 (disabled) and option #2 (leveling & limited) are possible.
Tuning Parameters
ACRO_RP_P controls the rotation rate for the roll and pitch axis. The default, 4.5, will command
a 200deg/sec rotation rate. Higher values lead to higher rotation rates, lower to slower rotation
rates.
ACRO_YAW_P controls the rotation rate for the yaw axis. The default, 4.5, like roll and pitch,
will command a 200deg/sec rotation rate.
ACRO_EXPO is an amount of Exponential to apply to the pilots stick inputs that only applies to
ACRO mode. By default, ACRO mode is much more responsive, even in the center-sticks
positions, than the other modes, so this parameter allows the pilot to fine-tune stick response in the
30 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
control to match what they feel when they are in other modes such as Stabilize, AltHold, PosHold,
etc. The default value of 0 applies 30% expo to Roll and Pitch demands from the pilot.
User Videos
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
31 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Advanced Configuration
by levinemax - Sunday, January 01, 2012
http://copter.ardupilot.tridgell.net/wiki/configuration/
Content
Advanced Configuration & Tuning
Table of Contents
32 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
33 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
34 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Table of Contents
35 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
3.6 Consumer Grade Power System for Small Quadcopters (8? 12? Propellers)
4 The MultiCopter Frame
4.1 The Carbon Fiber or Fiberglass Tube and Plate Frame
4.2 Using manufactured Plastic and Fiberglass Components in Your Own Frames.
4.3 Homemade waterproof frame using a hinged electrical box
4.4 Vacuum Formed Frames and Components.
5 Specific Building Examples and Techinques
5.1 A Small Quadcopter Optimised to Use High Efficiency Lithium Batteries
6 Links To Specific MultiCopter Builds
7 A Commercial MultiCopter Exhibiting Advanced Design Concepts
8 Conclusion and Additional Design Considerations.
Please Note! this wiki section is for those interested in constructing and possibly even
designing their own Multicopter.
For information on understanding how a multicopter works please go Here
For information on how to build your own simple Quadcopter using kits or frames go
Here
For information on building or setting up a copter for first Person View (FPV) go
Here
The very popular Quadcopter has 4 motor/propeller units and is available in any size.
A Quadcopter is an elegantly simple design and is hands down the most popular layout for
a whole lot of reasons.
Quadcopters are symmetrical and embody the simplest principle of operation for
controlling roll, pitch, yaw and motion.
Simply varying the speed of each of the motors provides full 3D motion and rotation and
hover capability.
They are relatively inexpensive to produce and they scale well to production
manufacturing techniques.
In various sizes and layouts they are capable of actually performing useful tasks beyond
simply flying around.
Their primary drawback is that a single motor failure generally results in an abrupt descent
to the ground (crash).
36 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
A very wide variety of materials and techniques can be employed to produce a useful
Quadcopter.
There are several popular configurations for QuadCopters:
X with and X frame arm layout and the front and back of the copter between 2
propellers.
+ with with the same kind of X frame layout as above but with the front and back
of the copter in line with one of the propellers.
Dead Cat a variation on X which in which the frame arms are further apart in the
front and the back than they are side to side.
Name actually comes from Bart Jansen a Dutch artist who stuffed his
expired cat and made a Quadcopter out of it.
H which has frame side arms running between the motors on each side and
connected with one or more frame arms in the middle.
Square which has frame arms connecting between motors (and usually intermediate
frame arms supporting a central frame.)
And variations including ones with the motors laid out on a circle.
Most of them primarily operate the same as the X frame (provides better camera
exposure between motors among other things).
I recommend the standard X frame design because it is strong and simple and its
natural symmetry balances flying forces better.
A humming bird sized Estes Proto X is shown below.
A well made and very practical and versatile 3DR Iris Quadcopter capable of taking video
and photos with the popular GoPro camera.
Excellent design and high quality components like the high strength Zytel frame
arms and high impact shell ensure a long useful life.
A fifteen thousand dollar SteadyDrone Q4D-X Quadcopter with 28? propellers, 8KG
lifting capability and claimed 60 minute flight times.
37 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Hex Y6 and Octo X8 designs with pairs of coaxial motor/propeller units mounted back to
back are also becoming popular.
The coaxial push pull motor/prop units of the Hex Y and Octo X provide the most lift in
the smallest area but at the cost of efficiency.
These Y Hex and X Octo designs are simple and compact with good lifting capability and
single motor failure tolerance.
Singlecopters and Coax copters are very new designs and have some advantages in specific
applications.
Since they tend to a single ducted body for either the one or two motor/propeller units they
tend to be self protected indoors.
The coax copter which relies on variable thrust on each of its 2 props for rotation is
functionally simpler than the single copter.
The side profile of the ducted body makes these copters more susceptible to winds
outdoors requiring more effort to compensate.
While generally good at hovering and fine positioning, they are more speed and
performance limited than other multicopter designs.
The Singlecopter in particular is reasonably adaptable to gasoline engines for much greater
endurance.
The possibility of using a single large propeller implies that good efficiencies could be
realized even with an electric versions.
The Singlecopter features a single motor/propeller unit with 4 servo controlled vanes to
direct roll, pitch and yaw.
The Coaxcopter has dual motor/propeller units for thrust and yaw control and 2 servo
controlled vanes for roll and pitch.
There are also variable pitch Multicopters for incredible acrobatic performance.
Variable pitch multicopters have some interesting potential uses as well like the Curtis
Youngblood Stingray 500 shown below.
Servo control of the props (rotors) produces roll, pitch and yaw so they are often powered
by a single motor with shaft or belt drive.
If you use a single motor it is feasible to use a gasoline engine giving you the potential for
considerable endurance and range.
These are very high performance and can even fly inverted, they are also mechanically
more complex but can be built robustly.
And copters with more than 8 motor/propeller units may be useful for specialized, extreme
(or insane) applications.
38 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
39 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
And ESCs need to be properly sized to ensure they can provide the maximum current that
is necessary.
Generally use the right size not over sized because they are more efficient if
operated in the appropriate range (and lighter).
Sufficient cooling is also very important especially for Heavy Lift copters, and the ESCs
may need to be placed in the air stream.
For small to medium QuadCopters there are four in one ESCs in the 20 30 Amp size
range with several advantages.
They eliminate the need for a power distribution plate or block and all the attendant
wiring.
The considerable reduction in DC wiring results in less magnetometer (compass)
interfering DC EMF radiation.
They can often be conveniently installed tidily in the center of the copter frame.
The 20 and 25 amp ones work with 3 or 4 cell LiPo batteries and the 30 amp one
works with 3 to 6 cell batteries.
They have a built in aluminum heat sink plate on one side (which you can augment
with a finned heat sink if necessary).
You can use a thin layer of Fujik silicone thermal glue to attach a finned heat sink
if one is needed.
They generally have higher reliability than individual ESCs and are reasonably
priced.
Larger diameter slower turning propellers are normally a lot more efficient than smaller,
faster ones.
But there are limits and drawbacks:
Trying to turn too large a prop for a given motor can cause it to overheat so motors
usually have a maximum prop size.
Also, really large, slow props can reduce the responsiveness of the multicopter and
even cause it to oscillate in the air or vibrate.
Unless taken to extremes these difficulties are not usually significant and can be
compensated for by various means.
And you can always drop the diameter an inch if the handling characteristics or
motor stress are not what you want.
There are also different designs of propellers and for larger ones turning at slower speeds
design is especially critical.
Carbon fiber designs with cupped blades that are wider at the hub and narrower at
the tip are best for larger sizes 14? and over.
Smaller ones in the 14? and under category can be of more conventional design
with a wider than normal blade and of plastic or CF.
Often motors are charted with specific propellers and these are certainly the best
starting point for optimum performance.
TMotor is considered a premium prop, but good results have been obtained with
RC-Timer and Tarot in the large tapered props.
APC, DJI, GemFan, RC Drones and Graupner all produce good props in the 14?
and under category.
Professional Grade Power System for large Quadcopters (28? Propellers)
40 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The Tigermotor U8 Pro Series motor is currently top of the line for a commercially available
(large) copter motor.
It features Environmentally protected, closed construction and easily replaceable bearings.
They have very high quality two piece 27, 28 and 29? carbon fiber propellers for them as
well
U8 Pro T-Motor $300.00, 28? CF Props $370.00 a pair, 70 Amp Pro ESC $110.00 @ four
each = $2380.00.
These are used in the large Steadidrone Quadcopter shown above, clearly a top quality
professional and expensive product.
This is a very heavy lift and long endurance copter and is completely excessive and
hazardous for most uses and needs.
This combination will work well for a Quadcopter with a total weight of up to 24 pounds
and can achieve 40 minute flight times.
This is a copter designed for very serious uses that demand its heavy lift and long
endurance capabilities and is not for amateurs.
Disaster relief, search and rescue, fire spotting, surveillance, ecological and geographical
survey and mapping are appropriate uses.
Professional Grade Power System for Medium Quadcopters (16? Propellers)
Clearly, applying similar quality to a more reasonably sized (and cost) copter is normally
going to be a lot more practical.
A 380KV T-Motor 4008 is $85.00, 165 CF Prop $90.00 a pair and 30 Amp Pro ESC
$50.00 @ four each = $720.00.
This setup will work well for a copter up to 10 pounds or so and provide exceptional
durability, efficiency and endurance.
This is a very practical setup for a professional Quadcopter for photo or video use with full
sized cameras and a brushless gimbal.
It can be set up to let you choose 4S 14.8 volt, 5S 18.8 volt or 6S 22.2 volt batteries and
14? to 17? props according to your total weight.
With a proper setup you could reasonably expect to achieve practical 30 minute plus flight
times with full camera equipment.
This is a very superior ($120.00) KDE 4014XF-380KV Motor with 3 large replaceable ABEC
bearings rated at about 200 hours.
41 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
This motor is capable of using 13? to 18? propellers and operating very efficiently with a
wide range of batteries from 3 cell to 6 cell.
This KDE Motor has a phenomenal range of operation and can be used on a 7 pound to a
20 pound Quadcopter.
Every component and manufacturing technique was clearly optimized to produce the best
possible motor without compromise.
This motor has a finned heat-sink case and a self ventilated design with high temperature
encapsulated components.
In fact it is designed to run, if necessary, continuously at temperatures that would instantly
destroy most other motors.
It is reasonable to expect that various configurations could provide well over an hour of
useful operating time with cameras.
It is feasible to produce a QuadCopter that will approach the performance of the
$15,000.00 Steadidrone at a fraction of the cost.
A similar practical lifting capability and nearly 40 minute useful flight times should be
achievable even with 18? Propellers.
And given the extreme over design and ruggedness of the motors, similar reliability and
longevity could also be expected.
This is the motor I will be using in my next Quadcopter and I will allow for up to 18?
propellers.
A Hyper Efficient Medium Small Professional Grade Motor For Long Endurance
The $70.00 T-Motor MN3508 380KV Navigator series motor is ideal for long flight time
applications.
This is the only motor in this size that can get G/W efficiencies over 17 at 50 percent throttle.
If you want to build a 4-8 pound copter for maximum endurance this is the motor to use with a 4
cell LiPo.
Because of its extremely high efficiency in its hover range it is also a candidate for high
efficiency lithium batteries.
Panasonic or LGs high power Lithium batteries have about twice the energy density of the LiPos
we normally use.
But maximum discharge is only 2C so low current draw is required, the high efficiency of these
motors can provide that.
Carbon fiber 14? to 16? propellers will be required.
Professional Grade Power System for Small Quadcopters (10? 14? Propellers)
The largest market segment is for Quadcopters in frame sizes that use 10 to 14 inch
propellers and weigh 3 to 7 pounds.
The 650 KV T-Motor MT3506 at $65.00 is a high quality small but powerful pancake that
can turn props from 11? to 14? diameter.
With a 3 cell LiPo battery and T-Motor 14? prop at $73.00 a pair it can lift up to 7 pounds
and achieve very good endurance.
42 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Add 4 T-Motor 18 Amp ESCs at $27.00 @ four each = $514.00 for top quality motors,
props and ESCs.
This small pancake motor can achieve good efficiency with 3S 11.1 volt or 4S 14.8 volt
LiPo batteries and an appropriate sized prop.
The frame should be sized to accept up to 14? propellers and various battery
configurations.
It should be configurable to achieve 20+ minute flight times with a GoPro size camera and
brushless gimbal plus FPV or telemetry.
This would still be a very capable and rugged Quadcopter capable of professional results
and reliability.
The above Motor / Propeller / ESC setups are all as close to professional quality as we can
currently make them.
Consumer Grade Power System for Medium Quadcopters (15? 16? Propellers)
It is also possible to build a reasonably reliable and efficient Quadcopter using less expensive
components.
The $45.00 SunnySky 390KV X4112S motor or the really low cost $18.00 RCTimer
5010-14 360KV motors.
Which will work well with an easy to install and low EMF $40.00 Hobbywing four in one
ESC.
And they both work well with RCTimer 155.5? (4 for $28.00) or 165.5? (4 for $35.00) CF
propellers.
The Sunnysky Combo will cost about $260.00 and work very efficiently for copters up to
about ten pounds.
The RCTimer Combo will cost about $150.00 and will provide extended flight time for
copters up to about 6 pounds.
These motors will both actually support up to 17? propellers and work with 3 to 6 cell
LiPo batteries.
You could still design a copter that would get 30 minute flight times while carrying a
GoPro and gimbal if desired.
The frame for either of these motors should be designed to support at least 16? prop
diameter and 17? would be better.
These will not last as long nor be as reliable as the previous T-Motor configurations but
will still deliver lots of solid use.
Consumer Grade Power System for Small Quadcopters (8? 12? Propellers)
Here is a durable and low cost alternative for powering smaller hobby or even semi-pro sub
5 pound Quadcopters.
43 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The DJI 2212 Motors provided with their low cost ARF Flamewheel Quadcopters are
unusually durable and cost $24.00 each.
And DJIs specially hubbed 10? plastic props at $8.00 a pair are well balanced, efficient
and rugged.
And this easy to use $40.00 four in one ESC eliminates a power distribution board,
reduces EMF and provides good reliability.
For $150.00 you can actually get quite a useful and durable power system for a smaller
sub five pound quadcopter.
The $40.00 SunnySky X4108S pancake motor is also capable of being used on Quadcopters
lifting up to 10 pounds.
It is well regarded, efficient and durable and is suitable for use with 14? or 15? propellers
and 4 cell to 6 cell LiPo batteries.
44 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Fiberglass or carbon fiber tube and sheet construction are very suitable to use for
making your own copters.
Many consumer grade Multicopters are made with injection molded plastic parts and
aluminum tubing.
Some injection molded parts can be very durable (the Iriss Zytel frame arms for
instance), but others are cheap and break easily.
Square aluminum tubing frame arms are common, but they tend to bend or break
with annoying frequency in normal mishaps.
Except in specialized welded H or box frames aluminum tubing frame arms are sub
optimal and will not be covered in depth here.
Some of the newer, smaller, commercially made Quadcopters have monolithic injection
molded plastic shells.
On smaller copters these shells can be quite durable but they would be too fragile
on larger ones even if mold costs were justified.
A few Quadcopters have monolithic shells made from vacuum formed laminated Kydex or
other plastic sheet
Vacuum formed shells of laminated Kydex have proven very durable on small
copters and are very good for waterproof uses.
At least one vacuum formed copter has been made with built in blade guards the
Safe Flight 4410 (unfortunately out of business).
Hand laid fiberglass or carbon fiber is also popular on high end quadcopters.
There are some very attractive, hard to get and not inexpensive hand laid fiberglass
and carbon fiber shells made by DeX.
There are also a variety of fiberglass shells for civilian, commercial and military
use including an amphibious one.
Fiberglass shells tend to be expensive and may get damaged in use and can be
difficult to repair.
Each type of construction has advantages and disadvantages and it is very important to
figure out what is important for your needs.
Prop to prop and prop to frame clearance limit the max diameter of your propeller blades.
Allowing for various prop diameters will let you tune the copter for its current
weight, batteries and function..
Generally allow an additional half inch of clearance from prop tip to tip or to center
frame to avoid asymmetrical prop wash vibration.
A major design criteria is to size the frame appropriately for the largest propellers
you might ever want to use.
Generally bigger propeller diameter equals better efficiency and an X frame layout
normally permits the largest possible props.
Of course the motor speed and power and frame strength have to be matched to the
propeller diameter and to total lifting capacity.
Pancake Low KV, Low RPM motors can turn bigger propellers efficiently.
It is possible to overlap prop tips if you have one above the other, but it does affect
efficiency and induces asymmetric vibration.
Big slow props can have adverse vibration, instability, gust compensation and
response rate issues also so that is a downside.
The additional motors of Hex and Octocopters can permit single motor out recovery and
45 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Fabrication requirements and techniques for fiberglass and carbon fiber tube and plate
copters.
On the copters shown above the method of attachment is by clamping carbon fiber tube frame
arms with aluminum brackets.
This is because of the difficulties in attaching carbon fiber parts as well as the stress that
can result from drilling the tubing.
Fiberglass is not quite as strong or light as carbon fiber but it is more flexible and easier to
join and machine.
If what you need is available in a commercial frame kit you are normally better off buying it as
you will spend more making your own.
It will also take a lot of time and effort to design the copter, to obtain the components and
to, cut, drill, machine and fabricate them.
There is also a strong possibility that design and fabrication mistakes and misperceptions
will require that some things get redone.
If you have sufficient reason to make your own frame, tube and plate construction is generally the
most practical for home production.
It is reasonable to mix materials, commonly carbon fiber frame tubes and fiberglass central and
motor mounting plates.
Carbon fiber and fiberglass tubing and plate can be cut with a hacksaw or power jig or
band saw (with metal or fiberglass blades).
It can also be drilled and milled with HSS or TC coated drills and mills, but all
46 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
47 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Or the $14.00 CNC milled ultra tough fiberglass frame arms used in the Hoverthings
Quadcopters:
DJI injection molded frame arms from their Flamewheel copters are used in the TBS
Discovery FPV frame.
And although this injection molded 3DR Iris arm isnt cheap at $27.00 it is made of ultra
strong and resilient Zytel.
Clearly using manufactured parts will require research as to suitability and size for your project as
well as actual availability.
But if you can accommodate them they can make your project simpler and better.
Homemade waterproof frame using a hinged electrical box
An absolutely excellent, very clean, rugged and waterproof design using carbon fiber arms and plastic
electrical and plumbing parts.
48 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
And the inexpensive ($120.00) and extra tough, water proof Aquacopter frame
A fully functional vacuum forming system can actually be constructed with a shop vacuum
and an electric grill.
Vacuum forming can also be used to make central shells for copters with tube, plastic or
fiber glass frame arms.
This may be over specialized for most uses, but if you want to make tough, light central
frame shells or covers.
Or, if you want to build multiple small to medium Quadcopters that are tough and
waterproof this could be just the ticket.
(Or you could just buy an Aquacopter frame!!!)
49 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The above design is a very capable pro-grade Quadcopter with an exceptionally wide
performance and endurance envelope.
A Small Quadcopter Optimised to Use High Efficiency Lithium Batteries
Modern ultra efficient Lithium batteries can have nearly twice the energy per unit weight of the
LiPo batteries we normally use.
3300 mah 3.7volt Panasonic NCR18650B batteries weigh 47 grams versus a normal LiPo
equivalent of about 100 grams per cell.
Their disadvantage is that their maximum discharge rate is only 2C so 6.6 Amps.
They will also last for many times the number of charge discharge cycles of our normal LiPos.
Used properly a copter using these batteries can get nearly twice the flight time of one with the
same weight of LiPo batteries.
The most important factor in designing a copter to use these batteries is to keep the weight low
enough that their is sufficient current.
This quadcopter design uses carefully selected T-Motor MT2206 1200 KV 30 gram motors and
10? props with a light carbon fiber frame.
It includes a 2S 2P 6600mah lithium battery, flight controller, receiver and even an FPV camera
and transmitter.
It weighs about a pound and since the battery is 2 parallel it can provide 13.2 amps of current
(max current is less than 10 amps.)
Xcalc computations show that a hover time of 60 minutes might be possible with a realistic fly
around time of about 30 minutes.
This is an easy to build example of a practical and rugged design with exceptional capabilities and double
the normal flight time.
50 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
And some links to some of Forrests extremely ambitious copter building techniques and concepts.
building-copters-with-round-tubes-stronger-lighter-easier
build-your-own-copter-part-ii
build-your-own-copter-part-iii
build-your-own-copter-part-iv
And here is a link to Luke Cooks very serious, very well thought out and meticulously
executed OctoCopter Build
This copter has a lot of things right and is really a study in good design and quality construction.
1. The rotating ball full enclosure camera Gimbal provides good weather protection and improved
performance.
2. The motors are on the bottom under the arms.
1. More aerodynamically efficient with no prop wash interference and very little intake
interference.
2. Noticeably increased flight times, greater lift capability and quieter as well.
3. High torque, low KV pancake style motors and slow turning, large diameter, high efficiency
props.
1. This is much more efficient than faster motors with smaller diameter conventional design
props.
2. This also increases flight times and load capacity and reduces the sound footprint.
4. Tapered carbon fiber frame arms are more aerodynamically efficient and are light and very strong.
5. The fully enclosed weather tight framework with snap latch type access makes maintaining the
copter easy.
6. A simple spring loaded landing gear provides for uneven landing sites and minimal interference
with the prop wash.
This QuadCopter incorporates several excellent design concepts and shows what can be done
without budget constraints.
The Skyranger has features we can use in our own designs but it is important to understand all
designs are compromises.
51 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The 3DRobotics Iris is one of the best designed QuadCopters that you can actually get and it is a
real bargain.
52 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Units
Options
0 300
ACRO_BAL_ROLL 200
0 300
ACRO_P
1 10
4.5
ACRO_TRAINER 1
0:Disabled,
1:Enabled
AHRS_COMP_BET 0.1
A
0.001 0.5
Description
rate at which pitch
angle returns to level
in acro mode
rate at which roll
angle returns to level
in acro mode
Used to convert pilot
roll, pitch and yaw
input into a dssired
rate of rotation in
ACRO mode.
Higher values mean
faster rate of
rotation.
Set to 1 (Enabled) to
make roll return to
within 45 degrees of
level automatically
This controls the
time constant for the
cross-over frequency
used to fuse AHRS
(airspeed and
53 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AHRS_GPS_GAIN 1
0.0 1.0
AHRS_GPS_MINS 6
ATS
0 10
AHRS_GPS_USE
0:Disabled,
1:Enabled
54 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AHRS_ORIENTATI8
ON
0:None, 1:Yaw45
AHRS_RP_P
0.1
0.1 0.4
AHRS_TRIM_X
-0.175
Radians
-10 10
AHRS_TRIM_Y
-0.175
Radians
-10 10
Radians
m/s
-10 10
0 127
AHRS_TRIM_Z
0
AHRS_WIND_MA 0
X
AHRS_YAW_P
0.1
0.1 0.4
flight.
Overall board
orientation relative
to the standard
orientation for the
board type. This
rotates the IMU and
compass readings to
allow the board to be
oriented in your
vehicle at any 90 or
45 degree angle.
This option takes
affect on next boot.
After changing you
will need to re-level
your vehicle.
This controls how
fast the
accelerometers
correct the attitude
Compensates for the
roll angle difference
between the control
board and the frame
Compensates for the
pitch angle
difference between
the control board
and the frame
Not Used
This sets the
maximum allowable
difference between
ground speed and
airspeed. This allows
the plane to cope
with a failing
airspeed sensor. A
value of zero means
to use the airspeed as
is.
This controls the
weight the compass
or GPS has on the
heading. A higher
55 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AMP_PER_VOLT 27.32
ARMING_CHECK 1
0:Disabled,
1:Enabled
AXIS_ENABLE
0:Disabled,
1:Enabled
BATT_CAPACITY 1760
mAh
BATT_CURR_PIN -1
-1:Disabled, 1:A1
BATT_MONITOR 0
0:Disabled, 3:Volt
Only
BATT_VOLT_PIN -1
-1:Disabled, 0:A0
56 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
CAM_DURATION 10
0 50
CAM_SERVO_OFF 1100
CAM_SERVO_ON 1300
CAM_TRIGG_TYP 0
E
CH7_OPT
CH8_OPT
CIRCLE_RADIUS 10
Meters
CIRCLE_RATE
Degrees / second
COMPASS_AUTO 0
DEC
COMPASS_DEC
0.25
COMPASS_LEARN0
Radians
57 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
COMPASS_MOT_ 0
X
COMPASS_MOT_ 0
Y
COMPASS_MOT_Z0
COMPASS_MOTC 0
T
COMPASS_OFS_X 0
COMPASS_OFS_Y 0
COMPASS_OFS_Z 0
COMPASS_ORIEN 0
T
of compass offsets
Multiplied by the
current throttle and
added to the
compasss x-axis
values to
compensate for
motor interference
Offset per Amp or at -1000 1000
Multiplied by the
Full Throttle
current throttle and
added to the
compasss y-axis
values to
compensate for
motor interference
Offset per Amp or at -1000 1000
Multiplied by the
Full Throttle
current throttle and
added to the
compasss z-axis
values to
compensate for
motor interference
0:Disabled, 1:Use Set motor
Throttle, 2:Current interference
compensation type
to disabled, throttle
or current. Do not
change manually.
-400 400
Offset to be added to
the compass x-axis
values to
compensate for
metal in the frame
-400 400
Offset to be added to
the compass y-axis
values to
compensate for
metal in the frame
-400 400
Offset to be added to
the compass z-axis
values to
compensate for
metal in the frame
0:None, 1:Yaw45 The orientation of
the compass relative
to the autopilot
Offset per Amp or at -1000 1000
Full Throttle
58 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
COMPASS_USE
0:Disabled,
1:Enabled
ESC
0:Normal Startup
FENCE_ACTION
0:Report Only
FENCE_ALT_MAX100
FENCE_ENABLE 0
Meters
10 1000
0:Disabled,
59 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
1:Enabled
FENCE_RADIUS
150
FENCE_TYPE
FLOW_ENABLE
FLTMODE1
FLTMODE2
FLTMODE3
FLTMODE4
FLTMODE5
FLTMODE6
FRAME
FS_BATT_ENABL 0
E
FS_GCS_ENABLE 0
Meters
60 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
FS_GPS_ENABLE 0
0:Disabled,
1:Enabled
FS_THR_ENABLE 0
0:Disabled,
1:Enabled RTL
FS_THR_VALUE
975
GND_ABS_PRESS 100340.3
GND_TEMP
HLD_LAT_I
24.198
0
HLD_LAT_IMAX 3000
HLD_LAT_P
0.000 0.100
cm/s
0 3000
0.100 0.300
61 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
HLD_LON_I
HLD_LON_IMAX 3000
0.000 0.100
cm/s
0 3000
HLD_LON_P
0.100 0.300
INAV_TC_XY
2.5
0 10
INAV_TC_Z
0 10
INS_ACCOFFS_X -0.079
m/s/s
-300 300
INS_ACCOFFS_Y -0.409
m/s/s
-300 300
rate controller
Loiter longitude
position controller I
gain. Corrects for
longer-term distance
(in longitude
direction) to the
target location
Loiter
longitudeposition
controller I gain
maximum.
Constrains the
maximum desired
speed that the I term
will generate
Loiter longitude
position controller P
gain. Converts the
distance (in the
longitude direction)
to the target location
into a desired speed
which is then passed
to the loiter
longitude rate
controller
Time constant for
GPS and accel
mixing. Higher TC
decreases GPS
impact on position
estimate
Time constant for
baro and accel
mixing. Higher TC
decreases
barometers impact
on altitude estimate
Accelerometer
offsets of X axis.
This is setup using
the acceleration
calibration or level
operations
Accelerometer
62 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
INS_ACCOFFS_Z -0.332
m/s/s
-300 300
INS_ACCSCAL_X 0.998
0.8 1.2
INS_ACCSCAL_Y 0.995
0.8 1.2
INS_ACCSCAL_Z 0.98
0.8 1.2
INS_GYROFFS_X -0.002
rad/s
INS_GYROFFS_Y -0.038
rad/s
INS_GYROFFS_Z 0.003
rad/s
INS_MPU6K_FILT 0
ER
Hz
0:Default, 5:5Hz
offsets of Y axis.
This is setup using
the acceleration
calibration or level
operations
Accelerometer
offsets of Z axis.
This is setup using
the acceleration
calibration or level
operations
Accelerometer
scaling of X axis.
Calculated during
acceleration
calibration routine
Accelerometer
scaling of Y axis
Calculated during
acceleration
calibration routine
Accelerometer
scaling of Z axis
Calculated during
acceleration
calibration routine
Gyro sensor offsets
of X axis. This is
setup on each boot
during gyro
calibrations
Gyro sensor offsets
of Y axis. This is
setup on each boot
during gyro
calibrations
Gyro sensor offsets
of Z axis. This is
setup on each boot
during gyro
calibrations
Filter frequency to
ask the MPU6000 to
apply to samples.
This can be set to a
lower value to try to
63 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
INS_PRODUCT_ID 4
LAND_SPEED
50
LED_MODE
LOG_BITMASK
1022
LOITER_LAT_D
LOITER_LAT_I
0.5
LOITER_LAT_IMA 400
X
LOITER_LAT_P
64 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
LOITER_LON_D
0.200 0.600
LOITER_LON_I
0.5
0.020 0.060
LOITER_LON_IM 400
AX
Centi-Degrees
0 4500
LOITER_LON_P
2.000 6.000
LOW_VOLT
10.5
0 20
MAG_ENABLE
0:Disabled,
1:Enabled
MNT_ANGMAX_P 4500
AN
Centi-Degrees
-18000 17999
MNT_ANGMAX_R 4500
OL
Centi-Degrees
-18000 17999
MNT_ANGMAX_T 4500
IL
Centi-Degrees
-18000 17999
65 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
MNT_ANGMIN_P -4500
AN
Centi-Degrees
-18000 17999
MNT_ANGMIN_R -4500
OL
Centi-Degrees
-18000 17999
MNT_ANGMIN_TI -4500
L
Centi-Degrees
-18000 17999
MNT_CONTROL_ 0
X
Centi-Degrees
-18000 17999
MNT_CONTROL_ 0
Y
Centi-Degrees
-18000 17999
MNT_CONTROL_ 0
Z
Centi-Degrees
-18000 17999
MNT_JSTICK_SPD 0
0 100
MNT_MODE
0:retract, 1:neutral
MNT_NEUTRAL_ 0
X
Centi-Degrees
-18000 17999
MNT_NEUTRAL_ 0
Y
Centi-Degrees
-18000 17999
MNT_NEUTRAL_Z0
Centi-Degrees
-18000 17999
position of the
mount
Minimum physical
pan (yaw) angular
position of mount.
Minimum physical
roll angular position
of mount.
Minimum physical
tilt (pitch) angular
position of mount.
Mount roll angle
when in MavLink or
RC control operation
mode
Mount tilt/pitch
angle when in
MavLink or RC
control operation
mode
Mount pan/yaw
angle when in
MavLink or RC
control operation
mode
0 for position
control, small for
low speeds, 100 for
max speed. A good
general value is 10
which gives a
movement speed of
3 degrees per
second.
Camera or antenna
mount operation
mode
Mount roll angle
when in neutral
position
Mount tilt/pitch
angle when in
neutral position
Mount pan/yaw
angle when in
neutral position
66 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
MNT_RC_IN_PAN 0
0:Disabled, 5:RC5
MNT_RC_IN_ROL 0
L
MNT_RC_IN_TILT 0
MNT_RETRACT_X0
Centi-Degrees
MNT_RETRACT_Y0
Centi-Degrees
MNT_RETRACT_Z 0
Centi-Degrees
MNT_STAB_PAN 0
MNT_STAB_ROLL 0
MNT_STAB_TILT 0
MOT_TCRV_ENA 1
BLE
MOT_TCRV_MAX 93
PCT
67 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
MOT_TCRV_MIDP 52
CT
20 80
OF_PIT_D
0.12
0.100 0.140
OF_PIT_I
0.5
0.250 0.750
OF_PIT_IMAX
100
OF_PIT_P
2.5
2.000 3.000
OF_RLL_D
0.12
0.100 0.140
OF_RLL_I
0.5
0.250 0.750
Centi-Degrees
0 4500
accept.
Set the pwm position
that produces half
the maximum thrust
of the motors
Optical Flow based
loiter controller pitch
axis D gain.
Compensates for
short-term change in
speed in the pitch
direction
Optical Flow based
loiter controller pitch
axis I gain. Corrects
long-term position
error by more
persistently pitching
left or right
Optical Flow based
loiter controller pitch
axis I gain
maximum.
Constrains the
maximum pitch
angle that the I term
will generate
Optical Flow based
loiter controller pitch
axis P gain. Converts
the position error
from the target point
to a pitch angle
Optical Flow based
loiter controller roll
axis D gain.
Compensates for
short-term change in
speed in the roll
direction
Optical Flow based
loiter controller roll
axis I gain. Corrects
long-term position
error by more
persistently rolling
68 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
OF_RLL_IMAX
100
OF_RLL_P
2.5
PILOT_VELZ_MA 250
X
Centi-Degrees
0 4500
2.000 3.000
RATE_PIT_D
0.004
0.001 0.008
RATE_PIT_I
0.05
0.01 0.5
RATE_PIT_IMAX 500
RATE_PIT_P
0.08
PWM
0 500
0.08 0.20
left or right
Optical Flow based
loiter controller roll
axis I gain
maximum.
Constrains the
maximum roll angle
that the I term will
generate
Optical Flow based
loiter controller roll
axis P gain. Converts
the position error
from the target point
to a roll angle
The maximum
vertical velocity the
pilot may request in
cm/s
Pitch axis rate
controller D gain.
Compensates for
short-term change in
desired pitch rate vs
actual pitch rate
Pitch axis rate
controller I gain.
Corrects long-term
difference in desired
pitch rate vs actual
pitch rate
Pitch axis rate
controller I gain
maximum.
Constrains the
maximum motor
output that the I gain
will output
Pitch axis rate
controller P gain.
Converts the
difference between
desired pitch rate
and actual pitch rate
into a motor speed
output
69 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RATE_RLL_D
0.004
0.001 0.008
RATE_RLL_I
0.05
0.01 0.5
RATE_RLL_IMAX 500
PWM
0 500
RATE_RLL_P
0.08
0.08 0.20
RATE_YAW_D
0.000 0.001
RATE_YAW_I
0.015
0.010 0.020
RATE_YAW_IMA 800
X
RATE_YAW_P
0.2
PWM
0 500
0.150 0.250
70 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC_SPEED
490
Hz
50 490
RC1_DZ
30
RC1_MAX
1922
ms
800 2200
RC1_MIN
1121
ms
800 2200
RC1_REV
RC1_TRIM
1515
RC10_DZ
-1:Reversed,
1:Normal
ms
RC10_FUNCTION 0
RC10_MAX
1900
800 2200
0:Disabled
ms
800 2200
controller P gain.
Converts the
difference between
desired yaw rate and
actual yaw rate into
a motor speed output
This is the speed in
Hertz that your
ESCs will receive
updates
dead zone around
trim.
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
71 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC10_MIN
1100
RC10_REV
RC10_TRIM
1500
RC11_DZ
ms
800 2200
-1:Reversed,
1:Normal
ms
RC11_FUNCTION 0
800 2200
0:Disabled
RC11_MAX
1900
ms
800 2200
RC11_MIN
1100
ms
800 2200
RC11_REV
-1:Reversed,
1:Normal
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
72 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC11_TRIM
1500
RC12_DZ
ms
RC12_FUNCTION 0
800 2200
0:Disabled
RC12_MAX
1900
ms
800 2200
RC12_MIN
1100
ms
800 2200
RC12_REV
RC12_TRIM
1500
RC2_DZ
30
RC2_MAX
1921
-1:Reversed,
1:Normal
ms
800 2200
ms
800 2200
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
73 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC2_MIN
1122
RC2_REV
RC2_TRIM
1513
RC3_DZ
30
RC3_MAX
ms
800 2200
-1:Reversed,
1:Normal
ms
800 2200
1920
ms
800 2200
RC3_MIN
1119
ms
800 2200
RC3_REV
RC3_TRIM
1122
RC4_DZ
40
RC4_MAX
1920
-1:Reversed,
1:Normal
ms
800 2200
ms
800 2200
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
RC maximum PWM
74 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC4_MIN
1118
ms
800 2200
RC4_REV
RC4_TRIM
1519
RC5_DZ
RC5_FUNCTION
RC5_MAX
1916
ms
800 2200
RC5_MIN
1115
ms
800 2200
RC5_REV
-1:Reversed,
1:Normal
ms
800 2200
0:Disabled
-1:Reversed,
1:Normal
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dip-
75 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC5_TRIM
1515
ms
800 2200
RC6_DZ
RC6_FUNCTION
RC6_MAX
1001
ms
800 2200
RC6_MIN
1000
ms
800 2200
RC6_REV
RC6_TRIM
1001
RC7_DZ
RC7_FUNCTION
0:Disabled
-1:Reversed,
1:Normal
ms
800 2200
0:Disabled
switches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
76 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC7_MAX
1001
ms
800 2200
RC7_MIN
1000
ms
800 2200
RC7_REV
RC7_TRIM
1001
RC8_DZ
RC8_FUNCTION
RC8_MAX
1001
ms
800 2200
RC8_MIN
1000
ms
800 2200
-1:Reversed
,1:Normal
ms
800 2200
0:Disabled
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
77 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RC8_REV
-1:Reversed,
1:Normal
RC8_TRIM
1001
RC9_DZ
RC9_FUNCTION
RC9_MAX
1900
ms
800 2200
RC9_MIN
1100
ms
800 2200
RC9_REV
RC9_TRIM
1500
RSSI_PIN
-1
ms
800 2200
0:Disabled
-1:Reversed,
1:Normal
ms
800 2200
-1:Disabled, 0:A0
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
dead zone around
trim.
Setting this to
Disabled(0) will
disable this output,
any other value will
enable the
corresponding
function
RC maximum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
RC minimum PWM
pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
Reverse servo
operation. Ignored
on APM1 unless dipswitches are
disabled.
RC trim (neutral)
PWM pulse width.
Typically 1000 is
lower limit, 1500 is
neutral and 2000 is
upper limit.
This selects an
analog pin for the
78 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
RTL_ALT
1500
Centimeters
0 8000
RTL_ALT_FINAL 200
Centimeters
-1 1000
RTL_LOIT_TIME 5000
ms
0 60000
SCHED_DEBUG
0:Disabled
SERIAL3_BAUD
57
1:1200,2:2400
SIMPLE
SONAR_ENABLE 0
0:Disabled,
1:Enabled
SONAR_GAIN
0.01 0.5
0.2
receiver RSSI
voltage. It assumes
the voltage is 5V for
max rssi, 0V for
minimum
The minimum
altitude the model
will move to before
Returning to
Launch. Set to zero
to return at current
altitude.
This is the altitude
the vehicle will
move to as the final
stage of Returning to
Launch or after
completing a
mission. Set to zero
to land.
Time (in
milliseconds) to
loiter above home
before begining final
descent
Set to non-zero to
enable scheduler
debug messages
The baud rate used
on the telemetry port
Bitmask which holds
which flight modes
use simple heading
mode (eg bit 0 = 1
means Flight Mode
0 uses simple mode)
Setting this to
Enabled(1) will
enable the sonar.
Setting this to
Disabled(0) will
disable the sonar
Used to adjust the
speed with which the
target altitude is
changed when
79 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
SONAR_TYPE
0:XL-EZ0
SR0_EXT_STAT
Hz
0 10
SR0_EXTRA1
Hz
0 10
SR0_EXTRA2
Hz
0 10
SR0_EXTRA3
Hz
0 10
SR0_PARAMS
50
Hz
0 10
SR0_POSITION
Hz
0 10
SR0_RAW_CTRL 0
Hz
0 10
SR0_RAW_SENS
Hz
0 10
SR0_RC_CHAN
Hz
0 10
SR3_EXT_STAT
Hz
0 10
SR3_EXTRA1
Hz
0 10
SR3_EXTRA2
Hz
0 10
SR3_EXTRA3
Hz
0 10
80 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
SR3_PARAMS
Hz
0 10
SR3_POSITION
Hz
0 10
SR3_RAW_CTRL 0
Hz
0 10
SR3_RAW_SENS
Hz
0 10
SR3_RC_CHAN
Hz
0 10
STB_PIT_I
STB_PIT_IMAX
800
STB_PIT_P
4.5
3.000 6.000
STB_RLL_I
0.000 0.100
STB_RLL_IMAX
800
0.000 0.100
Parameter stream
rate to ground
station
Position stream rate
to ground station
Raw Control stream
rate to ground
station
Raw sensor stream
rate to ground
station
RC Channel stream
rate to ground
station
Pitch axis stabilize
(i.e. angle) controller
I gain. Corrects for
longer-term
difference in desired
pitch angle and
actual angle
Pitch axis stabilize
(i.e. angle) controller
I gain maximum.
Constrains the
maximum pitch rate
that the I term will
generate
Pitch axis stabilize
(i.e. angle) controller
P gain. Converts the
error between the
desired pitch angle
and actual angle to a
desired pitch rate
Roll axis stabilize
(i.e. angle) controller
I gain. Corrects for
longer-term
difference in desired
roll angle and actual
angle
Roll axis stabilize
(i.e. angle) controller
I gain maximum.
Constrains the
81 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
STB_RLL_P
4.5
3.000 6.000
STB_YAW_I
0.000 0.100
STB_YAW_IMAX 800
STB_YAW_P
4.5
3.000 6.000
SUPER_SIMPLE
0:Disabled,
1:Enabled
SYSID_MYGCS
255
SYSID_SW_MREV 120
82 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
SYSID_SW_TYPE 10
SYSID_THISMAV 1
TELEM_DELAY
seconds
0 10
THR_ACC_ENABL 1
E
0:Disabled,
1:Enabled
THR_ACCEL_D
0.000 0.400
THR_ACCEL_I
1.5
0.000 3.000
THR_ACCEL_IMA 500
X
THR_ACCEL_P
0.75
PWM
0 500
0.500 1.500
83 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
THR_ALT_I
THR_ALT_IMAX 300
THR_ALT_P
THR_MAX
1000
THR_MID
500
THR_MIN
130
THR_RATE_D
0.000 0.100
cm/s
0 500
1.000 3.000
ms
0 1000
300 700
ms
0 1000
0.000 0.400
desired vertical
acceleration and
actual acceleration
into a motor output
Altitude controller I
gain. Corrects for
longer-term
difference in desired
altitude and actual
altitude
Altitude controller I
gain maximum.
Constrains the
maximum climb rate
rate that the I term
will generate
Altitude controller P
gain. Converts the
difference between
the desired altitude
and actual altitude
into a climb or
descent rate which is
passed to the throttle
rate controller
The maximum
throttle that will be
sent to the motors
The throttle output
(0 ~ 1000) when
throttle stick is in
mid position. Used
to scale the manual
throttle so that the
mid throttle stick
position is close to
the throttle required
to hover
The minimum
throttle that will be
sent to the motors to
keep them spinning
Throttle rate
controller D gain.
Compensates for
short-term change in
84 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
THR_RATE_I
THR_RATE_IMAX 300
0.000 0.100
cm/s/s
0 500
THR_RATE_P
1.000 8.000
TOY_RATE
1 10
TRIM_THROTTLE 450
TUNE
PWM
0 1000
0:CH6_NONE
desired vertical
speed vs actual
speed
Throttle rate
controller I gain.
Corrects long-term
difference in desired
vertical speed and
actual speed
Throttle rate
controller I gain
maximum.
Constrains the
desired acceleration
that the I gain will
generate
Throttle rate
controller P gain.
Converts the
difference between
desired vertical
speed and actual
speed into a desired
acceleration that is
passed to the throttle
acceleration
controller
Controls yaw rate in
Toy mode. Higher
values will cause a
slower yaw rate. Do
not set to zero!
The autopilots
estimate of the
throttle required to
maintain a level
hover. Calculated
automatically from
the pilots throttle
input while in
stabilize mode
Controls which
parameters
(normally PID gains)
are being tuned with
transmitters
85 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
TUNE_HIGH
1000
TUNE_LOW
VOLT_DIVIDER
3.56
WP_INDEX
WP_TOTAL
WP_YAW_BEHAV 2
IOR
WPNAV_LOIT_SP 750
EED
channel 6 knob
The maximum value
that will be applied
to the parameter
currently being
tuned with the
transmitters
channel 6 knob
0 32767
The minimum value
that will be applied
to the parameter
currently being
tuned with the
transmitters
channel 6 knob
Used to convert the
voltage of the
voltage sensing pin (
BATT_VOLT_PIN)
to the actual
batterys voltage
(pin voltage * INPU
T_VOLTS/1024 *
VOLT_DIVIDER)
The index number of
the command that is
currently being
executed. Do not
update this
parameter directly!
Total number of
commands in the
mission stored in the
eeprom. Do not
update this
parameter directly!
0:Never change yaw Determines how the
autopilot controls the
yaw during missions
and RTL
Centimeters/ Second 0 2000
Defines the
maximum speed in
cm/s which the
aircraft will travel
horizontally while in
loiter mode
0 32767
86 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
WPNAV_RADIUS 200
Centimeters
100 1000
WPNAV_SPEED
500
WPNAV_SPEED_D 150
N
WPNAV_SPEED_U 250
P
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
87 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Table of Contents
Jethro Hazelhurst produced this magnificent Pixhawk wiring chart for a Quadcopter for us.
(Control Scroll wheel will let you zoom in on the image below!)
A 3DR PPM-Sum encoder with conventional receiver is illustrated, A PPM-Sum receiver could
be used instead.
Generally a 3S or 4S LiPo battery is appropriate for a Quadcopter and the XT60 connectors shown
are a reliable choice.
An optional battery warning indicator can provide quick battery status and provide an audible
warning when nearby.
88 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Optional 3DR telemetry radios may be connected to your Pixhawk and tablet or laptop to permit
real time monitoring and operation.
A (GCS (Ground Control Station) program like Mission Planner, AndroPilot or
DroidPlanner provides in flight information and control.
An optional GoPro camera and brushless gimbal are illustrated and can provide very high quality
photo and video results.
It is quite reasonable to use a GoPro camera and brushless gimbal on 400 and larger
Quadcopters.
Brushless camera gimbals perform more smoothly and adequately than the older servo
type gimbals.
The brushless gimbal illustrated above has an anti-vibration mount which is important for
good photo results.
For cameras larger than GoPro or Sport types, a larger QuadCopter, HexaCopter or
OctoCopter should be used.
You could also install an optional FPV (First Person View) video system but it is not shown in the
illustration above.
An FPV system consists of a tiny video camera and transmitter on the copter plus a
receiver and video goggles or an LCD screen.
Almost any size Quadcopter can support a First Person View system.
An optional OSD (On Screen Display) can add a video heads up display of current in flight
conditions to your FPV flight display.
The telemetry, camera, gimbal, FPV and OSD options mentioned above can be combined as you
wish for your copter but start simple.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
89 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Table of Contents
90 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
the Measuring Vibration wiki page for details of how to measure whether your copters levels are within
the acceptable range.
18. Camera Mounts also need to be effectively isolated and damped from vibration, but they already
have a number of soft mounting solutions.
19. The camera servos need to be vibration isolated as well, either in the isolated camera mount itself
or with their own vibration reduction solution.
91 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
20. You should use high quality ball joints on your camera servo arms and adequate bearings or
bushings in the mount itself with zero free play to prevent inertial slop.
21. Quality servos without free play are also a must for precision camera work.
22. Some copters can have intrinsically lower than normal vibration characteristics
1. Frame stiffness / flex and isolated centralized mass can greatly influence motor/prop
vibration transfer to the central fight controller.
2. Thoughtful top down design has produced some copters with significantly reduced
intrinsic vibration levels.
Since most of our flying takes place well inside the + and one G range and we are
attempting to the movement of our airframe to determine location and level you can see that
any vibration greatly interferes with this process.
The APM or PX4s internal firmware filtering can extract sufficient data for inertial
navigation from vibration excursions of less than 1/2 G (5 on our scale).
However, reducing the vibration amplitude of each axis even lower, possibly even below one
tenth G is a worthy pursuit and will be rewarded with very stable horizontal and vertical
position maintenance and smooth control.
92 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
12. This includes all pre-made Sorbothane, Alpha gel, EAR, memory foam or other silicone or
urethane gel or foam mounts as well as Lord Micro mounts.
Gelmec Silicone Grommets Link: (Here!)
Gelmec Silicone Pads Link: (Here!)
Sorbothane Company Link: (Here!)
Sorbothane 30 durometer 3/16? x 12? x 12? sheet Link: (Here!)
Great link for Antivibration grommets (use the .3lb ones): (Here!)
Excellent Link for Alpha Gel, Silicone and Sorbothane: (Here!)
EAR 3M Company damping material: (Here!)
Lord Micro Mounts: (Here!)
93 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
will be to use the proper amount of them to optimally damp our flight control board. (Too much is
just as bad as too little.)
7. Combining the Flight control board and receiver onto a separate vibration damped electronics
module plate or enclosure can increase the mass of the module making it easier to damp
effectively as well as reducing the interconnecting wiring and making the whole system more
modular.
I have used the concept of vibration isolation and damping somewhat interchangeably in this
section.
1. Isolation is simple undamped (spring or rubber band support) which allows the movement of the
isolated object largely separate from the containing object (Automobile spring for instance).
2. Damping is the conversion of vibration into heat energy by a shock absorbing medium
(Automobile shock absorber for instance.)
3. Our ultimate goal here is to provide the most high and medium frequency reduction while still
allowing low frequency actual board movement to take place in concert with the airframe with a
minimum of delay.
4. So realistically our methods embody both Damping and Isolation.
I have covered a lot of ground here, but this is at least a good start for designing some real world
vibration solutions .
Here is a link to an excellent RC Groups page on Vibration Effects relating to a camera mount but
germane for us too: (Here!)
Here is a link to the DIYDrones Discussion and the responses relating to Vibration Control:
(Here!)
And here is the link to the DIYDrones BLOG about this Wiki Section on Vibration Control:
(Here!)
You can enter any comments and pictures / illustrations on this BLOG if you wish.
I will include the most relevant of them in the Wiki:
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
94 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
AdvancedCompassSetup
by randy - Wednesday, July 24, 2013
http://copter.ardupilot.tridgell.net/wiki/ac_compasssetupupadvanced/
Content
Advanced Compass Setup
Set the Orientation
Live Calibration of offsets
CompassMot compensation for interference from the power wires, ESCs and motors
Manual Declination
Tuning Declination in-flight
Table of Contents
This page covers how to setup and calibrate the compass. Most users will only need to select the
Orientation and perform the Live Calibration but details are also given on the lesser used CompassMot
and Manual Declination. All this configuration can be performed from the Mission Planners Initial
Setup >> Mandatory Hardware >> Compass screen. Other ground stations likely have similar features.
Accurately setting up the compass is critical because it is the primary source of heading information.
Without an accurate heading the vehicle will not move in the correct direction in autopilot modes (i.e.
Loiter, PosHold, RTL, Auto, etc). This can lead to circling (aka toiletbowling) or fly-aways.
95 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
From the Mission Planners Initial Setup >> Mandatory Hardware >> Compass screens Orientation area
select the flight controller you are using (i.e. Pixhawk or APM) which will set the compass
orientation to the default for that board:
Pixhawk/PX4 : select this if you are using a Pixhawk or PX4 board. Internal and External compasses
will be detected. If an external compass is detected it will be assumed to be a 3DR GPS/Compass module
(or compatible) placed so its white arrow points forward on the vehicle frame. If you are not using a
3DR GPS/Compass module you may need to set the orientation manually (see below).
APM with OnBoard Compass: select this if you are using an APM with only an onboard compass (i.e.
APM2.5 or earlier)
APM with External Compass : select this if you are using an APM with no internal compass (i.e.
APM2.6) with a 3DR GPS/Compass module placed so that its white arrow points forward on the frame.
If you are not using a 3DR GPS/Compass module you may need to set the orientation manuall (see
below)
Manual : if using a non-standard external compass or if using a 3DR GPS/Compass module in a nonstandard orientation. all orientations in 45 degree increments and even upside down can be
accommodated. Use a hand-held compass and the following procedure to determine the correct setting.
Set the vehicle on a flat surface and compare the heading the Flight Data screens HUD to the known
heading
From the drop-down select one of the first 8 option (i.e. ROTATION_NONE to
ROTATION_YAW_315?) that leads to the vehicles heading (shown in the HUD) agreeing with the
actual heading.
Now turn your air frame right or left and if the heading in the HUD correctly follows you are done.
If the heading turned in the opposite direction from the vehicle set the Manual rotation to include
_ROLL_180_. I.e. ROTATION_YAW_45 would become ROTATION_ROLL_180_YAW_45.
96 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
The final offsets will be displayed (3 numbers for each compass), if all these numbers are below
250 then you can assume they are good. If you missed the numbers they can be seen as
COMPASS_OFS_X, Y and Z in the Advanced Parmaeters list. If the numbers are very high it
may indicate there is some metal near the compasses.
One strategy for capturing all the white dots is to rotate the vehicle slowly so that each side (front, back,
left, right, top and bottom) points down toward the ground for a few seconds (Note: the image below
shows only 4 of the 6 recommended positions)
The video below is from earlier versions of the calibration routine but may still produce good offsets.
Some members of the development team recommend performing the calibration outdoors away from
metal objects using wireless telemetry (primarily so you dont get tangled in the cable) although no tests
have been performed to confirm this is necessary.
CompassMot compensation for interference from the power wires, ESCs and
motors
This is recommended for vehicles that have only an internal compass and on vehicles where there is
significant interference on the compass from the motors, power wires, etc. CompassMot only works well
if you have a battery current monitor because the magnetic interference is linear with current drawn. It is
technically possible to set-up CompassMot using throttle but this is not recommended.
Please follow these instructions:
Enable the current monitor (aka Power Module)
Disconnect your props, flip them over and rotate them one position around the frame. In this
configuration they should push the copter down into the ground when the throttle is raised
Secure the copter (perhaps with tape) so that it does not move
Turn on your transmitter and keep throttle at zero
Connect your vehicles Lipo battery
Connect your flight controller to your computer with the usb cable
If using AC3.2:
Open the Initial Setup >> Optional Hardware >> Compass/Motor Calib screen
Press the Start button
If using AC3.1.5:
open the Terminal screen, press the Connect APM or Connect PX4? button
At the prompt type setup and then compassmot.
If the PowerModule/Current monitor is enabled you should see measuring compass vs
CURRENT
97 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Manual Declination
By default the declination is looked up in a compressed table when the vehicle first achieves GPS lock.
This method is accurate to within 1 degree (which should be sufficient) but if you wish to use the
uncompressed declination:
Check the declination is updating correctly when turning the channel 6 tuning knob to its
maximum position, go to Config/Tuning >> Standard Params screen, press the Refresh
98 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Params button and ensuring that COMPASS_DEC is 0.523 (this is 30 degrees expressed in
radians)
Fly your copter in Loiter mode in at least two directions and ensure that after a fast forward flight
you do not see any circling (also known as toilet bowling).
If you find its impossible to tune away the circling then its likely your compass interference is
will require an external compass or GPS+compass module.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
99 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Altitude Hold
by levinemax - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/altholdmode/
Content
Overview
Controls
Tuning
Verifying AltHold performance with dataflash logs
Common Problems
Adequate Power
In altitude hold mode, the copter maintains a consistent altitude while allowing roll, pitch, and yaw to be
controlled normally. This page contains important information about using and tuning alt hold.
Contents
1 Overview
2 Controls
3 Tuning
4 Verifying AltHold performance with dataflash logs
5 Common Problems
6 Adequate Power
Overview
When altitude hold mode (aka AltHold) is selected, the throttle is automatically controlled to maintain the
current altitude. Roll, Pitch and yaw operate the same as in Stabilize mode meaning that the pilot directly
controls the roll and pitch lean angles and the heading.
Automatic altitude hold is a feature of many other flight modes (Loiter, Sport, etc) so the information
here pertains to those modes as well.
Note: The flight controller uses a barometer which measures air pressure as the primary means for
determining altitude (Pressure Altitude) and if the air pressure is changing in your flight area due to
extreme weather, the copter will follow the air pressure change rather than actual altitude (unless you are
100 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
within 20 feet of the ground and have SONAR installed and enabled). Below 26 feet, SONAR (if
enabled) will automatically provide even more accurate altitude maintenance.
Controls
The pilot can control the climb or descent rate of the vehicle with the throttle stick.
If the throttle stick is in the middle (40% ~ 60%) the vehicle will maintain the current
altitude.
Outside of the mid-throttle deadzone (i.e. below 40% or above 60%) the vehicle will
descend or climb depending upon the deflection of the stick. When the stick is completely
down the copter will descend at 2.5m/s and if at the very top it will climb by 2.5m/s. These
speeds can be adjusted with the PILOT_VELZ_MAX parameter.
The size of the deadband can be adjusted with the THR_DZ parameter (AC3.2 and higher
only). This params value should be between 0 and 400 with 0 meaning no
deadband. 100 would produce a deadband 10% above and below mid throttle (i.e.
deadband extends from 40% to 60% throttle stick position).
AC3.1 and later allow arming and disarming in altitude hold mode. When disarming, the copter may need
to rest in the landing position for a few seconds to allow the landing checker to verify that the copter
has landed before you are able to disarm.
Tuning
The Altitude Hold P is used to convert the altitude error (the difference between the desired altitude and
the actual altitude) to a desired climb or descent rate. A higher rate will make it more aggressively
attempt to maintain its altitude but if set too high leads to a jerky throttle response.
The Throttle Rate (which normally requires no tuning) converts the desired climb or descent rate into a
desired acceleration up or down.
The Throttle Accel PID gains convert the acceleration error (i.e the difference between the desired
acceleration and the actual acceleration) into a motor output. The 1:2 ratio of P to I (i.e. I is twice the size
of P) should be maintained if you modify these parameters. These values should never be increased but
for very powerful copters you may get better response by reducing both by 50% (i.e P to 0.5, I to 1.0).
101 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
based altitude estimate. This data is found in slight different columns depending upon the version and
board.
APM running AC3.1: graph CTUNs BarAlt (baro alt), WPAlt (desired altitude) and the GPS messages
RelAlt (inertial nav alt estimate)
APM running AC3.2 or Pixhawk running AC3.1 or AC3.2: CTUNs BarAlt (baro alt), DAlt (desired alt)
and Alt (inertial nav alt estimate)
The three should track well as shown below.
Common Problems
1. High vibrations can lead to the copter rapidly climbing as soon as altitude hold is engaged. Check
the Measuring Vibration and Vibration Dampening wiki pages for details on how to measure and
reduce vibrations.
2. Copter slowly descends or climbs until the pilot retakes control in stabilize. Normally this is
caused by not having the throttle stick in the mid position. This commonly happens when the
pilot is switching into AltHold from a manual flight mode (like Stabilize) on a copter that does not
hover at mid throttle. See the wiki page related to setting the mid throttle position.
3. The motors seem to stop for a moment just as AltHold is engaged but then it soon recovers. This
normally occurs when the pilot enters AltHold while climbing rapidly. The target altitude is set at
the moment the pilot switches into alt hold but because the vehicle is rising quickly it flies above
the target. The aggressive altitude hold controller then responds by momentarily reducing the
motors to near minimum until the copter begins falling back to the target altitude. The
workaround is to enter AltHold while the copter is flying at a stable altitude.
4. Air pressure changes cause the vehicle to drift up or down by a couple of meters over longer
period of time or for the altitude shown on the GCS to be inaccurate by a couple of meters
including occasional negative altitudes (meaning altitudes below the home altitude).
5. Momentary altitude loss of 1m ~ 2m when the copter levels out after a high speed forward flight.
This is caused by an aerodynamic effect which leads to a momentary low pressure bubble forming
on the top of the copter where the flight controller is mounted which leads the altitude hold
controller to believe it is climbing so it responds by descending. There is no cure for this
behaviour at the moment although increasing the INAV_TC_Z parameter to 7 (default is 5)
reduces the effect but increases the change of Common Problem #1 listed above.
6. Altitude hold becomes erratic when the vehicle is close to the ground or during landing. This can
be caused by the barometer being affected by pressure changes created by prop-wash. The
solution is to move the flight controller out of the prop wash effect or shield it within an
appropriately ventilated enclosure.
7. Sudden altitude changes caused by light striking the barometer. APM2.x sold after mid 2013
come with black tape on the inside of the case to protect against this.
Adequate Power
102 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
It is very important that the vehicle has enough power available. Without this the AltHold and attitude
controllers can require more power than is available from one or more motors and will be forced to
sacrifice some control which could lead to a loss of attitude or altitude.
Ideally the vehicle should be able to hover at about 50% throttle (mid stick) and anything higher than
70% is dangerous.
Warning: If you incorporate expo on your transmitter, that directly increases the size of the Alt
Hold throttle dead band.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
103 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
APM1Wireless
by german - Thursday, December 20, 2012
http://copter.ardupilot.tridgell.net/wiki/apm1wireless/
Content
APM1Wireless
Using Xbee radios for telemetry with APM 1
Hooking up your Xbee wireless modules
Wiring it up
On the ground side
(Optional) Rolling your own Xbee telemetry setup
Setting up the Xbee modules
For Non-PC users
Testing the connection
Test code
Unbricking an Xbee
APM1Wireless
104 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Wiring it up
Shown with
3DR four-wire Xbee cable
:
Connect the XtremeBee adapter (with the Xbee plugged in) to APM 1 as shown above. Your adapter
should be in Master mode. (Master and Slave just reverse the TX and RX pins).
We recommend the
3DR four-wire Xbee cable
, which comes with the official Wireless Telemetry kit shown above. It is designed to connect the
XtreamBee adapter to APM, as it will provide the neatest and safest connection.
If youre using an XtreamBee adapter on the ground side, connect it to a FTDI cable as shown below and
105 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
plug that into your USB port. The adapter should also be in Master mode.
Now youre done! Remember to select the right Xbee port (you can see which one has been assigned to
the Xbee in the Windows Control Panel device manager) and a baud rate of 57k in the Mission Planner or
other GCS when youre connecting.
106 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Note: If you bought your Xbee modules from Sparkfun, rather than the official DIY Drones kit, please
note that they sometimes ship with the wrong firmware. X-CTU may try to download new code, which
will probably fail (cancel it). If your Xbee module is reporting that its an XBP09-DM (rather than the
correct XBP09-DP), do the following:
1. If you have the XBP09-DP modules, you must download XBP09-DP firmware. If you have
downloaded XBP09-DM firmware, it will kind-of work, but will fail at the PID-config screen.
2. X-CTU will report the module as XBP09-DM. Ignore that. Go to the Modem Configuration tab
and do the following:
1. Select Modem as XBP09-DP, Function Set XBEE-PRO 900, Version 1002. It is important
that you select 1002. Version 1061 does not work at first.
2. Click the Show Defaults button under the Parameter View.
3. Click the Write button under Modem Parameters and Firmware.
4. Go back to PC Settings, change Baud to 9600. Click Query. It will show XBP09-DM.
Ignore that.
5. Go back to Modem Configuration. Click Read. It should show XBP09-DP as the modem.
107 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Version 1002.
6. Now select Version 1061.
7. Click Show Defaults
8. Click on the DD parameter and set it to 0. This step is important, otherwise the 1161
firmware download will fail.
9. Click Write. Now your firmware is XBP09-DP Version 1161.
3. Now change the baud rate and Modem VID, redownload and you should be good to go.
It will still show XBP09-DM in the PC Settings Query. Dont worry about that.
Test code
APM has four serial ports so all the usual Arduino serial commands now take a specifier to say which
port you want to read from or write to. For example: Serial1.print(), Serial2.print(). The port connected to
the USB/FDTI connector is Serial0. The port connected to the Telecom pins is Serial3.
Heres
a quick demo that will print to all four ports so you can check to see that your Xbee connection is
108 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
2)
Now switch the serial port to the one your Xbee is assigned to and reopen the serial monitor, setting the
baud rate to 57600 (which is the speed your Xbees should already be programmed for). You should now
see Port 3? repeated, showing the output from APMs Xbee port:
Unbricking an Xbee
IMPORTANT NOTE: Sometimes Xbee modules get corrupted due to spurious signals. If youre finding
that yours stops working (green LED on Adafruit adapter doesnt come on), instructions to reload the
firmware follow:
Using the USB adapter board:
1. Take the module out of the interface board.
2. Connect the interface board to the computer.
3. Open X-CTU make sure Baud Rate is set to 9600
4. Go to Modem Configuration
5. Put a check in the Always update firmware box
6. Select proper modem from drop down menu (for the 900Mhz ones recommended above select
XBP09-DP; for 2.4GHZ Xeebee Pro 2 select XBP24-B)
7. Click on the Write button. After a few seconds of trying to read the modem, you will get an Info
box that says Action Needed. At this point, CAREFULLY insert the module into the interface
board. After a few seconds, this should trigger a reloading of the firmware.
8. You may get the info box again a short while after; if so just repeat the previous step a few times
and it should work.
9. This will put the module back to 9600 baud. Set your X-CTU PC settings to that and test it. It
should report back that its recognized.
10. Once youve confirmed that its working again, make you sure you reset its baud rate (typically
57k for APM) and VID number to match your other module.
_(Thanks to Doug Barnett for these tips)_
109 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
Questions about this page? Comments? Suggestions? Post to APM Forum! Use the platform specific to
your query, and make sure to include the name of the page you are referring to.
_______________________________________________
110 / 111
ArduCopter - 01-27-2015
Multirotor UAV - http://copter.ardupilot.tridgell.net
ArduCopter
Multirotor UAV
PDF generated January 27, 2015 at 1:31 AM by Kalin's PDF Creation Station WordPress plugin
111 / 111
Powered by TCPDF (www.tcpdf.org)