Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of...

48
Better Specifications

Transcript of Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of...

Page 1: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Better Specifications

Page 2: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

What is a Specification?

• A Statement of the Customer’s Needs

• In the Form of Required Characteristics of a Product

• A Component of a Legal Contract Between Customer and Supplier

• Subject to Verification of Compliance

Page 3: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Specification Organization

• MIL-STD 490

• Should Follow Functional Decomposition

• PUI Organization can Help

• Performance Requirements Not Decomposed Further When Can Allocate to Next Level of Hierarchy

Page 4: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Ground Rules

• Say What You Mean Precisely and Simply• Only “SHALL” Imposes a Contractual

Requirement• Do Not Use Subjective Adjectives (large,

rapid, modular, nominal,optimum, efficient)• Define Verification Criteria as part of

Requirement Statement Generation• Provide Definitions

Page 5: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Some Characteristics of Good Requirements

• Clear• Necessary• Applicable to only One System Function• Not Redundant • No Conflict With Other Requirements• Not Biased by any Particular Implementation• Verifiable• Traceable• Achievable

Page 6: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Partial List of “Poor Words”

• Adequate – Not verifiable• And – Possible multiple requirements• Appropriate – Not Verifiable• Best Practice – Not verifiable• But not limited to – Unspecified super set, not

verifiable• Easy – Not verifiable• For Example – Not verifiable

Page 7: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

More Not Verifiable “Poor Words”

• Including • Large • Many• Maximize• Minimize• As a minimum• Rapid

• Monitor• Sufficient• User Friendly• Quick• Effective• Normal• Provide for• Should

Page 8: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Parent Child RelationshipsSpecification View

3.2.x Power-up Missile

3.2.x.1 Receive External Power

3.2.x.2 Perform SBIT

3.2.x.2.y Computer SBIT

.

.

3.2.x.3 Go to Standby

Page 9: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Some Problems

• Specifying Capability – Does not Ensure Delivered Unit Will Perform as Desired.– “…the unit’s design shall be capable …”

• Design Could be Correct but Unit Improperly Fabricated.

Page 10: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Problems (Continued)

• Absolute Performance Parameter Requirements– Variability Exists (Profound Knowledge)– Tolerance Range Required– Values, not Percentages– Define Origin for Time Requirements

Page 11: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Problems (Continued)

• Use of “Support”– “…The XXX shall support …”

• How do You Verify Compliance?

Page 12: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

A Well Written Specification is Not:

• A Design Description

• A Statement of Work

• A Test Plan

• A Concept of Operations Description

• A Novel

Page 13: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Electric Water Heater Controller

• What is the Required Function?

• Output = 3000 W; 70°<T<100°

• Output = 2000 W; 100°<T<130°

• Output = 1000 W; 120°<T<150°

• Output = 0; 150°<T

• Is this Requirement Set Valid?

Page 14: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

•Examples:

Good requirement statement:

“The system shall provide a water flow rate of 500 gallons per minute ±10 gallons per minute.”

Lousy requirement statement:

“The system should provide a flow rate to the maximum extent possible.”

Requirement Examples

Courtesy of Reed Integration, Inc.

Page 15: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Example

IBIT Response TimeThe XXX shall complete IBIT and transmit the test results to the MC within 5 minutes.

Page 16: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Example

CBIT CoverageThe XXX design shall allow CBIT to test and status functions on a non-interferingcontinuous basis.

Page 17: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Example

IMU Operating TimeThe IMU shall operate 10 minutes for tactical operation.

Page 18: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Example

Acceleration Measurement RangeThe IMU Accelerometer provides velocity measurement data along the three orthogonal axesfor accelerations not exceeding 50g along any axis.

Page 19: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Example

IBIT CoverageThe XXX design shall allow IBIT to test no less than 99 (TBR) percent of the electronic functioncritical missile faults. The following minimum functions shall be tested:

Transmission of software version in Read Only Memory to MC.Determine internal temperature of package

