3. INTRODUCTION
ο΄ CNC or computer-numerical-control machines.
ο΄ High speed , high tolerance , precise surface finishing.
ο΄ CNC variants : Mills, lathes, EDM, 3d printer, etc.
ο΄ Contouring error : deviation of the cutting tool from the toolpath trajectory.
ο΄ Servo control : for achieving a satisfactory contouring error.
ο΄ tracking control : to minimize the tracking error in each axis individually.
ο΄ contouring control cross-coupling control (CCC)
task coordinate frame transformation.
3
4. ο΄ CCC method
ο΄ Disadvantage : low effectiveness in dealing with nonlinear contours.
ο΄ Task coordinate frame transformation
ο΄ the axis coordinate system is transformed into tangential-normal-bidirectional
task frame.
ο΄ contouring and lag tracking errors : by varying PD and feed-forward
controller.
ο΄ Limited to SISO.
4
Real time contour
error calculation
Signal from
compensator
Servo controller in
each axis
5. ο΄ The MIMO LPV feedback controller as a function of toolpath trajectory
1. toolpath trajectory direction
2. toolpath trajectory velocity.
ο΄ toolpath profiling precision is improved with high feed-rate .
ο΄ Controller design approach using
1. advanced gain scheduling control technique based on linear matrix
inequalities.
2. coordinate transformation matrices.
5
6. THREE AXIS CNC MACHINE6
Fig. 1: An illustration of a three-axis CNC machine
7. ο΄ Table with workpiece mass : move in x and y directions.
ο΄ Table with machining tool : displaces in z direction.
ο΄ Three ball-screw feed-drive systems connected with DC motors for movement.
ο΄ Applied voltages current amplifiers DC motors
(π£ π₯, π£ π¦ and π£π§ [V]) (send current commands) (torques generated)
ο΄ Torque to the screws : linear displacements (positions) of the tables π π₯, π π¦ and π π§.
ο΄ The positions measurement : linear encoders in real-time for feedback control.
ο΄ External forces ππ₯, ππ¦ and ππ§ [N] : the resultant component of the cutting forces
and friction along the three axes.
7
8. TRACKING AND CONTOURING ERROR
ο΄ The tracking error : difference between the
table position and its reference in each axis at
each time instant t:
π π‘ = π π‘ β π π‘ (1)
ο΄ In 3 dimension,
π π‘ = [ππ₯(π‘), ππ¦(π‘), ππ§(π‘)] π
π π‘ = [π π₯(π‘), π π¦(π‘), π π§(π‘)] π (2)
where ππ, i = x; y; z are the reference signals
in x, y and z directions.
ο΄ The contouring error : difference between the
displacement at each time instant and the
shortest-distance point on the reference
trajectory.
Fig. 2: Tracking error and
contouring error in 3axis CNC
machine
8
9. CONTOURING ERROR APPROXIMATION
ο΄ The tracking error ,with encoder measurements ππ, i = x; y; z. is used directly for
feedback control.
ο΄ Mathematically, from fig.2 ,the tracking error can be represented as
π = ππ‘ π’ π‘ + π πβπ π’ πβπ , (3)
ππ, i = t; n-b are scalars associated with the unit vectors.
ο΄ The contouring error is estimated as
π ππ π‘ = π πβπ π’ πβπ , (4)
where
π πβπ π’ πβπ = π πβπ,π₯ π’ π₯ + π πβπ,π¦ π’ π¦ + π πβπ,π§ π’ π§ . (5)
9
10. 10 ο΄ The relation between measurable vector π and unmeasurable scalars (ππ‘; π πβπ) as
=
ππ‘(Ξ± π₯, Ξ± π¦)
ππβπ(Ξ± π₯, Ξ± π¦)
π, (6)
π πβπ= π πβπ,π₯
2
+ π πβπ,π¦
2
+ π πβπ,π§
2
(7)
ο΄ The transformation matrices ππ‘ and ππβπ are given by
ππ‘(Ξ± π₯, Ξ± π¦)= π Ξ± π₯ π Ξ± π¦ π Ξ± π§
ππβπ(Ξ± π₯, Ξ± π¦)=
π Ξ± π₯
2
βπ Ξ± π₯ π Ξ± π¦ βπ Ξ± π₯ π Ξ± π§
βπ Ξ± π₯ π Ξ± π¦ π Ξ± π¦
2
βπ Ξ± π¦ π Ξ± π§
βπ Ξ± π₯ π Ξ± π§ βπ Ξ± π¦ π Ξ± π§ π Ξ± π§
2
(8)
for an angle, s() and c() denote sin and cos respectively.
ππ‘
π πβπ,π₯
π πβπ,π¦
π πβπ,π§
11. CONTROLLER OBJECTIVES
ο΄ The mapping from the vector π to the scalar π πβπ is nonlinear because of (7).
ο΄ The mapping from π to the vector in the left-hand side of (6) is linear.
ο΄ Feedback controllers
ο΄ minimizes the approximated contouring error π ππ π‘ in (4) and
ο΄ also suppresses vibration of the machine due to external forces.
Fig. 3: Feedback structure for contouring error minimization.
where the disturbance force vectors π := [ππ₯; ππ¦ ; ππ§] π,
voltage input vector π£ := [π£ π₯; π£ π¦; π£π§] π.
11
12. MIMO LPV CONTROLLER DESIGN
ο΄ SISO controller : each axis is actuated independently by a feed-drive system.
ο΄ A single MIMO controller : function of path direction and velocity.
ο΄ compensate for the contouring error and
ο΄ to reject the disturbance forces .
ο΄ A linear time-invariant (LTI) state-space model of βCNC machineβ block in Fig. 3
is expressed by
G:
π₯ π π‘ = π΄ π π₯ π π‘ + π΅ ππ π π‘ + π΅ ππ π£ π‘ ,
π π‘ = πΆ π π₯ π π‘
(9)
where π₯ π : state vector,
π΄ π, π΅ ππ, π΅ ππ£ and πΆ π : constant system matrices of compatible dimensions.
12
13. 1. CONTROLLER STRUCTURE
Fig. 4: controller structure for contouring control
ο΄ The parameter Ζ(the gain-scheduling parameter) is defined by
Ζ = [Ξ± π₯, Ξ± π¦] π (10)
ο΄ The first system T(Ζ) is a parameter-varying matrix which is the coordinate
transformation matrix defined by
T(Ζ) =
ππ‘(Ζ)
ππβπ(Ζ)
(11)
13
14. ο΄ The output of the system T(Ζ) are given in the left-hand side of (6) .
ο΄ The vector π ππ π‘ is given by
π ππ π‘ = [ π πβπ,π₯ , π πβπ,π¦ , π πβπ,π§] π (12)
ο΄ The K(Ζ; Ζ) block is a linear parameter-varying (LPV) controller.
14
15. 2. CONTROLLER DESIGN
ο΄ For the LTI model G in (9) and the parameter-varying matrix T(Ζ) in (11), the
design of a gain-scheduling controller K(Ζ, Ζ) in Fig. 4 in an LPV form is
π₯ π
π£
=
π΄ π(Ζ, Ζ) π΅ π(Ζ, Ζ)
πΆ π(Ζ, Ζ) π· π(Ζ, Ζ)
π₯ π
ππ‘
π ππ π‘
(13)
where π₯ πΎ is a controller state vector.
ο΄ An LPV controller K, function of varying path direction Ζ and velocity Ζ.
ο΄ Auxiliary signals π§π‘ βΆ tangential error performance,
π§ π βΆ contouring control performance and
π§ π£ : control input energy.
15
16. ο΄ The signal ππ€ : to confine the frequency components of the signal π .
ο΄ Weighting matrices ππ‘, ππ, ππ and ππ to
ο΄ take a tradeoff among these performances,
ο΄ improve performance at specific frequency ranges.
Fig. 5: Feedback system for LPV controller design
16
17. WEIGHTING FUNCTION TUNNING
ο΄ Parametrizing the weighting functions by
W(s)=
π π π»
1/π π + π π
π + π π π πΏ
1/π π
π π
(14)
where, tuning parameters are
ππΏ : low frequency gain of πβ1
,
π π» : high frequency gain of πβ1,
π π : unit-gain crossing frequency of πβ1,
π π βΆ degree of the function W.
17
18. Weighting function Tuning parameter Effect
ππ Reduce ππΏ
Increase π π
Reduction in contouring
error and to improve the
controller bandwidth.
ππ‘
ππΏ much larger than that
of ππ
π π much smaller than that
of ππ
Reduction in contouring
error and to improve the
controller bandwidth.
ππ
Decrease π π»
Increase ππΏ
π π below the first
principal resonant
frequency.
Improve the vibration
suppression by damping
out resonant modes.
ππ£ Increase the gain of ππ£. Reduction in motor voltage
and to avoid saturation.
18
19. CONCLUSION
ο΄ A novel linear parameter-varying (LPV) controller structure.
ο΄ The controller consists of two parts,
1. a parameter-varying coordinate transformation matrix which is a function of
machine toolβs reference trajectory angle,
2. a dynamic LPV system which depends on both the trajectory angle and its
velocity.
ο΄ The dynamic LPV system was designed by using the well-known advanced gain-
scheduling controller design technique based on linear matrix inequalities.
ο΄ Guidelines for tuning weighting functions in contouring controller design.
ο΄ Future work : contouring control method to five-axis machine cases.
19
20. REFERENCES
ο΄ Masih Hanifzadegan and Ryozo Nagamune, βContouring Control of CNC
Machine Tools Basedon Linear Parameter-Varying Controllers,β IEEE/ASME
Trans. Mechatronics, vol. 21, pp. 2522β2530, 2016.
ο΄ N. Khalick Mohammad, A.E. Uchiyama and S. Sano, βEnergy saving in feed
drive systems using sliding-mode-based contouring control with a nonlinear
sliding surface,β IEEE/ASME Trans. Mechatronics, vol. 20, no. 2, pp. 572β579,
2015.
ο΄ M. R. Khoshdarregi, S. Tappe, and Y. Altintas, βIntegrated five-axis trajectory
shaping and contour error compensation for high-speed CNC machine tools,β
IEEE/ASME Trans. Mechatronics, vol. 19, no. 6, pp. 1859β1871, 2014.
ο΄ D. Lam, C. Manzie, and M. C. Good, βModel predictive contouring control for
biaxial systems,β IEEE Trans. Control Systems Technology,vol. 21, no. 2, pp.
552β559, 2013.
20