Docsity

The History of Safety-Critical Systems: Lessons from Steam Engines and Software - Prof. Sp, Study notes of Engineering

Partial preview of the text

Download The History of Safety-Critical Systems: Lessons from Steam Engines and Software - Prof. Sp and more Study notes Engineering in PDF only on Docsity!

Topics in Software Saftey

[Reading assignment: Just these slides, nothing in the book]

Quote

“Even though a scientific explanation may appear to be a model of rational order, we should not infer from that order that the genesis of the explanation was itself orderly. Science is only orderly after the fact; in process, and especially at the advancing edge of some field, it is chaotic and fiercely controversial.”

  • William Ruckelshaus 1st head of the EPA, subsequently acting director of the FBI and Deputy Attorney General of the US.

Software and

safety-critical systems (Cont’d)

  • So far, we have been fairly careful about introducing software intro safety-critical systems: - extensive testing, code reviews, formal proofs of correctness - use of good engineering principles, KISS, limit frills
  • So far, there have been relatively few failures of safety-critical software systems.

But ...

  • There is great temptation, on both technological and economic grounds, to go rushing in and move a lot more safety-critical system features into software systems.
  • This is NOT the first time in history that we have been tempted by technology in this way.
  • “Those who cannot remember the past are condemned to repeat it.” - Santayana (1863-1952)

History ...

  • Newcomen in 1700 designed a steam-driven cylinder and piston engine that achieved widespread use.
  • In 1786, James Watt (1736 -1819) greatly improved the Newcomen engine. - Watt worked at University of Glasgow. - He had interactions with professors, good knowledge of heat.

History ...

  • Meanwhile, in the north of England (mainly), the Industrial Revolution was creating an amazing demand for cheap and efficient power sources.
  • Watt and Matthew Boulton (a manufacturer) came up with a practical, winning design that transformed heavy industry.
  • The Boulton and Watt machines

History ...

  • First widespread use of HPSEs is

steamboats.

  • It’s highly successful!
    • Cheap, efficient.
    • Makes transportation more affordable to the masses.
    • Steamboat companies make money too; helps the growing economy.

History ...

  • BOOM!
  • Oh yeah, HPSEs tend to explode too.
  • Steamboat passengers and crew blown

up, scalded to death, drowned, impaled

by hot iron, ...

  • HPSEs also used in manufacturing

industry. Guess what happens?

Why?

  • There was an awful lot of money to be made.
  • No real economic advantage to being responsible.
  • Companies could just turn out more HPSEs and pay off whoever they had to when an HPSE exploded.
  • So what's to be done in a situation like this?

History ...

  • In the US, there were calls for standardization of training and professionalism, suggestion for a government academy of steam engineers.
  • Back in the UK, Watt and Boulton tried to raise the alarm; they succeeded in slowing the adoption of HPS technology.

Progress ...

  • What was needed was R&D into issues such as high stress, corrosion, decay, materials, construction.
  • Public pressure forced some changes. Hence, the addition of two new safety features: - A safety valve to reduce steam pressure when it reached “dangerous” levels. - Fusible lead plugs that would melt when the temperature in boiler got too high.

Result?

• BOOM!

  • The # of boiler explosions continued to increase.
  • Why?
    • Engineers still didn’t really understand the underlying problems of high pressure steam and boilers. That took quite a bit longer.

Who was usually blamed?

  • operators (“pilot error”) usually
  • owners sometimes
  • ... but never the design engineers.

Enter the government!

  • The steam engine was considered an icon of a forward thinking, prosperous society.
  • “Too much is at stake.”
  • “The private sector will regulate itself.”
  • “The market will self-correct. Bad corporate citizens will be punished by the consumer.”
  • Sound familiar?