SlideShare a Scribd company logo
The Engineering
Design Cycle
Part 6:
Test & Evaluate
http://labs.ee.washington.edu/community/BasicEngDes/BasicEngDes_TestEvaluate/
Basic Testing & Evaluation:
• Almost always includes
some redesign and
reconstructing!
• Involves multiple steps from
component level to system
level and relies on the block
diagram to be logical and
convincing.
The Engineering Design Cycle
Identify the
Problem
Construct
Prototype
Research the
Need
Select the
Best Solution
Design
Solutions
Redesign/
Iterate
Test and
Evaluate
Present the
Solution
Basic Testing & Evaluation
Verifying Functionality
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
Testing a design can be done in many different ways and the exact
testing strategy, amount of data, and analysis of that data required to
verify the goodness and functionality of the design varies widely
with the type and application of the design.
Where does
testing begin?
Image Source: http://www.nanork.org/
Verifying Functionality
Starting from the Block Diagram
Every design, whether a sensing system or otherwise, can and
should be expressed in a block diagram. This block diagram outlines
the major components of the system and how they are
interconnected as well as the inputs and outputs to the system.
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
Verifying Functionality
Starting from the Block Diagram
Every design, whether a sensing system or otherwise, can and
should be expressed in a block diagram. This block diagram outlines
the major components of the system and how they are
interconnected as well as the inputs and outputs to the system.
This system has a single type of sensor,
a 3-axis magnetometer used
in two locations (on both wrists)
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
In this example, the three axis magnetometer (and the magnet that
delivers a signal to the magnetometer) is the most important part
of the design. It’s functionality is critical to the proper operation
and the overall success of the design. As a result, it requires much
more extensive testing than supporting components.
The sensor requires extensive
component level testing before
moving on to system level
testing
Verifying Functionality
Testing of Main Components
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
Phase 1: Test Component(s) in an
• Isolated and
• Controlled environment
.... To identify inherent limitations of
the component
Phase 2: Test Component(s) in an
• Controlled environment:
... To identify inherent limitations on
the component imposed by the
environment
Phase 3: Test Component(s) in
• Realistic environment:
... To verify functionality in the
target environment
Phase 4: Test Component(s) in an
• Range of realistic environments
... To generalize the functionality of
the component (and establish its
system limits)
Verifying Functionality
Testing of Main Components
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
The First Step is Testing the component in an
Isolated & Controlled environment:
Is the sensor isolated from
extraneous variations in the
environment?
Verifying Component Functionality
Testing Critical Components
No
Restructure the testing
strategy
The First Step is Testing the component in an
Isolated & Controlled environment:
Is the sensor isolated from
extraneous variations in the
environment?
Is the input to the sensor
controllable?
Yes
Verifying Component Functionality
Testing Critical Components
No
Restructure the testing
strategy
The First Step is Testing the component in an
Isolated & Controlled environment:
Is the sensor isolated from
extraneous variations in the
environment?
Is the input to the sensor
controlled?
Collect sensor data
(output)
Yes
Yes
Verifying Component Functionality
Testing Critical Components
The First Step is Testing the component in an
Isolated & Controlled environment:
Is data normal
(Gaussian)?
Verifying Component Functionality
Testing Critical Components
Is the sensor isolated from
extraneous variations in the
environment?
Is the input to the sensor
controlled?
Collect sensor data
(output)
Yes
Yes
Restructure the testing
strategy
No
The First Step is Testing the component in an
Isolated & Controlled environment:
Is data normal
(Gaussian)?
Calculate precision
and accuracy
Yes
Verifying Component Functionality
Testing Critical Components
Is the sensor isolated from
extraneous variations in the
environment?
Is the input to the sensor
controlled?
Collect sensor data
(output)
Yes
Yes
The First Step is Testing the component in an
Isolated & Controlled environment:
Is data normal
(Gaussian)?
Calculate precision
and accuracy
Yes
Verifying Component Functionality
Testing Critical Components
Is the sensor isolated from
extraneous variations in the
environment?
Is the input to the sensor
controlled?
Collect sensor data
(output)
Yes
Yes
Move on to next input
of interest
Verifying Component Functionality
Testing Critical Components
NOTE:
Requires a statistical test
to establish that the data
indeed represents a
normal distribution
(= goodness of fit)
Just “eyeballing” the histogram for a particular
dataset is useful and gives some idea as to
whether the data are normal, but is not in and
of itself, conclusive!
Is data normal
(Gaussian)?
Verifying Component Functionality
Testing Critical Components
Requires a statistical test
to establish that the data
indeed represents a
normal distribution
(= goodness of fit)
Common mathematical tests for
univariate normality include:
• D'Agostino's K-squared test,
• Jarque–Bera test*
• Anderson–Darling test
• Cramér–von Mises criterion
• Lilliefors test for normality*
• Shapiro–Wilk test
• Pearson's chi-squared test
• Shapiro–Francia test
Is data normal
(Gaussian)?
NOTE:
Verifying Component Functionality
Testing Critical Components
The next step is testing the component in a
Controlled Environment:
Is the sensor in a
typical operating
environment? No
Restructure the testing
strategy
Verifying Component Functionality
Testing Critical Components
The next step is testing the component in a
Controlled Environment:
Is the sensor in a
typical operating
environment?
Is the input to the
sensor controlled?
Yes
No
Restructure the testing
strategy
Verifying Component Functionality
Testing Critical Components
The next step is testing the component in a
Controlled Environment:
Is the sensor in a
typical operating
environment?
Is the input to the
sensor controlled?
Yes
Collect sensor data
(output)
Yes
Verifying Component Functionality
Testing Critical Components
The next step is testing the component in a
Controlled Environment:
Is the sensor in a
typical operating
environment?
Is the input to the
sensor controlled?
Yes
Collect sensor data
(output)
Yes
Is data normal
(Gaussian)?
Restructure the testing
strategy
No
Verifying Component Functionality
Testing Critical Components
The next step is testing the component in a
Controlled Environment:
Is the sensor in a
typical operating
environment?
Is the input to the
sensor controlled?
Yes
Collect sensor data
(output)
Yes
Is data normal
(Gaussian)?
Calculate precision
and accuracy
Yes
Move on to next input
of interest
When is Testing in
Isolated and Controlled Environments Done?
Have Single Input, Single Output measurements
been collected and verified in isolated and
controlled environments?
Combine and plot characteristic curve with
error bars
Yes
Verifying Component Functionality
Testing Critical Components
Can differences between expected and
experimental behavior be explained?
Plot Expected and Experimental Behavior on
same Graph
Yes
Done!
When is Testing in
Isolated and Controlled Environments Done?
Have Single Input, Single Output measurements
been collected and verified in isolated and
controlled environments?
Combine and plot characteristic curve with
error bars
Yes
Verifying Component Functionality
Testing Critical Components
Can differences between expected and
experimental behavior be explained?
Plot Expected and Experimental Behavior on
same Graph
No
Done!
Do differences impact
functionality?
No
Finally:
Does the critical component perform according
to the design specification under typical
operating conditions?
Verify and Document Functionality
Test sensor under these conditions
Does it meet design specification?
Verify and Document
Functionality
Identify extremes of operating conditions most
likely to detrimentally impact the component.
Yes
Yes
No
No
Troubleshoot
Identify Problem
Return to Select Solution,
or Construct Prototype Phase
Verifying Component Functionality
Testing Critical Components
The Bluetooth modem should also require minimal testing as a
component in the system. Verifying functionality will require:
• Simulating the type of input to the modem coming from the
microcontroller and going into the microcontroller (both range
and frequency).
• Testing the modem in both controlled (laboratory) environments
and in the application environment.
Verifying Functionality
Testing of Supporting Components
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
The Bluetooth modem should also require minimal testing as a
component in the system. Verifying functionality will require:
• Simulating the type of input to the modem coming from the
microcontroller and going into the microcontroller (both range
and frequency).
• Testing the modem in both controlled (laboratory) environments
and in the application environment.
Although the Bluetooth
Modem is also an off-the-
shelf component, it
should also be tested to
verify its functionality.
Verifying Functionality
Testing of Supporting Components
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
Verifying Functionality
Testing of Supporting Components
The microcontroller should require minimal testing as a component
in the system. It should be tested with known and controlled inputs
of the same range and frequency of the accelerometer to ensure that
the signals are properly converted to digital signals and processed
(as programmed and intended) in the microcontroller itself.Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
Verifying Functionality
Testing of Supporting Components
The microcontroller should require minimal testing as a component
in the system. It should be tested with known and controlled inputs
of the same range and frequency of the accelerometer to ensure that
the signals are properly converted to digital signals and processed
(as programmed and intended) in the microcontroller itself.
Although the Microcontroller is an
off-the-shelf component, it
will need to be tested as individual
components to ensure they are working
properly as components in this system.
Test &
Evaluate:
Verifying
Component
Functionality
in the
Engineering
Design
Cycle
Basic Testing & Evaluation
Once both critical and
supporting components
are tested and evaluated,
it is time to move forward
to:
System Testing
Identify the
Problem
Construct
Prototype
Research the
Need
Select the
Best Solution
Design
Solutions
Redesign/
Iterate
Test and
Evaluate
Present the
Solution
Test &
Evaluate:
System
Testing
in the
Engineering
Design
Cycle
Once the main components are tested at a component-by-
component level, it is time to move on to main subsystem testing
(multiple main components) that operate together to deliver
system functionality.
For example:
• Identification of quality of beer in a major manufacturing
facility using multiple vapor (gas) sensors – the objective here is
for multiple sensors to collectively differentiate "good" beer
from "bad" beer.
• Risk assessment for carpal tunnel syndrome – the objective
here may be to identify one or both wrists at risk for carpal
tunnel syndrome and thus recommend posture/behavior
changes based on whether one or both wrists are improperly
positioned.
• Multiple axis outputs on accelerometer may be needed to
identify both the orientation and the speed of an object.
Verifying Functionality
Testing of Subsystems & Systems
Verifying Functionality
Testing of Main Subsystems/Systems
Have main component measurements
been collected and verified in isolated
and controlled environments?
Have subsystem measurements been
collected and verified against expected
sensor behavior?
Has a “Typical, Representative,
and Realistic” Environment for
System operation been defined in
the design?
Test System under
“Typical,
Representative,
and Realistic”
conditions
Yes
Yes
Is System Functional?
Yes
A functional system
either predicts the
output of interest within
specified accuracy OR it
can discern patterns of
output with a specified
rate of successful
identification of those
patterns.
Test &
Evaluate:
System
Testing
in the
Engineering
Design
Cycle
Verifying Functionality
Testing of Main Subsystems/Systems
The three axes of an
accelerometer may
be used to detect the
orientation of a
tennis racquet (to
which they are
attached) within a
certain # of degrees
of accuracy. Whether
or not precise
detection of
orientation is a valid
system test depends
on the application!
Verifying Functionality
Testing of Main Subsystems/Systems
Alternatively, the three
axes of an
accelerometer may be
used to detect whether
or not the tennis
racquet is in the proper
posture for a successful
swing. Orientation
may be relative to a
particular user or
situation; system
testing should reflect
the context of the
application!
Verifying Functionality
Testing of Main Subsystems/Systems
Another form of system
testing involves
identifying false positives
and false negatives – the
graph on the right shows
comprehensively how
many inputs were
detected correctly (upper
left and lower right
quadrants) and how
many were detected
incorrectly (upper right
and lower left quadrants)
for a wide range of
people.
Basic Testing & Evaluation
With functionality tested,
evaluated, and verified for
critical components,
supporting components,
and the system as a whole,
it’s time to move forward
to:
User Level Testing
Identify the
Problem
Construct
Prototype
Research the
Need
Select the
Best Solution
Design
Solutions
Redesign/
Iterate
Test and
Evaluate
Present the
Solution
User Testing and Evaluation
Once a system or design is thoroughly tested and evaluated to verify its functionality,
it is time to show the design to potential users.
Step 1:
Identify Potential Users:
• Who is most likely to use this design, and of
those people, who can afford the design?
• Where can these potential users be found?
Example:
Air Quality monitoring system for bicycle use
Potential Users:
Bike commuters in a major city
Target 3-5 users for each round of tests!
There is no such thing as too many testers, so test as much as possible.
User Testing and Evaluation
Step 2:
Present your solution to your users/testers in a representative "problem"
environment – where the user would use the system in "real life“.
An Example:
Carpal Tunnel Monitoring System
Testing Environment:
Using a computer at a desk
Texting on a Smartphone
User Testing and Evaluation
Step 2:
Present your solution to your users/testers in a representative "problem"
environment – where the user would use the system in "real life“.
Another Example:
Eyeglass compliance monitoring
Testing Environment:
Driving a vehicle
Using a computer
User Testing and Evaluation
Step 2:
Present your solution to your users/testers in a representative "problem"
environment – where the user would use the system in "real life“.
Sometimes, a storyboard helps
situate the user in the
environment so that the user test
does not go astray!
A storyboard is a series of
illustrations or images that allows
someone to pre-visualize a
situation. In this case, the
situation would be the context in
which the design tester is using
the design.
User Testing and Evaluation
Step 3:
Watch what your users do with the design:
• How do they interact with the design?
• Do they use the design properly?
• Where do they get confused?
• What information do they glean from the system? Is it what you intend?
• Do they seem interested in the system? Bored? Confused?
Write down what you observe,
while refraining from interpreting
what you observe until later!
User Testing and Evaluation
Step 4:
Ask your users to complete a short survey
or series of questions about the design:
• Written, or
• Verbal
Use a combination of close-ended, multiple
choice or Likert-scale questions and open-
ended questions that seek to identify both
the "good" and the "bad" in the design.
Examples of Open Ended Questions:
Would you use this design in your daily life? Why or why not?
What do you like most about this design?
What do you like least about this design?
Examples of Close-Ended Questions
Test, Evaluate, Redesign....
A Prototype must be
tested:
• Not only at a
functional level (do the
components and
system work as
intended?), but also:
• At a user level (will a
potential customer
use it as intended?)
Identify the
Problem
Construct
Prototype
Research the
Need
Select the
Best Solution
Design
Solutions
Redesign/
Iterate
Test and
Evaluate
Present the
Solution
Thanks for joining us as we explored the sixth step of the
Engineering Design Cycle: Test & Evaluate.
Complete Educational Materials (including assignments,
quizzes, and recorded lectures) on the topic of Basic
Engineering Design can be found at:
http://labs.ee.washington.edu/community/BasicEngDes/
The Engineering Design Cycle

