As I mentioned to you earlier, I have also played around with integrating
the accels to get velocity and position. I find the errors build up quickly
and need some other sensor input to "reset" the accel calcs on a somewhat
frequent basis.
Bill has written a Dead Reckoning routine that does just this. He
integrates the accel data at 40Hz then uses the GPS to "reset" the
integration. For the standard GPS this hapens at 1 Hz. I believe he takes
into account the lag in the GPS data due to its internal
filtering/calculations.
This has been flown on airplanes with success. I think Bill may be working
on a Quad version. I intend to impliment on the Heli code at some point as
well. We are looking at a Baro sensor for altitude, but will likely need an
ultrsonic for altitudes near landing. Jerry is doing some testing on both.
I believe he gets accuracies of about 1 meter. We will better for a heli
hover. He liives near an airport so I suspect he may benefit from
differntial GPS resolutions. Since the GPS will not report velocity
information if not moving, things may be a little different for static
hovers, but should work with some mods.
I don't think the accels are the limiting factor on accuracy, but rather the
roll/pitch/yaw attitude estimations from the DCM to do the transforms.
Bill and I have also been developing and testing a Heading Hold replacement
for the 401 with some success as well. This uses a magnetometer. I hope to
release this in the next version of MP-H.
Do I understand that you have a software clone for the 401? This was the
basis for the HH code. I wonder if we can compare notes.
Best,
John
One other thing I might mention. We did a lot of work on filtering and
gains as part of the HH development to replace the 401. This could be
relevant to your sluggishness problem.
We found that any pre filtering of the gyro data going into the PD (we only
used proportional and derivative gains) caused exponentially growing
oscillations. So only the offset corrected gryo data was used. Setting the
gains was rather tricky. There was a narrow range of gains that worked. We
came up with a tuning procedure that seemed to work. These could only be
observed in flight in the vibrational environment in closed loop...can't
just set them on the bench.
One thing I found useful was to log the HH output in flight and give the
heli a quick yaw input. I could then observe the response of the
controller. This let me map out the gains (together with some relationships
amongst the gains based on modeling the control loop...without these
relationship we may never have zeroed in on the right gains).
Best,
John
----- Original Message -----
From: "Dragos" <drago...@gmail.com>
To: "UAVHeliBoard" <UAVHel...@googlegroups.com>
Sent: Tuesday, January 11, 2011 3:13 PM
Subject: Re: Hover Stability
You should know that Bill is the expert on all this...
I also remember seeing some videos of airplane hovering in the standard
MatrixPilot SW. I think the gyro drifts are not so bad. I have measured
them with the HH software without GPS and it is quite small. You might post
what you want to do on the main MatrixPilot development site:
http://groups.google.com/group/uavdevboard?lnk=srg&hl=en
The airlane guys may have some good info. There are Hover options in the
standard MP 2.5 release.
http://code.google.com/p/gentlenav/wiki/MatrixPilot
Look in the options.h file.
Best,
John
----- Original Message -----
From: "Dragos" <drago...@gmail.com>
To: "UAVHeliBoard" <UAVHel...@googlegroups.com>