29

More precisely, I am wondering if there is any kind of data on how long it takes between moving the sidestick and observing a reaction on the ailerons or elevator. I know that the physical control surfaces take time to move and, thus, I am only wondering about the actual latency added by the fly-by-wire (FBW) system.

My naive assumption is that the A320 runs a fixed control loop with precise timings. So, every $n$ milliseconds it samples the sidestick, calculates the necessary control surface deflections and then sends that via some bus which runs at $m$ Hertz. So, on average there is an expected delay of $x$ milliseconds between input and the control surfaces starting to respond to the input.

Also, is the delay noticeable by pilots?

JustSid
  • 1,616
  • 2
  • 15
  • 25
  • 11
    I know you are asking about FBW, but note that conventional cables also have lag due to stretching, as do hydraulic circuits. So you may want to turn it into a comparison question, if you wish. –  Jan 17 '18 at 11:24
  • 4
    @mins That comparison is irrelevant: there is a lot more between mouse and screen than just the display refresh rate! – kebs Jan 17 '18 at 14:04
  • 2
    Note that human reaction times are of the order of 100ms. While not directly what we need here (and hence not an answer) it's indicative. In a completely different field (aligning lasers) a 10Hz feedback rate feels like things are happening with no delay, slightly slower and it really doesn't feel like a realtime response. – Chris H Jan 17 '18 at 14:13
  • 1
    @kebs: It is relevant, I'm not talking about the monitor refresh rate, but the GUI refresh rate (rendering rate). – mins Jan 17 '18 at 14:32
  • Normal controls should have delay as well if you apply the speed of light theory :) – Andrius Jan 17 '18 at 19:35
  • 1
    @mins as a gamer I can definitely state that there is a clear, noticeable difference between 30hz and 60hz. Friends with 120hz monitors say that step is almost as noticeable. – Baldrickk Jan 18 '18 at 09:47
  • 1
    Controlling an RC helicopter is much, much more twitchy and much more dangerous (yes, people have died from RC helicopters - including a top pro pilot who managed to decapitate himself) thane either gaming or flying real airplanes. Controlling RC helicopters require much faster reflex and reaction times. However, RC equipment has a fixed 25Hz refresh rate (add to that the few milliseconds of CPU processing lag on the transmitter, receiver and servos). 25Hz is fast enough for humans to control an aircraft and feel real-time – slebetman Jan 18 '18 at 10:05
  • It should be noted that RC pilots can feel lag but only if they fly two different control systems - for example testing a different brand's radio or changing servos to different brands. If you only fly the equipment you're used to flying it's nearly impossible to tell that there's any lag – slebetman Jan 18 '18 at 10:07
  • 1
    Well, that is complete bull just like this: https://arstechnica.com/staff/2015/02/to-the-audiophile-this-10000-ethernet-cable-apparently-makes-sense/ frame rate on monitors is partly about smoothness, so it's still a positive if there is no other benefit. A slower frame refresh adds to the input lag of the monitor on the whole, which can easilly be multiple frames if it's a TV being used for example. So it's 2-sided. The total input lag, and being able to see inconsistencies in the smoothness of the image as it changes. – Baldrickk Jan 18 '18 at 23:44

3 Answers3

25

Yes there will be a delay, but the delay caused by the control loop is really tiny. I've seen position control loops run successfully and stable at a couple of hundred Hz for simulator motion systems, and the time delay is just one iteration frame = less than 10 msec.

And as @ymb1 correctly points out, if we deflect any control surface the end position is subject to actuation forces, aerodynamic pushback forces, inertia of the surface, cable stretch and -friction, aero damping, maximum flow velocity through the servo valve etc etc. The total transfer function of stick input => surface position is such that an extra time delay of 10 msec in the total loop is not really noticeable. And control position is only the input of the aircraft response, with aircraft inertia playing a large role.

So my answer would be: a tiny time delay that can be totally disregarded.

