comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Raspberry Pi, Real-Time and Ada
Date: Sat, 08 Feb 2014 02:28:43 -0600
Date: 2014-02-08T02:28:43-06:00	[thread overview]
Message-ID: <854n4a1004.fsf@stephe-leake.org> (raw)
In-Reply-To: aeef3e8b-1b60-43f8-b0c4-71279e70a478@googlegroups.com

"Rego, P." <pvrego@gmail.com> writes:

> On Friday, February 7, 2014 6:28:23 AM UTC-2, Stephen Leake wrote:
>> Ok, good.
>> What is your application?
>
> In short, drones. 
>
>> What are your timing requirements?
> For the next application I think I will need achieve 1 ms for I/O
> access in hard RT, and up to 100 us for pure computation for soft RT.

I don't understand; the timing for "soft RT" is stricter than the timing
for "hard RT". What do "soft" and "hard" mean here?

Hmm. Perhaps they just mean "hardware" and "software"; I don't see why
that's a useful distinction.

But you are optimizing prematurely again; these are times for small
parts of the overall control cycle. You need to start from the top.

How fast does the overal control cycle need to run? Once every second?
1000 times a second?

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. 

If the drone is teleoperated, the requirement is the human sensing time;
you push the joystick, you want the plane to respond "quickly". Which
gives control cycle times of 0.1 seconds = 10 Hz. Although 1 second
would be tolerable.

If the drone is autonomous, that analysis does not apply. If the drone's
mission is to take pictures of targets, you can derive timing requirements
from the speed of the drone in flight and the speed of the camera. That
also gives location and pointing accuracy requirements; do you have GPS
on the drone? How does it know where the camera is pointed?

> Indeed. Yes, I will need much faster.

Based on what analysis?

-- 
-- Stephe

  reply	other threads:[~2014-02-08  8:28 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 [this message]
2014-02-08  9:06           ` Dmitry A. Kazakov
2014-02-10 18:18           ` Rego, P.
2014-02-13 15:23             ` Stephen Leake
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