Tag Archives: stability

Control engineer joke

What made the control engineer go crazy?

 

He got positive feedback.

Is funny because …… it’s a double entente, where both meanings are true: (1) control engineers very rarely get compliments (positive feedback); the aim of control is perfection, something that’s unachievable for a dynamic system (and generally similar to near perfection: the slope at a maximum is zero). Also (2) systems go unstable if the control feedback is positive. This can happen if the controller was set backwards, but more usually happens when the response is too fast or too extreme. Positive feedback pushes a system further to error and the process either blows up, or (more commonly) goes wildly chaotic, oscillating between two or more “strange attractor” states.

It seems to me that hypnosis, control-freak love, and cult behaviors are the result of intentionally produced positive feedback. Palsies, economic cycles, and global warming are more likely the result of unintentional positive feedback. In each case, the behavior is oscillatory chaotic.

The  normal state of Engineering is lack of feedback. Perhaps this is good because messed up feedback leads to worse results. From xykd.

Our brains give little reliable feedback on how well they work, but that may be better than strong, immediate feedback, as that could lead to bipolar instability. From xkcd. For more on this idea, see Science and Sanity, by Alfred Korzbski (mini youtube)

Control engineers tend to be male (85%), married (80%), happy people (at least they claim to be happy). Perhaps they know that near-perfection is close enough for a complex system in a dynamic world, or that one is about as happy as believes ones-self to be. It also helps that control engineer salaries are about $95,000/ year with excellent benefits and low employment turnover.

Here’s a chemical engineer joke I made up, and an older engineering joke. If you like, I’ll be happy to consult with you on the behavior of your processes.

By Dr. Robert E. Buxbaum, July 4, 2013

The Gift of Chaos

Many, if not most important engineering systems are chaotic to some extent, but as most college programs don’t deal with this behavior, or with this type of math, I thought I might write something on it. It was a big deal among my PhD colleagues some 30 years back as it revolutionized the way we looked at classic problems; it’s fundamental, but it’s now hardly mentioned.

Two of the first freshman engineering homework problems I had turn out to have been chaotic, though I didn’t know it at the time. One of these concerned the cooling of a cup of coffee. As presented, the coffee was in a cup at a uniform temperature of 70°C; the room was at 20°C, and some fanciful data was presented to suggest that the coffee cooled at a rate that was proportional the difference between the (changing) coffee temperature and the fixed room temperature. Based on these assumptions, we predicted exponential cooling with time, something that was (more or less) observed, but not quite in real life. The chaotic part in a real cup of coffee, is that the cup develops currents that move faster and slower. These currents accelerate heat loss, but since they are driven by the temperature differences within the cup they tend to speed up and slow down erratically. They accelerate when the cup is not well stirred, causing new stir, and slow down when it is stirred, and the temperature at any point is seen to rise and fall in an almost rhythmic fashion; that is, chaotically.

While it is impossible to predict what will happen over a short time scale, there are some general patterns. Perhaps the most remarkable of these is self-similarity: if observed over a short time scale (10 seconds or less), the behavior over 10 seconds will look like the behavior over 1 second, and this will look like the behavior over 0.1 second. The only difference being that, the smaller the time-scale, the smaller the up-down variation. You can see the same thing with stock movements, wind speed, cell-phone noise, etc. and the same self-similarity can occur in space so that the shape of clouds tends to be similar at all reasonably small length scales. The maximum average deviation is smaller over smaller time scales, of course, and larger over large time-scales, but not in any obvious way. There is no simple proportionality, but rather a fractional power dependence that results in these chaotic phenomena having fractal dependence on measure scale. Some of this is seen in the global temperature graph below.

Global temperatures measured from the antarctic ice showing stable, cyclic chaos and self-similarity.

Global temperatures measured from the antarctic ice showing stable, cyclic chaos and self-similarity.

Chaos can be stable or unstable, by the way; the cooling of a cup of coffee was stable because the temperature could not exceed 70°C or go below 20°C. Stable chaotic phenomena tend to have fixed period cycles in space or time. The world temperature seems to follow this pattern though there is no obvious reason it should. That is, there is no obvious maximum and minimum temperature for the earth, nor any obvious reason there should be cycles or that they should be 120,000 years long. I’ll probably write more about chaos in later posts, but I should mention that unstable chaos can be quite destructive, and quite hard to prevent. Some form of chaotic local heating seems to have caused battery fires aboard the Dreamliner; similarly, most riots, famines, and financial panics seem to be chaotic. Generally speaking, tight control does not prevent this sort of chaos, by the way; it just changes the period and makes the eruptions that much more violent. As two examples, consider what would happen if we tried to cap a volcano, or provided  clamp-downs on riots in Syria, Egypt or Ancient Rome.

From math, we know some alternate ways to prevent unstable chaos from getting out of hand; one is to lay off, another is to control chaotically (hard to believe, but true).

 

Why the Boeing Dreamliner’s batteries burst into flames

Boeing’s Dreamliner is currently grounded due to two of their Li-Ion batteries having burst into flames, one in flight, and another on the ground. Two accidents of the same type in a small fleet is no little matter as an airplane fire can be deadly on the ground or at 50,000 feet.