Page 20: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

1. The electrical power subsystem shall provide 28 +4, -2 vdc to the system.

2. The weight of individual items shall comply with MIL-STD-1472 paragraphxxx.yyy.1 titled “Single person lift requirements”.

3. The command generator process shall receive inputs from the operator, and generate commands in the format specified in IFS 10345.

4. The alignment error caused by structural deformation due to loads and thermal gradients shall be no greater than 0.01 deg.

5. The vehicle shall receive and authenticate commands from the ground station, and provide an acknowledgement that the command has been accepted

6. The vehicle shall perform as specified within the temperature range of –25 to +65 deg Celsius.

7. The system shall have the capability to accept no less than 25 targets.

Examples:Good Requirements Statements

Courtesy of Reed Integration, Inc.

Page 21: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Some Famous Failures

• Titanic – Rivet Quality Verification• Tacoma Narrows Bridge – Requirement not

Valid• Apollo 13 – Failure to Change Spec and

Verify Compliance• IBM PC Jr – Requirement not Valid• See Bahill & Henderson, Systems

Engineering, Vol 8, Nr 1, 2005, pp 1-14

Page 22: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Observation

• Most Specs are Invalid and not Verifiable

• Poor Specs lead to Program Problems

• Product Assurance Begins with Ensuring Valid and Verifiable Specifications

• If it is not in the contract it will not be delivered.

Page 23: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Compliance Verification

• Operational Definitions

• Compliance Verification Criteria– Source– Where Documented

• Integration Into Program

Page 24: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Operational Definition

• A definition by which one can do business

• Without benefit of lawyers

Page 25: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Example

• Need – A blanket, 50% wool, 50 % cotton• Requirement Statement

– “The blanket shall contain a 50/50 blend of wool and cotton fibers.”

• Possible Solution– Take a wool blanket and a cotton blanket– Cut each in half– Sew a wool half to a cotton half

• Question – Has requirement been satisfied? How do you know?

Page 26: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Better Statement

• “The blanket shall contain a homogeneous blend of wool and cotton fibers.”

• Questions– How do we define homogeneous?– How do we define wool and cotton?– What method will we use?– What results are acceptable?

Page 27: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Solution

• Method– Pick 3 blankets at random from a lot of 200– For each blanket pick 10 locations randomly distributed

across the surface of the blanket.– Cut a one inch diameter circle sample at each location

using a ruler to measure diameter.– Subject each sample to fiber classification in

accordance with XYZ standard.– Measure the weight of each fiber type using a

calibrated laboratory scale.

Page 28: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Solution (Continued)

• Criteria– If the proportion by weight of wool to cotton or

cotton to wool is at least 45/55 for all samples, accept the blend as homogeneous.

• We can do business!

Page 29: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Applicability

• Every specification requirement statement containing SHALL must have an associated criterion for verifying compliance.

• No requirement statement is complete until the verification criteria are defined

• If you can’t figure out how to verify compliance, it should not be a requirement.

Page 30: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification Methods

• Inspection

• Demonstration

• Analysis

• Test

• Method identified in Verification Cross Reference Matrix

Page 31: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification by Inspection

• Physical Properties– Weight– Center of Gravity– Moments of Inertia

• Dimensions

• Appearance

• Will have tolerance or standard

Page 32: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification by Demonstration

• Maintenance times

• Speed

• Load

• Transportation

• Environmental qualification

• Go/No go, (Bernoulli Process)

Page 33: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification by Analysis

• Kill probability

• Performance range

• Effectiveness

• Efficiency

Page 34: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification by Test

• Accuracy

• Compatibility/interactions

• Reliability

• Timing

• Functioning

• Mechanical Properties

Page 35: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Problem Areas

• Stochastic parameters– Reliability– Accuracy (variability)

• Origin definitions– From where do we begin measuring

• Event definitions

Page 36: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Accuracy Compliance

