Five-axis pencil-cut planning and virtual prototyping with 5-DOF haptic interface Weihang Zhu, Yuan-Shin Lee * Department of Industrial Engineering, North Carolina State University, Raleigh, NC 27695-7906, USA Received 22 August 2003; received in revised form 22 January 2004; accepted 30 January 2004 Abstract In this paper, techniques of 5-axis pencil-cut machining planning with a 5-DOF (degree of freedom) output haptic interface are presented. Detailed techniques of haptic rendering and tool interference avoidance are discussed for haptic-aided 5-axis pencil-cut tool path generation. Five-axis tool path planning has attracted great attention in CAD/CAM and NC machining. For efficient machining of complex surfaces, pencil-cut uses relatively smaller tools to remove the remaining material at corners or highly curved regions that are inaccessible with larger tools. As a critical problem for 5-axis pencil-cut tool path planning, the tasks of tool orientation determination and tool collision avoidance are achieved with a developed 5-DOF haptic interface. A Two-phase rendering approach is proposed for haptic rendering and force-torque feedback calculation with haptic interface. A Dexel-based volume modeling method is developed for global tool interference avoidance with surrounding components in a 5-axis machining environment. Hardware and software implementation of the haptic pencil-cut system with practical examples are also presented in this paper. The presented technique can be used for CAD/CAM, 5-axis machining planning and virtual prototyping. q 2004 Elsevier Ltd. All rights reserved. Keywords: 5-axis machining; Pencil-cut planning; Haptic rendering; CAD/CAM; NC machining; Virtual prototyping 1. Introduction Five-axis tool path planning has attracted great attention in Computer-aided Manufacturing (CAM) and NC machining. Many issues of 5-axis machining need to be addressed; among them the tool path generation and tool orientation control are two main issues. Great progress has been made in 5-axis tool path planning after years of research [1–3]. While continuing work is being pursued to improve 5-axis tool path planning, haptic interface has gradually aroused the interest of the Computer-aided Design/ Computer-aided Manufacturing (CAD/CAM) research area. Haptics is concerned with information and object manipu- lation through touch. Besides transducing position and motion commands from the user, the haptic devices can present controlled forces to the user, allowing him or her to feel virtual objects and to control or deform the objects [4]. Haptic interface has found its applications in design, medicine, entertainment, education, industry, graphic arts, etc [5]. In this paper, we are especially interested in the haptic application in CAD/CAM and NC machining. In the CAD area, researchers from University of Utah have published their work on direct manipulating of NURBS surface with their special haptic manipulator [6]. Basically, it is a system wherein one can trace along a NURBS surface and feel it. A dynamic sculpting system for free-form subdivision solids was developed at SUNY Stony Brook [7]. A virtual carving system with a commercial haptic interface was developed at University of Missouri- Rolla [8]. These presented systems, although different in their implementations and some underlying theories, can both be traced back to volume sculpting [9]. In the CAM area, some initial attempts and inspiring work have been developed at MIT. Researchers have produced some interesting results in 5-axis tool path generation. In their work, a quick collision detection method was proposed between a tool and a machining environment represented by point clouds [10]. In their tool path generation application, they machined a part with a constant Z -height machining method [11]. In our earlier work presented in Ref. [12,13], techniques of haptic virtual sculpting of complex surfaces have been developed. 0010-4485/$ - see front matter q 2004 Elsevier Ltd. All rights reserved. doi:10.1016/j.cad.2004.01.013 Computer-Aided Design 36 (2004) 1295–1307 www.elsevier.com/locate/cad * Corresponding author. Tel.: þ 1-919-515-7195; fax: þ1-919-515-5281. E-mail address: [email protected] (Y.-S. Lee).
13
Embed
Five-axis pencil-cut planning and virtual prototyping with 5DOF haptic interface
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Five-axis pencil-cut planning and virtual prototyping
with 5-DOF haptic interface
Weihang Zhu, Yuan-Shin Lee*
Department of Industrial Engineering, North Carolina State University, Raleigh, NC 27695-7906, USA
Received 22 August 2003; received in revised form 22 January 2004; accepted 30 January 2004
Abstract
In this paper, techniques of 5-axis pencil-cut machining planning with a 5-DOF (degree of freedom) output haptic interface are presented.
Detailed techniques of haptic rendering and tool interference avoidance are discussed for haptic-aided 5-axis pencil-cut tool path generation.
Five-axis tool path planning has attracted great attention in CAD/CAM and NC machining. For efficient machining of complex surfaces,
pencil-cut uses relatively smaller tools to remove the remaining material at corners or highly curved regions that are inaccessible with larger
tools. As a critical problem for 5-axis pencil-cut tool path planning, the tasks of tool orientation determination and tool collision avoidance
are achieved with a developed 5-DOF haptic interface. A Two-phase rendering approach is proposed for haptic rendering and force-torque
feedback calculation with haptic interface. A Dexel-based volume modeling method is developed for global tool interference avoidance with
surrounding components in a 5-axis machining environment. Hardware and software implementation of the haptic pencil-cut system
with practical examples are also presented in this paper. The presented technique can be used for CAD/CAM, 5-axis machining planning and
industry for some time [17]. As shown in Fig. 3, a
Rolling-ball method developed in our earlier work presented
in [14,18] was revised to extract the pencil-cut regions of
sculptured surfaces. The Rolling-ball method works in the
way described as follows.
Fig. 3(a) shows an example polyhedral model. A CC-net,
which is a net of CC points, is cast on the polyhedral model, as
shown in Fig. 3(b). A ball with an appropriate radius, which is
usually set as the radius of a finishing cutter, rolls along this
CC-net to identify the pencil-cut boundary points [18].
Two smaller balls, whose radii are usually set as half of
the radius of the previous big reference ball, are rolling along
a route parallel to the pencil-cut boundary, as shown in
Fig. 3(c). In this way, the pencil-cut regions can be identified
and the parallel pencil-cut tool paths can be traced for each
pencil-cut region, as detailed in Ref. [14].
For 5-axis pencil-cut, the tool orientations are to be
determined by considering both the local surface property
and the surrounding machining environments.
These problems of global tool collision and local gouging
Fig. 2. Coordinate systems in 5-axis machining and the C-Space definition.
Fig. 3. Rolling-ball method for identifying pencil-cut regions of sculptured surfaces. (a) An example polyhedral model. (b) Finding pencil-cut regions [14].
(c) Tracing pencil-cut tool paths with two smaller balls.
W. Zhu, Y.-S. Lee / Computer-Aided Design 36 (2004) 1295–1307 1297
kD is the pre-defined cross-section dependent force
coefficient,
k0D is the cross-section independent force coefficient.
Now the force direction ~fDj;dir needs to be defined.
As shown in Fig. 16(b), the whole cutter assembly is
considered to be composed of two portions: holder and cutter.
The geometric center of the holder and cutter portions can be
defined, respectively, as Pholder_center and Pcutter_center:The tool
assembly may be intersected with the Dexel model of the
holder or cutter portion. Assuming that the geometric enter of
the intersected dexel element is PD;mid; the force direction~fDj;dir is defined as follows (Fig. 16(b))
~fDj;dir ¼PD;midPholder_center�������������!
; for holder portion
PD;midPcutter_center������������!
; for cutter portion
8<: ð10Þ
A component force ~fDjðfDj;mag;~fDj;dirÞ is determined by its
magnitude fDj;mag and direction ~fDj;dir: Assuming that the
virtual pivot point’s location is Ppvt; the center location of the
intersected Dexel is PDj; and the force magnitude of fDj;mag is
calculated with Eq. (9), the torque tDj induced by this
collision point is calculated as follows (Fig. 16(b))
~tDj ¼ fDj;mag·ð~fDj;dir £ ðPDjPpvt�����!
ÞÞ ð11Þ
The collision force ~fDjðfDj;mag;~fDj;dirÞ and the correspondent
torque ~tDj found by using Eqs. (9)–(11) are used in the haptic
rendering to provide force–torque feedback to the users.
Details are discussed in Section 4.3.
4.3. Force and torque feedback distribution to the haptic
device hardware
For the force–torque feedback on the haptic device during
pencil-cut of the complex surfaces, two types of force–tor-
ques need to be considered. These two types of force–torque
feedbacks need to be distinguished in the haptic rendering:
1. Tracing force. As the tool moves on the surface and traces
along the tool path, the force feedback is the tracing force
and the force–torque (~fi and ~ti) feedback is calculated by
using Eqs. (7) and (8).
2. Collision force. If the tool holderof the tool system collides
withpart surface(ie.~fi and ~ti usingEqs. (7)and(8)),or if the
tool collides with the fixtures in the machining environ-
ment (i.e. ~fDj and ~tDj using Eqs. (9)–(11)), the force
feedback is classified as the collision force. The force–
torque feedback can be calculated by using Eqs. (7)–(11).
In general, the collision force is relatively strong
compared to the tracing force. Assuming that there are a
total of m collision points and q Dexel intersections in the
current instance, from Eqs. (7)–(11), the force ~f and torque ~t
feedback via the haptic probe can be calculated as follows:
~f¼Xmi¼1
~fiþXq
j¼1
~fDj¼kXmi¼1
ðDxi·~fi;dirÞþk0DXq
j¼1
ðDzDj·~fDj;dirÞ ð12Þ
~t¼Xmi¼1
~tiþXq
j¼1
~tj¼kXmi¼1
ðDxi·ð~fi;dir£ðPiPpvt����!
ÞÞÞ
þk0DXq
j¼1
ðDzDj·ð~fDj;dir£ðPDjPpvt�����!
ÞÞÞ ð13Þ
Force ~f is distributed to two manipulators as follows
(Fig. 17)
~fLf ¼ f =2 ð14Þ
~fRf ¼ f =2 ð15Þ
In both Figs. 7 and 17, if we assume that the vector from the
left haptic manipulator end PL to right manipulator end PR is
~rLR; the torque is distributed to two manipulators as follows
~fLt¼~t
l~rLRl·~t£~rLR
l ~t£~rLRl¼2~fRt ð16Þ
Then the desired forces on the left and right manipulators are
calculated as follows
~fL¼~fLf þ~fLt ð17Þ
~fR¼~fRf þ~fRt ð18Þ
The desired forces ~fL and ~fR are then substituted into Eqs. (2)
and (3) to get the corresponding DC motor torques ~tL and ~tR:
The rotation of the DC motors applies force on the user’s
hand through the haptic device structure.
Fig. 16. Calculation of force–torque feedbacks using Dexel volume models.
(a) A virtual tool collision with a Dexel volume model. (b) Calculation of
torque feedback with collision points PDi in the Dexel volume model.
W. Zhu, Y.-S. Lee / Computer-Aided Design 36 (2004) 1295–1307 1303
5. Implementation and examples
The proposed techniques and the haptic hardware have
been developed and implemented in our lab at North
Carolina State University (Fig. 5). Based on the developed
haptic controller system, the haptic rendering programs and
the software driver have been implemented for this haptic
system. The haptic controller and haptic rendering program
were implemented on a dual 2.4 GHz CPU workstation,
with Visual Cþþ and OpenGLw. The interaction scheme is
designed for the haptic application. Since we constructed
the haptic device controller and developed the rendering
programs from the hardware level, we have the greatest
flexibility in designing our specific haptic applications.
Fig. 18(a) shows the overview of a user’s operation of the
haptic 5-axis pencil-cut system. Fig. 18(b) shows an example
part of a computer mouse model in STL format. As shown in
Fig. 18(c), two parallel pencil-cut tool paths are identified
along the sharp edges by using the Rolling ball method
developed in our earlier work in Ref. [14,18]. Fig. 19(a)
shows some sample 5-axis tool orientations for machining of
the pencil-cut critical regions of the example part. Fig. 19(b)
shows the generated 5-axis pencil-cut tool paths for
machining the pencil-cut regions on the example part
surface. The tool holders are temporarily hidden in
Fig. 19(b) to show the tool orientations more clearly. Without
considering the surrounding machining environment, 5-axis
tool paths could easily collide with the adjacent object
unintentionally. It can be seen from Fig. 19(c) that
the generated 5-axis tool paths are actually colliding with
the fixtures nearby during 5-axis tool motions. As demon-
strated in Fig. 19(c), these tools actually penetrate the
fixtures. By taking the whole machining environments into
account, the haptic system actually responds and enables the
user to feel the collision force feedback. By using the haptic
interface, the user is able to correct the tool orientations.
Fig. 17. Force and torque distribution to two haptic manipulators.
Fig. 18. Pencil-cut tool path (dark blue trajectories) identified on an example computer mouse model. (a) An overview of haptics operation process of the 5-axis
pencil-cut path planning. (b) An STL model of example computer mouse. (c) Pencil-cut tool path on the example STL model (For interpretation of the
references to colour in this figure legend, the reader is referred to the web version of this article).
W. Zhu, Y.-S. Lee / Computer-Aided Design 36 (2004) 1295–13071304