Pages

Experimental Design

 Purpose of experimentation:

 - create higher quality products at lower cost.


What is an experiment?
Change in Input  → Process →  change in output

Process → machines, materials, methods, people, environment, measurements

What are the important input factors, and how do they influence the output?

1) Improve performance characteristics:
          Identify critical factors
          Reduce scrap and rework
2) Reduce costs
3) Shorten production development time

Example system input and outputs for product optimization:
 





What is experimental design?
Using efficient and effective experimentation procedures to get the most information you can the fastest you can.
Most efficient way to collect data?
.
.
Use historical or happenstance data
AKA, just use what is already out there.
 
Risks – undocumented/unknown factors present in non-experimental data.
Example:  
Does changing temp in wire bonding process increase the number of defects in the product?
Undocumented factor: 
Lab operator was changing the standard temperature settings without recording altered temperatures.
.
.
.
Change one factor at a time.
example:
Hold Pressure constant, just change temperature. 



Hold temperature constant, just change pressure.


Do the above tables contain all possible combinations of (T,P)? 
No (P2,T1) is missing.
What about interactions between factors?
Example: Testing the effects of heart medication and grapefruit juice on health.  (Cannot test grapefruit juice independently of medication, as they interact with one another) 

If factors interact with one another,
one-at-a-time testing is inadequate to determine results.
Combination of (P2,T1) is not contained in the one-at-a-time tables.    What if (P2,T1) provides the optimal result?



Full Factorial Design
Test all possible combinations of input factors

-         Works well if there are only a few input factors
-         Impossible if there are many input factors


Example – what if there are 12 different input factors?

12 input factors, each tested at two different values


(T1, T2, P1, P2, % C1, %C2, etc.)


2^12 combinations = 4096 combinations to test! impossible!

Robust Design:

  • Eliminate testing factors that cannot be changed or controlled.
  • Use statistical tools to determine the most important combinations to test.
