From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Raspberry Pi, Real-Time and Ada
Date: Thu, 13 Feb 2014 09:23:12 -0600
Date: 2014-02-13T09:23:12-06:00 [thread overview]
Message-ID: <85iosjxcin.fsf@stephe-leake.org> (raw)
In-Reply-To: d6bb2a2c-39cc-47e4-95b9-c4602b382acb@googlegroups.com
"Rego, P." <pvrego@gmail.com> writes:
>> For spacecraft, this is based on a stability and pointing accuracy
>> analysis; if the control cycle were slower, the spacecraft would not be
>> stable, or would not point accurately enough. 10 Hz is usually adequate.
>> What does the control cycle in a drone do? I suspect the plane is
>> basically stable by the design of the wings and tail, and the control
>> system is just running the steering.
>> Based on what analysis?
>
> Actually it depends highly on your design.
Yes it does; that was my main point.
>My perception is that as
> smaller is the drone, faster you should be able to control it. For
> example, wonder a quadcopter 10m high, falling down, maybe because you
> (controller) lost communication. An autonomous recover-to-ground
> algorithm should in 1s: 1) identify communication is lost;
Assume no communications in 3 cycles = lost; that leaves 7 cycles.
>2) assume
> override; 3) read sensors (as always); 4) calculate the best landing;
That all takes less than 1 cycle.
> 4) command devices and land.
No problem; each of the 7 remaining cycles keeps the quadcopter level,
and moves it one step closer to the ground.
> Using a complete model you would need to solve some conditions for a
> 12-dimensions model.
If that takes longer than 100 ms, you need a faster on-board computer.
> With 10Hz I would have only 100 iterations in 1s.
10 iterations; 10 Hz = 10 cycles per second = 100 ms per cycle.
>And all this should happen before the
> human sense realizes (so 1s is quite fast for us).
Right.
So 10 Hz is adequate. 5 Hz is probably ok as well, if your computer can
only manage that.
This is a quad-copter, which is stabilized solely by controlling the
rotor blades, and thus needs active control.
I was talking earlier about a wing-and-tail design, which requires no
active stabilization; paper airplanes manage to fly :).
--
-- Stephe
next prev parent reply other threads:[~2014-02-13 15:23 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 0:53 Raspberry Pi, Real-Time and Ada Rego, P.
2014-02-06 7:50 ` Stephen Leake
2014-02-06 8:44 ` Dmitry A. Kazakov
2014-02-06 13:16 ` Simon Clubley
2014-02-06 21:12 ` Rego, P.
2014-02-07 0:26 ` Simon Clubley
2014-02-07 11:44 ` Rego, P.
2014-02-06 21:09 ` Rego, P.
2014-02-06 21:04 ` Rego, P.
2014-02-07 8:28 ` Stephen Leake
2014-02-07 12:09 ` Rego, P.
2014-02-08 8:28 ` Stephen Leake
2014-02-08 9:06 ` Dmitry A. Kazakov
2014-02-10 18:18 ` Rego, P.
2014-02-13 15:23 ` Stephen Leake [this message]
2014-02-07 8:42 ` Dmitry A. Kazakov
2014-02-07 12:34 ` Rego, P.
2014-02-07 12:59 ` Dmitry A. Kazakov
2014-02-07 13:25 ` Rego, P.
2014-02-07 23:11 ` Rego, P.
2014-02-08 8:56 ` Dmitry A. Kazakov
2014-02-10 18:29 ` Rego, P.
2014-02-10 20:38 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox