Tuesday, February 23, 2010

Drive by Wire, and nasty computers.

Drive by wire (cars), or fly by wire (airplanes), is a system in which there are no direct mechanical or hydraulic links between the controls and the hardware. In many newer vehicles, when a person steps on the accelerator or the brake pedal, or turns the steering wheel, or shifts gears, all that happens is that a signal describing the desired input is sent to a computer, which then sends a command to activate the brakes, open or close the throttle, or turn the wheels according to the degree of input from the driver.

Until quite recently it was easy to find the throttle cable, see the steering column poke through the dashboard, etc., and actually see where those things were attached to the rest of the car. It was simple, tried and true direct mechanical linkage from the user to the hardware.

Now, let me ask you something. Why would anyone want to mess around with a system that was a brilliantly simple, proven to work for long periods of time, and would even often work when there was no sound reason for it to do so. A few old friends’ cars come to mind....

Have you seen how tightly everything is packed under the hood of the average car these days? There simply isn't the room to have a straight 3 foot steering column jutting out at an angle from the driver to the steering linkage. But it isn't only that.

Making vehicles with better fuel efficiency often means looking for ways to make them lighter. All the old-fashioned parts that used to manually link driver inputs to the mechanisms that would accomplish what the driver wanted to do could be removed if the controls were routed through a computer, which could then send a signal to a gear box or other apparatus right above the mechanical part.

From an engineering point of view it's a brilliant solution to both lowering the weight of the vehicle and maximizing space usage under the hood. Computers always do what we want them to anyways, right? Uh huh.

If you've never experienced computer hiccup, delay, the occasional inexplicable problem, then you are almost unique. Now link 30 computers together, give each of them its own primary purpose, and have them drive your vehicle. How likely is it that there will never be any problems?

If one of the computers in your car goes haywire, no amount of pressing on the brake pedal is going to help, because the commands are not being delivered by you to the brakes, but rather from you to the computer to....where, nobody knows.

Add to that the fact that in many parts of the world humans live in an invisible sea of (mostly human generated) electromagnetic and radio waves. For the most part their effects are minimal, but if you don't believe they have any effect at all, first see if your vehicle still has AM radio. If it does, find a station and drive around some high tension power lines. The station will disappear in a sea of static.

For almost three years, I didn’t have a case for my computer. My main board, CPU, hard drive….were all exposed. Every time there was a thunderstorm, it would spontaneously shut itself off. Yeah, risky stuff to those who know, but it was my computer, and parts of it still live on in the system I am using now.

I’m all for keeping some things simple, when simple makes sense. Electronic windows always irritated me because there is no manual backup. At the moment, there is no backup plan in many new vehicles if the computer has a hiccup, or can’t decide whether to follow user inputs or follow the computer code written by software engineers in a safe office somewhere.

Some car manufacturers say that preferential treatment is given to the brake pedal if a driver is pressing it, and the throttle is stuck open. Toyota obviously didn’t do this, or it wouldn’t be having such a glorious train wreck in front of the world.

This wasn’t really about Toyota, or taking a cheap shot at them. I’ve never driven a Toyota, but have had Ford and Chrysler products, and have learned to enjoy the quirky personalities the vehicles take on as they age.

Nevertheless, for those who are interested, and despite previous Toyota claims that they haven’t been able to duplicate the runaway car problem, it seemed quite easy for the professor in this video to simulate the event:

Auto Professor Pinpoints Possible Car Flaw
Expert says electronic design flaw is linked to runaway Toyotas.
http://abcnews.go.com/Nightline/

Sunday, February 21, 2010

The Military Policy Circle Jerk

Air Chief Marshal Sir Stephen Dalton KCB ADC BSc FRAeS CCMI RAF, Chief of the Air Staff gave a speech to the International Institute for Strategic Studies on February 10th.  The topic: Dominant air power in the information age.

I don't know what's worse, an Air Marshal arguing for the pre-eminent importance of air power that, however cogently put will always seem a little self-serving, or his point that only those with the years of working with air war assets should make decisions on the composition of such forces.  Again self-serving, but that's not really what is problematic.

