Professional Documents
Culture Documents
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Engineering curves
We have two main types of Engineering curves:
Curves with CAD representation:
Polynomial and rational
Applications Design
Curves without CAD representation:
Transcendental curves (examples in the following slides)
CAD incorporation via interpolation or approximation
Lot of engineering applications
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Engineering curves: Trochoids
Curve described by a fixed point as a circle rolls
outside a circle (Epitrochoid)
inside a circle (Hypotrochoid)
They admit a rational representation
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Trochoids applications
Design of roots blower rotors.
They handles large quantities of air at a small pressure diff.
Wankel engine: few vibration & mechanical stress at high rpm
Design of gear tooth profiles
III Engineering week, Schmalkalden 2013
Rotary blower
Mazdas Wankel engine
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Catenary
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Clothoid spiral
III Engineering week, Schmalkalden 2013
Curvature is proportional to distance.
Parameterization: Fresnel integrals (Transcendental curve)
Application: road design, roller coasters
Speed = Constant
c(t)
C(t)
S(t)
,
C(t) cos(
2
2
) dz
0
t
S(t) sin(
2
2
) dz
0
t
.
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Involute or evolvent
III Engineering week, Schmalkalden 2013
Definition: Path follow by the end of a string which is wound
tangent to a profile.
It is a transcendental curve.
Application: design of gear teeth
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Offset
III Engineering week, Schmalkalden 2013
Definition: parallel curve c
d
(t)
In general, it is a non polynomial/rational curve
c
d
(t) c(t) t dn(t),
n(t) normal
+ up, - down
.
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Offset: Applications
III Engineering week, Schmalkalden 2013
Tool path and road design
Cam design
CAE CAGD
Curve
s
CAD representation Fittin
g
Conclusions
Offset: representation problems
III Engineering week, Schmalkalden 2013
Self-intersections
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Standard CAD representation
We can incorporate polynomial curves into
CAD but there are different ways to describe a
polynomial.
Our first choice is the monomial basis, but is it
the best representation for CAD?
Next slides try to answer this question
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Monomial basis
Definition: A way to describe a polynomial using a linear
combination of monomials
Main advantages:
Simple algebraic manipulation: additions, products,
derivation
OK to approximate functions around a point (Taylor, t = 0)
Efficient computing algorithm (Horner)
Everybody learned this representation in high school
III Engineering week, Schmalkalden 2013
Monomialbasis: 1,t,t
2
,...,t
n
{ }
,
Polynomialrepresentation: a(t) a
i
t
i
i0
n
.
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Monomial basis
Disadvantages:
Coefficients have not geometric meaning
Poor numerical properties: small errors in a
i
gaps
Gaps and non geometric meaning are unacceptable for CAD
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Bzier curves
Provide a polynomial representation:
where coefficients have geometric meaning Control
points
without numerical problems no gaps
End control points = curve end points.
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Examples of Bzier curves
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Bernstein polynomials
Definition:
Bzier: combination of control pts via Bernstein polynomials
b
i
Control points
effect of b
i
in the curve shape.
b
i
pulls the curve
(u=i/n Maximum )
III Engineering week, Schmalkalden 2013
B
i
n
(u)
n
i
1 u
( )
n i
u
i
.
b(u) b
i
B
i
n
(u)
i0
n
.
B
i
n
(u)
B
i
n
(u)
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Bzier curves: geometric properties
Affine invariance. Reposition-scale-rotation so on
transformation of control points
III Engineering week, Schmalkalden 2013
Other Application
Typography:
S
S
S
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
End point interpolation. The curve pass through the end control
points no gaps
Linear precision. If bi are aligned line
Convex hull property. B(t) lies in the convex hull of the control
polygon. Application: Interference checking.
Operations like integration and derivation via additions,
products and divisions of control points
Good numerical properties
Bzier curves: geometric properties
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Bzier curves: smoothness conditions
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Bzier curve: Derivation
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Bzier curves: Integration
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Design Example: cam profile
III Engineering week, Schmalkalden 2013
Hypothesis. Constant angular speed
Conditions:
Constraint forces y() is C
1
Avoid jerk y() is C
2
cte
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Rational Bzier curves
III Engineering week, Schmalkalden 2013
Several conic curves (ellipse, circle, hyperbola) can not be
represented by means of a polynomial Bzier curve.
Solution: Rational Bzier curve a perspective transformation
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Rational Bzier curves
III Engineering week, Schmalkalden 2013
Effect of control points reposition Effect of weight modification
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Conic construction via Rational Bzier curves
III Engineering week, Schmalkalden 2013
Conic arc
Centre (circle), focus: C
Angle 2
Weights: w
0
w
2
1,w
1
w
1
[0,1] Ellipse (w
2
cos( ), Circle)
1Parabola
[1,] Hyperbola
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Conics applications
III Engineering week, Schmalkalden 2013
Source: Alternative-energy-tutorials.com
Source: radartutorial.eu
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
B-spline curves
III Engineering week, Schmalkalden 2013
Definition: Spline of Bzier curves same Bzier properties
Application curves with complex shape
d(u) d
i
N
i
n
(u)
i 0
n
. N
i
n
(u) piecewisebasis
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
B-spline versus Bzier
III Engineering week, Schmalkalden 2013
Bzier B-spline
Design
Pseudo local shape
control
Local control
Continuity
guarantee
Complex Simple (polynomial degree - 1)
Evaluation cost
N control points increase
computational cost
It doesnt depend on number
of control points
Implementation Straightforward Complex
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
Example: Degree n=3 B-spline
III Engineering week, Schmalkalden 2013
Continuity n-1=2
Number of control points p=7
9 knots, Number of pieces m m=p-n=4
CAE CAGD
Curve
s
Eng. curves Fittin
g
Conclusions
NURBS: Non uniform rational B-spline
III Engineering week, Schmalkalden 2013
Definition: Spline of Rational Bzier curves with a non uniform
knot sequence.
CAE CAGD
Curve
s
Eng. curves CAD representation
Conclusions
Fitting
Definition: Construction of a NURBS that approximates a non
polynomial-rational curve
Main fitting techniques:
Approximation. NURBS passes close to a set of points
Interpolation. NURBS satisfies a set of conditions
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves CAD representation
Conclusions
Lagrange Interpolation
Lagrange interpolation: the interpolation curve passes
through an uniformly distributed set of points
Drawbacks:
Runges phenomenon
New data re-compute
III Engineering week, Schmalkalden 2013
Original curve
Degree 4 Lagrange Interpolation
Degree 8 Lagrange Interpolation
Source: wikipedia
CAE CAGD
Curve
s
Eng. curves CAD representation
Conclusions
Hermite Interpolation
Definition: the interpolation curve passes through an non uniformly
distributed set of points data: end points and their derivate
Applications:
Approximation of boundary problems
Useful to control continuity
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves CAD representation
Conclusions
Approximation
The construction passes close to a set of data.
Complex implementation: iterative algorithm.
Basic approximation technique: Least squared method.
III Engineering week, Schmalkalden 2013
CAE CAGD
Curve
s
Eng. curves CAD representation Fittin
g
Conclusions
CAGD decrease design errors & contribute to
reduce the time to take the market.
CAGD is devoted to Engineering design via curves
and surfaces.
There are different types of curve representations
Bzier B-Spline NURBS is the CAD standard
Advantages: local shape control, fast evaluation and
straightforward implementation of different
operations
To incorporate transcendental curves
Interpolation or approximation (fitting)
III Engineering week, Schmalkalden 2013