Zdolnosc Maszyny Sugi-94-259 Bonar

download Zdolnosc Maszyny Sugi-94-259 Bonar

of 10

Transcript of Zdolnosc Maszyny Sugi-94-259 Bonar

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    1/10

    SAS" Graphics Competition WinnerTop Award: Experienced Division

    andFirst Place: Best Presentation of Data-Experienced Division

    Chris BonarBoeing Commercial Airplane Group

    N/C Milling Machine Capability Study

    Resultant for all parts

    Average Deviation From Nominal0.0050.001

    0 .003

    0.0040.0000.004

    1587

    0.003?;1_ _: ' ~ ! t : t r t : " % ~ 0.001

    0.005

    y +

    L... r: -0 .002

    0.002

    x+

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    2/10

    -Color Stereographic Projection for a Machine CapabilITy Study

    Machine Capability Studies (MCSs) are used throughoutmanufacturing industries to help understand the naturalvariation of machine tools. This graph was developed foranalyzing the ~ u l t sfrom an MCS. The method usesSAS/GRAPH""GCONTOURprocedure to produce colorstereographic projections or "maps" of the variationwithin test parts. These maps can reveal interactionsbetween machine axes that are otherwise hidden usingconventional techniques.

    The data is from three test parts used during the MCS.The parts were dome shaped (Figure I) to test themachine's multiple axes capability.

    T86t Part

    Figure I

    Each part was probed on a Coordinate MeasuringMachine (CMM), which provided measurements in termsof theoretical vs. actual X, Y and Z coordinates. Sincethe shape of the part is in theory a perfect hemisPberewith a radius of 1.500 inches, a comparison of the actualradius value computed from the X, Y and Z componentscan be made by subtracting one from the other. Thus, forany point on the hemisphere's surface, the actual radius,Ro, can be subtracted from the theoretical radius, R t (=l.'SOO),obtaining the difference in terms of deviationfrom nominal. For example, i f Ra = 1.498, then 1.498 -1.500 = -.OOZ inches (undersize in this case). Each parthad 649 measured points and these were converted intodeviations from nominal, or resultant values

    FigureZ

    Since thepart area being tested was a hemisphere,contour mapping techniques could be used to project thisshape onto a flat plane. Contour lines could then bedrawn on this map to depict changes in elevation. APolar Sterographic projection was selected from dozens of

    1588

    different projection methods because it is an equal areaprojection technique, which is valid for statistical studies.

    A Polar Stereographic Projection (Figure Z)isaccomplished by constructing a line from the base of thesphere (South Pole) to the point of interest and extendingit to the point of intersection with a plane tangent to thetop of the sphere (North Pole).

    For any point A (Figure 3), the projected position A'will have coordinate values on the projection plane(Figure 4) given by: .

    x = 2RS .. . (I t ). sin l.4 2

    Y=2RS . . (I t ) cml.4 2

    Where: ~ = Angle of Latitude in radiansA.= Angle of Longitude in radiansR = Spherical radiusS = Scaling factor (l=full size)

    PIaoe of projectioa PLA'

    Figure 3

    xH - i + B f f i t + - l . -

    1Ptuw ofPhjedian

    Figure 4

    On the plot, it was necessary to use color because twoerror conditions could exisl In one condition the partcould be undersize. Shades of red were used to depictthis. The other condition is when the part is oversize.Blue was used to depict this. I f he part is to size

    (nominal) then it is white.On the plot, the very center represents the top of the part,or North Pole. The concentric rings represent lines oflatitude, with the outermost ring being the Equator. Thecoordinate system for the machine is identified to theright of the plOl

    The plot shows areas of both undersize and oversizeconditions. It shows that the tops of the parts were cutoversize, yet no more than +.003. What stands out thoughis the area cut undersize in the 3rd quadranl It happens inan area when bothX and Y axis are in motion.

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    3/10

    Sample of the raw data

    NUM XN YN ZN X Y Z D1 1 . 5000 0 . 0 0 0 0 3 . 0 0 0 0 1 . 4 9 9 6 - 0 . 0 0 1 0 2 . 9 9 9 4 - 0 . 0 0 0 42 1 . 4942 0 . 0 0 0 0 3 . 1 3 1 2 1 . 4 9 3 6 - 0 . 0 0 1 8 3 . 1 3 1 0 - 0 . 0 0 0 73 1 . 4 7 7 1 0 . 0 0 0 0 3 .2 6 1 4 1 . 4 7 6 2 - 0 . 0 0 2 0 3 . 2 6 11 - 0 . 0 0 0 94 1 . 4 4 8 5 0 . 0 0 0 0 3 . 3896 1 . 4 4 7 5 - 0 . 0 0 2 0 3 . 3 8 9 3 - 0 . 0 0 115 1 . 4089 0 . 0 0 0 0 3 . 5 1 4 8 1 . 4080 - 0 . 0 0 1 8 3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0 5 0 0 0 - 1 . 95 - . 0 0 1 8 2 8 831 0 . 0 0 0 0 0 - 1 . 9 5 - . 0 0 1 7 7 9 132 0 . 0 5 0 0 0 - 1 . 95 - . 0 0 1 7 7 0 733 0 . 1 0 0 0 0 - 1 . 95 - . 0 0 1 7 6 9 234 0 . 1 5 0 0 0 - 1 . 9 5 - . 0 0 1 7 4 1 735 0 . 2 0 0 0 0 - 1 . 95 - . 0 0 1 6 9 9 036 0 . 2 5 0 0 0 - 1 . 95 - . 0 0 1 6 5 3 237 0 . 3 0 0 0 0 - 1 . 95 - . 0 0 1 6 1 1 238 0 . 3 5 0 0 0 - 1 . 95 - . 0 0 1 5 7 4 139 0 . 4 0 0 0 0 - 1 . 9 5 - . 0 0 1 5 4 0 340 0 . 4 5 0 0 0 - 1 . 9 5 - . 0 0 1 5 0 4 441 0 . 5 0 0 0 0 - 1 . 9 5 - . 0 0 1 4 6 3 742 0 . 5 5 0 0 0 - 1 . 9 5 - . 0 0 1 4 2 0 843 0 . 6 0 0 0 0 - 1 . 95 - . 0 0 1 3 8 2 044 - 0 . 7 5 0 0 0 - 1 . 90 - . 0 0 1 9 8 7 2

    45 - 0 . 7 0 0 0 0 - 1 . 90 - . 0 0 1 9 9 1 846 - 0 . 6 5 0 0 0 - 1 . 90 - . 0 0 1 9 9 6 547 - 0 . 6 0 0 0 0 - 1 . 90 - . 0 0 1 9 9 8 7

    1590

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    5/10

    Code for generating contour plots

    For this MCS, three test parts were used. Each part had it's surfaced probed in the following manner:Th e domed surface (hemisphere) was defined in terms of curves, each curve represented a line oflongitude, starting at the middle (Equator) and ending at the top (North Pole). See Figure 1 below.

    )o..---CIJrve #2

    Figure 1

    - - ~

    IL _

    - - ~

    IL _

    36 curves were defined around the part in 10 increments, with curve #1 =O longitude, curve #2 = 10and so on moving counterclockwise around the part. Inspection points were defined along each curve in5 increments of Latitude. Each part was measured twice at each point, which resulted in 1368measured values. Note: the top of the part was measured for each curve, and so there was 72measurements of the top. The rest of the part had 648 points, or 1296 measurements, for a total of 1368.

    The Program

    Three raw datasets are inputted in this macro. Each dataset has theoretical and actual X,Y and Zcoordinate values and a reference number (num) for the latitude. The raw data is presorted by longitude(curve#).

    %MACRO i n ;DATA REP&n;

    INFILE "DOME&n " ;INPUT num xn yn zn x y z d ;

    (convert num into latitudes)l a t = (num*5)-5 ;

    (the difference in radius values is calculated)

    r& n=

    ( (x**2+y**2+(z -1 .5 )**2)** .5 ) -( (xn**2+yn**2+(zn- l .5 )**2)** .5 ) ;KEEP l a t r&n;

    1591

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    6/10

    Assign curve and sub-sample numbers to raw data values. Convert curve #'s 10 longitude values

    DATA REP&n;MERGE REP&n LABEL;IF C r y >= 1 an d C r y 10 an d C r y

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    7/10

    Projec t data points onto X-Y projection plane.

    DATA PROJECTD;SET RAW;x = 2 * ( t an ( .7 8 5 3 9 8 - l a t * 3 . 1 4 1 5 9 ) / 3 6 0 ) * s i n ( l o n * 3 . 1 4 1 5 9 / 1 8 0 ) ;

    y = -2 * ( t an ( .7 8 5 3 9 8 - l a t * 3 . 1 4 1 5 9 ) / 3 6 0 ) * c o s ( l o n * 3 . 1 4 1 5 9 / 1 8 0 ) ;

    Fit the data using G3grid.

    PROC G3GRID DATA=PROJECTD OUT=G30UT;GRID y * x = d e v r /

    .05 axis increment ca n be decreased for fmer resolution on the plot i f you have enough memory

    AXIS1 = -2 t o 2 by .05AXIS2 = -2 t o 2 by .05PARTIAL;

    Remove excess da ta points from outside the O Lat ring (G3GRID fills in a rectangular area with fittedpoints).

    DATA PLOTR;SET G30UT;r s q d = ( Y**2 + X**2)**.5;IF r s q d I e 2 . 0 5 ;DROP r s q d ;

    Prepare Annotation dataset, Note: there is a documented problem with HSYS='2', so I ha d to use '3'which is pecentage of the screen area.

    DATA GRID;LENGTH f u n c t i o n c o l o r s t y l e $8 t e x t $40;RETAIN x s y s y s y s hsys ' 3 ' s t y l e ' emp ty '

    x y 50 when ' A ' ;Latitude Rings

    f u n c t i o n = ' p i e ' ; r o t a t e = 360 ; l i n e = 3 ; c o l o r = ' b l a c k ' ;s i z e = 35;OUTPUT;s i z e = 32.07;OUTPUT;s i z e = 26.86;OUTPUT;s i z e = 20.21;OUTPUT;s i z e = 14.50;OUTPUT;s i z e = 9.38;OUTPUT;

    1593

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    8/10

    Longitude Linesfunc t ion= 'move ' ;x=2S; y=SO; OUTPUT;f u n c t i o n = ' d r a w ' ; x = 7 S ; y=SO; l i n e = l ; s i z e = l ;O U T P U T;func t ion= 'move ' ;x=SO; y=15; OUTPUT;f u n c t i o n = ' d r a w ' ; x =S O ; y=S8 .13 ; l i n e = l ; s i z e = l ;O U T P U T;func t ion= 'move ' ;x=SO; y=60 .63 ; OUTPUT;func t ion= 'd raw ' ;x=SO; y=63 .2S; l i n e = l ; s i z e = l ;O U T P U T;func t ion= 'move ' ;x=SO; y =6 S .7 S ; OUTPUT;func t ion= 'd raw ' ;x=SO; y = 6 8 . 9 6 ; l i n e = l ; s i z e = l ;O U T P U T;func t ion= 'move ' ;x=SO; y = 7 1 . 4 6 ; OUTPUT;func t ion= 'd raw ' ;x=SO; y=75 .61 ; l i n e = l ; s i z e = l ;O U T P U T;func t ion= 'move ' ;x=SO; y = 7 8 . 11 ; OUTPUT;f u n c t i o n = ' d r a w ' ; x =S O ; y = 8 0 . 8 2 ; l i n e ~ l ; s i z e = l ; O U T P U T ; func t ion= 'move ' ;x=SO; y=83 .32 ; OUTPUT;func t ion= 'd raw ' ;x=SO; y = 8 3 . 7 S ; l i n e = l ; s i z e = l ;O U T P U T;f u n c t i o n = ' m o v e ' ; x =3 2 . 3 2 ; y = 2 S . 2 S ; OUTPUT;f u n c t i o n = ' d r a w ' ; x = 6 7 . 6 8 ; y = 7 4 . 7 S ; l i n e = l ; s i z e = l ;O U T P U T;f u n c t i o n = ' m o v e ' ; x =3 2 . 3 2 ; y=74 .7S; OUTPUT;f u n c t i o n = ' d r a w ' ; x = 6 7 . 6 8 ; y =2 S .2 S ; l i n e = l ; s i z e = l ;O U T P U T;

    Label Latitude 60 'f u n c t i o n = ' p o l y ' ; x = 4 9 . 0 0 ; y = S 8 . 1 3 ;

    s t y l e = ' m s o l i d ' ; c o l o r = ' w h i t e ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=S8 .13 ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=60 .63 ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = 4 9 ; y=60 .63 ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' l a b e l ' ; x = S O ; y = S 9 . 8 8 ; t e x t = ' 6 0 ' ; s i z e = 1 . S ; p o s i t i o n = ' S ' ; s t yl e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; OUTPUT;p o s i t i o n = ' 5 ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    Label Latitude 45'f u n c t i o n = ' p o l y ' ; x = 4 9 . 0 0 ; y=63 .2S;s t y l e = ' m s o l i d ' ; c o l o r = ' w h i t e ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=63 .2S; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = 5 1 ; y =6 S .7 S ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = 4 9 ; y =6 S .7 S ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' l a b e l ' ; x = S O ; y = 6 S . 0 0 ; t e x t = ' 4 S ' ; s i z e = 1 . S ; p o s i t i o n = ' S ' ; s t yl e = ' sw i s s ' ; c o l o r = ' b l a c k ' ; OUT PUT;p o s i t i o n = ' 5 ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    Label Latitude 30 'f u n c t i o n = ' p o l y ' ; x = 4 9 . 0 0 ; y=68 .96 ;s t y l e = ' m s o l i d ' ; c o l o r = ' w h i t e ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = 5 1 ; y =6 8 . 9 6 ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y =7 1 . 4 6 ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = 4 9 ; y =7 1 . 4 6 ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' l a b e l ' ; x = S O ; y = 7 0 . 7 1 ; t e x t = ' 3 0 ' ; s i z e = 1 . S ;p o s i t i o n = ' 5 ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    Label Latitude 15'f u n c t i o n = ' p o l y ' ; x = 4 9 . 0 0 ; y=7S.61 ;s t y l e = ' m s o l i d ' ; c o l o r = ' w h i t e ' ; OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y = 7 S . 6 1 ; c o l o r = ' b l a c k ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' i x = S l i y=78 .11 i c o l o r = ' b l a c k ' i O U T P U Tif u n c t i o n = ' p o l y c o n t ' ; x = 4 9 ; y=78 .11 ; c o l o r = ' b l a c k ' ; O U T P U T;f u n c t i o n = ' l a b e l ' ; x = S O ; y = 7 7 . 3 6 ; t e x t = ' l S ' ; s i z e = 1 . S ;p o s i t i o n = ' S ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    1594

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    9/10

    Label Latitude 5 -f u n c t i o n = ' p o l y ' ; x = 4 9 . 0 0 ; y=80.82;s t y l e = ' m s o l i d ' ; c o l o r = ' w h i t e ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=80 .82 ; c o lo r = 'b l a c k ' ;O uT P U T;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=83.32; c o lo r = 'b l a c k ' ;O u T P U T;func t i on= ' p o l y c o n t ' ; x=49; y=83 . 32; co l o r= ' b l a c k ' ;OUTPUT;f u n c t i o n = ' l a b e l ' ; x = S O ; y = 8 2 . S 7 ; t e x t = ' S ' ; s i z e = 1 . S ;p o s i t i o n = ' S ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    Label Latitude Of u n c t i o n = ' p o l y ' ; x = 4 9 . 0 0 ; y=83 .7S;s t y l e = ' m s o l i d ' ; c o l o r = ' w h i t e ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=83 .7S; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = S l ; y=86 .2S; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = 4 9 ; y=86 .2S; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' l a b e l ' ; x = S O ; y = 8 S . S 0 ; t e x t = ' O ' ; s i z e = 1 . S ;p o s i t i o n = ' S ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    xc=80 ;yc=SO;

    (X position for coordinate system label)(Y position for coordinate system label)

    Label coordinate systemf u n c t i o n = ' m o v e ' ; x = x c ; y=yc+l0 ; OUTPUT;f u n c t i o n = ' d r a w ' ; x = x c ; y=yc ; l ine=1;size=4;OUTPUT;f u n c t i o n = ' d r a w ' ; x = x c + 7 ; y=yc ; l ine=1;size=4;OUTPUT;f u n c t i o n = ' p o l y ' ; x = x c ; y=yc+l0;s t y l e = ' m s o l i d ' ; c o l o r = ' b l a c k ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = x c - . S ; y=yc+8; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = x c + . S ; y=yc+8; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y ' ; x = x c + 7 ; y=yc ;s t y l e = ' m s o l i d ' ; c o l o r = ' b l a c k ' ; O U T P U T;f u n c t i o n = ' p o l y c o n t ' ; x = x c + S . S ; y=yc+ .7S; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' p o l y c o n t ' ; x = x c + S . S ; y = y c - .7 S ; co lo r= 'b lack ' ;OUTPUT;f u n c t i o n = ' l a b e l ' ; x = x c ; y = y c + 1 3 ; t e x t = ' Y + ' ; s i z e = 2 ;p o s i t i o n = ' S ' ; s t y l e = ' s w i s s ' ; c o l o r = ' b l a c k ' ; O U T P U T;

    f u n c t io n = ' l a b e l '; x = x c + l 0 ; y = y c + . S ; t e x t = 'X + ' ; s i z e = 2 ;p o s i t io n = ' S ' ; s ty l e = ' s w i s s '; c o l o r = 'b l a c k ' ;O U T P U T;DROP XC YC;

    Annotate dataset for footnote and title;DROP t e x t ;LENGTH f u n c t i o n c o l o r s t y l e $8 t e x t $40;RETAIN x s y s y s y s h s y s ' 3 ' s t y l e ' s w i s s ' c o l o r ' b l a c k 'x y 50 when 'A ' s i z e 3 f u n c t i o n ' l a b e l ' p o s i t i o n ' 5 ' ;x = SO ; y = 1 0 ; t ex t = ' Av e rag e D ev i a t i o n From Nomina l ' ; OUTPUT;x = S O ; y = 9 1 ; t e x t = ' R e s u l t a n t f o r a l l p a r t s ' ; OUTPUT;

    Combine annotate datasets

    DATA a n n o ;SET g r i d t e x t ;RUN;

    1595

  • 8/2/2019 Zdolnosc Maszyny Sugi-94-259 Bonar

    10/10

    Set graphics options. "HPCOLOR" is a modified version of. Output is sent to a file, and then laterrouted to a color printer on the LAN.

    GOPTIONS RESET=all DEVICE=hpcolor FTEXT=swissGSFMODE=replace GACCESS='sasgastd>pr123';

    PATTERN1 V=s C=red;PATTERN2 V=s C=vdep;PATTERN3 V=s C=vlip ;PATTERN4 V=s C=dav;PATTERNS V=s C=blb;PATTERN6 V=s C=white;PATTERN? V=s C=vdabg;PATTERNS V=s C=vlibg;PATTERN9 V=s C=vilg ;PATTERN10 V=s C=cyan;PATTERN11 V=s C=blue;

    TITLE1 H=3 'N/C Mil l ing Machine C a p a b i l i t y Study ' ;

    LEGEND1 LABEL=none ACROSS=4 DOWN=3 FRAME ;

    AXIS1 ORIGIN=(25,15)pct LENGTH=50pct C=whiteMAJOR=none VALUE=none LABEL=none ;

    AXIS2 ORIGIN=(25,15)pct LENGTH=?Opct C=whiteMAJOR=none VALUE=none LABEL=none;

    Create the plot

    PROC GCONTOUR DATA = p I o t r ;PLOT X

    *

    Y = devr / PATTERN ANNO=annoHAXIS = ax i s1 VAXIS = axis2 LEGEND=legend1LEVELS = - .005 t o .005 by .001;

    RUN;

    1596