scieee AI-readable full text Open interactive document viewer

Three-axes error modeling based on second order dual numbers

Holub, Michal; Hrdina, Jaroslav; Vašík, Petr; Vetiška, Jan

Abstract

The aim of the paper is to employ the dual numbers in the multi axes machine error modelling in order to apply the algebraic methods in computations. The calculus of higher order dual numbers allows us to calculate with the appropriate geometric parametrization effectively. We test the model on the phantom data based on the real machine tool. The results of our analysis are used for the geometric manufacturing accuracy description of the work space, together with the reduction of the measuring time.

Full text

Holub et al. Journal of Mathematics in Industry (2015) 5:2 DOI 10.1186/s13362-015-0016-y RESEARCH Open Access Three-axes error modeling based on second order dual numbers Michal Holub1,JaroslavHrdina 2,PetrVašík 2* and Jan Vetiška1 *Correspondence: [email protected].cz 2Institute of Mathematics, Faculty of Mechanical Engineering, Brno University of Technology, Brno, Czech Republic Full list of author information is available at the end of the article Abstract The aim of the paper is to employ the dual numbers in the multi axes machine error modelling in order to apply the algebraic methods in computations. The calculus of higher order dual numbers allows us to calculate with the appropriate geometric parametrization effectively. We test the model on the phantom data based on the real machine tool. The results of our analysis are used for the geometric manufacturing accuracy description of the work space, together with the reduction of the measuring time. MSC: 20H25; 15B10; 70B10 Keywords: matrices; dual numbers; kinematics; error modeling 1 Introduction Machiningcentres(MCs)belongtothegroupofproductionmachines,whichrequirehigh performance, manufacturing accuracy, reliability, safety, etc. With growing demands on manufacturingqualityofcomponentsfortheaerospace,powerandpharmaceutical(medical) industry, an increasingly greater emphasis is placed on control and growth of manufacturing eligibility. This is influenced by manufacturing accuracy of the machine tool, i.e. mainly by its geometric accuracy. Geometric accuracy belongs to the group of quasistatic errors that constitute -% of the total error of the machine tool []. Apart from geometric errors, these quasi-static errors also include kinematic and thermal errors, []. For long-term sustainability of manufacturing accuracy (manufacturing eligibility), it is necessary to pay attention to the mount of MT on a suitably rigid base, to set up the machinetotherequiredgeometricaccuracyandnext,consideringtheneedsandrequirements, to apply the appropriate software compensations. In the phase of machine tool use,varioustechnologiesforverificationofmachinetooleligibilityarethen deployed.For these measurements, the emphasis laid is on adequate measurement accuracy with the highest possible interpretation of the results and especially on short measurement times associated with the necessary MT shutdowns. Different approaches to measurement, data processing and creation of models for generatingcompensationtablesaredescribedinanumberofscientificpapers.Forverification of the proposed models the most often used measuring instruments are the Ballbar-type apparatus [], the laser interferometer [–], the laser tracker [–], and the laser tracer [–]. Modelling of errors of machine tools is closely associated with the used instrumentation.Thisimpliesafurtherprocedureforthedevelopmentofindividualmathemat- ©2015 Holub et al. This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in anymedium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 2 of 11 ical models. A currentlyresearched topic is modelling of volumetric accuracy of machine tools with various kinematic structures. The aim of this research is to use mathematical modelstocreatetheso-calledmapofmachinetoolaccuracyandtoutilizetheacquiredde- viationssuitablefortherelevantsoftwarecompensationofmachinetools.Errormodelling ofmachinetoolshasbeenforlongtimesubjectedtointensiveresearch.Themostcommon approach to the model creation, based on rigid body kinematics and transformations of coordinatesbetweentheindividualrigidbodies,isahomogeneoustransformationmatrix (HTM). HTM modelling is described for various kinematic chains of machining centres in publications [, –]. To achieve relevant results, it is necessary to obtain measurement data free of thermal influence because this influence caused by the change in internal and external ambient conditions may invalidate the measurement by thermal deformation of the machine, but also by the very process of measurement. For this reason, it is necessary to complete the measurementsintheshortestpossibletimeinterval under stableconditions.Inmanufacturing facilities, especially in large machining centres, it is almost unrealistic to maintain constant ambient conditions. Therefore the obtained results on the state of the machine may be distorted both due to thermal deformations of the machine and also due to temperature change of ambient air []. Information on “geometric behaviour” of small and large CNC MTs can be obtained by variousapproaches.Oneofthevariantsistomachineatestcomponent;thiswillenablean assessmentofmachinetooleligibility.Thesecondvariantisbasedondirectmeasurement of geometrical deviations. This variant is less desirable from the perspective of users; the reason is a necessarymachinetoolshutdown. IfweintendtoanalysetheentireworkingspaceofMTandobtainanerrormap,themeasurements will be very time-consuming. To meet the requirement on minimum time demandswiththeaimtocreateamapofmachinetoolerrors,itisrecommendedtopropose a suitable methodology of measuring and processing of the obtained data. This methodology is not only dependent on the size of MT working space, but also on the kinematic chain between the workpiece and the tool and also on the measuring device used. 2 Algebraic approach In [] we discussed the methodology of multi-axis machines geometric error modelling in the context of modern theory of Weil algebras, []. When composing the kinematic chaincontaininggeometricerrors,weembedtheerrormatrixcorrespondingtoanykinematic joint, i.e. the errors of thejoint translation or rotation. In particular, for the translation in the direction of vector (x,y,z) or for the rotation around the zaxis by the angle γ, the following error matrices apply, respectively, [,]. ⎛ ⎜ ⎜ ⎜ ⎝ –αβx αγy –β–γz  ⎞ ⎟ ⎟ ⎟ ⎠ ×⎛ ⎜ ⎜ ⎜ ⎝ –αcos(θ+γ)–βsin(θ+γ)αsin(θ+γ)–βcos(θ+γ) αcos(θ+γ)–sin(θ+γ) –βsin(θ+γ)cos(θ+γ)   ⎞ ⎟ ⎟ ⎟ ⎠. Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 3 of 11 Theparametersα,βandγrepresenttheerrorrotationsaroundtheaxesz,yandx,respectively, and θgives the proper rotation around the axis z. The error matrices were derived from the rotation matrices around particular axes by approximation. More precisely, for the rotation around axis xthe error matrix is approximated as follows: ⎛ ⎜ ⎜ ⎜ ⎝    cosα–sinα sinαcosα    ⎞ ⎟ ⎟ ⎟ ⎠⎛ ⎜ ⎜ ⎜ ⎝    –α α    ⎞ ⎟ ⎟ ⎟ ⎠. Thus cosαandsinαα. In the case that two approximations are multiplied, the wholetermvanishes.Thisiscausedbytheassumptionthattheerrorsarebyordersmaller than the proper rotation parameters. The above mentioned representation is a standard description of the error matrices to be embedded into the kinematic chain and the corresponding kinematicequationswhich are tobe solvedwithin theerror analysis. Generally, in the case of the system of linear equations, we proceed by Gauss elimination, for nonlinearsystemsweuseGröbnerbases.Thusinourmatrixcalculationsweusetheidentities αiβj=,αiγj=andβiγj=foralli,j∈{,},which resembletheidentitiesfortheimaginary parts of the dual numbers. Thus it makes sense for the whole theory to work with so-calledhomogeneousmatricesoverthedualnumbersastransformationmatrices.More precisely, in error modelling the set SO(,D) of the special orthogonal matrices over the dual numbers are involved, see []. From the algebraic point of view, the dual numbers Dextend the real numbers by adjoiningonenewelementιwiththepropertyι=(ιisnilpotent).Thesetofdualnumbers forms a particular two-dimensional commutative unital associative algebra over the real numbers. Every dual number can be represented as z=a+bι uniquelydeterminedbyrealnumbersa(realpart)andb(imaginarypart).Divisionofdual numbers is defined whenever the real part of the denominator is non-zero. The division process is analogous to complex division, i.e. the denominator is multiplied by its conjugateinordertocancelthenon-realpart.Inpaper[]weprovedthesetoftheoremsabout special orthogonal matrices over dual numbers. For example, in the case  ×matrices, wehavethefollowingtheorem which describes theclass of matricesinvolved in the error modelling: Theorem. Let A+Bι∈SO(,D). Then A+Bιis in the following form: cos(ϕ)–ksin(ϕ)ι–sin(ϕ)–kcos(ϕ)ι sin(ϕ)+kcos(ϕ)ιcos(ϕ)–ksin(ϕ)ι, where ϕ∈,πand k ∈R. As a result, if the inverse kinematic is realized over the dual numbers, second order errors multiplied by a position coordinate are neglected, i.e. the terms of the form xεxyεxz vanish. This may increase the inaccuracy of the model. To avoid it without any additional Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 4 of 11 complexity in calculations, we recall the following concept: algebra of second order dual numbers D is defined as a set D =a+aι+aι|ai∈R together with the sum by parts and multiplication modulo ι=.Inparticular,D can be defined as a factor space D =R[ι]/ι. To apply this concept to the kinematic chain, the matrix representation of D isused,see [].Notethatin thissetting thedualnumberscan be understood asthedualnumbers of the first order D:=D . ThetheoryofmatricesoverthealgebraD is much more sophisticated, some results can be found in [], e.g. the description of the relevant ×matrixclassequivalentto the one mentioned in Theorem . is the following: Theorem. If A+Bι+Cι∈SO(,D )then A=cos(ϕ)–sin(ϕ) sin(ϕ)cos(ϕ),B=–ksin(ϕ)–kcos(ϕ) kcos(ϕ)–ksin(ϕ), C=–k cos(ϕ)k sin(ϕ) –k sin(ϕ)– k cos(ϕ). Our results differ from the classical error modelling theory by admitting the second order errors, i.e. the terms of the form εxyεxz are considered as non-zero. The reason of neglecting the terms of the form εxyεxz but accepting the terms xεxyεxz in classical approachcomesfromtheunitanalysis.Yetthecomputationitselfisthenprovidedinanonassociativealgebra. Indeed, =(xεxy)εxz =x(εxyεxz)=x·=. Thus compared to classical theory, our approach considers more terms to be non-zero whichmakestheresultevenmoreaccurate,furthermore,thecalculationsaremodelledin associative algebra which is much moresuitable for computer modelling. 3 Virtual three-axis machine A proposal for processing the data to create a map of geometric accuracy (phantom data) is prepared to be applied and verified on the demonstrator MCV  QUICK (Figure ). Theworkingspaceofdemonstratoris definedbytravelsof theindividualaxes; in Figure it is designated as WS (Working Space) with dimensions of ×× mm. In the following part of the computation, simulation is performed on the reduced space - see Figure designated as MS (Measuring Space) with dimensions of  × × mm and shifted in the coordinate system NCS (Coordinate System of New measuring space) to the position of x=mm,y=mmandz=–mm. Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 5 of 11 Figure 1 MCV 754 QUICK. Table 1 Parametric errors for three-axis MT Axis Axis error (ISO/paper symbol) X-axis EXX/δxx EYX/δyx EZX/δzx EAX/εxx EBX/εyx ECX/εzx Y-axis EXY/δxy EYY/δyy EZY/δzy EAY/εxy EBY/εyy ECY/εzy Z-axis EXZ/δxz EYZ/δyz EZZ/δzz EAZ/εxz EBZ/εyz ECZ/εzz Axis Squareness error (ISO/paper symbol) X-axis BZ/Sxy CY/Sxz Y-axis AZ/Syz Z-axis CY/Sxz Working space of three-axis milling machine is defined by Cartesian coordinate system X,Y,Zin the kinematic chain WXYZT (workpiece-tool, W - Workpiece, T - Tool). A computation of “virtual model” and error map is based on parametrization of the individual geometric errors of the machine tool. A three-axis milling machine enables to identifyatotalofparametersofgeometricerrors(seeTable).Theseerrorsaredefined foreachtranslationalaxiswhereeachoftranslationalaxeshassixgeometrical deviations. According to ISO, the deviations of the X-axis are designated as EXX, EYX, EZX, EAX, EBX, and ECX. These errors also take into account squareness deviations between two axes,e.g.betweenXand Y- CY. This is a total of × errors for translational axes and three squareness errors of the individual axes. Whencreatingavirtualmodel,itwasnecessarytodividetheworkingspaceWSintoindividual parts of MS due to the non-linear behaviour of some geometric errors. A sample linear behaviour of EXX error and non-linearity of EZX on WS can be seen in Figure . The measured data were obtained on the test demonstrator with “tracking laser interferometer”, Figure . On the basis of determined non-linear behaviour of geometric errors of demonstrator, it was necessary to parametrize the working space of  geometric errors. This model showed large deviations of error map caused by non-linearity of measured geometric errors. For this reason, the working space was divided into smaller segments (MS), see Table, where only seven of the assessed geometric errors (EYY, EAY, EZX, EYX, EZY, EXY, EXZ) exhibit non-linear behaviour. Such a number of geometric errors in the simulation further appear to be plausible. We compose the classical kinematic chain of the matrices over the second order dual numbers, i.e. the algebra D . All consequent calculations are then computed in this algebra.Thisallows ustouse theeffective modulesofmathematicalinterface, in particular of Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 6 of 11 Figure 2 Configurations of tracking laser interferometer. Table 2 Adjusted space in the machine coordinate system with the start-CP Axis Start-CP [mm] End [mm] Length [mm] X-axis 300 450 150 Y-axis 200 300 100 Z-axis –200 –50 150 Figure 3 Error model on configuration space. Mathematica. Our model was based on real data, relating the configuration space. One can see, Figure , that the configuration space  × × breaks up into several blocks on which we can assume a linear variation of error. In order to check the inner Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 7 of 11 Figure 4 Phantom data. Figure 5 X-Y,X-Zand Y-Zprojection planes of the phantom data. accuracy of our method, we use the phantom data generated on the configuration space ××.Theappropriateerrorvectorswithcoordinatesformedbythedifferences dx,dyand dzare shown on Figures and . 4 Error modelling Inordertocalculatethe parameters conversely,wehavetoproceedin several steps. First, forthemachineinquestionwedeterminethekinematicchainandsubstituteδandεinthe resulting matrix by the appropriate linear parametrizations. Then if we let the modified matrix Tact on the vector X=⎛ ⎜ ⎜ ⎜ ⎝     ⎞ ⎟ ⎟ ⎟ ⎠, we obtain the real position of the vector (  )Twhich is consequently subtracted from the ideal image position, i.e. from the vector X=⎛ ⎜ ⎝ x y z⎞ ⎟ ⎠ Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 8 of 11 and thus the difference vector X=⎛ ⎜ ⎝ x y z⎞ ⎟ ⎠ is established. Inourparticular caseweuse thefollowingkinematicchainwhich containserrormatrices corresponding to deviations caused both by the machine mechanics and by the machine errors. Let us consider the following kinematic chain for three-axis machines: T=⎛ ⎜ ⎜ ⎜ ⎝ x    ⎞ ⎟ ⎟ ⎟ ⎠⎛ ⎜ ⎜ ⎜ ⎝ –εzxιε yxιδxxι εzxι–εxxιδ yxι –εyxιε xxιδzxι  ⎞ ⎟ ⎟ ⎟ ⎠⎛ ⎜ ⎜ ⎜ ⎝  y   ⎞ ⎟ ⎟ ⎟ ⎠ ×⎛ ⎜ ⎜ ⎜ ⎝ –εzyιε yyιδ xyι–Sxyy εzyι–εxyιδ yyι –εyyιε xyιδzyι   ⎞ ⎟ ⎟ ⎟ ⎠⎛ ⎜ ⎜ ⎜ ⎝   z  ⎞ ⎟ ⎟ ⎟ ⎠ ×⎛ ⎜ ⎜ ⎜ ⎝ –εzzιε yzιδ xzι–Sxzz εzzι–εxzιδ yzι–Syzz –εyzιε xzιδzzι   ⎞ ⎟ ⎟ ⎟ ⎠⎛ ⎜ ⎜ ⎜ ⎝   L  ⎞ ⎟ ⎟ ⎟ ⎠. The above mentioned parametrization is realized by the choice of constants of linearity for theexpression of the displacement errors in thegiven direction and of the rotation errors.Thedisplacementerrorsintheotherdirectionsthantheoneoftheactualdisplacementarecalculatedby meansofAbeprinciple. Thuswe recallthefollowingparametrization: δxx =ax,δyy =by,δzz =cz, δyx =f x,δzy =g y,δyz =h z, δzx =f x,δxy =g y,δxz =h z, εyx =fx,εxy =gy,εxz =hz, εzx =fx,εzy =gy,εzz =hz, εxx =fx,εyy =gy,εyz =hz. In fact, our goal is to reconstruct the parameters from the phantom data measured on the axis x,y,andz. The first goal is to express the differences by means of the following parameters a,b,c,f,f,f,g,g,g,h,h,h Holub et al. Journal of Mathematics in Industry (2015) 5:2 Page 9 of 11 whicharetobecalculatedconsequentlybytheleastsquaremethod. By comparisonofthe result with the ideal values, the following three equations are given. x=–Sxyy–Sxzz+ax+L(fx+gy+hz)+z(fx+gy)–Syzz(–fx–gy) –fxy–fx+gy –gy+hz –hzι+[···]ι, y=–Syzz+by+fx –Sxzz(fx+gy)–fSxyxy+fx+L(–fx–gy–hz) +z(–fx–gy)+gy+hz +hzι+[···]ι, z=cz–Sxzz(–fx–gy)+fSxyxy–fx+fx –Syzz(fx+gy) +fxy+fx+gy +gy–gy+hz–hzι+[···]ι. In what follows, for the sake of simplicity, the coefficients of ιare omitted. Clearly, it is possibletohandletheelementsofdifferentordersseparatelyorjointly. Notethatanother advantage of our approach is that the errors of particular orders can be recognized and separated during the calculation. If these equations are reformulated in the way that the parameters a,b,c,f,f,f,g,g,g,h,h,h are understood as the variables and the functions of x,y,zform their coefficients. The value Lis given by the machine construction and the squareness errors Sxy,Syz and Sxz are constant within the whole workspace and assumed to be known. For xwe have the variables h,h,g,g,f,f,a,gh,gh,gh,gh,fh,fh, fg,fg,fh,fh,fg,fg,cg,cf,bf with the appropriate coefficients. For instance, the coefficient of fgis in the form  xy and for fgthe appropriate multiplier is Sxzxyz.Forthechoicex∈,...,, y=and z=  we obtain the matrix of the dimension ×, where the rows represent different choices of xand the right hand side of the system is given by the actual difference xat (x,y,z).Tothismatrix,wefindtheMoore-Penroseinversionandcalculatethecoefficients in question consequently. The same procedure on yand zis applied and the resulting error parameters are used for graphical demonstration of the predicted deviations, see Fig. . 5Conclusion We usedthephantomdatabasedonthetechnicalparametersandmeasurederrorsof the demonstrator to check the proposed method of the calculation of the geometric errors linear parametrization. To avoid the discontinuity in the error evolution, we focused on