More Related Content

PPTX
Basic Engineering Design (Part 7): Presenting the Solution
PPTX
Basic Engineering Design (Part 8)): Redesigning & Iterating
PPTX
Basic Engineering Design (Part 5): Constructing a Prototype
PPTX
Basic Engineering Design (Part 3): Designing Solutions
PPTX
Basic Engineering Design (Part 4): Selecting the Best Solution
PPTX
Basic Engineering Design: Overview
PPTX
Basic Engineering Design (Part 2): Researching the Need
PDF
Exploratory Testing in Practice
Basic Engineering Design (Part 7): Presenting the Solution
Basic Engineering Design (Part 8)): Redesigning & Iterating
Basic Engineering Design (Part 5): Constructing a Prototype
Basic Engineering Design (Part 3): Designing Solutions
Basic Engineering Design (Part 4): Selecting the Best Solution
Basic Engineering Design: Overview
Basic Engineering Design (Part 2): Researching the Need
Exploratory Testing in Practice

What's hot (20)

PPT
Introduction to Exploratory Testing
PPT
Anti-Patterns
PPSX
Usability Testing Fundamentals
PDF
Exploratory Testing Explained
PPTX
Will Robots Replace Testers?
PPTX
Exploratory Testing Explained and Experienced
PPT
Rik Teuben - Many Can Quarrel, Fewer Can Argue
PPT
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
PPT
Michael Bolton - Two Futures of Software Testing
PPT
Design testabilty
PPT
Shrini Kulkarni - Software Metrics - So Simple, Yet So Dangerous
PDF
Fredrik Rydberg - Can Exploratory Testing Save Lives - EuroSTAR 2010
PDF
James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
PDF
Ken Johnston - Big Bugs That Got Away - EuroSTAR 2010
PPTX
concept generation in product design and development.pptx
PDF
Julian Harty - Alternatives To Testing - EuroSTAR 2010
PPTX
Exploratory testing using heuristics
DOCX
Engineering Design Assignment
PDF
Rapid software testing
KEY
heuristic evaluation
Introduction to Exploratory Testing
Anti-Patterns
Usability Testing Fundamentals
Exploratory Testing Explained
Will Robots Replace Testers?
Exploratory Testing Explained and Experienced
Rik Teuben - Many Can Quarrel, Fewer Can Argue
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
Michael Bolton - Two Futures of Software Testing
Design testabilty
Shrini Kulkarni - Software Metrics - So Simple, Yet So Dangerous
Fredrik Rydberg - Can Exploratory Testing Save Lives - EuroSTAR 2010
James Whittaker - Pursuing Quality-You Won't Get There - EuroSTAR 2011
Ken Johnston - Big Bugs That Got Away - EuroSTAR 2010
concept generation in product design and development.pptx
Julian Harty - Alternatives To Testing - EuroSTAR 2010
Exploratory testing using heuristics
Engineering Design Assignment
Rapid software testing
heuristic evaluation
Ad

