control de calidad con - la molinafmendiburu/index-filer/presentations/… · control de calidad...

33
Control de calidad con … First samples Group Group summary statistics 0.0 0.1 0.2 0.3 0.4 0.5 1 4 7 11 15 19 23 27 LCL UCL Second sample Group 31 39 47 55 63 71 79 87 LCL UCL Calibration data in D[trial] New data in D[!trial] Felipe de Mendiburu

Upload: others

Post on 07-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Control

de calidad

con …

First samples

Group

Group summary statistics

0.0

0.1

0.2

0.3

0.4

0.5

1 4 7 11 15 19 23 27

LCL

UCL

Second sample

Group

31 39 47 55 63 71 79 87

LCL

UCL

Calibration data in D[trial]New data in D[!trial]

Felipe de Mendiburu

Diagrama de Causa - Efecto

Falla el termostado

Materiales

Metodos

Mano.Obra

Maquinas

Materia prima defectuosa

Defectos de armado

Material descalibrado

Falta de capacitacion

Falta de compromiso

Inspeccion deficiente

Falta de instruccion

Diseño indadecuado

Soldador inadecuado

Patron desequilibrado

cause.and.effect( cause=list(Materiales=c("Materia prima defectuosa", "Defectos de armado", "Material escalibrado"),

Mano.Obra=c("Falta de capacitacion", "Falta de compromiso"),Metodos=c("Inspeccion deficiente", "Falta

de instruccion", "Diseño indadecuado"),Maquinas=c("Soldador inadecuado", "Patron desequilibrado")) ,

effect="Falla el termostado", title= " Diagrama de Causa - Efecto", cex = c(1.5, 0.9, 1.5), font = c(4,1,4))

Argumentos de la funcion qqc()

xbar.one Chartfor x

Group

Group summary statistics

32.5

33.0

33.5

34.0

34.5

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

LCL

UCL

Number of groups = 15Center = 33.52333StdDev = 0.4261651

LCL = 32.24484UCL = 34.80183

Number beyond limits = 0Number violating runs = 0

x <- c(33.75, 33.05, 34, 33.8 , …….)

qcc(x, type="xbar.one")

Copy

Paste

Excel: pistones.xls Text: pistones.txt

En R: > pistones <- read.table(“pistones.txt”,header=T)

xbar Chartfor diameter

Group

Group summary statistics

73.990

73.995

74.000

74.005

74.010

74.015

74.020

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39

LCL

UCL

Number of groups = 40Center = 74.0036StdDev = 0.009992449

LCL = 73.9902UCL = 74.01701

Number beyond limits = 2Number violating runs = 3

> qcc(diameter, type="xbar")

> qcc(diameter, type="xbar")

Call:

qcc(data = diameter, type = "xbar")

xbar chart for diameter

Summary of group statistics:

Min. 1st Qu. Median Mean 3rd Qu. Max.

73.99 74.00 74.00 74.00 74.01 74.02

Group sample size: 5

Number of groups: 40

Center of group statistics: 74.0036

Standard deviation: 0.00999245

Control limits:

LCL UCL

73.9902 74.01701

Eliminando algunas observaciones para tener

muestras con diferentes tamaños:

> salen <- c(9, 10, 30, 35, 45, 64, 65, 74, 75, 85, 99, 100)

Otras ordenes:

> qcc(diameter[1:25,], type="xbar", newdata=diameter[26:40,], nsigmas=2)

> qcc(diameter[1:25,], type="xbar", newdata=diameter[26:40,],

confidence.level=0.99)

Ordenes para hacer las cartas:

> salen <- c(9, 10, 30, 35, 45, 64, 65, 74, 75, 85, 99, 100)

> diameter <- qcc.groups(pistones$diameter[-salen], sample[-

salen])

> qcc(diameter[1:25,], type="xbar")

> qcc(diameter[1:25,], type="R")

> qcc(diameter[1:25,], type="S")

> qcc(diameter[1:25,], type="xbar", newdata=diameter[26:40,])

> qcc(diameter[1:25,], type="R", newdata=diameter[26:40,])

> qcc(diameter[1:25,], type="S", newdata=diameter[26:40,])

xbar Chartfor diameter[1:25, ]

Group

Group summary statistics

73.985

73.995

74.005

74.015

1 2 3 4 5 6 7 8 9 10 12 14 16 18 20 22 24

LCL

UCL

Number of groups = 25Center = 74.00075StdDev = 0.01013948

LCL is variableUCL is variable

Number beyond limits = 0Number violating runs = 0

R Chartfor diameter[1:25, ]

Group

Group summary statistics

0.00

0.01

0.02

0.03

0.04

0.05

1 2 3 4 5 6 7 8 9 10 12 14 16 18 20 22 24

LCL

UCL

Number of groups = 25Center = 0.02230088StdDev = 0.01013948

LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0UCL is variable

Number beyond limits = 0Number violating runs = 2

S Chartfor diameter[1:25, ]

Group

Group summary statistics

0.000

0.005

0.010

0.015

0.020

1 2 3 4 5 6 7 8 9 10 12 14 16 18 20 22 24

LCL

UCL

Number of groups = 25Center = 0.00938731StdDev = 0.01013948

LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0UCL is variable

Number beyond limits = 0Number violating runs = 1

xbar Chartfor diameter[1:25, ] and diameter[26:40, ]

Group

Group summary statistics

73.99

74.00

74.01

74.02

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39

LCL

UCL

Calibration data in diameter[1:25, ] New data in diameter[26:40, ]

Number of groups = 40Center = 74.00075StdDev = 0.01013948

LCL is variableUCL is variable

Number beyond limits = 3Number violating runs = 1

R Chartfor diameter[1:25, ] and diameter[26:40, ]

Group

Group summary statistics

0.00

0.01

0.02

0.03

0.04

0.05

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39

LCL

UCL

Calibration data in diameter[1:25, ] New data in diameter[26:40, ]

Number of groups = 40Center = 0.02230088StdDev = 0.01013948

LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0UCL is variable

Number beyond limits = 0Number violating runs = 2

S Chartfor diameter[1:25, ] and diameter[26:40, ]

Group

Group summary statistics

0.000

0.005

0.010

0.015

0.020

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39

LCL

UCL

Calibration data in diameter[1:25, ] New data in diameter[26:40, ]

Number of groups = 40Center = 0.00938731StdDev = 0.01013948

LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0LCL = 0UCL is variable

Number beyond limits = 0Number violating runs = 1

ATRIBUTOS

p Chartfor D[trial]

Group

Group summary statistics

0.1

0.2

0.3

0.4

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29

LCL

UCL

Number of groups = 30Center = 0.2313333StdDev = 0.421685

LCL = 0.05242755UCL = 0.4102391

Number beyond limits = 2Number violating runs = 0

p Chartfor D[inc]

Group

Group summary statistics

0.05

0.10

0.15

0.20

0.25

0.30

0.35

0.40

1 2 3 4 5 6 7 8 9 11 13 15 17 19 21 23 25 27

LCL

UCL

Number of groups = 28Center = 0.215StdDev = 0.4108223

LCL = 0.04070284UCL = 0.3892972

Number beyond limits = 1Number violating runs = 1

p Chartfor D[inc] and D[!trial]

Group

Group summary statistics

0.05

0.10

0.15

0.20

0.25

0.30

0.35

0.40

1 3 5 7 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51

LCL

UCL

Calibration data in D[inc] New data in D[!trial]

Number of groups = 52Center = 0.215StdDev = 0.4108223

LCL = 0.04070284UCL = 0.3892972

Number beyond limits = 2Number violating runs = 2

> q1 <- qcc(D[inc], sizes=size[inc], type="c")

> c Chartfor D[inc]

Group

Group summary statistics

02

46

810

12

31 33 35 37 39 41 43 46 48 50 52 55 57 59

LCL

UCL

Number of groups = 28Center = 5.714286StdDev = 2.390457

LCL = 0UCL = 12.88566

Number beyond limits = 0Number violating runs = 0

Carta U

Datos de clase

u Chartfor Defectos

Group

Group summary statistics

0.0

0.5

1.0

1.5

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29

LCL

UCL

Number of groups = 30Center = 0.4235925StdDev = 2.594075

LCL is variableUCL is variable

Number beyond limits = 1Number violating runs = 1

> attach(datos)

> qcc(Defectos,Unidades, type="u")

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

OC curves for xbar chart

Process shift (std.dev)

Prob. type II error

n = 5n = 1n = 10n = 15n = 20

contact num.

price code

supplier code

part num.

schedule date

Pareto Chart for defect

Error frequency

050

100

150

200

250

300

0%

25%

50%

75%

100%

Cumulative Percentage

Process Capability Analysisfor diameter[1:25, ]

73.94 73.96 73.98 74.00 74.02 74.04 74.06

LSL USLTarget

Number of obs = 125Center = 74.00305StdDev = 0.01171394

Target = 74LSL = 73.95USL = 74.05

Cp = 1.42Cp_l = 1.51Cp_u = 1.34Cp_k = 1.34Cpm = 1.38

Exp<LSL 0%Exp>USL 0%Obs<LSL 0%Obs>USL 0%

q <- qcc(diameter[1:25,], type="xbar", nsigmas=3, plot=FALSE)

process.capability(q, spec.limits=c(73.95,74.05))

xbar Chartfor diameter[1:25, ]

Group

Group summary statistics

73.990

74.010

1 3 5 7 9 11 14 17 20 23

LCL

UCL

R Chartfor diameter[1:25, ]

Group

Group summary statistics

0.00

0.03

1 3 5 7 9 11 14 17 20 23

LCL

UCL

5 10 15 20 25

73.99

74.02

Run chart

Group

diameter[1:25, ]

Process Capability Analysisfor diameter[1:25, ]

73.94 74.00 74.06

LSL USLTarget

-2 0 1 2

73.99

74.02

Normal Q-Q Plot

Theoretical Quantiles

Sample Quantiles

Capability plot

73.85 73.95 74.05

Specification limits

Process tolerance

Center = 74.00282StdDev = 0.01142625Target = 74Cp = 1.46Cp_k = 1.38Cpm = 1.42

> q <- qcc(diameter[1:25,], type="xbar", nsigmas=3, plot=FALSE)

> process.capability.sixpack(q, spec.limits=c(73.95,74.05))

> q <- qcc(diameter[1:25,], type="xbar", nsigmas=3, plot=FALSE)

> cusum(q)

Cusum Chartfor diameter[1:25, ]

Group

1 2 3 4 5 6 7 8 9 11 13 15 17 19 21 23 25

-5-4

-3-2

-10

12

34

5

Cumulative Sum Above Target

Below Target

LDB

UDB

Number of groups = 25Target = 74.00282StdDev = 0.01142625

Decision boundaries (std. err.) = 5Shift detection (std. err.) = 1No. of points beyond boundaries = 0

xbar Chartfor diameter[1:25, ]

Group

Group summary statistics

73.990

74.010

1 3 5 7 9 11 14 17 20 23

LCL

UCL

R Chartfor diameter[1:25, ]

Group

Group summary statistics

0.00

0.03

1 3 5 7 9 11 14 17 20 23

LCL

UCL

5 10 15 20 25

73.99

74.02

Run chart

Group

diameter[1:25, ]

Process Capability Analysisfor diameter[1:25, ]

73.94 74.00 74.06

LSL USLTarget

-2 0 1 2

73.99

74.02

Normal Q-Q Plot

Theoretical Quantiles

Sample Quantiles

Capability plot

73.85 73.95 74.05

Specification limits

Process tolerance

Center = 74.00282StdDev = 0.01142625Target = 74Cp = 1.46Cp_k = 1.38Cpm = 1.42

> q <- qcc(diameter[1:25,], type="xbar", nsigmas=3, plot=FALSE)

> process.capability.sixpack(q, spec.limits=c(73.95,74.05))

> q <- qcc(diameter[1:25,], type="xbar", nsigmas=3, plot=FALSE)

> ewma(q, lambda=0.2)

EWMA Chartfor diameter[1:25, ]

Group

Group Summary Statistics

1 2 3 4 5 6 7 8 9 11 13 15 17 19 21 23 25

73.995

74.000

74.005

74.010

Number of groups = 25Target = 74.00282StdDev = 0.01142625

Smoothing parameter = 0.2Control limits at 3*sigma