.
    Planning your experiment:

    State specific goals

    Example goals for materials testing - 
    analyze o-ring materials for use in rocket booster seal.  Quantify temperature and loading-rate dependence of material strength properties.

    Gather background information through research and meetings

    Meet with
    • Management,
    • engineers,
    • subject matter experts,
    • operators, 
    •  analysts
    List inputs
    • type of rubber
    • temperature (room temp, freezing, and room temp)
    • loading rate
    • age of rubber
    • exposure (sun, humidity)
    • other treatment options

    List of outputs
    • yield point, 
    • young's modulus, 
    • shape of stress strain curve
    • friction coefficient


    Example Objective:
    • Define safe operating temperatures and pressures for o-ring seals
    How will inputs be measured?
    Create stress-strain diagrams for rubber which shows strength properties as a function of temperature
    How many levels per input?  

    possible experiments to run:
    Create stress-strain diagrams for 3 different temperatures (frozen, room temp, 100°C)
    Test multiple types of o-ring materials
    Test old and new o-rings to quantify how properties change with time
    test under different pressures
    How important is each factor?

    .









     *1.18 Tree diagram
    *1.4 Design Matrix Table
    Conducting the experiment:
    •  Adhere to clearly defined and agreed upon operating procedures
    • Prepare data sheets in advance 
    • Repetition & error tolerances
    • Analyze data, Draw conclusions, make predictions, do confirmatory tests
    Causation vs. Correlation
     
    1. A causes B
    2. B causes A
    3. A and B are both consequences of the same cause
    4. Some combination of 1, 2, and 3
    5. A and B unrelated, correlation is pure coincidence.
    http://www.fromquarkstoquasars.com/correlation-vs-causation/
     


    Taking Data in lab:
    • Repeat each measurement 4 times
    • Compare the data you get to the data other teams get - is it repeatable?  
    • What is the error in measurement? 


    Uncertainty Analysis:  
    Errors in Physical Measurements
    • X = True Value
    • xi = measured value
    • n = number of measurements taken
    • Accuracy = how close xi is to true value X
    • Precision = how good grouping is
    Good accuracy poor precision -                                       Bad accuracy, good precision






     Mean:

     


    • Median = midpoint in events (½points below, ½ points above)
    • Mode = most frequently occurring value

    • Error = ei = Deviation from true value: ei = xi - X
      • We do not (and cannot) know X - so - Approximate X by the mean µ
      • ei* = xi - µ
      • ei* approximates ei and is called an estimator of ei.
      • Random deviations: Human errors, normal distribution
      • Systematic deviations: Calibration errors

    • Relative Error = DX/X -or- = ei/m
    • Variance





    • Standard Deviation = width of distribution, estimate of average error


    • Standard Deviation of Mean (SDOM)



    xi = each individual data point
    u = mean
    N = number of data points

    Gaussian (Normal) Distribution, 
    or common probability distribution.  
    (Take a bunch of data, probability that data will fall within a certain range)




    Example of different distributions taken with different precision -


    File:Standard deviation diagram.svg 
    • low standard deviation = data points very close to the mean
    •  high standard deviation = data points spread out over a large range of values.
    File:Normal Distribution PDF.svg















    Pre-Lab HW: 
    Set up an excel worksheet to take data in lab.
    Create tables to record results.

    Tables should have

    • Place to record all inputs (material tested, temperature, etc.)
    • Room to record multiple trials - repeat each measurement at least 4 times
    • Standard deviation, mean, mode for repeated trials
    • Room for additional notes and comments.

    Make a hypothesis about what you will find in lab next week:



    Lab:
    It is extremely important that a rubber O-ring retain its material properties under multiple temperatures, pressures, and chemical environments.  Your job is to quantify the material performance of rubber.

    • What is the yield point of rubber?  When does it transition from elastic to plastic deformation?
    • Do the strength properties of rubber change with temperature?
    • As the rubber becomes older, how does the strength properties change with time?
    • If the rubber is brought into contact with water, alcohol, pepsi, nail-polish remover, or other chemicals - how do the properties change?
    • How homogeneous is rubber?  Are the material properties repeatable and reliable?



    Example Experiment:
    Create stress/strain diagrams for a rubber band under various loading conditions to quantify its strength properties.

    1. Mark volume measurements on a water bottle:
    2. Measure the cross sectional area of a rubber band:

    3. Hang rubber band from a a doorknob or other hook, 
    4. Slowly load it by adding water into the water bottle
    5. Record how much strain is produced as a function of load



    6. Create a stress-strain curve:




    7. Did the rubber band deform linearly?  Can you find the young's Modulus? 

    Repeat experiment:


    Get a new rubber band (same type)

    • Load the new rubber band at the same rate and starting with the same temperature, trying to reproduce as well as you can the original experiment.
    • Plot another stress strain diagram for the new set of data
    Compare the Young's Modulus of data set, how repeatable is it?

    Temperature dependence:

    Place rubber band in:
    • Boiling Water
    • Room Temp
    • Ice Water

    Does temperature change the material properties of rubber?  

    Heat Treatment:


    Bake some rubber bands in an oven at 300° for 2 hours (simulates rubber band sitting out in the sun)

    Create stress-strain diagrams for the heat-treated rubber bands.  What does sitting out in the sun do to the strength properties of rubber?

    Can you think of any other conditions that need to be tested?  
    Decide what experiments should be done, what are the inputs of your experiment?  What are the outputs? Plan out the experiment, write up procedure, organize data sheets, and don't forget to repeat the experiment to test for uncertainty.  








      

    Sp Final Exam Review

    .

    Mechanics Lab
    http://intro1201.blogspot.com/2015/01/l4.html 

    • Can you draw a free body diagram?  (Just a sketch of your system with forces)  
    • Can you write out the force balance from the friction lab? 
    • Where did u = Tan(theta) come from?          

    • Stress-Strain Diagram:  Can you sketch the general shape of a stress-strain diagram for a rubber band?  How about the diagram for something brittle like glass?

    • Surface Tension - can you describe what the pendant drop test is, and how it works?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Engineering Ethics -

    http://intro1201.blogspot.com/2015/04/engineering-ethics.html


    Can you name an engineering disaster, and briefly discuss:

    • What happened
    • Why it happened
    • How it could have been prevented

    Knowing "there can never be enough rules to anticipate and cover every situation, and even if there were, enforcement would be impossibly expensive and burdensome.

    What is needed to uphold and maintain ethical practices?


    Engineer’s Obligation to Society, to their employer, to clients, and to other engineers:

    - only approve designs that safeguard life, health, welfare, and property of the public
    - if an engineer’s professional judgment is overruled resulting in a safety concern, it is their responsibility to notify employers, clients, authority figures, the public, and all involved.
    - Engineers should be objective, truthful, and unbiased. 
    - Engineers should not express opinions in areas they are not qualified in,
    - Engineers should not associate with anyone or anything that is unethical

    Engineering societies:
    What are the advantages of joining an engineering society?
    Can you list some of the ENGr societies that are out there?
    https://en.wikipedia.org/wiki/List_of_engineering_societies

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CAD
    http://intro1201.blogspot.com/2015/03/inventor-cad.html
    What are the different file types for Inventor?
    parts - *.ipt
    Assemblies - *.iam
    Drawings - *.idw
    Presentations - *.ipn

    Could you create a really simple extrusion?  



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Dynamics / Mousetrap

    http://intro1201.blogspot.com/2015/03/dynamics.html

    A car drives for one hour at 60 miles/hour.  How far has it gone?

    change in position = (average velocity)* (change in time) = (60 miles/hours)*(1 hour) = 60 miles.

    Think about the graphs & how they relate to one another.

    position vs. time graph → velocity = slope = ds/dt = change in position / change in time

    Velocity vs. time graph →position =  vel * time = (mph*hours = miles) = area under curve

    Velocity vs. time graph → acceleration = dV/dt = change in velocity / change in time = slope of V-t line

    Acceleration vs. time graph → adt = dv  (a = dv/dt), area under acceleration curve = change in velocity.


    Given a position vs. time graph - can you sketch the shape of a velocity graph?

    Given a velocity vs. time graph - could you sketch a position and acceleration graph?

    Given an acceleration graph - can you sketch x(t) and v(t)?

    Examples:





    Practice - sketch in the general shape of the missing graphs:
     

    1.


     2.


    3.



    If there are errors in your position vs. time data, what kinds of errors will you have in your velocity and acceleration data?  How do you fix these errors?

    Running Man simulation - practice X,V,a!

    https://phet.colorado.edu/en/simulation/moving-man
    Turn all but one of the graphs off (click the "+" next to it), try to predict it, then turn the graphs back on to check your answer!  Drag the arrows next to velocity and acceleration, or just grab the running man and pull him around.


    Ans: Don't look until you try it on your own!






     

    Mathematica:
    http://intro1201.blogspot.com/2015/03/computer-tools-for-engrs.html


    How to input data:

    Function[square bracket, arguments separated with commas]

    Sin[2.3]
    Plus[2,2] = 2+2
    Mean[{30, 34, 29, 15}]

    Solve:
    use "==" - two equal symbols

    Solve[x^2-5x+6==0, x]  (shift + enter)
    {{x-2}, {x-3}}

    Solve[x^2+x+1==0, x]//N
    //N - gives answer in numerical form
    {{x-.5-.86i},{x-.5+.86i}}

    Solve[a*x^2 + b*x + c==0, x]
    x = quadratic formula

    Solve system of equations - use {}
    Solve[{3 x + 2 y ==15, 3*x - 3*y == 12}, {x, y}]//N


    What can you do if there is no analytic solution?  (If Solve does not work?)

    Graphing:


    Points:
    ListLinePlot[{{1,2}, {3, 4}, {5,3}}]

    Plot[Sin[x]/x , {x, -9.4, 9.4}]
    Plot3D[Sin[x*y], {x, -Sqrt[3*Pi], Sqrt[3*Pi]}, {y, -Sqrt[3*Pi], Sqrt[3*Pi]}]


    *** Mathematica "help" resources - 

    help - documentation center- 10,000 pages of info on all the functions and examples and tutorials on how to use them.

    Project:

    Can you still list the 10 steps in the ENGRing method?

    PGR.BAT.DCCR.


    Go through the notes, email me if anything is confusing!