Similar to Basic Engineering Design (Part 6): Test and Evaluate (20)

PDF
VLSI testing and analysis
PPS
Boundary and equivalnce systematic test design
PPTX
Test design
PDF
Testing Paper on compositional testing and related methods for PAV
PPT
Soc.pptx
PPT
PPTX
Unit 2 - Test Case Design
PPTX
Validation and mechanism: exploring the limits of evaluation
PPTX
Design for testability for Beginners PPT for FDP.pptx
PDF
Black box testing (an introduction to)
PDF
SOLUTION MANUAL OF WIRELESS COMMUNICATIONS BY THEODORE S RAPPAPORT
PPTX
testingstrategiesforelectroniccomponents-191101072253.pptx
PPTX
MODULE 3- Q4 - Copy MODULE IN CSS- Copy.pptx
PPTX
Vlsi testing
PPTX
A Software Testing Intro
PPTX
materi pengujiannnnnnnnnnnnnnnnnnnnnnnnnn
PPT
<p>Software Testing</p>
PPT
An overview to Software Testing
PPTX
Reliability Testing
PPTX
Testing strategies for electronic components
VLSI testing and analysis
Boundary and equivalnce systematic test design
Test design
Testing Paper on compositional testing and related methods for PAV
Soc.pptx
Unit 2 - Test Case Design
Validation and mechanism: exploring the limits of evaluation
Design for testability for Beginners PPT for FDP.pptx
Black box testing (an introduction to)
SOLUTION MANUAL OF WIRELESS COMMUNICATIONS BY THEODORE S RAPPAPORT
testingstrategiesforelectroniccomponents-191101072253.pptx
MODULE 3- Q4 - Copy MODULE IN CSS- Copy.pptx
Vlsi testing
A Software Testing Intro
materi pengujiannnnnnnnnnnnnnnnnnnnnnnnnn
<p>Software Testing</p>
An overview to Software Testing
Reliability Testing
Testing strategies for electronic components
Ad

