Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
569 salvo 1
*********************************************************************
2
GPS Implementation by Peter Muehlenbrock ("Salvo") for Mikrokopter/FlightCrtl
3
As of 23.12.2007
4
Please note Licensce_LPGL.txt and Licensce_GPL.txt
5
This SW is based on Holgers V00.67g.
6
*********************************************************************
7
Hardware-requirements:
8
Calibrated compass of type CMPS03, horizontally adjusted
9
GPS module of  type ublox, The messages "NAV_STATUS", "NAV_POSUTM" and  "NAV_VELNED"
10
must be activated with  4 HZ update rate. All messages of type NMEA should be disabled.
11
The TX port of the GPS module must be connected to the RX input  of the Flight Crtl. Baudrate is 57600 (like Kopter Tool).
12
 
13
UserParameter 4 tells the software the orientation for the compass. The difference between the "north" direction of the kopter
14
and the north direction of the compass is represented as follows 0...360 Grad Offset corresponds to a value of 0...180.
15
(A userparameter ist only 1 byte long and therefore can not directly represent 0..360 degree). Please check the correct values via the Koptertool
16
The "Kompass" debug value  has to show the correct orientation: kopter front oriented to north => value approx 0 Degree)
17
 
18
Other requirements:
19
Please calibrate the ACC Sensor values (pitch full, yaw full right) in horizontal orientation of the kopter.
20
 
21
Parameters:
22
The GPS Hold regulator is of type PID: UserParameter1 =P(proportional), UserParameter2 = I(ntegral), UserParameter3 = D(ifferential).
23
Standardvalues for P,I and D are 90,24,130.
24
 
25
 
26
Requirements for GPS_Hold:
27
The gps module has do provide a 3D-fix. If succesfull, you can hear a longer beep when performing a gyro calibration.
28
The red led on the FlightCrtl flashes with a 4 Hz rate.
29
 
30
 
31
Enabling GPS_Hold in fligh:
32
GPS Hold is automatically activated if the sticks for roll and nick are in neutral position for about 400ms.
33
Moving the stick disables immediately the Hold mode.
34
 
35
 
36
GPS Coming Home function
37
-- coming later :-)
38
 
39
 
40
Other changes:
41
-automatically pitch reduction if the battery voltage falls more than 0.2V below the warning limit.
42
-Output PC6 can be used to switch TX data between a Bluetooth and the GPS Module (further hardware required) to the RX input of the FlightCrtl
43
-automatically Yaw gyro compensation if compass is available.
44
 
45
 
46
 
47
 
48
 
49
 
50
 
51
 
52
 
53
 
54
 
55
 
56
 
57
 
58
 
59