The sum total of the speech amounts to an argument that things should stay the same.  Keep the aircraft carriers, keep all of the abilities that we have now, keep the shiny toys on the battlefield.  Glossed over half-truths, anachronistic thinking, and a fair bit of tunnel vision from a man who has spent his adult working life embalmed with the fluids of military preservation.

"I don’t want to talk in too much detail about kit, because air power is about capabilities, not just the platforms that deliver key parts of those capabilities."  Fair enough.  But then the Air Marshal goes on to talk about the Tornado, a platform he piloted for many years.

No, I don't have a personal problem with the person giving the speech.  He is emblematic of a way of thinking that becomes so tightly woven within itself, I'm sure he doesn't even realize that he is a perfect product of the machine that made him.  It is likely he is as normal as you are.  As to how normal I am, well, I'll leave that for you to decide.

AM Dalton talks briefly about The Green Paper, which is like a pre-policy government paper where interested parties can contribute thoughts before a White Paper is produced that is actually meant to serve as direction for a period of time (as little as 5 but often up to 20 years).  It is instructive to note that AM Dalton says, "The Green Paper draws heavily on the excellent work of the Development, Concepts and Doctrine Centre on the Future Character of Conflict."

The DCDC is a British Ministry of Defense think tank.

Yes, that's right.  The British Ministry of Defense contributed material to a Green Paper that is supposed to help set policy for future military capabilities, acquisitions and philosophy for the next twenty years.  What we have here folks is a closed policy loop.

You may not care what the British are doing, but the speech nicely encapsulates the process that all major countries use to determine future force projection capabilities.  Essentially, a bunch of (very well educated) generals sit around and imagine what kinds of toys they want in the future.  Then they send their ideas to the government, which is gathering information on what kinds of toys they should have in the future.

AM Dalton was educated in the mid 1970's, and joined the RAF in 1976.  Is it possible for someone who received the bulk of his education more than 30 years ago to become forward thinking?  To imagine what war will be like in the future?  The British experience at least is full of examples of small-scale and large scale conflict, counter-insurgency operations, and politics behind the barrel of a gun.

He certainly tries to appear flexible.

"...Strategic Defence Review will shape our future structure and determine the equipment programme, with implications that will resonate for at least the next 2 decades. So for the sake of our future security, as CDS recently observed, Afghanistan must serve as a prism to view the future, not as a prison for our thinking."

"I believe air power provides a comparative advantage in relation to the capabilities of potential adversaries."

..."future battle-space will be congested, with forces drawn into densely populated areas; cluttered, where targets will be difficult to distinguish; contested, where access will be disputed and we’ll have to fight for the freedom to manoeuvre..." (italics original)

The last two quotes are sequential, and contextual.  AM Dalton seems to be saying that air power can be used in congested, cluttered areas where targets are hard to distinguish (from civilians).  History has shown that this is a bad idea.  Ask U.S. Marines who were sent into battle in Iraq after the limits of air power were reached how they occupied congested, densely populated areas.

The speech devolves into acronyms, military platforms, and the uses of military hardware shortly after the last quote above.  A general playing with shiny toys.  It doesn't seem like original thinking in the least, and crucially ignores one important step that should be undertaken by every nation that produces Green Papers:

What image does a country want to promote now and in the future?  I am no peacenik, liberal-libertarian or student of 'let's all play nicely and with trust and honour'.  In the real world of politics, the person smiling at you may very well be looking for the place to push the knife in when you aren't expecting it.

All I am saying is that no military should have a hand in setting policy by virtue of an end-run around the democratic process.  It must be up to a government alone to set policy, and then allow the military that serves the political arm of government to figure out, within the confines of the budget they have, how to best satisfy the directives given.

It may be that military planners cannot fulfill all objectives within their means and that the government will have to scale down its plans.  Or, sticking with their plans, increase the military budget.  In the end, the government will be wholly responsible for the outcome.

original article: http://www.iiss.org/recent-key-addresses/air-chief-marshal-sir-stephen-dalton/