HP  5526A Operating Note And Program Listings
HP  5526A Operating Note And Program Listings

HP 5526A Operating Note And Program Listings

Laser metrology package

Advertisement

Hewlett-Packard
Laser Metrology Package
OPERATING NOTE and Program LISTINGS
*HP 5526A
*HP 9825A
*HP 9872A

Advertisement

Table of Contents
loading

Summary of Contents for HP HP 5526A

  • Page 1 Hewlett-Packard Laser Metrology Package OPERATING NOTE and Program LISTINGS *HP 5526A *HP 9825A *HP 9872A...
  • Page 2: Table Of Contents

    TABLE OF CONTENTS Introduction............1 Hardware Description ..........1 Basic software description and operation ......2 Individual Software Programs........5 Initialization Program (Program 0) ....... 5 Surface Plate Calibration (Program I) ......6 Introduction ........... 6 Operation ............6 Example I ............9 Isometric Data Plot (Program II) ........
  • Page 3: Introduction

    The 9825A Laser Metrology Package provides data acquisition, reduction, and graphic display of several common error measurements performed by the HP 5526A Laser Measurement System. The programs were adapted to the 9825A Desktop Computer because of its flexibility and programming ease. These programs can be modified or new ones created by the user to solve unique problems.
  • Page 4: Basic Software Description And Operation

    Basic software description and operation The 9825A Metrology Program Package has eight metrology programs and 28 data storage files. The available programs are described in later sections. Data storage files 1 thru 19 are available for storing user-generated data. Any data storage file may be reused by storing the new data over the old, previously stored data.
  • Page 5 Figure 1 System configuration...
  • Page 6 For a linear measurement, this correction factor is: Units Display Mode English Metric λ/4 NORMAL A thorough familiarity with the 9825A is required before any program modifications should be attempted.
  • Page 7: Individual Software Programs

    Individual Software Programs Initialization Program (Program 0) The first program located on the 9825A Metrology Program Cartridge is the Initialization Program. This program is read into the 9825A Calculator when the calculator is turned on. The purpose of the initialization program is to set up specific measurement and data presentation conditions inside the 9825A Calculator before a metrology program is run.
  • Page 8: Surface Plate Calibration (Program I)

    Surface Plate Calibration (Program 1) (Used with Angular Optics) Introduction This program accepts data from the 5526A Angular Optics and computes the flatness contours of a surface plate. Once the calculations have been-made, the results can be listed on the calculator printer and/or stored on the data cartridge for future use by Programs II and III.
  • Page 9 3. Data via 5526 (0) or Keyboard (1)? Indicate how data is to be sent to calculator. If transfer is over the interface direct from the Laser Display, answer "0". If data is hand entered into the calculator keyboard, answer (1). (Default = 5526).
  • Page 10 7. Data? This question is asked for each data point to be entered on the calcu- lator keyboard during hand entry. Press CONTINUE after each data point is entered. Return to Step #7. When a line is complete, press CONTINUE with no data entered. Return to Step #5. (Default = end of line).
  • Page 11: Example I

    Example A. Insert 9825A Metrology Program cartridge into 9825A Calculator. B. Power on calculator. C. When <<<SELECT Program KEY>>> is displayed, press fl. D. Want: 1. English units 2. Create data 3. Data via keyboard 4. Foot spacing = 2.0625 inches 5.
  • Page 12: Isometric Data Plot (Program Ii)

    (For Surface Plate Calibration Data) Introduction This program takes data generated and saved in a data file by Program I and plots it isometrically on the HP 9872A Four Color Graphics Plotter. It features variable tilt and rotation of axes which allow different perspective views of the surface plate profile.
  • Page 13 Figure 2.1 Isometric Plot...
  • Page 14: Numeric Data Plot (Program Iii)

    Introduction This program takes the data generated and saved on the data cartridge by Program I and plots it in numeric form on the HP 9872A Graphics Plotter. This is the presentation format commonly used for surface plate certification certificates.
  • Page 15 Figure 3.1 Numeric data in absolute form...
  • Page 16 Figure 3.2 Numeric data in relative form...
  • Page 17: Large Angle Correction (Program Iv)

    Large angle correction (Program 4) (For use with Angular Optics) Introduction This program is used to supplement the Angular/Flatness optics extend their measurement capabilities beyond 3000 arc-seconds. When angles measured are less than 3000 arc-seconds in magnitude, the value read from the Laser Display is linear and correct. But, for angles larger than 3000 arc-seconds, the reading must be corrected by the following formula: (Laser Reading) (Mode Correction)
  • Page 18: Example Iv

    Example...
  • Page 19: Velocity Of Light Compensation (Program V)

    Velocity of Light Compensation (Program 5) Introduction This program calculates the compensation factor to be dialed into the thumbwheel switches on the Laser Display. The factor takes into account the effects of ambient temperature, barometric pressure, humidity, and material temperature(s). The data can be entered in either English or Metric units.
  • Page 20 Example...
  • Page 21: Standard Error Plotting (Program Vi)

    Standard Error Plotting (Program 6) (Used with 5526A Linear Optics) Introduction This program prints and/or plots linear positioning error versus position. The data can be entered directly from the Laser Display or from the calculator keyboard. The input format for this program is freeform. The machine tool command position does not need to be known.
  • Page 22: Operation

    Operation 1. English (0) or Metric (1) units? If data will be in inches answer (0) or if data will be in mm, answer (1). Response should correspond to switch setting on Laser Display. (Default = English). 2. Maximum machine travel? Respond with the maximum command position that will be used during the test.
  • Page 23 7. Data? a. Actual position should be input onto the keyboard of calculator. This will repeat until CONTINUE is pressed with no data entry. The program is exited. b. Data via Laser… Push Print Data is ready to be read from Laser display. Each time PRINT is pushed, the display position is sent to the calculator.
  • Page 24: Example Vi

    Example For a machine travel of 10 inches in .5 inch Increments, the position error is printed below with the standard error plot shown on the next page.
  • Page 25 Figure 6.1 Standard Error Plot...
  • Page 26: Straightness, Squareness, And Parallelism (Program Vii)

    Straightness, Squareness, and Parallelism (Program 7) (Used with Straightness Optics) This program accepts straightness deviations from the 5526A Straightness Optics and offers a choice of line fitting: either least-squares fit or a straight line through the end points. The data are then presented as deviations from this selected straight line.
  • Page 27 Equation for straight line Y = mX + b where m = slope and b = intercept of the line. Straight line through end points of N data points YN- Y1 m = ---------- XN - X1 b = Y1 Least-squares best fit line to N data points ΣY * ΣX —...
  • Page 28: Squareness Sign Convention Guide

    Squareness sign convention guide...
  • Page 29: Squareness

    Squareness...
  • Page 30: Operation

    Operation Straightness Calibration Number? Enter the calibration number engraved on the straightness reflector. If Long Range Straightness is being used, divide this number by 10. (Default = 1). Axis Number? Enter a numeric value referencing the axis on which straightness is to be measured.
  • Page 31 Enter the data point as an integer value as it appears on the 5505A Laser/Display with sign but without the decimal point. (i.e., in X10, Inch units two hundred and one micro inches should be entered as 201.) For automatic data input, move the equipment to the desired position.
  • Page 32 14. Max Error? ..(for plot scaling) If a plot was selected, the average of the current set of runs will be plotted. If a scaling maximum is desired other than the max and min values already printed, enter that maximum value. This will become the top of the vertical axis on the plot.
  • Page 33: Example Vii

    Example Given the following raw data, use Program VII to calculate 1) out-of straightness using least-squares fit, 2) parallelism in axis 1, 3) squareness between axis 1 and 2. Set-up 5505A Display in X10 mode Straightness calibration no. = 1 Prism error = 2 arcseconds Raw Data Axis 1 Display reading = -3 9 15 25 29 36 42 51 59 72 (pinches)
  • Page 34: Parallelism

    Parallelism...
  • Page 35 Figure 7.1 Out-of-straightness of axis 1 Figure 7.2 Out-of-straightness of axis 2...
  • Page 36: Squareness

    Squareness...
  • Page 37 Figure 7.3 Out-of-straightness of axis 1 Figure 7.4 Out-of-straightness of axis 2...
  • Page 38: Statistical Package (Program Viii)

    Statistical Package (Program 8) (Linear Error with Linear Optics) (Angular Error with Angular Optics) Introduction This program provides graphic and numeric analysis of linear or angular error versus command position. The command positions are conveniently derived by specifying the total machine travel and an increment of travel.
  • Page 39: Operation

    Operation Measurement (0) or Post Plot (1)? To perform a new measurement, enter "0". To list and/or plot data previously stored on the cartridge, enter "1" and go to operating step #17. Default = Measurement Linear (0) or Angular (1)? If linear error analysis is to be performed (Option 010 Optics), enter "0".
  • Page 40 Increment of travel? Enter the increment of travel that will occur between each positioning command. No Default Total machine travel? Enter the distance the machine will be moved total for each run in inches or mm for linear and arcseconds for angular. (The number of measurements per run will be the starting point.
  • Page 41 13. Data via Laser (0) or Keyboard (1)? If data is to be read from the 5505A Laser Display directly, enter a "0" and go to operation step #14. If data is to be entered by hand on the calculator keyboard, enter a "1" and go to operation step #16.
  • Page 42 18. If Post Plot was selected in step #1, the calculator will request the file # of the data to be plotted. 19. Sorted printout? (Yes = 1 or No = 0) If a sorted printout is desired, answer yes ("1") and a listing of all error values, the mean average, standard deviation, and 3 sigma bounds will be printed for each command position.
  • Page 43: Metrology Program Cartridge Duplication

    Metrology program cartridge duplication To duplicate the metrology program, follow the procedure outlined below. Hardware • 9825A Calculator • 98216A General I/O - Extended I/O ROM • 98210A String - Adv. Programming ROM Procedure 1. Insert master tape into 9825A. 2.
  • Page 44: Program Listings

    Program Listings Program 0 (Metrology package directory) "**************************************************": "** Program Zero *** Metrology package directory **”: "**************************************************": dsp "HP 5526A/9825A Metrology Package" spc 2 prt "******************************** prt "HEWLETT-PACKARD","LASER METROLOGY"," PACKAGE";spc prt " %%%%%%%%%%%% % HP 5526A % % HP 9825A %...
  • Page 45: Program 1 (Surface Plate Calibration)

    Program 1 (Surface Plate calibration) "*************************************************": "*** Program One *** Surface Plate calibration ***": "*************************************************": "START":cfg ;fxd 0;dsp " Surface Plate calibration" spc 5;prt " SURFACE PLATE"," CALIBRATION";spc 2 wait 2000 ent "ENGLISH(0) or METRIC(1) units?",Z if flg13+(Z=0);sfg 2;dsp "ENGLISH units selected.";jmp 2 dsp "METRIC units selected.";prt "METRIC Units"...
  • Page 46 if V>=80;dsp "BEAM has been BROKEN!!!";beep;wait 4000;gto "LAST" W+sgn(W)(V*1e8)}r(B+1}B) "PRINT":prt rB rE*r19}rE gto "NEXTPOS" "LAST":(B-r5+1)*1e3+rA}rA spc 2;r5}A;0}Z rA+Z}rA}Z;jmp (A+1}A)>B r5}A rB*(B-A)}r1 rA-Z*rl}rA;Z+1}Z;jmp (A+1}A)>B r5}A;B-A+1}C 8}Z;gsb "L" B+1}B;gto "NEXT" "DOne":1}X}r20 qsb "M" rA-rl}rA;jmp (A+1)A)>B if X=1;2}X;jmp -2 gsb "A" rA}r(X*2-1) rB}r(X*2) if X=1;2}X;imp -3 3}X;r3)Y;r1}Z;gsb "E"...
  • Page 47 gsb "L" if (X+1}X)<=8;jmp -2 spc 10 "STORE":dsp "Enter date of Calibration ";wait 1000 ent "Month? (1-12)?",J;if flg13;gto "ID" ent "Day? (1-31)",K;if flg13;gto "ID" ent "Year? (00-99)",L "ID":ent "Surface Plate ID# ?",M r20}B J}r9;K}r10;L}r19;M}r20 ent "Data to be stored on FILE#?",F;if (F=0)+flg13;gto "END" trk 1;rcf F,r0,rB;trk 0 100: prt "Data stored in File #",F...
  • Page 48: Program 2 (Surface Plate Isoplot)

    Program 2 (Surface Plate Isoplot) "*********************************************": "*** Program TWO *** Surface Plate Isoplot ***": "*********************************************": "START":dsp " Surface Plate Isoplot";wait 2000 ent "Which data file?",F trk 1;ldf F,r0;trk 0 r9}J;r10}K;r19}L;r20}M fxd 0;pclr 35}r2;ent "TILT ANGLE?",r2 cos(r2)}r19;sin(r2)}r20 10}r2;ent "ROTATION ANGLE?",r2;cos(r2)}X;sin(-r2)}Y X+Y}r9;X-Y}r10 pen# 1 scl -110r9,110r10,-10,(110r9+110r10)r20+30;plt 0,0,1 0}X}Y}Z;gsb "P"...
  • Page 49 0}r5}r6;gsb "L" pen;6}X;0}r3;100)r4 0}r5}r6;gsb "L" pen;7}X;100}r3;50}r4 0}r5;50}r6;gsb "L" pen;8}X;50}r3;100}r4 50}r5;0}r6;gsb "L" pen# ;pit 140,175,1 beep;wait 100;beep;wait 100;beep dsp "Press CONT for additional plots!";stp gto "START" "P":if r1=0;1}r1 plt X*r10-Y*r9,(X*r9+Y*r10)*r20+Z*30/r1 "L":gsb "A" (r5-r3)/(C-1)}r0 (r6-r4)/(C-1)}r2 rA}Z;r3}X;r4>Y qsb "P" 0}Z;qsb "P" rA}Z;gsb "P" r3+r0}r3 r4+r2}r4 A+1}A;if A<=B;jmp -6...
  • Page 50: Program 3 (Surface Plate Numeric Plot)

    Program 3 (Surface Plate Numeric plot) "************************************************************ ******": "*** Program THREE *** Surface Plate Numeric plot ***": "************************************************************ ******": "START":cfq ;fxd 0;pclr dsp " Surface Plate Numeric plot";wait 2000 ent "Which data file# ?",F if flg13;beep;dsp "Enter File* to be plotted!!";wait 1000;jmp -1 trk 1;ldf F,rO;trk 0 r9/J;r10}K;r19)L;r20)M 0}Z;ent "POSITIVE(0) or RELATIVE(1) data?",Z...
  • Page 51 plt X,Y,1;lbl rA-r3;X-Z}X;jmp (A+1}A)>B 6};gsb "A" 0};100-(100/C}Z)/Y plt X,Y,1;lbl rA-r3;Y-Z}Y;jmp (A+1}A)>B 7};gsb "M" 50};100-(100/C/Z)/X plt X,Y,1;lbl rA-r3;X-Z}X;if A+1=r2;A+1}R;X-Z}X A+1}A;if A<=B;jmp -1 8};gsb "M" 50}X;100-(100/C}Z)}Y plt X,Y,1;lbl rA-r3;Y-Z}Y;if A+1=r2;A+1}A;Y-Z}Y R+1}A;if A<=B;jmp -1 pen# 2;plt 70,55,1;lbl " Closure:",r7;plt 55,85,1;lb1 "Closure:",r8 plt 50,-10,1;cplt -12,1 if flg1;lbl "Maximum Deviation: +/-",r4;jmp 2 lbl "Maximum Elevation: ",r4...
  • Page 52: Program 4 (Large Angle Error Correction)

    Program 4 (Large angle error correction) "*************************************************": "* Program FOUR *** Large angle error correction *": **************************************************": "START":dsp " Large Angle Error Correction" spc 3;prt " LARGE ANGLE","ERROR CORRECTION";spc 3 wait 2000 cfg ;2.0625}Y;1e-5}M 0}Z;ent "INPUT: 5526(0) or Keyboard(1) ?",Z;if Z;gto "SKIP" sfg 1;spc 2;prt "LASER MUST BE in INCHES MODE!";spc 3 dsp "LASER MUST BE IN INCHES MODE !!!";beep;wait 3000 0}Z;ent "Laser: NORMAL(0) or X10(1) Mode?",Z...
  • Page 53: Program 5 (Velocity Of Light Compensation)

    Program 5 (Velocity of light compensation) "***************************************************”: "* Program FIVE *** Velocity of light compensation * ": "***************************************************": fxd 1;spc 3 dsp " Velocity of light compensation" prt " V.O.L."," COMPENSATION" spc 3;wait 1000 71 "STAFT":cfg ;20}T}r8;0}Z;ent "ENGLISH(0) or METRIC(1) units?",Z if Z=0;sfg 1;68)T)r8 if abs(Z)>1;beep;jmp -2...
  • Page 54 r9-3.033*(.001*r3>exp(.057627*r1)}r11 le12/(r11+1e6)-999000)r12 r12-r4*(r8-T)}r13 if flg2;prt "Not used." spc 2;prt "THUMBWHEEL",r13 dap "THUMBWHEEL SETTING: ",r13 spc 5;stp gto "START" *14709...
  • Page 55: Program 6 (Standard Error Plotting)

    Program 6 (Standard error plotting) "****************************************************": "*** Program SIX *** Standard error plotting ***": "****************************************************": "START":fxd 6;cfg spc 3;prt "Standard Error"," Plotting";spc 2 .01}r1;.005}r2;.001}r4;.0005}r5;.00001}r6 0}Z;ent "English(0) or Metric(1) units ?",Z;if Z;10r1}r1;10r2}r2;10r6}r6 ent "Maximum machine travel ?",r0 1}Z;ent "Error Plot ? (Yes=1 No=0]",Z;if Z;sfg 1 1}Z;ent "Printout ? (Yes=1...
  • Page 56: Program 7 (Straightness And Squareness)

    Program 7 (Straightness and Squareness) "****************************************************": "** Program SEVEN *** Straightness and Squareness ***": "****************************************************": prt " Straightness,"," Squareness,"," & Parallelism";spc 2 pclr;0}r10)r2)r1}r0;sfg 3;fxd 1;1}r9 prt "ENTER";prt "CALIBRATION";prt "NUMBER OF ";prt "Straightness" 1}r9;prt "INTERFEROMETOR";spc 2;ent "Straightness Calibration Number?",r9 cfg 1;cfg 2;ent "Axis Number?",r10 ent "Number of points on axis?",r1,"Distance between points?",r2 1}Z;ent "Plot? [Yes=1...
  • Page 57 1}Z;ent "Squareness? [Yes=1 No=0]",Z;if Z=0;gto 46 11}B 0}rB;B+1}B;if B>140;gto 7 gto 44 pen;ldp 0 "L":spc 2;prt "Line Fit:","0: Least Square","1: Zero End Pts";spc 2 0}Z;ent "Type of Line Fit ? C0 or 17",Z;if 2=0;gto 62 0}r3}r4}r5}r6;11}B r4+rE}r4;r5+rB*r2*(B-11)}r5;(B-11)*r2+r3}r3 (B-11)*(B-11)*r2*r2+r6}r6;B+1}B if B-11=r1;gto 54 gto 50 (r4*r3-rl*r5)/(r3*r3-rl*r6)}r7 (r4-r7*r3)/r1}C...
  • Page 58 plt .01*rl*r2,-.8A;lbl -A pen# 3;plt .01*rl*r2,-.1R;fxd 0;lbl "AXIS ",r10;fxd 1 "P": 11}E;0}X;A/2}A if flg3;-A}A pen# 4;pit X,.6*rB/2-A;X+r2}X;E+1}B;if D-11=r ;gto 97 gto 95 pen;plt 0,0,1 100: "SQ":atn(r7*1e-6)}A;atn(r8*1e-6)}C;(A-C)*3600}X;fxd 1 101: if flg4;gto 106 102: 0}Z;ent "Pentaprism Error?",Z 103: X+Z}X 104: prt "Squareness=",X,"ARCSCDS";spc 8 105: if flg1;plt .3*rl*r2,0;lbl "Squareness ",X...
  • Page 59: Program 8/1 (Linear/Angular Statistical)

    Program 8/1 (Linear/Angular Statistical) 1: “****************************************************": 2: "** Program EIGHT/1 *** Linear/Angular Statistical analysis package ***": 3: "***************************************************": 4: "START":dim G,H,V,D$[25],I$[25],I,T,E,R,E[7+2}G,0:(49}H)];cfg 5: spc 3;prt " Incremental","Error Analysis";spc 2 6: "START2": 7: 0}Z;ent "Measurement[0] or Post Plot[1] ?",Z;if Z;sfg 5;gto "LOADPLOT" 8: "MEASURE":1e-5}M 9: 0}V;ent "Linear[0] or Angular11] Error ?",V;if V;sfg 7 10: 6}S;if flg7;2}S...
  • Page 60 40: if flg1;wrt 705,"SMX";plt IP,Y,1 41: "LOOPBI":if flg2;prt "Pos:",IP,"Error:",Y;spc 42: Y}E[Q,P] 43: E[A,P)+Y}E[A,P] 44: E[B,P]+YY}E[B,P] 45: if (I(P+N)<=T)*(I(P+N)>=0);P+N}P;gto "LOOP" 46: "NEWRUN":Q+1}0 47: if Q>R;gto "CALC" 48: fxd 0;spc ;prt "RUN#",Q;spc 2 49: if flg4=0;dsp "Begin Run#",Q,"Send Machine to 0";0}P 50: if flql;pclr;plt IP,0,1 51: if flg4;dsp "Reverse Direction..Begin Run#",Q;-N}N 52: fxd 6;beep;wait 4000;beep .
  • Page 61: Program 8/2 (Linear/Angular Stat-Pay)

    Program 8/2 (Linear/Angular STAT-PAY) "START":ldp 8 "************************************************************ *******": "** Program EIGHT/2 *** Linear/Angular STAT-PAY. POST TEST PLOT ***": "************************************************************ *******": "POSTPLOT":dsp "Post Measurement Documentation" spc 5;prt "Post Measurement"," Documentation";spc 3 if flg5;ent "File# of data to be plotted ?",F if flg5;trk 1;ldf F,V,D$,I$,I,T,E,R,E[*];trk 0 6}S;if V;sfg 7;2}S R+1}A;P+2}B 1}Z;ent "Sorted Printout?
  • Page 62 for 0=1 to R plt IP,E[Q,P],1 next 0 next P "MEAN":pclr;pen# 3;plt 0,0,1 for P=0 to int(T/I) plt IP,E[A,P] next P lbl " Mean" "3SIGMA":pen# 2 for N=-1 to 1 by 2 pclr;plt 0,0,1 for P=0 to int(T'I) pit IP,E[A,P]+N*3E[B,P] next P fxd 0;lbl "...
  • Page 63: Appendixi

    9825A calculator. 1. Insert 98034A HP-IB cable into any of the 3 slots on the back of 9825A calculator. 2. Set address code of the HP-IB cable to 7 rotating the screw in the center of the circle on the cable.

This manual is also suitable for:

Hp 9825aHp 9872a

Table of Contents