The fires are particularly bad on the Dreamliner because these lithium batteries control virtually everything that goes on aboard the plane. Even without a fire, when they go out so does virtually every control and sensor. So why did they burn and what has Boeing done to take care of it? The simple reason for the fires is that management chose to use Li-Cobalt oxide batteries, the same Li-battery design that every laptop computer maker had already rejected ten years earlier when laptops using them started busting into flames. This is the battery design that caused Dell and HP to recall every computer with it. Boeing decided that they should use a massive version to control everything on their flagship airplane because it has the highest energy density see graphic below. They figured that operational management would insure safety even without the need to install any cooling or sufficient shielding.

All lithium batteries have a negative electrode (anode) that is mostly lithium. The usual chemistry is lithium metal in a graphite matrix. Lithium metal is light and readily gives off electrons; the graphite makes is somewhat less reactive. The positive electrode (cathode) is typically an oxide of some sort, and here there are options. Most current cell-phone and laptop batteries use some version of manganese nickel oxide as the anode. Lithium atoms in the anode give off electrons, become lithium ions and then travel across to the oxide making a mixed ion oxide that absorbs the electron. The process provides about 4 volts of energy differential per electron transferred. With cobalt oxide, the cathode reaction is more or less CoO2 + Li+ e– —> LiCoO2. Sorry to say this chemistry is very unstable; the oxide itself is unstable, more unstable than MnNi or iron oxide, especially when it is fully charged, and especially when it is warm (40 degrees or warmer) 2CoO2 –> Co2O+1/2O2. Boeing’s safety idea was to control the charge rate in a way that overheating was not supposed to occur.

Despite the controls, it didn’t work for the two Boeing batteries that burst into flames. Perhaps it would have helped to add cooling to reduce the temperature — that’s what’s done in lap-tops and plug-in automobiles — but even with cooling the batteries might have self-destructed due to local heating effects. These batteries were massive, and there is plenty of room for one spot to get hotter than the rest; this seems to have happened in both fires, either as a cause or result. Once the cobalt oxide gets hot and oxygen is released a lithium-oxygen fire can spread to the whole battery, even if the majority is held at a low temperature. If local heating were the cause, no amount of external cooling would have helped.

battery-materials-energy-densities-battery-university

Something that would have helped was a polymer interlayer separator to keep the unstable cobalt oxide from fueling the fire; there was none. Another option is to use a more-stable cathode like iron phosphate or lithium manganese nickel. As shown in the graphic above, these stable oxides do not have the high power density of Li-cobalt oxide. When the unstable cobalt oxide decomposed there was oxygen, lithium, and heat in one space and none of the fire extinguishers on the planes could put out the fires.

The solution that Boeing has proposed and that Washington is reviewing is to leave the batteries unchanged, but to shield them in a massive titanium shield with the vapors formed on burning vented outside the airplane. The claim is that this shield will protect the passengers from the fire, if not from the loss of electricity. This does not appear to be the best solution. Airbus had planned to use the same batteries on their newest planes, but has now gone retro and plans to use Ni-Cad batteries. I don’t think that’s the best solution either. Better options, I think, are nickel metal hydride or the very stable Lithium Iron Phosphate batteries that Segway uses. Better yet would be to use fuel cells, an option that appears to be better than even the best batteries. Fuel cells are what the navy uses on submarines and what NASA uses in space. They are both more energy dense and safer than batteries. As a disclaimer, REB Research makes hydrogen generators and purifiers that are used with fuel-cell power.

More on the chemistry of Boeing’s batteries and their problems can be found on Wikipedia. You can also read an interview with the head of Tesla motors regarding his suggestions and offer of help.

 

Why is the galaxy stable?

We are located about 30,000 light years out from the galactic center (1.8E17 miles), and the galaxy goes round every 200,000,000 years. From the rotational rate and diameter I calculate that we’re moving at roughly 1,000,000,000 miles/year or 100,000 mph — not a bad speed to expect to come from random variation of the gas molecule speeds. Maxwell averaging should reduce the speed to 2000 mph at most, I’d think.

Even more interesting, the rotation speed suggests the galaxy’s gone around about 50 times since it condensed. That’s an awful lot of turns for our galactic arms to retain stable; you’d expect that the outer parts of the arms would have rotated far fewer times, perhaps only once, while the inner parts would rotate perhaps 1000 times. After a billion years, you’d expect the arms to be gone. The going explanation is dark matter, matter we can’t see.

After bugging astrophysicists for a few years, I’ve come to believe that many of their models (MACHOs, WIMPs) don’t make much sense. I’ve come to model the distribution of dark matter on my own, as a particular distribution gas cloud of light particles. There is only one distribution that will result in the galaxy rotating as a unit — can you figure out what that is? Not that I now know what dark matter is, but at least I think I know where it is. Now all we need to do is find the missing matter. As a challenge, see if you can calculate the distribution of dark matter that would result in the galaxy rotating as a unit.

— Robert Buxbaum