Development and Control of a 5-Axis Reconfigurable Machine Tool

The development of a hybrid reconfigurable machine tool has been introduced. The machine tool consists of a tripod-based parallel kinematic machine (PKM) module with three degrees of freedom (DOF) and a serial linear X-Y table with two DOF. The PKM is installed on a gantry system which is capable of reconfiguring its position and orientation. In the design of tripod-based parallel mechanism, a passive link is used to enhance the stiffness and increase the working load. To avoid the buildup of the heat of the extensive actuation, three joints are actuated via the actuators with a constant length. The geometries of the PKM have been optimized for the best and highest accuracy. In this paper, its control system and the prototyping development are focused. An open architecture is applied, the control methodologies are developed and validated, and the corresponding software tools have been implemented for the software reconfiguration of the control system.


Introduction
The globalization of the manufacturing environment brings uncertainties and turbulences of customers' requirements and manufacturing resources.Reconfigurable manufacturing system (RMS) paradigm becomes an effective means to increase the competitiveness and adaptability of manufacturing systems.An RMS consists of modular components that can be arranged to meet the machining needs (reconfiguration) with minimal or nonrecurring cost.The ability to reconfigure machines allows a quick ramp-up and robustness to adapt various changes in a dynamic production environment.Production machinery is usually specialized and very capital intensive.Other benefits of an RMS is its potential to reduce the unit cost of machining; the same system can serve for different tasks and, thus, increase the utilization of resources, and the machine modules with a certain volume make it possible to be fabricated and assembled in a mass production mode.
The basic strategy to make a system reconfigurable is the modularization of system.Under modularized architecture, the system is formed from a set of modules.These modules can be connected one with another interchangeably, and various system configurations can be generated by using different types of modules, changing the number of modules, or changing the topology of module connections.Each configuration can be specially designed to meet the given requirements optimally [1].System modularization has been well recognized in machine tool industry.Modular machine tools have been on the market for a few of decades.The international standards became available to machine modules in the seventies [2].Researchers have made continuous effort in improving modular machine tools.For example, Hannover University initialized a project called Modular Synthesis of Advanced Machine Tools (MOSYN) to support the design of customer-specific configurations of modular machine tools [3].Nevertheless, it is worth to note that the primary objective of the machine-tool builders to modularize their products is to produce the variants; on other hand, machine-tool users still purchase the systems with a specific configuration, and these systems are rarely reconfigured after their installments.
Differing from traditional modular machine tools, the reconfigurable machine tool at the University of Michigan aims at modularity, integrability, customization, convertibility, and diagnosability.The system is designed to reconfigure  frequently in a dynamic environment [4][5][6].Unfortunately, the design concept was not fully implemented, and some obstacles slowed down their research and development [7].
Theoretically, PKMs have the potentials to achieve higher speed, higher accuracy, and deal with a heavier load.However, the characteristics of the PKMs have not been well studied.Most of the commercially available PKMs are highcost machines that provide lower accuracy than conventional machine tools [7,11].More studies are on demand to develop competitive PKMs.For example, Zhao et al. [12] introduced a new parallel simulator with six degrees of freedom (DOF); this new PKM adopts redundant actuations to increase the capacity to resist external load and prolong the actuators' life time.Redundancy of inverse kinematics for a redundant robot is often addressed by the pseudoinverse method; Wang et al. expanded this method as a resolution for the redundant relations at velocity and acceleration levels, so called closed-loop inverse kinematics algorithm was proposed to control a 7-DOF redundant PKM [13].Yun and Li developed the stiffness models for the flexure hinges [14]; their work has its significance in predicting the deflections and improving the precision of PKMs.Researchers have continued in making progress on reconfigurable robotic systems.For example, a type of square-cubic-cell module has been designed as the basic element to build various robotic configurations for different application.The targeted configurations can be open loop, closed loop, or a combination of both [15].
To develop a cost-effective PKM machine tool, the tripod-based PKM is focused due to its two significant merits, that is, the versatility and the benefits of a closedloop mechanism.Tripod-based PKMs are the most versatile one among the existing PKMs.A tripod-based PKM typically possesses three DOF.Depending on its structure, it can produce an end-effector motion with the pure rotation, the pure translation, or a combination of rotation and translation.
Tripod-based PKMs can perform many different machining operations since the majority of the machining operations require a motion with five or less DOF [9].A tripod-based PKM can be used as a stand alone machine or a module in a system.As a stand-alone machine, it can be a substitution of a traditional machine tool with three or less DOF.As a system module, it can be combined with other actuated modules or subsystems.
A new tripod-based machine with a passive leg has been proposed by the author, and the details of design methodologies and assistive design toolbox have been reported [16,17].In this paper, the control method and implementation of this machine tool will be focused.The remainder of the paper is organized as follows.In Section 2, the hybrid machine structure is introduced, the parallel structure for positioning is specially examined, and its kinematic model is overviewed.In Sections 3 and 4, the requirements of system control are discussed, and control architecture is proposed accordingly.The control model is developed for the machine tool, and the implementation of system control is discussed.In Section 5, a calibration approach for system reconfiguration is introduced.Finally in Section 6, the research works presented in this paper are summarized.
Figures 1(a) and 1(b) have illustrated the virtual model and physical model of the new hybrid reconfigurable machine tool, respectively.This machine tool consists of three modules: a tripod tool, an X-Y table, and a reconfigurable arch.This machine tool is hybrid, the positioning structure is a tripod-based PKM with three DOF, and the orienting structure is a serial wrist with two DOF.
The tripod-based PKM is the most important module.The modularized tripod-based PKM includes three linear actuators; these actuators can be reconfigured and integrated with the customisable base and end-effector platforms.The geometries of the base and end-effector platforms can change the behaviours of the parallel structure significantly.The tripod-based PKM structure is expected to provide the rotations about X axis and Y axis and the translation along the Z axis.Reconfigurability of the machine tool can be further enhanced by the adjustments of the X-Y table and reconfigurable arch.Both of them are reconfigurable.The X-Y table provides various motion ranges of translation along X and Y axes, and its height along the Z axis can be reconfigured offline.The arch is an assembly of three components: two vertical columns and a horizontal beam.The orientation of the horizontal beam can be reconfigured to accommodate the changes of location and orientation of the working volume.
The variations of the reconfigurable machine tool are from some customerized modules in the system.The dimensions of these modules such as binary legs and the platforms can be customized based on the given task.The adjustable arch and the x-y table allow for many configurations to meet different manufacturing requirements, for example, changing from a vertical configuration at various discrete angles towards a horizontal configuration, if required.System control software is also reconfigurable to represent a correct kinematic behaviour of the reconfigured machine tool.The key to this reconfiguration is the quick verification of the new machine geometry.Instead of lengthy calibration of the machine, only a quick measurement of a few reference points is required, and the calibration of the machine is accomplished in the controller internally.