Koyovis
  • 61,680
  • 11
  • 169
  • 289
  • Are the control input positions really polled sequentially by a loop or are preemptive interrupts used instead? – mins Jan 17 '18 at 13:18
  • 9
    @mins Most industrial control systems run on PLCs and PLCs, at the very bottom, run a loop. Conceptually, and for most practical purposes, they are programmed as, and model, a massively parallel state machine, but the state itself, by nature of the limitations of the underlying hardware, is discretized into time slices of duration required to fully evaluate the state of the system (ie: the "scan time", "frame time", or loop time). One loop consists of reading inputs, evaluating the control logic, and updating the outputs. – J... Jan 17 '18 at 13:39
  • 7
    @mins That said, for extreme circumstances most such control systems do allow for interrupts to initiate an immediate read of an input (or write to an output) during logic evaluation (ie: outside the loop) but this can actually break the otherwise guaranteed and regular maximum scan time and introduce more side-effects than it's usually worth. Typically when one is tempted to resort to such an interrupt it's a sign that the control system needs to be subdivided instead, with the more time-critical subsystem given its own controller (and that's what's usually done). – J... Jan 17 '18 at 13:43
  • @J... Thanks for the clear explanation. I discovered PLC. Wikipedia also emphasizes the time predictability of the processing. – mins Jan 17 '18 at 14:24
  • 2
    @mins To be clear, a flight computer is completely specialized, of course, and won't work exactly like an industrial PLC, but any "digital fly-by-wire" systems will have something like this at the bare-metal layer. – J... Jan 17 '18 at 14:41
  • 2
    @J... Hmmm... I'm not so sure. I'd be a little surprised if they used PLCs rather than CPUs running an RTOS (or bare-metal application.) They would almost certainly use a control loop in any case, though. – reirab Jan 18 '18 at 00:45
  • 3
    The A320 uses late 80s era microprocessors for the control loops, Motorola 68020 and similar. – Koyovis Jan 18 '18 at 00:50
  • @reirab Yeah, absolutely. I mean, a PLC was just an example - like I said, a flight computer is completely bespoke. It's still the same type of discrete, loop based state machine running on a thin RTOS with an ancient CPU. Flight computers are probably based on something closer to OS9 and massively multithreaded, albeit to similar ends (a PLC is actually effectively a single-threaded process whereas an RTOS type of system lets you have something like many independent PLCs in one box). A PLC is just a nice and simple device to demonstrate the concept. – J... Jan 18 '18 at 01:02
  • @reirab: Actually the PLC comparison is quite apt. He basically described how servos work. You can think of digital servos as special-purpose PLC's running a PID loop (LITERALLY a PID loop - the core of PLC programming). Of course the programming is fixed so they're not program in ladder logic but more often than not assembly. – slebetman Jan 18 '18 at 10:01
  • @slebetman Right. I just meant that they generally use regular CPUs, not programmable logic devices. The algorithms (e.g. for envelope protection) would probably be too complicated for programmable logic to be the most reasonable solution. Not that you couldn't do it (e.g. with an FPGA,) just that a CPU running a real-time control loop would make more sense. – reirab Jan 18 '18 at 10:16
  • The overall control response of a fly-by-wire might be even faster than mechanical because 1) it avoid any flexing in the mechanical or hydraulic transmission (the actuators are still hydraulic, but the electrically-controlled valve is at the actuator, so the pressure does not have to spread far) and 2) the computer can boost the initial deflection to overcome inertia and then reduce it back a bit and can add a brief counter-command when the controls are neutralized. – Jan Hudec Sep 03 '19 at 19:34
  • From practical experience working with these kind of systems, I do not think that the delay is as low as 10ms. I would expect more in the neighbourhood of 100ms, which would still be totally acceptable (and not noticable for the pilot) for the given purpose. – U_flow Aug 01 '22 at 11:52
13

I don't have an answer for the timings (I personally don't think that's publicly available information), but I can answer this

is the delay noticeable by pilots?

as I have some direct experience, and I can affirm that no, the pilot does not perceive a delay between a stick deflection and the aircraft reaction.

Federico
  • 32,559
  • 17
  • 136
  • 184
  • I'd assume that the delay is approximately that of the power-steering you get in most cars. To give people a comparison to something they may have experience with. – Baldrickk Jan 18 '18 at 09:49
  • @Baldrickk you train so much and so long, that by the time you have to actually pilot, you don't need to compare it to driving anything else. – Federico Jan 18 '18 at 09:51
  • not everyone reading this will be a pilot ;) – Baldrickk Jan 18 '18 at 09:54
  • 1
    @Baldrickk ah, I thought that by "people" in your first comment you were referring to "those who pilots", not readers here, sorry. – Federico Jan 18 '18 at 09:56
0

No, no, you can move a side stick much, much more quickly than moving the conventional controls.

Side stick inputs to the computers are updated every 10 ms which is extremely fast, this corresponds to 100hz update; compared to most television pictures update, FBW is twice as fast.

for very small displacement of conventional flight control, you have no flight control effect because of the system Backlash

For very fast and large inputs in FBW, the order is voluntarily dampened to protect the aircraft structure, in conventional flight controls there is no protection, you may damage the structure, mainly when the rudder is concerned even though the range is mechanically limited while in full FBW RUDDER, pedals EFFECT is voluntarily dampened when it gets dangerous to the structure

As a summary no ADDITIONAL delay with FBW

user40476
  • 1,772
  • 9
  • 27