Category / Engineering

When a technology dies… July 19, 2009 at 3:42 pm

…you sometimes get a decent monument.

Here are the sound mirrors at Denge, Dungeness.

Sound Mirrors

Control theory and capital May 9, 2009 at 6:13 am

The beginnings of control theory can be summarised as ‘nail it in the right place’. Suppose there’s a plank over a barrel. You can keep the plank level by putting a weight in just the right place, so that it balances.

The problem with this is that any perturbation will cause the plank to swing away from the level. A gust of wind might even do it: the equilibrium is unstable. Therefore control theory 101 would suggest that you move the weight dynamically to keep the plank balanced. If one end swings up, move the weight slightly that way until it swings back.

Over the years, a lot has been discovered about how to control unstable objects moving in unpredictable environments. Modern fighter aircrafts are in some ways a triumph of control theory: without the computers which control their flight surfaces, they would fall out of the sky. And what the computers do is determined by control theory.

One of the many reasons that the current regulatory capital regime is pants (not to put too fine a point on it) is that it is stuck with static control. That is, think of a number, and that’s the amount of capital that you need. In reality, the regime needs to be dynamic: the anticyclical capital of earlier discussions is one piece of this puzzle. What struck me as I walking home from a lecture last night (one which touched in passing on control theory) is that we do not even have the right inputs to develop a control theory of bank capital. That is, we don’t really know what the equivalent of the angle of the plank (or the speed, pitch, yaw and so on of the fighter) is. One can think of some things that it might make sense to monitor, like credit spreads or the availability of interbank liquidity, but so far as I am aware, there has been no systematic study which discusses the indicators of health of the banking system, let alone identifies how they respond to changes in regulation. That would be the basis of a serious control theory of banking.

Gearing up for trouble March 29, 2009 at 7:12 pm

Even by the intolerably low standards of this blog, this one is going to be obscure…

I want to talk about gears. Bicycle gears. For ordinary people, rather than, say, drug crazed Americans who have recently broken their collar bones. So, what does a reasonable rider want from his or her gears?

  • A bottom gear that is low enough to get up most hills. In practice unless you are really fit that means a gear of 42* or lower.
  • A top gear that is high enough that you can pedal going down moderate hills. 100 is plenty.
  • A fine spacing of gears in between.
  • And in particular a relatively gentle change from the little to the big ring at the front.

It doesn’t sound like much, does it? Yet pretty much all standard gear set-ups from the large manufacturers fail on one or more of these criteria. 39/53 or 39/52 at the front gives far too big a change. You want at most a difference of ten cogs, I would suggest, or the change up is too jarring.

To get a bottom gear of 40 with a front ring of 42, you need a big cog on the back of more than 27. You can’t buy one. So that means that 42/52 at the front doesn’t work either.

By this point we have eliminated all of the standard front gears available. What does work is 38/48 on the front, and 13/25 or 13/27 at the back. This gives a top gear of a shade under 100, a bottom gear around 40, and a relatively gentle change between rings. But that requires custom front rings. Why does it have to be so hard?

* The gear in inches is given by dividing the number of teeth at the front by the number at the back and multiplying by the wheel size (usually 27) in inches. The biggest gear is therefore the largest ring at the front through the smallest at the back: the lowest is the small ring at the front through the big ring at the back.

When is biggest best (or why to avoid British PCs) March 17, 2009 at 5:42 pm

A few years ago, in a fit of patriotism, or the desire to support local industry, or something equally foolish, I bought a British-built PC. A Mesh. Goodness, what a mistake. It wasn’t delivered when it was promised. When it arrived, it felt shoddy. And ever since, it has had issues. The CPU cooling fan fell off, and had to be replaced. The CMOS battery ran down. (Did you know that ‘CMOS corrupt’ is an unhelpful error message you get when in fact it is likely that a watch battery inside your computer has given up the ghost?) And now the USB hub seems to have crashed. So, gentle reader, learn from my mistake: buy from someone big enough that they are likely to have got their design right. You don’t want the PC equivalent of a TVR.

Towards Core Stability March 8, 2009 at 10:36 am

No, not a post on my recent engagement with Pilates. Instead I am going to be a little Englander for a moment. This isn’t out of prejudice: it is more a consideration of self sufficiency.

What’s the problem with being an exporter? It is that if your clients stop buying, your economy runs into a wall. Look at Japan.

The problem with being an importer is that it is easy to import inflation.

A measure of self sufficiency therefore has some interest. The problem for the UK is that, with a few exceptions (cars, killing machines) we killed out manufacturing industry, making progress towards self sufficiency very difficult. It also makes our natural shortage of material much worse from a country risk perspective.

Therefore part of any long term financial stability plan should be the revival of manufacturing, especially engineering-based manufacturing, at the expense of financial services. It isn’t impossible: Thatcher only killed manufacturing in the 1980s, and there are still some good engineers left (although many of them are retiring). This story is a tiny ray of light in that regard. But much, much more is needed.

What does safe mean? May 25, 2007 at 9:43 pm

It is an interesting question. Nothing is safe, 100% robust under any set of circumstances. If a two hundred foot high sea monster climbs out of the Thames and starts munching on Canary Wharf a few disaster recovery plans would doubtless be found wanting.

There are at least two issues. The first is to encourage people to be skeptical about the performance of any construction, mechanical, electronic or intellectual: there are some events that will screw up any design.

But then we come to the problem of how to estimate how unlikely these testing circumstances are. Typical operational risk events involve a concatenation of errors, of individually improbable circumstances. Sadly it seems that sometimes these events are not independent so that the joint probability of a screw up is much bigger than one might think. For that matter, the equity, credit, FX and interest rate markets often have low return correlations: but they can all move together in a crisis, as LTCM found out. It isn’t that a plausible worst case is bad — we knew that — it is that the worst case can be much more likely than it appears.

Believing the worst May 17, 2007 at 8:33 pm

Shamelessly stolen from Overcoming Bias:


In 1983, NASA was planning to bring back Martian soil samples to Earth. Contaminating the Earth with alien organisms was an issue, but engineers at Jet Propulsion Laboratories had devised a “safe” capsule re-entry system to avoid that risk. However, Carl Sagan was opposed to the idea and explained to JPL engineers that if they were so certain [...] then why not put living Anthrax germs inside it, launch it into space, then [crash the capsule back to earth] exactly like the Mars Sample Return capsule would.

The engineers helpfully responded by labeling Sagan an alarmist and extremist. But why were they so unwilling to do the test, if they were so sure of their system? The answer is probably they feared that if the test failed, their careers would be over and they would have caused a catastrophe. But an out of control Martian virus, no matter how unlikely, would have been equally a catastrophe. However, that vague threat didn’t concentrate their minds like the specific example of anthrax.

Imagine for a moment that those engineers had been forced to do Sagan’s test. Fear of specific disaster would have erased their overconfidence, and they would have moved from ‘being sure that things will go right’ to ‘imagining all the ways things could go wrong’ – and preventing them. The more dangerous the test, the more the engineers would have worked to overcome every contingency.