Algebraic geometric nd geometric modeling 2006 Approximating Clothoids by Bezier curves Algebraic geometric and geometric modeling, September 2006, Barcelona.

Slides:



Advertisements
Similar presentations
Aim: How do we find the zeros of polynomial functions?
Advertisements

Arc-length computation and arc-length parameterization
Splines I – Curves and Properties
Lecture Notes #11 Curves and Surfaces II
Parametric Curves Ref: 1, 2.
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
Lecture 10 Curves and Surfaces I
Geometric Modeling Notes on Curve and Surface Continuity Parts of Mortenson, Farin, Angel, Hill and others.
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
© University of Wisconsin, CS559 Spring 2004
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Interpolation to Data Points Lizheng Lu Oct. 24, 2007.
Dr. S.M. Malaek Assistant: M. Younesi
08/30/00 Dinesh Manocha, COMP258 Hermite Curves A mathematical representation as a link between the algebraic & geometric form Defined by specifying the.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
ES 240: Scientific and Engineering Computation. InterpolationPolynomial  Definition –a function f(x) that can be written as a finite series of power functions.
Rational Bezier Curves
Offset of curves. Alina Shaikhet (CS, Technion)
09/04/02 Dinesh Manocha, COMP258 Bezier Curves Interpolating curve Polynomial or rational parametrization using Bernstein basis functions Use of control.
Curves Locus of a point moving with one degree of freedom
Cubic Bezier and B-Spline Curves
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Modelling: Curves Week 11, Wed Mar 23
09/16/02 Dinesh Manocha, COMP258 Surfaces Locally a 2D manifold: i.e. approximating a plane in the ngbd. of each point. A 2-parameter family of points.
Mathematical Methods 2016 Onwards Allason McNamara
Curve Modeling Bézier Curves
Absolute error. absolute function absolute value.
1 st order linear differential equation: P, Q – continuous. Algorithm: Find I(x), s.t. by solving differential equation for I(x): then integrate both sides.
Engineering Research Center for Computer Integrated Surgical Systems and Technology Fall 2000; Updated: 12 September 2015 Copyright © R. H. Taylor.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
This Week Week Topic Week 1 Week 2 Week 3 Week 4 Week 5
Employing Pythagorean Hodograph Curves for Artistic Patterns Conference of PhD Students in Computer Science June 29 - July 2, 2010 Szeged, Hungary Gergely.
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture 3. Description.
Ken Youssefi Mechanical Engineering dept. 1 Mass Properties Mass property calculation was one of the first features implemented in CAD/CAM systems. Curve.
Curves.
Splines Vida Movahedi January 2007.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Curve-Fitting Regression
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
1 Complex Images k’k’ k”k” k0k0 -k0-k0 branch cut   k 0 pole C1C1 C0C0 from the Sommerfeld identity, the complex exponentials must be a function.
Topic: Quadratics and Complex Numbers Grade: 10 Key Learning(s): Analyzes the graphs of and solves quadratic equations and inequalities by factoring, taking.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
Splines I – Curves and Properties based on: Michael Gleicher Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
(c) 2002 University of Wisconsin
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
CSCI480/582 Lecture 10 Chap.2.3 Cubic Splines – B-Splines and NURBS Feb, 13, 2009.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
Copyright Kaplan AEC Education, 2008 Calculus and Differential Equations Outline Overview DIFFERENTIAL CALCULUS, p. 45 Definition of a Function Definition.
Ship Computer Aided Design
Rendering Bezier Curves (1) Evaluate the curve at a fixed set of parameter values and join the points with straight lines Advantage: Very simple Disadvantages:
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
CS552: Computer Graphics Lecture 19: Bezier Curves.
Announcements Topics: -sections (differentiation rules), 5.6, and 5.7 * Read these sections and study solved examples in your textbook! Work On:
Introduction to Parametric Curve and Surface Modeling.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
Computer Graphics Lecture 38
Curve & Surface.
Chapter 10-2: Curves.
Advanced Engineering Mathematics 6th Edition, Concise Edition
Parametric Curves.
© University of Wisconsin, CS559 Spring 2004
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