Requirement:Sigma < Sigma0

Use hypothesis test

Alpha = 0.05

Page 37: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Hypothesis Testfor Accuracy Compliance

Ho: Sigma=Sigma0

H1:Sigma < Sigma0

Action

State Accept Ho Reject Ho

Ho True No Error Type 1 Error

Ho False Type 2 error No Error

Page 38: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Operational Characteristic

• P[Accept Ho| False] vs. Sigma|Sigma0

• β vs Sigma|Sigma0

• Depends on Sample Size

• Depends on α

Page 39: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

OC Curves. Alpha = .05

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 0.2 0.4 0.6 0.8 1 1.2

Sigma/Sigma 0

P[A

cce

pt

Ho

]

n=3

n=20

Page 40: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

CEP Confidence Limit vs Sample size

1.0000

1.2000

1.4000

1.6000

1.8000

2.0000

0 5 10 15 20 25 30

Sample Size

CE

P U

pp

er L

imit

/CE

P

Est

imat

e

C=0.95

C=0.9

C=0.85

C=0.8

Page 41: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Problem

Risk of not satisfying the requirement is high unless:– Demonstrated Accuracy is much better than

actually requiredOr– A very large sample is obtained with accuracy

close to the requirement.In any case, Demonstrated Accuracy Must be

better than the Requirement

Page 42: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Better Way

Specify a tolerance around a target point and a minimum number of samples.

Compliance verification criterion is clear.

Note: Will still have to evaluate risk of unacceptable performance as a function of tolerance and sample size.

Page 43: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Origin and Definition Problems

• Requirement:– “The XYZ shall activate within 10 milliseconds

after receipt of an activation command”

• Problems:– What event corresponds to “activate?”– What is the definition of “receipt?”– When does one start and stop measuring?

Page 44: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Documentation

• Section 4, Quality Assurance Provisions, should contain the compliance verification criteria.

• The verification cross reference matrix should should identify the verification method and reference the paragraph that contains the criteria

Page 45: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification Example

Specification Statement

3.1 Blanket Material Properties – The blanket fabric shall be a homogeneous blend of 50% wool and 50% cotton

Verification Cross Reference Matrix

Para Title Method Procedure3.1 Blanket Material Properties T Para 4.3.1 . . . . . . . . . . . .

Page 46: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Verification Example (Cont’d)Section 4.0 4.1 Inspection Procedures 4.2 Demonstration Procedures 4.3 Test Procedures 4.3.1Blanket Material Properties 4.3.1.1 Select three blankets at random from each lot in accordance with

paragraph 4.x.y (randomization procedure) 4.3.1.2 For each blanket, select ten locations randomly distributed across the

surface of the blanket in accordance with paragraph 4.x.z. 4.3.1.3 Cut a 1.0 0.1 inch diameter circular sample from the blanket at each

of the selected locations. 4.3.1.4 Subject each sample to fiber classification by weight in accordance

with Procedure XYZ. 4.3.1.5 Declare the sample compliant if the classification result is at least

45%/50% wool to cotton OR cotton to wool. 4.3.1.6 Declare a blanket compliant if at least nine of the ten samples are

compliant. 4.3.1.7 Declare the lot compliant if all sampled blankets are compliant.

Page 47: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Program Implementation• Since every requirement containing “shall” is a

contractual requirement, compliance must be verified.• A procedure for collection, documenting, and displaying

compliance information should be defined and managed. Requirements Allocation Database is a Possibility.

• Criteria should be developed in conjunction with the requirement.

• A master plan (Verification Plan) to integrate compliance verification activities into development tests and other activities can be developed, but criteria must be provided to the planners.

Page 48: Better Specifications. What is a Specification? A Statement of the Customers Needs In the Form of Required Characteristics of a Product A Component of.

Summary

• Requirement compliance verification requires operational definitions.

• Requirements are not complete without compliance criteria.

• Compliance verification can be easy or hard, depending on how the requirement is stated.