More from Denise Wilson (17)

PPTX
Sexual Harassment in Academia
PPTX
Is Sexual Harassment different for Gender and Sexual Minorities (LGBTQ)?
PPTX
Is Sexual Harassment Different among Different Age Groups?
PPTX
Is Sexual Harassment Different by Race and Ethnicity?
PPTX
Is Sexual Harassment Different for Men vs. Women?
PDF
System Verilog (Tutorial -- 4X1 Multiplexer)
PDF
System Verilog (Tutorial -- 2X1 Multiplexer)
PDF
What do Student Evaluations of Teaching Really Measure?
PDF
Student Teaching Evaluations: Friend or Foe?
PDF
Women in the Engineering Workplace
PDF
Boeing 737 Max Accidents
PPTX
Electricity production windpower
PPTX
Environmental Impacts of Electricity Production
PPTX
Economic Considerations in Engineering Design
PPTX
Social Considerations in Engineering Design
PPTX
Environmental Considerations in Electronic Product Design
PPTX
Basic Engineering Design (Part 1): Identify the Problem
Sexual Harassment in Academia
Is Sexual Harassment different for Gender and Sexual Minorities (LGBTQ)?
Is Sexual Harassment Different among Different Age Groups?
Is Sexual Harassment Different by Race and Ethnicity?
Is Sexual Harassment Different for Men vs. Women?
System Verilog (Tutorial -- 4X1 Multiplexer)
System Verilog (Tutorial -- 2X1 Multiplexer)
What do Student Evaluations of Teaching Really Measure?
Student Teaching Evaluations: Friend or Foe?
Women in the Engineering Workplace
Boeing 737 Max Accidents
Electricity production windpower
Environmental Impacts of Electricity Production
Economic Considerations in Engineering Design
Social Considerations in Engineering Design
Environmental Considerations in Electronic Product Design
Basic Engineering Design (Part 1): Identify the Problem

