Unterschiede zwischen den Revisionen 11 und 12
Revision 11 vom 16.02.2016 10:14
Größe: 12961
Autor: LotharF
Kommentar:
Revision 12 vom 03.05.2016 09:43
Größe: 13171
Autor: LotharF
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 261: Zeile 261:
<<BR>><<BR>><<BR>>
IMPORTANT: Only with an microSD card in the !NaviCtrl you can use the NMEA Data. <<BR>>
The file ''SETTINGS.INI'' on the microSD card includes then the necessary command "NMEA_INTERVAL"s for this purpose.
This entry is set to "0" by default, so there is no output of the NMEA signal.<<BR>>
Here a transmission interval must be entered (e.g. 500 = 500ms = 0,5s). You can change the Settings.ini with an Editor.
Zeile 266: Zeile 271:
IMPORTANT: Only with an microSD card in the !NaviCtrl you can use the NMEA Data. <<BR>>
The file ''SETTINGS.INI'' on the microSD card includes then the necessary commands for this purpose.

This pages as a PDF-Document? Simply click on the symbol and wait a few seconds... --->

NaviCtrl V2.1





NaviCtrl V2.1

The NaviCtrl is an additional module for the FlightCtrl. On the MikroKopter you use the NaviCtrl together with the MKGPS as a navigation unit.

With the navigation unit you can use functions like PositionHold, ComingHome, CareFree, FollowMe or a Waypoint fly.
(All functions of the MikroKopter are described here: Functions)

The NaviCtrl V2.1 includes an integrated compass module and a connector for an external compass module.

On the NaviCtrl board is also a Micro-SD card socket. Here you can insert an micro SD card (max. 2GB / FAT16).
During flight the LOG files of the Kopter will be saved on this micro SD card.

After the flight you can take a look on the recorded data in the LOG file (if required) wit our program GPX-Viewer.
Informations for the GPX Viewer can be found here: GPX-Viewer







Mounting / Connections

The connections of NaviCtrl are as follows:

NaviCtrl V2.0 - top

NaviCtrl V2.0 - bottom

http://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/NaviCtrl/NaviCtrl-V2.1/NaviV2_1-oben.jpg?m=1446561488

http://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/NaviCtrl/NaviCtrl-V2.1/NaviV2_1-Unten.jpg?m=1446561343



The installation of the navigation unit can be done quickly:







Connection ext. compass

The external compass is easily connected with the 4-pin Molex cable to the NaviCtrl.

More information on mounting the external compass can be found here: ExternalCompass

http://gallery3.mikrokopter.de/var/resizes/intern/MK-Baugruppen/NaviCtrl/NaviCtrl-V2.1/NaviV2_1_ext_Compass.png?m=1446823960







Settings in the KopterTool

When the navigation unit is mounted on your copter you need 2 free channels on your transmitter that you can use the functions.
The first channel can be used with a 3way switch and the second with a 2way switch on your transmitter.

With the 3-way switch you use the GPS functions:

With the 2-way switch you use the GPS functions:

Both channes mus also be set under "Easy Setup" -> GPS Mode Control and Carefree control.







Calibrate Compass

The compass (and the GPS) is needed for the automated control of the MikroKopter.
Therefore a new compass must be calibrated once for a proper function.

If the compass has not been calibrated, compass and GPS supported features can not be used and you can not start the copter.
An error message (error 31) is then displayed via the telemetry.

A recalibration of the compass is usually only necessary when the Kopter fly under the "PositionHold" function in circles at a remote location.





The calibration

Please note

Calibrate the copter outside, far away from magnetic influences!

During the calibration you have to turn the copter completely around the axis.

The following applies: If you calibrate the compass precisely, the copter will fly perfectly.

If the copter is flying in circles (with activated function PositionHold and in an altitude above houses and trees), you better calibrate the compass new.

When you have problems after the calibration (e.g. an err22), a magnetic problem on your copter can be the problem.
Informations for the "magnetic error" can be found here:: MagnetError



The calibration will be done in 5 steps:

Step

Funktion

Beispielansicht / Funktion

Switch ON the Transmitter and connect the Copter with the Lipo.

https://gallery3.mikrokopter.de/var/thumbs/intern/sonstiges/Button-Baugruppe/Copter-FB-ON.jpg?m=1486035200

Step 1
Initiate compass calibration

Nick down
(and hold)

then

Throttle up + Yaw left

(The Kopter beeps 1x)

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MC32_CompassKali_2.jpg?m=1484305663

Step 2
Start Calibration

Pull Nick down 1x

(The Kopter beeps 2x and the clicking starts)

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MC32_CompassKali_1_Roll_down.jpg?m=1484305663

Calibration of the X-Axis (Nick-Axis)

The Kopter with the front
(Arrow direction of the FlightCtrl)
pointing to the South or North,

then