Tripod-Based PKM
The tripod-based PKM of the machine tool is parameterized in Figure 2.There are three platforms: base platform The base platform is fixed on the ground.The middle platform is to support guide-way B i M i of active leg D i E i .The end-effector platform is to mount a tool or gripper.A passive link is installed between the middle platform and the end-effector.Active leg D i E i is connected to the endeffector platform by a spherical joint at E i , and to the slide of the active prismatic joint by a universal joint at D i .The passive leg is fixed on the middle platform at one end, and connected to the end-effector platform by a universal joint at the other end.The parameters for the description of the tripod machine tool are as follows: the angle α i (i = 1, 2, 3) between O b B i and x b , the angle β i (i = 1,2,3) between O e E i and x e , the radius of the base platform l b , the radius of the end-effector platform l e , the direction of a guide-way γ, and the length of an active leg l i .
The DOF of the tripod-based PKM can be calculated as where f : DOF of the mechanism, n: the number of rigid bodies including the base, j i : the number of joints with i-DOF.Note that the tripod-based PKM has 8 rigid bodies, 3 prismatic joints, 3 rotational joints, and 3 spherical joints.
The complete description of the motion of a rigid body requires three rotational parameters (θ x , θ y , θ z ) and three translational parameters (x e , y e , z e ).However, xand ytranslations and z-rotation are eliminated because of the passive link.Therefore, the motion of the end effector can be fully described by three independent variables θ x , θ y , and z e , where θ x and θ y are the rotations about x and y, and z e is the translation along z.The posture of the end effector tool is represented by where T b e is the posture of the end-effector with respect to is the rotational matrix of the end effector.P e = [ 0 0 ze ] T is the central position O e of the end effector.
When the required position of the end-effector tool is specified, inverse kinematics is to find the joint displacements.Assume that the joint displacement of active prismatic joint i is u i , it can be derived based on the fact that the length of an active link is fixed, thus,  where ( Note that the solution of u i from (4) should be examined to ensure none of active or the passive joints exceeds its motion limit.

Task and Joint Workspace.
Workspace is an important characteristic to describe the performance of a PKM.Workspace is usually defined as the set of reachable points of the tool center point (TCP) in the Cartesian coordinate system.It can be determined by the inverse kinematic solver numerically, an example of task workspace has been illustrated in Figure 3(a) for this machine tool.
Motion ranges of joints have usually been given for the reconfigurable machine tool.However, whether or not a joint could be moved freely over its motion range depends on the structure of the PKM and the configuration of the PKM at a certain position.The PKM is to transfer joint motions into the motion of TCP.A new concept called joint workspace is proposed to measure the efficiency of this transformation [18].The solver to forward kinematics is needed to acquire the joint workspace of a PKM.We have formulated the forward kinematic problem as a polynomial equation whose coefficients can be determined automatically.As shown in Figure 3(b), an example of the joint workspace has been illustrated for the prototyped PKM.

Deflection under External
Loads.Deflection of the rigid bodies under an internal or external load causes positional and orientational errors of the TCP.Stiffness is defined to measure the capability of a PKM to resist the deflection.System stiffness along all of the six Cartesian motion axes is evaluated based on a kinetostatic model.Figure 4 shows an example of the stiffness distribution along all of the six motion axes, respectively, for a cross-section where all of the active joints are in the middle of their motion ranges.

Estimation of Driving Forces. Since all of the existing
PKMs use kinematic control, a dynamic model of a PKM becomes less important.However, a typical robotic task not only has the requirements of a given motion trajectory but also the requirements of a working load.A dynamic model will be needed to determine how an external load is carried out by the driving forces at the actuators.At an extreme case when the external load becomes critical, the dynamic model is required to estimate if an actuated joint has the sufficient driving force to resist the external load.A dynamic model based on Newton-Euler approach has been developed.The modeling procedure is as follows: (i) the displacements, velocities, and accelerations of the joint motions are obtained from an inverse kinematic model under the given end-effector motion; (ii) the velocities and accelerations of the joints and mass centers of all bodies are derived sequentially; (iii) the Newton's law and Euler's equation are applied to calculate inertia forces/moments, and the equilibrium equations are defined for each of bodies; (iv) the dynamic model of the system is assembled from the equilibrium equations of the bodies; (v) the dynamic model is solved to get the forces/torques of joints.The driving forces of the actuated joints, as well as the reaction forces on any of passive joint(s), can be analyzed.Figure 5 has shown an example of the driving forces corresponding to a given TCP motion.

Control Architecture and Model
After system reconfiguration, the machining operation needs to control the components including three linear actuators, the spindle on the end-effector tool, and two linear actuators on the X-Y table.Since the reconfigurable machine is a  hybrid, the motions of these components are coupled when the motion of the task is given.
The control architecture for the reconfigurable machine tool is shown in Figure 6.The motion of the tripod-based PKM links all of the control expectations of the system components including the tripod tool, the spindle, and the X-Y table.The determination of the feed depth is based on the Z translations of both from the spindle and the tripod  tool.The coordinates of the X-Y table must compensate the X and Y displacements caused by the rotation of the spindle about X and Y .When the machine is set at the vertical tool orientation, the machine and its control behave like a regular 5-axis machine with a tilting and pivoting tool head.The tool path is generated in the Cartesian space, and postprocessed with a generic CAM package for a 5-axis machine.The operation, programming, and control of the tripod module are transparent to the user.The last three components of a machine positioning command, Z, A, and B are used to represent the displacements of three actuated joints from the inverse kinematics.
When the machine is configured differently from the vertical tool axis, additional transformations have to be carried out.For the calculations of general transformations, the homogeneous coordinates are used, which were originally developed for robot manipulator control [18].Note that an offline simulation of machining process is helpful.When the head angle is getting closer to the horizontal, the working envelope is degenerating.In the horizontal position, the machine "looses" a degree of freedom, the Z tool axis movement is in the Table's X-Y plane.
Figure 7 has shown the coordinate frames of the "Table ", or the X-Y table, and the "Tripod" in a general configuration.The "Tripod" is rotated along its X axis by θ angle and translated by x TR , y TR , and z TR respectively.The transformation matrix T T TR from the "Table" frame to the "Tripod" frame is given as follows: where x and y represent the motion commands for the X and Y axes.
The NC part program in this case is given in the x -y -z coordinate system, since machining conventions require that the tool axis is always the Z axis.To control the X and Y axis coordinates, the calculation of the inverse kinematics, "Tripod" to "Table " transformation T T TR −1 , is required.

System Calibration
The fabrication and assembly of the machine components bring geometric errors, and these errors reduce the accuracy of the machine tool.To achieve a higher precision of the reconfigurable machine tool, the calibration is required after a reconfiguration is performed.The calibration includes both the geometric confirmation of the machine reconfiguration as well as the verification of the Tripod kinematics.Conventional machine tools are usually calibrated when they are delivered, assembled, and commissioned.The process is expensive, time consuming, and requiring specialized equipment and personnel.As those machines do not change their configuration, the calibration process is repeated only seldom, after machine overhauls or at required prescheduled intervals.Reconfigurable machines, on the other hand, may change their configurations based on the quickly changing production requirements.While making the discrete configuration positions repeatable and accurate by mechanical means, it is simpler to adjust the machine, measure, and calibrate in software.The emergence of some high-end optical tracking devices such as FARO Laser Tracker makes it possible to have quick and accurate volumetric measurement.An optimal calibration methodology for the kinematic model has been developed.The basis of the methodology is to exploit the least error sensitive regions in the workspace.An error model has been developed that takes into consideration all of the geometric errors of modular components.Analysis of this error model has shown that the error mapping from the geometric errors to the pose error of the PKM depends on the Jacobian matrices.The calibration routine has been coupled with an automatic alignment system that uses a laser-based measurement system.To maintain the accuracy of the robotic operation in the working volume, one of the requirements is to keep the correct T T TR coordinate transformation matrix.Figure 8 has shown the methodology to derive this matrix.Both of the "Table " and "Tripod" reference frames are established with respect to the same reference origin in the "World" frame; this origin is coincident to the origin of the optical measurement system.T T TR then can be defined by where W T T and W T TR are the reference frames of the "Table " and the "Tripod" with respect to the "World" frame.

Control Implementation
The control system for the reconfigurable machine tool is implemented on open architecture control (OAC) architecture to adopt new features or modify existing functions in a control system quickly and freely.The OAC is built on the ORTS platform [19], which is a heterogeneous, multiprocessor real-time system, capable of handling the PC hardware, and more than one DSP processor.The hardware platform includes an industrial PC equipped with a digital signal processor (DSP) board and motion control interface cards.The interface has the connections to the machine tool to control auxiliary axes.The software architecture for the control system is depicted in Figure 9.The distribution of functionalities is based on the real-time requirements of the individual tasks.The DSP part (for which ORTS is the native operating system) handles the hard real-time requirements.The PC part of ORTS runs under the Windows NT operating system, and it only meets soft real-time needs.On the DSP, there are tasks for path generation, servo loop control, and the machine logic interface, while on the PC the user interface is realized.
The ORTS provides a rich set of intertask, and interprocessor communication means to implement complex realtime systems.Controlling the tripod-based PKM requires new functionalities in the OAC because of its unique kinematics; the actuators control the motion of the PKM in joint coordinates, while the user or machining task is described in a Cartesian work space.For smooth and accurate control, these transformations of coordinates are performed at the rate of the servo sampling time, that is, every set point from the path generator are transformed before presenting it to the servo loops.Along with the motion transformation, geometrical error checks are also performed in real time.Workspace and joint limits are verified against predetermined limits to prevent damage on the machine tool.In case of over travel, the servo system is disabled, and the operator is requested to recover from the error state.
The human machine interface (HMI) functionality is implemented on the PC controller.The user interface itself is a stand-alone program and exchanges information with the OAC through standard TCP/IP communication.The webbased design allows for various HMI implementations at different locations, realizing remote monitoring and control.The inclusion of a forward kinematic solver gives this tool an advantage over other HMI systems for the PKMs, as it can work in two different modes; one is based on the feedback of Cartesian sensors, and the other is based on the feedback of the joint sensors.

Summary
The proposed reconfigurable machining system includes a tripod-based PKM module, X-Y table, and a reconfigurable arch.The scale and working volume of this reconfigurable machine tool can be tailored to meet the requirements of a specific application.Methodologies to control this machine tool and quickly calibrate the machine for an accurate operation after reconfiguration have been developed.The tripodbased PKM module has a coupled 3-DOF motion.The endeffector motion has a higher speed, higher precision, and is capable of handling a heavier load.This module itself is very versatile, and it can be used as a multifunctional platform for other applications.

Figure 1 :
Figure 1: Virtual and physical models of 5-axis machine tool.

Figure 4 :
Figure 4: Stiffness over the middle cross-section of task workspace.

Figure 5 :
Figure 5: Estimation of driving forces based on a dynamic model.