Recently uploaded (20)

PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
web development for engineering and engineering
PPT
Project quality management in manufacturing
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Well-logging-methods_new................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
UNIT 4 Total Quality Management .pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
additive manufacturing of ss316l using mig welding
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
DOCX
573137875-Attendance-Management-System-original
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
bas. eng. economics group 4 presentation 1.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
web development for engineering and engineering
Project quality management in manufacturing
Strings in CPP - Strings in C++ are sequences of characters used to store and...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Well-logging-methods_new................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CH1 Production IntroductoryConcepts.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
UNIT 4 Total Quality Management .pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
additive manufacturing of ss316l using mig welding
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
573137875-Attendance-Management-System-original
Model Code of Practice - Construction Work - 21102022 .pdf

Basic Engineering Design (Part 6): Test and Evaluate

  • 1. The Engineering Design Cycle Part 6: Test & Evaluate http://labs.ee.washington.edu/community/BasicEngDes/BasicEngDes_TestEvaluate/
  • 2. Basic Testing & Evaluation: • Almost always includes some redesign and reconstructing! • Involves multiple steps from component level to system level and relies on the block diagram to be logical and convincing. The Engineering Design Cycle Identify the Problem Construct Prototype Research the Need Select the Best Solution Design Solutions Redesign/ Iterate Test and Evaluate Present the Solution
  • 3. Basic Testing & Evaluation Verifying Functionality Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle Testing a design can be done in many different ways and the exact testing strategy, amount of data, and analysis of that data required to verify the goodness and functionality of the design varies widely with the type and application of the design. Where does testing begin? Image Source: http://www.nanork.org/
  • 4. Verifying Functionality Starting from the Block Diagram Every design, whether a sensing system or otherwise, can and should be expressed in a block diagram. This block diagram outlines the major components of the system and how they are interconnected as well as the inputs and outputs to the system. Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 5. Verifying Functionality Starting from the Block Diagram Every design, whether a sensing system or otherwise, can and should be expressed in a block diagram. This block diagram outlines the major components of the system and how they are interconnected as well as the inputs and outputs to the system. This system has a single type of sensor, a 3-axis magnetometer used in two locations (on both wrists) Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 6. In this example, the three axis magnetometer (and the magnet that delivers a signal to the magnetometer) is the most important part of the design. It’s functionality is critical to the proper operation and the overall success of the design. As a result, it requires much more extensive testing than supporting components. The sensor requires extensive component level testing before moving on to system level testing Verifying Functionality Testing of Main Components Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 7. Phase 1: Test Component(s) in an • Isolated and • Controlled environment .... To identify inherent limitations of the component Phase 2: Test Component(s) in an • Controlled environment: ... To identify inherent limitations on the component imposed by the environment Phase 3: Test Component(s) in • Realistic environment: ... To verify functionality in the target environment Phase 4: Test Component(s) in an • Range of realistic environments ... To generalize the functionality of the component (and establish its system limits) Verifying Functionality Testing of Main Components Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 8. The First Step is Testing the component in an Isolated & Controlled environment: Is the sensor isolated from extraneous variations in the environment? Verifying Component Functionality Testing Critical Components No Restructure the testing strategy
  • 9. The First Step is Testing the component in an Isolated & Controlled environment: Is the sensor isolated from extraneous variations in the environment? Is the input to the sensor controllable? Yes Verifying Component Functionality Testing Critical Components No Restructure the testing strategy
  • 10. The First Step is Testing the component in an Isolated & Controlled environment: Is the sensor isolated from extraneous variations in the environment? Is the input to the sensor controlled? Collect sensor data (output) Yes Yes Verifying Component Functionality Testing Critical Components
  • 11. The First Step is Testing the component in an Isolated & Controlled environment: Is data normal (Gaussian)? Verifying Component Functionality Testing Critical Components Is the sensor isolated from extraneous variations in the environment? Is the input to the sensor controlled? Collect sensor data (output) Yes Yes Restructure the testing strategy No
  • 12. The First Step is Testing the component in an Isolated & Controlled environment: Is data normal (Gaussian)? Calculate precision and accuracy Yes Verifying Component Functionality Testing Critical Components Is the sensor isolated from extraneous variations in the environment? Is the input to the sensor controlled? Collect sensor data (output) Yes Yes
  • 13. The First Step is Testing the component in an Isolated & Controlled environment: Is data normal (Gaussian)? Calculate precision and accuracy Yes Verifying Component Functionality Testing Critical Components Is the sensor isolated from extraneous variations in the environment? Is the input to the sensor controlled? Collect sensor data (output) Yes Yes Move on to next input of interest
  • 14. Verifying Component Functionality Testing Critical Components NOTE: Requires a statistical test to establish that the data indeed represents a normal distribution (= goodness of fit) Just “eyeballing” the histogram for a particular dataset is useful and gives some idea as to whether the data are normal, but is not in and of itself, conclusive! Is data normal (Gaussian)?
  • 15. Verifying Component Functionality Testing Critical Components Requires a statistical test to establish that the data indeed represents a normal distribution (= goodness of fit) Common mathematical tests for univariate normality include: • D'Agostino's K-squared test, • Jarque–Bera test* • Anderson–Darling test • Cramér–von Mises criterion • Lilliefors test for normality* • Shapiro–Wilk test • Pearson's chi-squared test • Shapiro–Francia test Is data normal (Gaussian)? NOTE:
  • 16. Verifying Component Functionality Testing Critical Components The next step is testing the component in a Controlled Environment: Is the sensor in a typical operating environment? No Restructure the testing strategy
  • 17. Verifying Component Functionality Testing Critical Components The next step is testing the component in a Controlled Environment: Is the sensor in a typical operating environment? Is the input to the sensor controlled? Yes No Restructure the testing strategy
  • 18. Verifying Component Functionality Testing Critical Components The next step is testing the component in a Controlled Environment: Is the sensor in a typical operating environment? Is the input to the sensor controlled? Yes Collect sensor data (output) Yes
  • 19. Verifying Component Functionality Testing Critical Components The next step is testing the component in a Controlled Environment: Is the sensor in a typical operating environment? Is the input to the sensor controlled? Yes Collect sensor data (output) Yes Is data normal (Gaussian)? Restructure the testing strategy No
  • 20. Verifying Component Functionality Testing Critical Components The next step is testing the component in a Controlled Environment: Is the sensor in a typical operating environment? Is the input to the sensor controlled? Yes Collect sensor data (output) Yes Is data normal (Gaussian)? Calculate precision and accuracy Yes Move on to next input of interest
  • 21. When is Testing in Isolated and Controlled Environments Done? Have Single Input, Single Output measurements been collected and verified in isolated and controlled environments? Combine and plot characteristic curve with error bars Yes Verifying Component Functionality Testing Critical Components Can differences between expected and experimental behavior be explained? Plot Expected and Experimental Behavior on same Graph Yes Done!
  • 22. When is Testing in Isolated and Controlled Environments Done? Have Single Input, Single Output measurements been collected and verified in isolated and controlled environments? Combine and plot characteristic curve with error bars Yes Verifying Component Functionality Testing Critical Components Can differences between expected and experimental behavior be explained? Plot Expected and Experimental Behavior on same Graph No Done! Do differences impact functionality? No
  • 23. Finally: Does the critical component perform according to the design specification under typical operating conditions? Verify and Document Functionality Test sensor under these conditions Does it meet design specification? Verify and Document Functionality Identify extremes of operating conditions most likely to detrimentally impact the component. Yes Yes No No Troubleshoot Identify Problem Return to Select Solution, or Construct Prototype Phase Verifying Component Functionality Testing Critical Components
  • 24. The Bluetooth modem should also require minimal testing as a component in the system. Verifying functionality will require: • Simulating the type of input to the modem coming from the microcontroller and going into the microcontroller (both range and frequency). • Testing the modem in both controlled (laboratory) environments and in the application environment. Verifying Functionality Testing of Supporting Components Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 25. The Bluetooth modem should also require minimal testing as a component in the system. Verifying functionality will require: • Simulating the type of input to the modem coming from the microcontroller and going into the microcontroller (both range and frequency). • Testing the modem in both controlled (laboratory) environments and in the application environment. Although the Bluetooth Modem is also an off-the- shelf component, it should also be tested to verify its functionality. Verifying Functionality Testing of Supporting Components Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 26. Verifying Functionality Testing of Supporting Components The microcontroller should require minimal testing as a component in the system. It should be tested with known and controlled inputs of the same range and frequency of the accelerometer to ensure that the signals are properly converted to digital signals and processed (as programmed and intended) in the microcontroller itself.Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 27. Verifying Functionality Testing of Supporting Components The microcontroller should require minimal testing as a component in the system. It should be tested with known and controlled inputs of the same range and frequency of the accelerometer to ensure that the signals are properly converted to digital signals and processed (as programmed and intended) in the microcontroller itself. Although the Microcontroller is an off-the-shelf component, it will need to be tested as individual components to ensure they are working properly as components in this system. Test & Evaluate: Verifying Component Functionality in the Engineering Design Cycle
  • 28. Basic Testing & Evaluation Once both critical and supporting components are tested and evaluated, it is time to move forward to: System Testing Identify the Problem Construct Prototype Research the Need Select the Best Solution Design Solutions Redesign/ Iterate Test and Evaluate Present the Solution
  • 29. Test & Evaluate: System Testing in the Engineering Design Cycle Once the main components are tested at a component-by- component level, it is time to move on to main subsystem testing (multiple main components) that operate together to deliver system functionality. For example: • Identification of quality of beer in a major manufacturing facility using multiple vapor (gas) sensors – the objective here is for multiple sensors to collectively differentiate "good" beer from "bad" beer. • Risk assessment for carpal tunnel syndrome – the objective here may be to identify one or both wrists at risk for carpal tunnel syndrome and thus recommend posture/behavior changes based on whether one or both wrists are improperly positioned. • Multiple axis outputs on accelerometer may be needed to identify both the orientation and the speed of an object. Verifying Functionality Testing of Subsystems & Systems
  • 30. Verifying Functionality Testing of Main Subsystems/Systems Have main component measurements been collected and verified in isolated and controlled environments? Have subsystem measurements been collected and verified against expected sensor behavior? Has a “Typical, Representative, and Realistic” Environment for System operation been defined in the design? Test System under “Typical, Representative, and Realistic” conditions Yes Yes Is System Functional? Yes A functional system either predicts the output of interest within specified accuracy OR it can discern patterns of output with a specified rate of successful identification of those patterns. Test & Evaluate: System Testing in the Engineering Design Cycle
  • 31. Verifying Functionality Testing of Main Subsystems/Systems The three axes of an accelerometer may be used to detect the orientation of a tennis racquet (to which they are attached) within a certain # of degrees of accuracy. Whether or not precise detection of orientation is a valid system test depends on the application!
  • 32. Verifying Functionality Testing of Main Subsystems/Systems Alternatively, the three axes of an accelerometer may be used to detect whether or not the tennis racquet is in the proper posture for a successful swing. Orientation may be relative to a particular user or situation; system testing should reflect the context of the application!
  • 33. Verifying Functionality Testing of Main Subsystems/Systems Another form of system testing involves identifying false positives and false negatives – the graph on the right shows comprehensively how many inputs were detected correctly (upper left and lower right quadrants) and how many were detected incorrectly (upper right and lower left quadrants) for a wide range of people.
  • 34. Basic Testing & Evaluation With functionality tested, evaluated, and verified for critical components, supporting components, and the system as a whole, it’s time to move forward to: User Level Testing Identify the Problem Construct Prototype Research the Need Select the Best Solution Design Solutions Redesign/ Iterate Test and Evaluate Present the Solution
  • 35. User Testing and Evaluation Once a system or design is thoroughly tested and evaluated to verify its functionality, it is time to show the design to potential users. Step 1: Identify Potential Users: • Who is most likely to use this design, and of those people, who can afford the design? • Where can these potential users be found? Example: Air Quality monitoring system for bicycle use Potential Users: Bike commuters in a major city Target 3-5 users for each round of tests! There is no such thing as too many testers, so test as much as possible.
  • 36. User Testing and Evaluation Step 2: Present your solution to your users/testers in a representative "problem" environment – where the user would use the system in "real life“. An Example: Carpal Tunnel Monitoring System Testing Environment: Using a computer at a desk Texting on a Smartphone
  • 37. User Testing and Evaluation Step 2: Present your solution to your users/testers in a representative "problem" environment – where the user would use the system in "real life“. Another Example: Eyeglass compliance monitoring Testing Environment: Driving a vehicle Using a computer
  • 38. User Testing and Evaluation Step 2: Present your solution to your users/testers in a representative "problem" environment – where the user would use the system in "real life“. Sometimes, a storyboard helps situate the user in the environment so that the user test does not go astray! A storyboard is a series of illustrations or images that allows someone to pre-visualize a situation. In this case, the situation would be the context in which the design tester is using the design.
  • 39. User Testing and Evaluation Step 3: Watch what your users do with the design: • How do they interact with the design? • Do they use the design properly? • Where do they get confused? • What information do they glean from the system? Is it what you intend? • Do they seem interested in the system? Bored? Confused? Write down what you observe, while refraining from interpreting what you observe until later!
  • 40. User Testing and Evaluation Step 4: Ask your users to complete a short survey or series of questions about the design: • Written, or • Verbal Use a combination of close-ended, multiple choice or Likert-scale questions and open- ended questions that seek to identify both the "good" and the "bad" in the design. Examples of Open Ended Questions: Would you use this design in your daily life? Why or why not? What do you like most about this design? What do you like least about this design? Examples of Close-Ended Questions
  • 41. Test, Evaluate, Redesign.... A Prototype must be tested: • Not only at a functional level (do the components and system work as intended?), but also: • At a user level (will a potential customer use it as intended?) Identify the Problem Construct Prototype Research the Need Select the Best Solution Design Solutions Redesign/ Iterate Test and Evaluate Present the Solution
  • 42. Thanks for joining us as we explored the sixth step of the Engineering Design Cycle: Test & Evaluate. Complete Educational Materials (including assignments, quizzes, and recorded lectures) on the topic of Basic Engineering Design can be found at: http://labs.ee.washington.edu/community/BasicEngDes/ The Engineering Design Cycle