rotate the Kopter a couple times completely over the Nick-Axis until the buzzer stops with the clicking.

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MK8-Kalibrierung-front.jpg?m=1484305664

Rotate the Kopter

Rotate the Kopter by 90°.
The clicking starts again.

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MK8-Kalibrierung-drehen.jpg?m=1484305663

Calibration of the Y-Axis (Roll-Axis)

Rotate the Kopter a couple times completely over the Roll-Axis until the buzzer stops with the clicking.

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MK8-Kalibrierung-Seite.jpg?m=1484305664

Step 3
Finish the calibration of the X and Y-Axis

Pull Nick 1x down

(The Kopter beeps 3x)

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MC32_CompassKali_1_Roll_down.jpg?m=1484305663

Step 4
Start calibration of the Z-Axis (Yaw-Axis)

Pull Nick 1x down

(The Kopter beeps 4x and the clicking starts)

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MC32_CompassKali_1_Roll_down.jpg?m=1484305663

Calibration of the Z-Axis

INFO: Here it doesn't matter if the Kopter shows with the X or Y-Axis towards South (North).

Rotate the Kopter a few times completely over the Roll- or Nick-Axis until the buzzer stops with the clicking.

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MK8-Kalibrierung-Seite.jpg?m=1484305664

Step 5
Finish the calibration of the Z-Axis.

Pull Nick 1x down

The Kopter confirms it with 2 beeps

https://gallery3.mikrokopter.de/var/thumbs/intern/KompassKalibrieren/MC32_CompassKali_1_Roll_down.jpg?m=1484305663



Now that the Kopter "beeped" 2x after a successful calibration that part is done.







Videos









Check the calibration

You can now check the calibration of the compass in the KopterTool or also with a suitable transmitter.

Please do this also outside, far away from magnetic influences!

Here you have to check two values:

  • MAG (or Field) = This should be around 100%
  • Inclination (Incl) = This should be nearly the same value as the one in brackets

IMPORTANT:
To see the right values you have to calibrate the Gyros first (throttle up + yaw left).
Without calibration you will still see 100% and no Inclination.






Check via KopterTool

Here you use:

  • a MK_USB or a wireless connection between Copter and Computer
    +

  • you have calibrate the Gyros (throttle up + yaw left).

https://gallery3.mikrokopter.de/var/albums/intern/KopterTool_ab_V2_0/Details/KopterTool-Display_MagneticField.png?m=1455608488



In the main window of the KopterTool click the button [NaviCtrl].

Under the virtual display klick the red arrow (left or right) until the window "Magnetic Field" displayed.

The value for "Field" must be around 100% and the value for Inclination around the value you see in brackets.
(If the value for "Field" (or for "Inclination") is ~10%-15% higher/lower then 100%, recalibrate the compass)








Check via HoTT transmitter

  • To see the right values of the calibration you have to calibrate the Gyros again (throttle up + yaw left).
    Now you can check the magnetic value in the lower display of the Graupner HoTT transmitter.

    How to open it:

    • With the right "four-way button" select the middle button SET to open the Menu

    • Go down to Telemetry and press SET

    • In the telemetry window choose setting & data view and press SET

    • In the next menu press the right button until you see the "Text-telemetry"

    • To change the view of "0m/s" to "MAG" press SET again.


  • The value for "MAG" must be around 100% and the value for Inclination (incl) around the value you see in brackets.
    If the value for "Field" (or for "Inclination") is ~10%-15% higher/lower then 100%, recalibrate the compass!


  • https://gallery3.mikrokopter.de/var/albums/intern/HoTT/Display1/HoTT-Display-MAG_EN.jpg?m=1500015794







Sat-Fix

For all GPS functions like PositionHold, ComingHome or a waypoint flight you need the GPS modul.
In addition, there must be a Satfix.

To test if the copter (the GPS) already have a Satfix, you can use the 3 way switch for the GPS functions on the transmitter.

The copter is outside, the transmitter ON and the copter is connected with the battery.
The motors are OFF!

The switch positions of the 3 way GPS switch:

  • Switch position OFF
    • The copter is quiet and does not beep
  • The 3 way switch is centered (PositionHold) or ON (ComingHome):

    • Option 1 -> The computer beeps now once every second => no Satfix

    • Option 2 -> The copter is quiet and does not beep => there is a Satfix and you can use all GPS functions







Dynamic PositionHold

If the position function PositionHold is activated, the copter automatically hold the position.
When you will change the position of the copter in the air, move the Nick/Roll Stick on your transmitter.

