![Page 1: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/1.jpg)
Heng ChangChinese Culture University
![Page 2: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/2.jpg)
![Page 3: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/3.jpg)
Front Panel• Controls = Inputs• Indicators = Outputs
Block Diagram• Accompanying “program” for front
panel• Components “wired” together
LabVIEW Programs Are Called Virtual Instruments (VIs)
![Page 4: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/4.jpg)
VI Front PanelFront Panel Toolbar
GraphLegend
BooleanControl
WaveformGraph
Icon
PlotLegend
ScaleLegend
![Page 5: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/5.jpg)
VI Block Diagram
Wire Data
GraphTerminal
SubVI
While LoopStructure
Block Diagram Toolbar Divide
Function
Numeric Constant
Timing Function
Boolean Control Terminal
![Page 6: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/6.jpg)
Express VIs, VIs and Functions• Express VIs: interactive VIs with configurable dialog page• Standard VIs: modularized VIs customized by wiring• Functions: fundamental operating elements of
LabVIEW; no front panel or block diagram
Express VIExpress VI Standard Standard VIVI
FunctionFunction
![Page 7: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/7.jpg)
Controls and Functions Palettes
Controls Palette (Front Panel Window)
Functions Palette (Block Diagram Window)
![Page 8: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/8.jpg)
ControlTerminals
Block Diagram Window
Front Panel Window
Indicator Terminals
Creating a VI
![Page 9: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/9.jpg)
• Block diagram executes dependent on the flow of data; block diagram does NOT execute left to right
• Node executes when data is available to ALL input terminals
• Nodes supply data to all output terminals when done
Dataflow Programming
![Page 10: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/10.jpg)
Section II – SubVIs
What is a subVI? Making an icon and
connector for a subVI
Using a VI as a subVI
![Page 11: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/11.jpg)
Block Diagram NodesIcon Expandable Node Expanded Node
• Function Generator VI• Same VI, viewed three different ways• Yellow field designates a standard VI• Blue field designates an Express VI
![Page 12: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/12.jpg)
SubVIs Sub VIsSub VIs
![Page 13: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/13.jpg)
Section III – Data Acquisition
Data acquisition (DAQ) basics Connecting Signals Simple DAQ application
Computer
DAQ Device
Terminal Block
Cable
Sensors
![Page 14: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/14.jpg)
Data Acquisition in LabVIEW
Traditional NI-DAQSpecific VIs for performing:• Analog Input• Analog Output• Digital I/O• Counter operations
NI-DAQmxNext generation driver: • VIs for performing a
task• One set of VIs for all
measurement types
![Page 15: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/15.jpg)
Hardware Connections
BNC-2120
SCB-68
NI-ELVIS
SC-2075
![Page 16: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/16.jpg)
Charts
Waveform chart – special numeric indicator that can display a history of values
Controls >> Graph Indicators >> Waveform Chart
![Page 17: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/17.jpg)
Acceptance Sampling Plans Acceptance sampling plan is a
statement regarding the required sample size for product inspection and the associated acceptance or rejection criteria for sentencing each individual lot.
![Page 18: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/18.jpg)
Graphs Selected from the Graph palette of Controls menuControls>>All Controls>>Graphs
Waveform GraphWaveform Graph – Plot an array of – Plot an array of numbers against their indicesnumbers against their indicesExpress XY GraphExpress XY Graph – Plot one array against – Plot one array against anotheranotherDigital Waveform GraphDigital Waveform Graph – Plot bits from – Plot bits from binary databinary data
![Page 19: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/19.jpg)
Acceptance Sampling Defined
Acceptance Sampling is a form of inspection that is used to determine whether or not goods are coherent with a set standard of quality
![Page 20: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/20.jpg)
Risks of Acceptance Sampling
Producers Risk The risk associated with a producer
rejecting a lot of materials that actually have good quality Also referred to as a Type I Error
![Page 21: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/21.jpg)
Risks of Acceptance Sampling
Consumers Risk The risk associated with a consumer
accepting a lot of materials that actually have poor quality Also referred to as a Type II Error
![Page 22: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/22.jpg)
Acceptance Sampling
Acceptance sampling is a process that helps to determine whether to accept or reject the sample being observed
![Page 23: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/23.jpg)
Typical Application of Acceptance Sampling
The decision to accept or reject the shipment is based on the following set standards: Lot size = N Sample size = n Acceptance number = c Defective items = d
If d <= c, accept lot If d > c, reject lot
![Page 24: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/24.jpg)
Acceptance Sampling
Acceptance sampling is a method used to accept or reject product based on a random sample of the product.
The most effective use of acceptance sampling is as an auditing tool to help ensure that the output of a process meets requirements.
![Page 25: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/25.jpg)
Producers risk refers to the probability of rejecting a good lot. In order to calculate this probability there must be a numerical definition as to what constitutes “good” AQL (Acceptable Quality Level) - the
numerical definition of a good lot. The ANSI/ASQC standard describes AQL as “the maximum percentage or proportion of nonconforming items or number of nonconformities in a batch that can be considered satisfactory as a process average”
![Page 26: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/26.jpg)
Consumers Risk refers to the probability of accepting a bad lot where: LTPD (Lot Tolerance Percent Defective) -
the numerical definition of a bad lot described by the ANSI/ASQC standard as “the percentage or proportion of nonconforming items or noncomformities in a batch for which the customer wishes the probability of acceptance to be a specified low value.
![Page 27: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/27.jpg)
Operating Characteristic Curve The Operating Characteristic Curve
(OC Curve) is typically used to represent the four parameters (Producers Risk, Consumers Risk, AQL and LTPD) of the sampling plan as shown below where the P on the x axis represents the percent defective in the lot:
![Page 28: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/28.jpg)
Operating Characteristic Curve for AQL=.020, α = 0.05, LTPD= 0.80, β = 0.10
![Page 29: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/29.jpg)
Developing a Sampling Plan for Variables Control Limits
Points on an acceptance sampling chart that distinguish the accept and reject region(s).
Also, the points on a process control chart that distinguish between a process being in or out of control.
Factors to Consider in Designing a Plan The probability of rejecting a good lot (α error) The probability of accepting bad lot (β error) The size of the sample (n)
![Page 30: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/30.jpg)
Fundamentals of Operations Management 4e© The McGraw-Hill Companies, Inc., 2003 S6–30
Establishing Control Limits for Acceptance Sampling Using Variables
Exhibit S6.13Exhibit S6.13
![Page 31: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/31.jpg)
Fundamentals of Operations Management 4e© The McGraw-Hill Companies, Inc., 2003 S6–31
Determining the Probability of Committing a Type II error (β error)
Exhibit S6.14Exhibit S6.14
![Page 32: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/32.jpg)
Acceptance Sampling Plans by Variables Controlling a process parameter such
as the mean or standard deviation. The desirable settings of the parameters
are such that certain conditions regarding the mean lot quality and the corresponding probability of lot acceptance are satisfied.
![Page 33: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/33.jpg)
Acceptance Sampling Plans by Variables (cont.) Controlling the proportion of the
product that is nonconforming. Single or double specification limits and
a process variability that is known or unknown can be used to determine the plans.
![Page 34: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/34.jpg)
Operating Characteristic (OC) Curve The OC curve plots the probability the probability of
accepting the lot against actual lot lot fraction defectivefraction defective, which displays the discriminatory power of the sampling plan.
The vendor (supplier) usually would focus on a specification of product quality, traditionally called acceptable acceptable quality level (AQL), quality level (AQL), which would yield a high probability for accepting a lot.
![Page 35: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/35.jpg)
Operating Characteristic (OC) Curve (cont.) The consumer would also focus on another
point at the other end of the OC curve, traditionally called lot tolerance percent lot tolerance percent defective (LTPD), rejecting quality level defective (LTPD), rejecting quality level (RQL) or limiting quality level (LQL).(RQL) or limiting quality level (LQL).
Note that the AQL is a level of quality representing the specified high probability of acceptance of accepting a lot, and on the other hand a low probability of lot acceptance is given to a lot with defect level as high as the LTPD.
![Page 36: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/36.jpg)
Controlling Process Averagesingle specification limit and known process standard deviation
Suppose the lower specification limit for a process is specified. A variable sampling plan may call for selecting a random sample of size n from the lot. The sample average is then calculated. If the sample average is less than the acceptance limit , the lot is rejected; otherwise, the lot is accepted.
aX
![Page 37: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/37.jpg)
OC Curve of Controlling Process Average
![Page 38: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/38.jpg)
Controlling the Proportion Nonconforming of a Lot The probability of rejecting lots of a good
quality level for which the proportion nonconforming is p p11 should be equal to αα. The probability of accepting lots of a poor quality level for which the proportion nonconforming is pp22 should be equal to ββ.
With Form 1, the standard normal deviate, ZL or ZU, is compared to a critical value k. If ZL or ZU is greater than or equal to k, the lot is accepted; otherwise, the lot is rejected.
![Page 39: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/39.jpg)
OC Curve of Lot Proportion Nonconforming
![Page 40: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/40.jpg)
Conclusions
Acceptance sampling plan by variables consists of specifying the sample size n and an acceptance criterion.
Generally, the acceptance probability is independent of the variance and sample size.
And, the sample size is independent of the variance.
![Page 41: TALK 2013-3-7 Design of Acceptance Sampling Plans by Variables](https://reader036.vdocuments.us/reader036/viewer/2022062523/577ccf091a28ab9e788eb70d/html5/thumbnails/41.jpg)
Discussion, Q&A