Algebraic geometric nd geometric modeling 2006 Approximating Clothoids by Bezier curves Algebraic geometric and geometric modeling, September 2006, Barcelona Nicolás Montés and Josep Tornero Dept. of Systems Engineering and Control Technical University of Valencia

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Outline Generation of a clothoid approximation in a standard CAD/CAD Least Squares fitting are used to approximate a set of Clothoid points by Bezier curves Clothoid points are obtained by a more accurate non-polynomial approximation

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Outline Bezier control points are allocated in a straight line for a constant end angle of the clothoid and different constant parameters of the Clothoid. Bezier equation that represent the clothoids in a selected work range can be generated combining two Bezier equations

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona From spirals to clothoids ¿what is a spiral? “A planar curve where curvature is continuously changing. That is, curvature decreases as radius increases”

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Type of spirals Uniform spiral or Arquímedes spiral where: A  characteristic constant parameter r  radius in a point of the curve α  Angle in a point of the curve

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Logarithmic spiral or geometric spiral where: A,B  characteristic constant parameters r  radius in a point of the curve α  Angle in a point of the curve Type of spirals

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Fermat’s spiral where: A  characteristic constant parameter r  radius in a point of the curve α  Angle in a point of the curve Type of spirals

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Cornu’s spiral, Euler’s spiral, Clothoid Gomes(1909) The curvature is proportional to the arc length: where: A  characteristic constant parameter r  radius in a point of the curve α  angle in a point of the curve l  length followed until a point of the curve From spirals to clothoids

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona The use of clothoids In topography: It is used to build curves without discontinuities in highways and railways In mobile robotics, they can be used for: Generating continuous paths Identifying clothoids in road and highway profiles

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Path Generation (N. Montes, J. Tornero. WSEAS. December 2004) (K. Fotiades and J. Siemenis. IEEE Intelligent Vehicles. June 2005) copied by

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Path Generation (N. Montes, J. Tornero. WSEAS 2004) (K. Fotiades and J. Siemenis. IEEE Intelligent Vehicles. June 2005) copied by

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Continuous trajectory to join straight lines and circles with 3 clothoids: Path Generation

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Overtaking in highways Path Generation (N. Montes, J. Tornero and L. Armesto. International Simulation Conference. June 2005)

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Avoiding obstacles Path Generation (N. Montes, J. Tornero and L. Armesto. International Simulation Conference. June 2005)

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona 1.Angle of tangent: 2.Curvature: 3.Arc length L: B is a positive real number, parameter t is a non-negative real number where R is the radius of the curvature. Mathematical definition of clothoids Properties of the clothoid: where The most attractive property of the clothoid is that:

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Approach of Clothoids (Boresma, 1960), (Cody, 1986), (Heald, 1985), (Klaus, 1997, 2000) Approaching a clothoid in a selected t point (Klaus, 1997, 2000) : Approach a selected point of the Fresnel integrals with an accuracy of 1x10 -9 Non-Polynomial functions are ruled out, because they cannot be expressed in standard CAD/CAM, (Sanchez Reyes and Chacon, 2003) Non-Polynomial functions:

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Approach of Clothoids Polynomial functions: (Wang et Al., 2001): The clothoid is approximated by a Bezier form using Taylor expansion. The order of the resulting Bezier curve is 23 with an error order of 1x10-6 (Sanchez Reyes and Chacon, 2003): the clothoid is approximated by an s-power series. The coefficients can be translated to a Bezier form between a transformation matrix. The calculus of the coefficients is complicated (Meek and Walton, 2004): the clothoid is approximated by a set of arc Splines. The selected piecewise clothoid is converted in a discrete clothoid and each part is represented with an arc spline. The disadvantage is that it is only tangent vector continuous between arcs.

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve Bezier curves have the formulation: where: : Bezier control points : Intrinsic parameter. : Order of the Bezier equation Bezier equation can be rewired to represent a clothoid in the interval Tangent angle are linearly distributed along the clothoid, avoiding iterative methods. (Borges, 2002)

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve Bezier equation can be expressed as a lineal equation: whereis the kth Bernstein basis function, which is: A set of linear equations can be expressed in the next matrix form:

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve This representation permits the use of least squares: Variance of the approximation can be obtained as: Also a percentage in the point of maximum variance is obtained as:

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve Nσ2xσ2x σ2yσ2y Max(σ 2 x )Max(σ 2 y )|ε x | (%)|ε y | (%) · · · · · · · · · · · · · · · · · · · · th order 7 th order Example 1: tangent angle interval [0, π/2], A=300

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve Example 2: tangent angle interval [0, π], A= th order 15 th order Nσ2xσ2x σ2yσ2y Max(σ 2 x )Max(σ 2 y )|ε x | (%)|ε y | (%) · · · · · · · · · · · · · · · ·10 -5

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Example 3: tangent angle interval [0, π/2], A=[500,3000]. 7 th order Clothoid to Bezier curve Aσ2xσ2x σ2yσ2y Max(σ 2 x )Max(σ 2 y )|ε x | (%)|ε y | (%) 2008· · · · · · · · · · · · · · · · · · · · · · · · · ·

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve Control points are approximated by least squares with a1 st order Bezier curve Cσ2xσ2x σ2yσ2y Max(σ 2 x )Max(σ 2 y )|ε x | (%)|ε y | (%) 15· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·10 -13

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve It permits to rewrite a Bezier equation that represents the clothoids in a selected interval where: : Bezier Control points of the straight line, : Bernstein basis functions for A and

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Clothoid to Bezier curve Example of road design: tangent angle interval [0, π/2], A=[30,3000] Aσ2xσ2x σ2yσ2y Max(σ 2 x )Max(σ 2 y )|ε x | (%)|ε y | (%) 306.1· · · · · · · · · · Error in the approximation for a limit cases: Start control pointEnd control point XYXY 1-8.5· · · · · ·

Algebraic geometric nd geometric modeling 2006 Algebraic geometric and geometric modeling, September 2006, Barcelona Conclusions A strategy to approximate a selected piecewise clothoid by Bezier curves is presented. This approximation is based on least squares fitting. The points of the clothoid to fit are obtained by more accurate non-polynomial functions. The resulting approximation is an accurate approximation with a low degree Bezier order. In the interval of road design, 7 th order Bezier curve is used. The variance in the worst case is 4.54· This representation can be easily introduced in CAD/CAM fields because it is expressed in Bezier form. These approximation can also be used other application requiring parametric curves such as mobile robots and control systems.

Algebraic geometric nd geometric modeling 2006 Approximating Clothoids by Bezier curves Algebraic geometric and geometric modeling, September 2006, Barcelona Nicolás Montés and Josep Tornero Dept. of Systems Engineering and Control Technical University of Valencia