The function of the mode PositionHold is different if Dynamic PositionHold is enabled or disabled:

  • Function Dynamic PositionHold disabled:

    • The copter is directly controlled by moving the nick / roll stick.

      Here the function PositionHold will be automatically switched off if you move the sticks. At the new position and after you release the sticks, the function PH will be automatically switched on again.

  • Function Dynamic PositionHold activated:

    • Also here you can fly the Kopter through moves with the Nick- / Rollstick to a new position.

      But in that way PH will be not disabled/enabled but the nominal values of the GPS-coordinates will be moved. An more accurate and exact positioning of the Kopter is possible even in windy conditions. The Kopter will fly a little bit slower to the position, moves more sluggish.

Here you can change the settings under EasySetup: MK-Parameter







Beeps

With correctly connected navigation unit you hear additional beeps.

This beeps are:

  • Satfix control => beep every second (see: Sat-Fix)

  • Using the 3 way GPS switch from OFF to PositionHold or ComingHome) => one beep for each using

  • Enabling Carefree => a long beep







Softwareupdate and Functionality Tests

With the KopterTool you can change the Software on the NaviCtrl and also check the function.
The current mating software (KopertTool, NaviCtrl and FlightCtrl) can be downloaded here: Download

Connect the MK-USB with the Debug port on the NaviCtrl, or use a wireless connection (like e.g. the RangeExtender) to connect the copter with the computer.

Open the terminal window in the KopterTool and connect then the copter with the battery (Dont forget to switch on the transmitter ;-)).
In the terminal window you should now see the initialization of the NaviCtrl. Here you see e.g. if a micro SD card is in use, the hard- and software version. if you use the internal or an external compass and if you use a license or not:

http://gallery3.mikrokopter.de/var/resizes/intern/KopterTool_ab_V2_0/TerminalWindow/Init-Navi.jpg?m=1447754112



To update the software "click" on the button Update Software (serial)... and chose the software for the NaviCtrlund. A click on '"Open" starts the update.

The update itself is displayed in green. When you see the white initialization the update is done.

http://gallery3.mikrokopter.de/var/albums/intern/KopterTool_ab_V2_0/TerminalWindow/Update%20Navi.png?m=1446820364







Micro SD-card

You can use a micro SD-Karte (up to 2GB / FAT16) in your NaviCtrl.
All telemetry data of the copter will be automatically saved on the micro SD card in a GPX and KML file.

After the flight you can take a look on the recorded data in the LOG file (if required) wit our program GPX-Viewer.
Informations for the GPX Viewer can be found here: GPX-Viewer

Plug in the SD card as you can see under Mounting / Connections.

If the card is inserted, the needed file SETTINGS.INI will be created automatically after you connect the battery with the copter.
Also a folder LOG will be created automatically when you do your first flight.

INFO
If you update the Software, it can be that there are new functions.
To use all the new functions you should clear the SETTINGS.INI. It will be created automatically new with the right new values that are needed.

SETTINGS.INI

The file SETTINGS.INI includes some settings you normally have not to change.
If you must change a value you can do it with an normal windows editor.

http://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/NaviCtrl/NaviCtrl-V2.1/Settings_ini.jpg?m=1446809682

The values in the SETTINGS.INI are largely self-explanatory.
If you e.g. want to achieve greater speed in manual flight under PositionHold or during a waypoints flight, you can increase the value of DYNAMIC_PH_SPEED. Or you will use use GPS and BEIDOU (instead of GOS and GLONAS) as receiving satellites you can change it under GPS_SYSTEM_CFG anpassen.

Presentation of the flight data in Google Earth

In the current version of Google Earth (> 6.1) you can show the route by loading the .KML or .GPX files.
(The flight-route with a .GPX file will be also displayed in the height if you set up in the properties of the file the Height to Relativ to ground.)







NMEA

Since the software version 2.00a for NaviCtrl, the UBlox Modul can also send a NMEA Format.
(e.g. for Cameras with Datalogging).

The output is at 57600 baud. The records are sent with RMC & GGA.
You can get the data on PIN9 (+ PIN7 GND) of the Debug connection of the NaviCtrl.

IMPORTANT: Only with an microSD card in the NaviCtrl you can use the NMEA Data.
The file SETTINGS.INI on the microSD card includes then the necessary command "NMEA_INTERVAL"s for this purpose. This entry is set to "0" by default, so there is no output of the NMEA signal.
Here a transmission interval must be entered (e.g. 500 = 500ms = 0,5s). You can change the Settings.ini with an Editor.

http://gallery3.mikrokopter.de/var/resizes/intern/MK-Baugruppen/NaviCtrl/NaviCtrl-V2.1/NaviCtrl-Debug.jpg?m=1446823046







Error Codes

If you use the GPS-System (NaviCtrl + Compass + MKPGS) on your Kopter and you calibrate the Gyros, you can see for a short time "error 6" + "error 3" in your Telemetry-Display.
This is normal. Because the connection between FlightCtrl and NaviCtrl is briefly interrupted when you calibrate the Gyros.

an error has occurred if an error message will be displayed permanently.
The error codes and the meanings you can find here: Error Codes


  • KategorieMK-Baugruppe/de