Pdf24 Merged
Pdf24 Merged
01/16/25 2
Research and Development
R T D
Basic Technology Product
Research Development Development
•Discovery process •Loosely structured •Structured methods
•No set timing •Difficult to plan •Planned timing
•Unpredictable returns •Less predictable •Predictable outcome
•Long term •Medium term •Short term
Changing Dimensions of
Competition
01/16/25 12
Lessons learned from the
stories
• It is products like these that make companies
successful
– and competitors retreat.
• What in common is that their developers
understood their customers and their
competitors
• They created products that met or exceeded
their customers’ expectation
• With these products, these companies became
competitive at that time.
01/16/25 13
Characteristics of successful
product development
• Product quality (features and value)
• Development lead time
• Product cost
• Development cost
• Accumulation of development capability and
experience of the team.
01/16/25 14
Today’s business environment
– Innovation
• Be the first in the market
– Shortened product life cycle & shortened product
development cycle
• concurrent engineering/operation
– Frequent changes & agile operations
• mass customization
– Smaller lots and just-in-time production
• lean manufacturing/thinking
– Core business and supply network
– Global economy and corporate intelligence
– Internet and wireless integration
01/16/25 15
Scope of development efforts
• The team
– Development time: 1-5 years
– Development cost: US$100K-3B
– Team size (internal): 3-10K
– Team size (external): 3-10K
• The product
– Product cost: US$1-200M
– Numbers of parts: 3-130K
– Annual production volume: 50-50M
– Sales lifetime: 1-40 years
– Initial production cost: US$100K-3B
01/16/25 16
01/16/25 17
Product development team –
core team
• Marketing professional
• Design professionals
– ME
– EE
– Industrial designer
• Manufacturing professionals
– Manufacturing engineer (manufacturability)
– Purchasing specialist (supply chain)
01/16/25 19
Product development team –
extended team
• Legal, sales, finance professionals
• Consulting firms
• Government agencies
• Universities
• Environmental groups
• Professional regulatory groups (such as the
ASME)
01/16/25 20
01/16/25 21
Benefits of integration
• The best practice is to involve a team of
people representing the necessary
disciplines and skills (a cross-functional
team)
• Note:
– Assemble your project team of multi-
disciplinary backgrounds as required.
01/16/25 22
Challenges of product
development
• Trade-off
• Dynamics in the environment
• Tremendous amount of design details
• Time pressure
• Satisfaction of societal and individual needs
• Team diversity & spirit
01/16/25 23
Organizational realities
– leading to dysfunctional product development team
01/16/25 26
Textbook
Product Design and Development
Karl T. Ulrich and Steven D. Eppinger
5th edition, Irwin McGraw-Hill, 2012.
1. Introduction
2. Development Processes and Organizations
3. Opportunity Identification
4. Product Planning
5. Identifying Customer Needs
6. Product Specifications
7. Concept Generation
8. Concept Selection
9. Concept Testing
10. Product Architecture
11. Industrial Design
12. Design for Environment
13. Design for Manufacturing
14. Prototyping
15. Robust Design
16. Patents and Intellectual Property
17. Product Development Economics
18. Managing Projects
Chapter 1: HW assignment
• Homework assignment
– Do exercise #2 on page 10
– Follow exhibit 1-3 to identify the scope of efforts
for a PC (or cellphone) development project.
• Due date: next week
01/16/25 28
Development Processes and
Organizations
M is s io n D e v e lo p m e n t
S ta te m e n t E sta b lish G e n e ra te S e le ct Te s t Set P la n P la n
Id e n tify
Targ e t P ro d u ct P ro d u ct P rod u c t F in a l D o w n stre a m
C u sto m e r N e e d s C o n c e pts C o n ce pt(s ) C o n ce pt(s)
S p e cifica tio n s S p e cifica tio n s D e v e lo p m e n t
P e rfo rm E co n o m ic A n alysis
B e n ch m a rk C o m p etitiv e P ro d u cts
B u ild a nd Te st M o d e ls a n d P ro to typ e s
Generic Product Development
Process
01/16/25 7
Concept development
• A description of the form, function, and
features of a product
• A set of specifications
• An economic justification of the project.
01/16/25 8
System (architectural) design
• Definition of product architecture, with an
assembly layout.
• Division of the product into subsystems and
components, each with a functional
specification.
01/16/25 9
Detailed design
• Complete specification of the geometry,
materials, and tolerances of each of the
unique parts
• Identification of all standard parts to be
purchased.
• Establishment of a process plan and tooling
01/16/25 10
Test and refinement
• Construction and evaluation of multiple pre-production
versions of the product.
• Early (alpha) prototypes are usually built with production-
intent parts (but may not be with the intended production
processes) for testing in the designer's environment, if the
design intent and key customer needs are met.
• Later (beta) prototypes are built with parts supplied by the
intended production processes (but may not be with the
intended-assembly process), tested by customers in their
environment, and to evaluate product performance and
reliability.
01/16/25 11
Production ramp-up
• The product is made using the intended
production system.
• To train the work force and to work out any
remaining problems in the production
processes.
01/16/25 12
A generic concept
development process
1. Identifying customer needs
2. Establishing target specifications
3. Concept generation
4. Concept selection
5. Concept testing
6. Setting final specifications
7. Project planning
8. Economic analysis
9. Benchmarking of competitive products
10. Modeling and prototyping
01/16/25 13
Rapid Iteration PD Process
Design Test
Concept System-Level Integrate Validation
Planning Development Design and Test and Ramp-Up
Design Test
Mission Concept System Production
Approval Review Review Approval
Design Test
Concept Development Process
Mission Development
Statemen Identify Establish Generate Select Test Set Plan Plan
t Customer Target Product Product Product Final Downstream
Needs Specifications Concepts Concept(s) Concept(s) Specifications Development
RP RP RP RP RP RP RP RP RP
0 1 2 3 4 5 6 7 8
Tyco Product Development Process
Organizational types
• Strict functional organization
• Strict project organization
• Matrix organization
01/16/25 20
Matrix organization
• A hybrid of functional and project organizations
• Each individual is linked to others according to
both the project they work on and their functions
• Each has two supervisors: project manager and
functional manager.
• Two variants of the matrix organizations
– Heavyweight project organization (i.e., strong project
links).
– Lightweight project organization (strong functional
links).
01/16/25 22
Factors for affecting an org.
structure
• Importance of cross-functional integration
• Criticalness of cutting-edge functional
expertise to business success
• Utilization of resources from each function
• Importance of product development speed
01/16/25 23
Organizational linkages
Reporting relationship
Financial arrangement
Physical layout.
01/16/25 24
Other Images
Variants of the development
process
• Market pull products
• Technology push products
• Platform products
• Process-intensive products
• Customized products
• high-risk product
• Quick build products
• Complex systems
01/16/25 26
Variants
• Market-pull products
– The firm finds a market opportunity and a technology to meet
customer's needs. Thermo care.
• Technology-push products
– The firm begins with a new technology and then finds a
market for it. Glue for “post-it.”
• Platform products
– Use of a proven technology platform to build a new product.
Instant film used in Polaroid cameras.
• Process-intensive products
– Develop product and process simultaneously.
01/16/25 27
Variants
• Customized products
– Build a new product by varying existing configurations.
• High-risk products
– Intensive and early test and analysis
• Quick-build products
– Rapid modeling & prototyping at testing phase
• Complex systems
– Subsystems and integration worked by teams
01/16/25 28
Traditional design methods
• Aggregation
– (include new functions)
• Adaptation
– (adapt to new conditions)
• Application
– (apply a proven technology to a new area)
• analysis of properties
– (thorough analysis of an existing design to improve)
• Brainstorming
– (find many solutions to a problem)
01/16/25 29
Traditional design methods
• systematic search of field
– (obtain complete possible information)
• Questioning
– (apply a system of questions to produce mental simulation)
• mental experiment
– (observe an idealized mental model at work)
• value analysis
• Evaluation
– (find best variant among a few by point-counting)
01/16/25 30
Traditional design methods
• invention
• Iteration
– (to solve a system with complicated
interactions)
• experimentation
• division of totality
• math & computer modeling
01/16/25 31
Chapter 2: Home work
• Exercise (Analysis of Properties)
• Focus on materials selection for an existing product
• Steps:
• 1. Examine each component of a product (an incandescent bulb, stapler, can opener).
• 2. Break the product or decompose it, avoiding injury to eyes or hands and damage to
the other components.
• 3. Construct and complete a table consisting the following items on its columns.
– a. list each component of the product
– b. define the function of each component
– c. identify the material used
– d. reason why it was selected
– e. select possible alternative.
• 4. List five failure mechanisms
01/16/25 32
Identifying Customer Needs
01/16/25 5
Nature of needs
• Needs in the “use” environment
• Products have to serve a real need and
affordable to the customer
• Focus on user’s needs, instead of
“wants”
01/16/25 6
Customer Needs Process
• Define the Scope
– Mission Statement
• Gather Raw Data
– Interviews
– Focus Groups
– Observation
• Interpret Raw Data
– Need Statements
• Organize the Needs
– Hierarchy
• Establish Importance
– Surveys
– Quantified Needs
• Reflect on the Process
– Continuous Improvement
1: Define the scope of the
effort
• Use the project’s mission statement
– Brief (one sentence) description of the product
– Key business goals
– Target market(s) for the product
– Secondary market
– Assumptions that constrain the development effort
(boundary, scope, limit)
– Stakeholders (end users, retailers, sales, service
centers, production, legal, etc.)
01/16/25 8
Mission Statement
Example: Screwdriver Project
Product Description
•A hand-held, power-assisted device for installing threaded fasteners
Key Business Goals
•Product introduced in 4th Q of 2000
•50% gross margin
•10% share of cordless screwdriver market by 2004
Primary Market
•Do-it-yourself consumer
Secondary Markets
•Casual consumer
•Light-duty professional
Assumptions
•Hand-held
•Power assisted
•Nickel-metal-hydride rechargeable battery technology
Stakeholders
•User
•Retailer
•Sales force
•Service center
•Production
•Legal department
2-1: Gather raw data from
customers (methods)
• Methods
– One-on-one interviews
– Focus groups (selected customers in a discussion
with a moderator
• Better than one-on-one as shown in Fig 4.4 on page 57
– Observing the product in use
– Survey
• Customer selection matrix
– Applications (industrial, household, personal) vs.
customer types (user, lead user, retailer, service
center, etc.)
01/16/25 10
How Many Customers?
100
80
Percent of Needs Identified
60
One-on-One Interviews (1 hour)
20
0
0 1 2 3 4 5 6 7 8 9 10
Number of Respondents or Groups
From: Griffin, Abbie and John R. Hauser. “The Voice of the Customer”,
Marketing Science. vol. 12, no. 1, Winter 1993.
2-2: Art of eliciting need data
from customer
• Go with the flow
• Use existing and competitor’s products, or other
stimuli
• Suppress pre-conceived hypotheses about the
product technology
• Have the customer demonstrate the product and/or
typical tasks related to the product
• Be alert for surprises and the expression of latent
(non-articulated) needs
• Watch for nonverbal information (comfort, image, or
style)
01/16/25 12
Customer Needs Example:
Cordless Screwdrivers
Visual Information Example: Book Bag Design
2-3: Documenting interactions
with customer
• Customer statements, accompanied
with the documentation methods
– Audio recording
– Notes
– Video recording
– Still photography
01/16/25 15
3: Interpret raw data in terms
of customer needs
• Guidelines
– Express the need in terms of what the product has
to do, not in terms of how it might do it.
– Express the need as specifically as the raw data
– Use positive, not negative, phrasing.
– Express the need as an attribute of the product
– Avoid the words must and should.
01/16/25 16
Five Guidelines for Writing Needs Statements
Guideline Customer Statement Need Statement-Wrong Need Statement-Right
“Why don’t you put The screwdriver battery The screwdriver battery
What Not
protective shields around contacts are covered by is protected from
How the battery contacts?” a plastic sliding door. accidental shorting.
Positive “It doesn’t matter if it’s The screwdriver is not The screwdriver
Not raining, I still need to disabled by the rain. operates normally in
Negative work outside on the rain.
Saturdays.”
01/16/25 19
Organized List of Customer Needs
A Survey Design for Ranking
Customer Needs
01/16/25 21
5: Establish the relative
importance of the needs
• Use the customers (to rank importance
as well as criticality)
• See a survey in Fig 4.9 on page 67
01/16/25 22
6: Review the Result and
Reflect on the Process
• Whether the product is focused on needs of
customers
• Whether all critical needs are addressed
• Whether we sent out “thank you” notes to
customers.
• Whether there are rooms to improve the
process for future efforts.
• Whether the entire team understands the
needs
01/16/25 23
Caveats
• Capture “What, Not How”.
• Meet customers in the use environment.
• Collect visual, verbal, and textual data.
• Props will stimulate customer responses.
• Interviews are more efficient than focus groups.
• Interview all stakeholders and lead users.
• Develop an organized list of need statements.
• Look for latent needs.
• Survey to quantify tradeoffs.
• Make a video to communicate results.
Class Example: Identify customer needs
through discussion of a selected group
• Method: discussion of a group of lead customers
• Product: powered screwdriver (& book bag)
• Rules:
– No one criticizes anyone.
– Willing to compromise and reach a consensus.
– Identify customer needs or wants. It does not matter
whether they are a "must" or "should.
– It is not yet a product specification. Therefore
qualitative statement is fine.
01/16/25 25
Class exercise: Identify customer needs
through discussion with a selected group
• Four-step procedure:
1. Individual writes down five need statements
(expectations) for the product (powered hand-held
screwdriver and then book bag)
2. Consolidate the need statements.
3. Classify need statements into groups and super-groups
in a hierarchical fashion.
4. Rank each need in terms of its relative importance and
criticality (e.g., Each one picks 5 needs and add them
up
01/16/25 26
Customer Needs
Example:Cordless Screwdrivers
01/16/25 27
1: Write down need
statements
• Group the lead users into groups of 4
• Each group come up with 5 need
statements
01/16/25 28
2: Consolidate the needs
• Detachable tips
• Sufficient accessory tips
• Adjustable speed
• Adjustable torque
• Minimum vibration
• Light weight
• Easy to use
• Easy to carry
• Cordless
• Long-lasting rechargeable battery
• Weather proof
• Reversible
• Heavy duty casing
• Reasonable price
• Quick to re-charge
• Re-chargeable from car cigarette lighters
01/16/25 29
3: Classify/group the needs
• Price
• Weight
• Function
• Operations
• Power source
• Maintenance
01/16/25 30
4: Rank Customer Needs
01/16/25 31
Class Exercise: Book Bag Design
01/16/25 32
Chapter 4 HW
• Exercise 1, on page 90
• Due next week
01/16/25 33
Needs Translation Exercise:
Book Bag Design Example
“See how the leather on the bottom of the bag is all
scratched; it’s ugly.”
“When I’m standing in line at the cashier trying to
find my checkbook while balancing my bag on
my knee, I feel like a stork.”
“This bag is my life; if I lose it I’m in big trouble.”
“There’s nothing worse than a banana that’s been
squished by the edge of a textbook.”
“I never use both straps on my knapsack; I just
sling it over one shoulder.”
Product Specifications
01/16/25 4
Spec vs. Specs
• A spec consists of a metric, a unit, and
a value
• Specs has a set of specs.
01/16/25 5
Target vs. Final Specs
• Target specs: the hope and aspiration
of the design (ideal and marginal)
• Refined specs: trade-offs among
different desired characteristics.
– Intermediate specs
• Final specs
– It is in the project’s contract book
01/16/25 6
Nature of Specifications
• The reference point for functionality
design and quality planning
01/16/25 7
The Product Specs Process
1. Set Target Specifications
– Based on customer needs and benchmarks
– Develop metrics for each need
– Set ideal and acceptable values
2. Refine Specifications
– Based on selected concept and feasibility testing
– Technical and economic modeling
– Trade-offs are critical
3. Reflect on the Results and the Process
– Critical for ongoing improvement
Procedure for establishing
target specifications
1. Identify a list of metrics and measurement
units that sufficiently address the needs
2. Collect the competitive benchmarking
information
3. Set ideal and marginally acceptable target
values for each metric (using at least, at
most, between, exactly, etc.)
4. Reflect on the results and the process
01/16/25 9
Process for setting the final
specifications
1. Develop technical models to assess technical feasibility. The
input is design variable and the output is a measurement using
a metric.
2. Develop a cost model of the product.
3. Refine the specifications, making tradeoffs, where necessary
to form a competitive map.
4. “Flow down” the final overall specs to specs for each
subsystem (component and part).
5. Reflect on the results to see
Whether the product is a winner, and/or
How much uncertainty there is in the technical and cost model, or
Whether there is a need to develop a better technical model.
01/16/25 10
Product Specifications Example:
Mountain Bike Suspension Fork
Start with the Customer Needs
Metrics Exercise:
Ball Point Pen
Customer Need:
The pen writes smoothly.
Establish Metrics and Units
Link Metrics to Needs
Benchmark on Customer Needs
Benchmark on Metrics
Assign Marginal and Ideal Values
Concept Development Process
Mission Development
Statement Identify Establish Generate Select Test Set Plan Plan
Customer Target Product Product Product Final Downstream
Needs Specifications Concepts Concept(s) Concept(s) Specifications Development
Crunch KitKat
Opportunity?
Nestlé
Crunch
Hershey’s
w/ Almonds
Hershey’s
Milk Chocolate
Chocolate
Specification Trade-offs
120
Rox Tahx Ti 21
Estimated Manufacturing Cost ($)
110
Maniray 2 Trade-off Curves
Estimated Mfg. Cost ($)
90
Rox Tahx Quadra
.
70
ST Tritrack
60 ideal values
50
3 3.2 3.4 3.6 3.8 4
Score
Scoreon
on Monster (Gs)
Monster (Gs)
01/16/25 24
Set Final Specifications
Quality Function Deployment
(House of Quality)
technical
correlations
relative engineering
importance metrics
customer benchmarking
needs on needs
relationships between
customer needs and
engineering metrics
Where:
M: profit margin
P: price
C: cost
01/16/25 28
Target Cost
Where:
C = target cost
P = price to the end user
Mi = the margin at the ith stage.
01/16/25 29
Mark up
Markup = P/C - 1
Where:
P: price
C: cost
01/16/25 30
Chapter 6 HW
Identify five possible metrics and the unit of measure for a customer
need as stated below:
01/16/25 32
Introduction to Computer-
Aided Design (CAD) Systems
Transformation:
Definition: A way to
How to convert
represent points and
between Cartesian
lines in 2D using an
coordinates and
additional
homogeneous
dimension.
coordinates.
Transformations in 2D
•Scaling Matrix
•Translation Matrix:
Quality Production
Control Production Scheduling
Design process:
Starts from customer's demands and ends
with a complete description of the product
(Model)
Manufacturing process:
Starts from the design specifications and
ends with shipping of the actual product
Design Activities:
Two large types:
Synthesis: Identification of the design need,
formulation of the design specifications, feasibility
study with collecting relevant design information,
and design conceptualization
Result of the synthesis subprocess: A conceptual
design – a sketch or a layout drawing that shows
the relationships among the various product
components
Analysis: Analysis and optimization of the design
Manufacturing Process:
Process planning: A function that
establishes which processes and the proper
parameters for the processes to be used,
machines, and so on
Outcome: A production plan, materials
orders, machine programming, and so on
Actual product is produced and inspected
against quality requirements (Quality
control)
CAD
Is a technology concerned with the use of
computer systems to assist in creation,
modification, analysis and optimization of a
design
Basic role of CAD:
Define the geometry of design
Technologies: Computer-aided drafting and
geometric modeling
CAM
The technology concerned with the use of
computer systems to plan, manage, and
control manufacturing operations through
either direct or indirect computer interface
with the plan's production resources
What is CAM?
The effective utilization of computers in
manufacturing.
Applications of computers:
Direct application - device monitoring and
control, NC, PLC, manufacturing cell.
Indirect applications – manufacturing
support - planning, MRP, process planning,
scheduling, inventory, shop floor control.
THE TREND OF MANUFACTURING INDUSTRY
Facts:
1. Rapid changing market place
2. Fast development of new technologies
3. Fierce competition
4. A "use brain" generation, not willing to learn the
trade which requires hand skill.
To survive:
1. Lower cost
2. Higher quality
3. Lower product development cycle
SOLUTIONS DEVELOPED
1. Small batch production 95% in lot size of 50 or
less.
2. Just in time production, reduce inventory
(union?)
3. Automation - quality, labor cost
Automated lathe, screw machine (Swiss
machine), transfer line
4. Flexible automation - further reduce lead time,
automation of small batch (NC, FMS, FMC,
Robotics, ...)
5. Integration - CAM, CIM, concurrent engineering,
BENEFITS OF CAM
•90% Inventory reduction
•50% more efficient use of factory &
warehouse space
•75% reduction in machine setup time - item
setup (re-measurement, repositioning, and
replacement of cutting tools,..)
•Does not change product specific set-up.
•25% reduction in direct and indirect labor
•90% reduction in lead time
ADDITIONAL COSTS OF USING CAM VS
MANUAL OPERATION
• Programming
• Special tooling design and manufacturing
• Program proof out, 1st good part is a
dream, not a reality.
• Maintenance - more sophisticated system.
CURRENT PROBLEMS
1. Manufacturing not emphasized enough
2. Designer tend to design for functionality
along
3. Manufacturing engineers lack overall
concept in manufacturing
4. Systems are not integrated.
CAE
Computer-aided Engineering is the use of
computer systems to analyze CAD
geometry, allowing the designer to simulate
and study how the product will behave so
that the design can be refined and
optimized
Computer-Aided Manufacturing
Computer Computer
CA
Aided Aided
Drafting
Design Engineering
Quality Production
Control Production Scheduling
Computer - Computerized
Aided Q.C. CAM, NC Scheduling, MRP
S.P.C. Robotics - Shop Floor Control
Introduction to CAD
Systems
Computer-aided design (CAD) systems are used by engineers,
architects, and other professionals to design and create
everything from cars to buildings. They enable precise and
efficient design creation using computer software.
aa
2D Geometry
2D geometry involves the study of shapes and figures in a two-dimensional plane. It forms the foundation for 2D CAD drawings and representa
1 Points 2 Lines
Points are the most basic element of 2D geometry. They Lines are formed by connecting two points. They have
represent a location in space. length and direction.
3 Curves 4 Polygons
Curves are continuous lines that change direction Polygons are closed shapes formed by connecting
smoothly. They can be straight or curved. multiple line segments.
Homogeneous Coordinates
Representation
A 2D point (x, y) is represented as (x, y, 1) in homogeneous coordinates.
Transformations
Transformations are operations that manipulate the position, size, and
orientation of geometric objects in a CAD system.
1 Translation
Moving an object to a new location.
2 Rotation
Rotating an object around a fixed point.
3 Scaling
Changing the size of an object.
4 Reflection
Mirroring an object across a line.
Scaling
Scaling is a transformation that changes the size of an object. It can be uniform or non-uniform, and the scaling
factor determines how much the object is enlarged or reduced.
All dimensions are scaled by the same factor. Different dimensions are scaled by different factors.
Translation
Translation is a transformation that moves an object from one
location to another. The direction and distance of the movement
are determined by a translation vector.
Direction Distance
The direction of movement is The distance of movement is
defined by the translation determined by the
vector. magnitude of the translation
vector.
Rotation
Rotation is a transformation that rotates an object around a fixed point.
The angle of rotation determines how much the object is turned.
Axis of Rotation
The point around which the object is rotated.
Angle of Rotation
The amount of rotation.
Direction of Rotation
Clockwise or counter-clockwise.
Reflection
Reflection is a transformation that mirrors an object across a
line. The line of reflection determines the orientation of the
reflected object.
Type Description
1 Points 2 Lines
Points in 3D space are Lines in 3D space have
represented by three length and direction
coordinates. and are represented by
two points.
3 Planes 4 Surfaces
Planes are flat surfaces Surfaces are curved or
that extend infinitely in flat areas that enclose
two dimensions. a volume.
Lecture 2
Design Process
Relationship between Manufacture and Production
Manufacturing System
Lecture 2
Design Process
Relationship between Manufacture and Production
Production System
Lecture 2
Design Process
What is CAD/ CAM?
CAD/ CAM is a term, which means computer-aided design and
computer-aided manufacturing. It is the technology concerned
with the use of computers to perform certain functions in design
and production. This technology is moving in the direction of
greater integration of design and manufacturing.
Lecture 2
Design Process
The design process
The main tasks of computer application in manufacturing
systems are:
1. How computers are used in the generation and management
of design information describing products?
2. How computers are used in the management of information
about the manufacturing system, which makes the
products?
Lecture 2
Design Process
The process of designing something is characterized as an interactive
procedure, which consists of six identifiable steps or phases:
1. Recognition of need.
2. Definition of problem.
3. Synthesis.
4. Analysis and optimization.
5. Evaluation.
6. Presentation.
Lecture 2
Design Process
Lecture 2
Design Process
The applications of computers for design
The design-related tasks performed by CAD system are:
1. Geometric modeling.
2. Engineering analysis.
3. Design review and evaluation.
4. Automated drafting.
5. Parts classification and coding
Lecture 2
Design Process
Lecture 2
Design Process
Fundamental reasons for implementing CAD system:
1. To increase the productivity of the designer.
2. To improve the quality of design.
3. To improve communication
4. To create a data base for manufacturing
Lecture 2
Design Process
CAD systems can be classified in several ways:
1. By the system hardware: Mainframe, Minicomputer,
Engineering workstation, Microcomputer
2. By the application area: Mechanical engineering, Circuit
design and board layout, Architectural design and
construction engineering, Cartography
3. By the modeling method: 2-D drafting, 3-D drafting,
Sculptured surface, 3-D solid modeling
Lecture 2
Design Process
CAD systems can be classified in several ways:
1. By the system hardware: Mainframe, Minicomputer,
Engineering workstation, Microcomputer
2. By the application area: Mechanical engineering, Circuit
design and board layout, Architectural design and
construction engineering, Cartography
3. By the modeling method: 2-D drafting, 3-D drafting,
Sculptured surface, 3-D solid modeling
Lecture 2
Design Process
Computer-aided manufacturing (CAM)
CAM can be defined as the use of computer systems to plan,
manage, and control the operations of a manufacturing
plant through either direct or indirect computer interface
with the plant's production resources.
Lecture 2
Design Process
The applications of CAM fall into two broad categories:
1- Computer monitoring and control. These are the direct
applications in which the computer is connected directly to
the manufacturing process for the purpose of monitoring or
controlling the process.
2- Manufacturing support applications. These are the indirect
applications in which the computer is used in support of
the production operations in the plant, but there is no direct
interface between the computer and the manufacturing
process.
Lecture 2
Design Process
The distinction between monitoring and control
Lecture 2
Design Process
Interactive relationship between computer and
manufacturing processes
Lecture 2
Design Process
Some examples of CAM for manufacturing support
Numerical control part programming: control programs are prepared for
automated machine tools.
Computer-automated process planning: the computer prepares a listing of
the operation sequence required to process a particular product or
component.
Computer-generated work standards: the computer determines the time
standard for a particular production operation.
Production scheduling: the computer determines an appropriate schedule
for meeting production requirements.
Lecture 2
Design Process
Some examples of CAM for manufacturing support
Material requirements planning: the computer is used to determine when to
order raw materials and purchased components and how many should
be ordered to achieve the production schedule.
Shop floor control: in this CAM application, data are collected from the
factory to determine progress of the various production shop orders.
1
Applications of CAD Models
Let us turn now to the receiver of the communication, and
consider the sort of actions that are taken with the design
information that is received. These may be divided into two
main classifications:
Evaluating actions, taken to assess the properties or merit of
the design.
Generative actions that generate information from the model for
use downstream of the design process, usually in order to
progress its manufacture.
In each case the actions involve the extraction of information
from the design representation, and the combination of this with
further information to form a new model.
2
Applications of CAD Models
Model Transformations in Design
3
Applications of CAD Models
Example : The evaluation of the connecting rods, which connect the
crankshaft of an automotive engine to its pistons.
4
Applications of CAD Models
Modeling using computer-aided design (CAD)
To support the design task, designers form a series of models
using various representations of the design, and others
involved in the evaluation of the design and in the manufacture
of the product extract information from these models and, in the
process, form new models to assist them in their work.
5
Applications of CAD Models
The use of models in design
6
Applications of CAD Models
The Aim of CAD
To apply computers to both modeling and communication of
designs.
There are two different approaches:
At a basic level, to use computers to automate or assist in such
tasks as the production of drawings or diagrams and the
generation of lists of parts in a design.
At more advanced level, to provide new techniques, which give
the designer, enhanced facilities to assist in the design
process.
7
Defining the Model
Representation of Models
There are two types of models:
Models of form typically represented by drawings of
components and their arrangement in assemblies.
Models of structure normally represented by diagrams
that show the components of a system and how
they are connected.
8
Defining the Model
The representation of form using drawings
The technique of representing three-dimensional
forms in two-dimensional space by means of
engineering drawings -on paper or on a computer
screen- is formally known as descriptive geometry.
Standards of drawings:
9
Defining the Model
The representation of structure using diagrams
In engineering diagrams the logical or physical structure of a
system, in terms of the assembly of the primitive parts and
the relationship between these, is shown by a series of
symbols joined by connections. The rules for the symbols,
and for the connections, are governed by conventions that
have been established in standards.
10
Defining the Model
Examples of Electrical and Fluid Power Symbols
11
Defining the Model
Block Diagrams
At an early stage in the design process it may only be possible
to define overall relationships between parts of a system,
and a block diagram may be most appropriate. As a design
is prepared for construction and manufacture, detailed
wiring or piping diagrams are required.
12
Defining the Model
Block diagram of injection system
13
Defining the Model
Top-Down Design
By exploiting representations such as block diagrams, the
designer is able to subdivide a design problem into smaller
elements. These in turn may be subdivided, such that a
hierarchical decomposition of the problem is obtained. This
technique is known as "top-down" design.
14
Defining the Model
Example: Top-Down Design “A hierarchical
arrangement of diagrams”
15
Defining the Model
Strengths and Weaknesses of Conventional
Representations
Strengthens: serve engineers, communication.
16
Defining the Model
computer representation of drawings and diagrams
Defining the graphic elements
The user has a variety of different ways to call a particular graphic element
and position it on the geometric model. There are several ways of
defining points, lines, arcs, and other components of geometry through
interaction with the ICG (interactive computer graphics) system. These
components are maintained in the database in mathematical form and
referenced to a 3D coordinate system.
17
Defining the Model
Basic geometry
A component must be modeled before it can be drawn.
18
Defining the Model
Methods of defining elements in interactive computer graphics
Points
Methods of defining points in computer graphics include:
1. Pointing to the location on the screen by means of cursor control.
2. Entering the coordinates via the alphanumeric keyboard.
3. Entering the offset (distance in x, y, and z) from a previously
defined point.
4. The intersection of two points.
5. Locating points at fixed intervals along an element.
19
Defining the Model
20
Defining the Model
Lines
Methods of defining lines include:
1. Using two previously defined points.
2. Using one point and specifying the angle of the line with
the horizontal.
3. Using a point and making the line either normal or
tangent to a curve.
4. Using a point and making the line either parallel or
perpendicular to another line.
5. Making the line tangent to two curves.
6. Making the line tangent to a curve and parallel or
perpendicular to a line.
21
Defining the Model
22
Defining the Model
Arcs and circles
Methods of defining arcs and circles include:
1. Specifying the center and the radius.
2. Specifying the center and a point on the circle.
3. Making the curve pass through three previously defined
points.
4. Making the curve tangent to three lines.
5. Specifying the radius and making the curve tangent to
two lines or curves.
23
Defining the Model
24
Defining the Model
Surfaces
Some of the methods for generating surfaces include:
1. Using a surface of revolution formed by rotating any lines
and/ or curves around a specific axis.
2. Using the intersection line or surface of two intersecting
surfaces.
25
Defining the Model
26
Defining the Model
27
Defining the Model
28
Defining the Model
29
Defining the Model
30
Defining the Model
31
Defining the Model
32
Defining the Model
33
Defining the Model
34
Defining the Model
35
Defining the Model
36
Defining the Model
37
Defining the Model
38
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Parametric Modeling of Geometry
Example
BASICS OF CAD SYSTEMS
1
2D GEOMETRY
x1 y1
[ L]
x2 y2
L P2
P1
2
For a triangle we might have
x1 y1 P2
P Tri x2 y2
x3 y3
P1 P3
3
HOMOGENOUS CO-ORDINATES
4
Any 2D point can be represented in such a 3D space
as:
5
For instance, consider point P(2,4) in ordinary co-
ordinates. This can be considered as
6
Thus, our triangle is now
x1 y1 1
PTri x2 y 2 1
x3 y 3 1
Why?
To help with transformations.
7
TRANSFORMATIONS
We can transform in three ways in our CAD system:
• Rigid body transformation
• Object transformation
• Co-ordinate system transformation
Magnify command
9
TRANSLATION
(x* y*)
(x y)
Ty
Tx
1 0
x x Tx 0
or
x , y ,1 x, y,1 0 1 0
y y Ty Tx
Ty 1
x r cos
P*(x*, y*)
y r sin
P(x, y)
x r cos r cos cos r sin sin
y r sin r sin cos r cos sin
r
Substituting
cos sin 0
x x cos y sin
or x
y
1 x, y,1 sin cos 0
y x sin y cos
0 0 1
Rotate command
11
REFLECTION
1 0 0
a 0 0
0 1 0
0 b 0 or TRLx
TRFL
0 0 1
0 0 1
etc
This is the mirror command.
Joining transformations together.
These transformation matrices can be concatenated
S x 0 0 1 0 0 S x 0 0
0 Sy 0 0 1 0 0 Sy 0
0 0 1 0 0 1 0 0 1
12
2D VIEWING
13
This is usually done through a neutral stage or a virtual or normalized co-
ordinate system (NCS). Thus we map as follows:
y
Worl
d
50
35
1
15
x World 500
Pixels
500
Pixels
WCS NCS DCS
14
We will not see all the component at one time. Thus we need to
define a window.
Neutral view port
Window on world
NCS
WCS
Viewpoint on device
DCS
15
We can map this to the view port by
16
When the Aspect Ratio (AR) of both is equal no distortion
(scaling occurs)
xmax xmin
AR
ymax ymin
17
3D GEOMETRY
Most of the time we define our components in 3D and then view in 2D.
CO-ORDINATE SYSTEM
In order to define our geometry we need to have a co-ordinate system.
All CAD Systems have a base or default co-ordinate system
z
18
In addition, we can define local co-ordinate systems to help define
features and geometry
y z
y Left hand co-ordinate system LCS
x
z
19
HOMOGENOUS CO-ORDINATES IN 3D
P [ x, y, z, h ]
and if h = 1, then we have ordinary co-ordinates.
0 0 0 1
x 0 0 1
B
0 yc 0 1
0 0 zD 1
20
3D TRANSFORMATIONS
A point in 3D space can be represented by
P [ x, y, z, h ]
and if h = 1, then we have ordinary co-ordinates.
Sheer, scale,
A B C 0
reflection &
D E F 0
rotation
G H I 0
J K L S
Global scaling
Translation
21
SCALING
S x 0 0 0
0 0
x , y , z ,1 x, y, z ,1
0
Sy
0
0
Sz 0
0 0 0 1
22
Or, we can get global scaling by
1 0 0 0
0 1 0 0
x , y , z x, y, z ,1
0 0 1 0
0 0 0 S
x, y, z , S
x x , y y , z z , 1 S
S S S S
23
EXAMPLE
0 0 0 1
2 0 0 1
2 2 0 1
0 2 0 1
P
0 0 2 1
2 0 2 1
2 2 2 1
0 2 2 1
24
Apply scaling
1 0 0 0 1 0 0 0
2 0
0 1 0 0 1 0 0
Tsc 2 or
1 0 0 1 0
0 0
2
0
0 0 1 0 0 0 2
0
0 0 0 1 0 0 0 2
2 0 0 1 2 0 0 2
2 2 0 1 1 0 0 0 2 2 0 2
2 0 1 0 0 0
P cube
0
0
0 2 1 0
1 0
0 1
0 0
2 0 2
0 2 2
2 0 2 1 0 0 0 2 2 0 2 2
2 2 2 1 2 2 2 2
0 2 2 1 0 2 2 2
25
Translation
0 0 0 0
0 0 0
x . y , z ,1 x, y, z ,1
0
1
0 1 0
J K L 1
Scale factors
26
Rotation
y
cos sin 0 0
sin cos 0 0
TR z
0 0 1 0
x 0 0 0 1
z
cos 0 sin 0
0 1 0
0
0 0
TR y
1 0 0 cos sin 0
sin 0 cos 0 TR x
0 sin cos 0
0 0 0 1
0 0 0 1
27
Computer Numerical Control
Lecture 5
Part Programming with APT
Dr Ibrahim Al-Adwan
Part Programming with APT
1/15/2025 2
Part Programming with APT
1/15/2025 3
Part Programming with APT
Geometry Statements
SYMBOL = GEOMETRY TYPE/descriptive data
Points
P1 = POINT/20.0,40.0,60.0
P2 = POINT/INTOF,L1,L2
Commas are used to separate the words and numerical values
in the descriptive data.
1/15/2025 4
Part Programming with APT
Geometry Statements
Lines
A line defined in APT is considered to be infinite length in
both directions. Also, APT treats a line as a vertical plane
that is perpendicular to the x-y plane.
L3 = LINE/P3,P4
L4 = LINE/P5,PARLEL,L3
1/15/2025 5
Part Programming with APT
Geometry Statements
Circles
In APT, a circle is considered to be a cylindrical surface that is
perpendicular to the x-y plane and extends to infinity in
the z-direction.
C1 = CIRCLE/CENTER,P1,RADIUS,25.0
C2 = CIRCLE/P4,P5,P6
Planes
In APT, a plane extends indefinitely.
PL1 = PLANE/P1,P2,P3
PL2 = PLANE/P2,PARLEL,PL1
1/15/2025 6
Part Programming with APT
Geometry Statements
Rules for formulating APT geometry statements:
1. Coordinate data must be specified in the order x, then y,
then z.
2. Any symbols used as descriptive data must have been
previously defined.
3. A symbol can be used to define only one geometry
element.
1/15/2025 7
Part Programming with APT
1/15/2025 8
Part Programming with APT
1/15/2025 9
Part Programming with APT
1/15/2025 10
Part Programming with APT
Motion Commands
The format of an APT motion command is:
MOTION COMMAND/descriptive data
Example: GOTO/P1
The statement consists of two sections separated by a slash.
The first section is the basic command that indicates
what move the tool should make. The descriptive data
following the slash tell the tool where to go.
1/15/2025 11
Part Programming with APT
Motion Commands
At the beginning of the sequence of motion statements, the tool must be
given a starting point. This is likely to be the target point, the location
where the operator has positioned the tool at the start of the job.
The part programmer keys into this starting position with the
following statement:
FROM/PTARG
where FROM is an APT vocabulary word indicating that this is the initial
point from which all others will be referenced; and PTARG is the
symbol assigned to the starting point. Another way to make this
statement is the following:
FROM/-20.0,-20.0,0
The FROM statement occurs only at the start of the motion sequence.
1/15/2025 12
Part Programming with APT
Motion Commands
Point-to-point motions (Positioning or straight-line cutting)
There are only two commands: GOTO and GODLTA.
The GOTO statement instructs the tool to go to a particular point location specified
in the descriptive data.
Examples:
GOTO/P2
GOTO/25.0,40.0,0
In the first command, P2 is the destination of the tool point. In the second
command, the tool has been instructed to go to the location whose
coordinates are x=25.0, y=40.0, and z=0.
The GODLTA command specifies an incremental move for the tool. To illustrate, the
following statement instructs the tool to move from its present position by a
distance of 50.0mm in the x-direction, 120.0mm in the y-direction, and
40.0mm in the z-direction:
GODLTA/50.0,120.0,40.0
1/15/2025 13
Part Programming with APT
Motion Commands
Point-to-point motions
The GODLTA statement is useful in drilling and related
machining operations. The tool can be directed to go to a
given hole location; then the GODLTA command can be
used to drill the hole, as in the following sequence:
GOTO/P2
GODLTA/0,0,-50.0
GODLTA/0,0,50.0
1/15/2025 14
Part Programming with APT
Motion Commands
Contouring Motion Commands
The tool's position must be continuously controlled throughout the move.
The tool is directed along two intersecting surfaces until it reaches a
third surface, as shown in the following Figure.
These three surfaces have specific names in APT; they are:
1. Drive surface.This surface guides the side of the cutter.
2. Part surface. This is the surface on which the bottom or nose of the
tool is guided.
3. Check surface. This is the surface that stops the forward motion of
the tool in the execution of the current command. One might say
that this surface "checks" the advance of the tool.
1/15/2025 15
Part Programming with APT
Motion Commands
There are several ways in which the check surface can be
used. This is determined by using any of four APT
modifier words in the descriptive data of the motion
statement. The four modifier words are TO, ON, PAST,
and TANTO.
1/15/2025 16
Part Programming with APT
Motion Commands
Use of APT modifier words in motion statements: (a) TO moves the tool into initial
contact with the check surface; (b) ON positions the tool center on the
check surface; (c) PAST moves the tool just beyond the check surface.
1/15/2025 17
Part Programming with APT
Motion Commands
The modifier word TANTO is used when the drive surface is tangent to a
circular check surface.
Use of the APT modifier word TANTO. TANTO moves the tool to the point of
tangency between two surfaces, at least one of which is a circular surface.
1/15/2025 18
Part Programming with APT
Motion Commands
In writing a motion statement, the part programmer must
keep in mind the direction from which the tool is coming
in the preceding motion. The programmer must pretend
to be riding on the top of the tool, as if driving a car. After
the tool reaches the check surface in the preceding move,
does the next move involve a right turn or left turn or
what? The answer to this question is determined by one
of the following six motion words, whose interpretations
are illustrated in the following figure:
1/15/2025 19
Part Programming with APT
Motion Commands
Use of the APT motion words. The tool has moved from a previous position to its
present position. The direction of the next move is determined by one of the
APT motion words GOLFT, GORGT, GOFWD, GOBACK, GOUP, or
GODOWN.
1/15/2025 20
Part Programming with APT
Motion Commands
To begin the sequence of motion commands, the FROM statement is used.
The statement following the FROM command defines the initial drive
surface, part surface, and check surface. With reference to the
following figure, the sequence takes the following form:
FROM/PTARG
GO/TO,PL1,TO,PL2,TO,PL3
The symbol PTARG represents the target point where the operator has
set up the tool. The GO command instructs the tool to move to the
intersection of the drive surface (PL1), the part surface (PL2), and the
check surface (PL3). Because the modifier word TO has been used
for each of the three surfaces, the circumference of the cutter is
tangent to PL1 and PL3, and the bottom of the cutter is on PL2. The
three surfaces included in the GO statement must be specified in the
order: (1) drive surface, (2) part surface, and (3) check surface.
1/15/2025 21
Part Programming with APT
Motion Commands
1/15/2025 22
Part Programming with APT
Motion Commands
Note that GO/TO is not the same as the GOTO command.
GOTO is used only for PTP motions. The GO/ command
is used to initialize a sequence of contouring motions and
may take alternatives forms such as GO/ON,GO/TO, or
GO/PAST.
1/15/2025 23
Part Programming with APT
Motion Commands
After initialization, the tool is directed along its path by one of the six
motion command words. It is not necessary to redefine the part
surface in every motion command after it has been initially defined as
long as it remains the same in subsequent commands. In the
preceding motion command:
GO/TO,PL1,TO,PL2,TO,PL3
the cutter has been directed from PTARG to the intersection of surfaces
PL1, PL2, and PL3. Suppose it is now desired to move the tool along
plane PL3, with PL2 remaining as the part surface. The following
command would accomplish this motion:
GORGT/PL3,PAST,PL4
1/15/2025 24
Part Programming with APT
Motion Commands
The planes around the part outline can be replaced by lines,
and the APT commands can be replaced by the following:
FROM/PTARG
GO/TO,L1,TO,PL2,TO,L3
GORGT/L3,PAST,L4
1/15/2025 25
Part Programming with APT
1/15/2025 26
Part Programming with APT
1/15/2025 27
Part Programming with APT
1/15/2025 28
Part Programming with APT
1/15/2025 29
Part Programming with APT
1/15/2025 30
Part Programming with APT
Examples:
• PARTNO is the first statement in an APT program, used to identify
the program; for example,
PARTNO SAMPLE PART NUMBER ONE
• MACHIN/ permits the part programmer to specify the
postprocessor, which in effect specifies the machine tool.
• REMARK is used to insert explanatory comments into the program
that are not interpreted or processed by the APT processor.
• FINI indicates the end of an APT program.
1/15/2025 31
Part Programming with APT
1/15/2025 32
Example:
Drilling Sequence
in APT
1/15/2025 33
Part Programming with APT
1/15/2025 34
Part Programming with APT
1/15/2025 35
Part Programming with APT
1/15/2025 36
Part Programming with APT
Example Two-Axis Profile Milling in APT
1/15/2025 37
Part Programming with APT
1/15/2025 38
Computer Numerical Control
Lecture 6
Engineering Analysis of NC Positioning
Systems
Dr Ibrahim Al-Adwan
Engineering Analysis of NC Positioning Systems
The NC positioning system converts the coordinate axis values in the NC part
program into relative positions of the tool and workpart during processing.
Consider the simple positioning system shown in the following figure.
1/15/2025 2
The system consists of a cutting tool and a worktable on which
a workpart is fixtured. The table is designed to move the part
relative to the tool. The worktable moves linearly by means of a
rotating leadscrew, which is driven by a stepping motor or
servomotor. The leadscrew has a certain pitch p (in/thread,
mm/thread). Thus, the table moves a distance equal to the pitch
for each revolution. The velocity of the worktable, which
corresponds to the feed rate in a machining operation, is
determined by the rotational speed of the leadscrew.
1/15/2025 3
Types of NC Positioning Systems
1/15/2025 4
Open-Loop Positioning Systems
An open-loop positioning system typically uses a stepping motor to rotate the
leadscrew. A stepping motor is driven by a series of electrical pulses, which are
generated by the MCU in an NC system. Each pulse causes the motor to rotate a
fraction of one revolution, called the step angle. The possible step angles must be
consistent with the following relationship:
360
ns
where step angle (degree/pulse), and n the number of step angles for the
s
motor (pulses), which must be an integer. The angle through which the motor
shaft rotates is given by
Am n p
1/15/2025 5
Open-Loop Positioning Systems
the motor, and step angle (degrees/pulse). The motor shaft is generally connected
to the leadscrew through a gear box, which reduces the angular rotation of the
leadscrew. The angle of the leadscrew rotation must take the gear ratio into account
as follows:
n p
A
rg
where A angle of leadscrew rotation (degrees), and r =gear ratio, defined as the
g
number of turns of the motor for each single turn of the leadscrew. That is,
1/15/2025 6
Open-Loop Positioning Systems
Am N m
rg
A N
Where N m rotational speed of the motor (rev/min), and N rotational speed of
the leadscrew (rev/min).
The linear movement of the worktable is given by the number of full and partial
rotations of the leadscrew multiplied by its pitch:
pA
x
360
1/15/2025 7
Open-Loop Positioning Systems
where x x axis position relative to the starting position (mm, inch),
p. pitch of the leadscrew (mm/rev, in/rev), and A / 360 number of
leadscrew revolutions. The number of pulses required to achieve a specified
position increment in a point-to-point system can be found by combining the two
preceding equations as follows:
360 xrg ns xrg
np or
p p
where the second expression on the right-hand side is obtained by substituting ns
for 360 / .
Control pulses are transmitted from the pulse generator at a certain frequency,
which drives the worktable at a corresponding velocity or feed rate in the
direction of the leadscrew axis. The rotational speed of the leadscrew depends on
the frequency of the pulse train as follows:
1/15/2025 8
Open-Loop Positioning Systems
Control pulses are transmitted from the pulse generator at a certain frequency, which
drives the worktable at a corresponding velocity or feed rate in the direction of the
leadscrew axis. The rotational speed of the leadscrew depends on the frequency of
the pulse train as follows:
60 f p
N
n s rg
where N leadscrew rotational speed (rev/min), f pulse train frequency (Hz,
p
The table travel speed in the direction of leadscrew axis is determined by the
rotational speed as follows:
1/15/2025 9
Open-Loop Positioning Systems
vt f r Np
where vt table travel speed (mm/min, in/min), f r table feed rate (mm/min,
in/min), N leadscrew rotational speed (rev/min), and p leadscrew pitch
(mm/rev, in/rev).
The required pulse train frequency to drive the table at a specified linear travel rate
can be obtained by combining the last two equations and rearranging to solve for f p :
vt ns rg f r ns rg
fp or
60 p 60 p
1/15/2025 10
Example NC Open-Loop Positioning
The worktable of a positioning system is driven by a leadscrew whose pitch = 6.0mm.
The leadscrew is connected to the output shaft of a stepping motor through a
gearbox whose ration is 5:1 (5 turns of the motor to one turn of the leadscrew). The
stepping motor has 48 step angles. The table must move a distance of 250mm from its
present position at a linear velocity=500 mm/min. Determine (a) how many pulses
are required to move the table the specified distance and (b) the required motor
speed and pulse rate to achieve the desired table velocity.
1/15/2025 11
Example NC Open-Loop Positioning
Solution:
The leadscrew rotation angle corresponding to a distance x 250mm,
360 x 360(250)
A 15,000 o
p 6.0
With 50 step angles, each step angle is:
360
7.5 o
48
vt 500
N 83.333 rev/min
The motor speed: p 6
N m rg N 5( 83.333 ) 416.667 rev/min
vt ns rg 500( 48 )( 5 )
fp 333.333 Hz
60 p 60( 6 )
1/15/2025 13
Closed-Loop Positioning Systems
A closed-loop NC system uses servomotors and feedback measurements to ensure
that the worktable is moved to the desired position. A common feedback sensor used
for NC is the optical encoder, shown in the following figure.
1/15/2025 14
In the basic optical encoder, the angle between slots in the disk must satisfy the
following requirement:
360
ns
Where angle between slots (degrees/slot), and ns the number of slots in
the disk (slots/rev). For a certain angular rotation of the encoder shaft, the number of
pulses sensed by the encoder is given by:
Ae
np
Where n p pulse count emitted by the encoder, Ae angle of rotation of the
encoder shaft (degrees), and angle between slots, which converts to degrees
per pulse.
1/15/2025 15
Closed-Loop Positioning Systems
The pulse count can be used to determine the linear x-axis position of the worktable
by factoring in the leadscrew pitch and the gear reduction between the encoder shaft
and the leadscrew. Thus:
pn p
x
n s rge
Where n p and n s are defined above, p leadscrew pitch (mm/rev, in/rev), and
.rge gear reduction between the encoder and the leadscrew, defined as the
number of turns of the encoder shaft for each single turn of the leadscrew.
That is,
Ae N e
rge
A N
1/15/2025 16
Closed-Loop Positioning Systems
where Ae encoder shaft angle (degrees), A leadscrew angle (degrees), N
e
rotational speed of encoder shaft (rev/min), and N rotational speed of leadscrew
(rev/min).
The velocity of the worktable, which is normally the feed rate in machining operation,
is obtained from the frequency of the pulse train as follows:
60 pf p
vt f r
n s rge
1/15/2025 17
Example NC Closed-Loop Positioning
An NC worktable operates by closed-loop positioning. The s
consists of a servomotor, leadscrew, and optical encoder. The lead
has a pitch=6.0mm and is coupled to the motor shaft with a gea
of 5:1 (5 turns of the drive motor for each turn of the leadscrew
optical encoder generates 48 pulses/rev of its output sha
encoder output shaft is coupled to the leadscrew with a 4:1 red
(4 turns of the encoder shaft for each turn of the leadscrew). The
has been programmed to move a distance of 250mm at a fee
=500 mm/min. Determine (a) how many pulses should be recei
the control system to verify that the table has moved exactly 25
(b) the pulse rate of the encoder, and (c) the drive motor spee
correspond to the specified 18fee
1/15/2025
Example NC Closed-Loop Positioning
Solution:
xns rge 250(48)( 4)
np 8000 pulses
(a) p 6.0
(c) Motor speed = table velocity (feed rate) divided by leadscrew pitch, corrected for
gear ratio:
rg f r 5(500)
Nm 416.667 rev/min
p 6.0
1/15/2025 19
Precision in NC Positioning
For accurate machining or other processing performed by an NC system, the
positioning system must possess a high degree of precision. Three measures
of precision can be defined for an NC positioning system: (1) control
resolution, (2) accuracy, and (3) repeatability.
These terms are most readily explained by considering a single axis of the
positioning system, as shown in the following figure.
1/15/2025 20
Engineering Analysis of NC Positioning Systems
A portion of a linear positioning system axis, with definition of control resolution, accuracy,
and repeatability.
1/15/2025 21
Engineering Analysis of NC Positioning Systems
A number of electromechanical factors affect control resolution, including
leadscrew pitch, gear ratio in the drive system, and the step angle in a
stepping motor for an open-loop system or the angle between slots in an
encoder disk for a closed-loop system. For an open-loop positioning
system driven by a stepper motor, these factors can be combined into an
expression that defines the control resolution as follows:
p
CR1
ns rg
where CR1 control resolution of the electromechanical components
(mm, in), p leadscrew pitch (mm/rev, in/rev), number of steps per
revolution, and rg gear ratio between the motor shaft and the ns
leadscrew.
1/15/2025 22
Engineering Analysis of NC Positioning Systems
A similar expression can be developed for a closed-loop positioning
system, except that the gear reduction between the leadscrew and the
encoder shaft must be included:
p
CR1
ns rg rge
The second factor that limits control resolution is the number of bits used
by the MCU to specify the axis coordinate value. For example, this
limitation may be imposed by the bit storage capacity of the controller. If
B= the number of bits in the storage register for the axis, then the number
of control points into which the axis range can be divided = 2B. Assuming
that the control points are separated equally within the range, then
1/15/2025 23
Engineering Analysis of NC Positioning Systems
L
CR2 B
2 1
where CR2 control resolution of the computer control system (mm, in),
and L axis range (mm, in). The control resolution of the positioning
system is the maximum of the two values; that is,
CR MaxCR1 ,CR2
A desirable criterion is for CR2 CR1 , meaning that the electromechanical
system is the limiting factor that determines control resolution. The bit
storage capacity of a modern computer controller is sufficient to satisfy
this criterion except in unusual situations. Resolutions of 0.0025 mm
(0.0001 in) are within the current state of NC technology.
1/15/2025 24
Engineering Analysis of NC Positioning Systems
The capability of a positioning system to move the worktable to the exact
location defined by a given addressable point is limited by mechanical
errors that are due to various imperfections in the mechanical system.
These imperfections include play between the leadscrew and the
worktable, backlash in the gears, and deflection of machine components.
We assume that the mechanical errors form an unbiased normal statistical
distribution about the control point whose mean . We further assume that
the standard deviation of the distribution is constant over the range of the
axis under consideration. Given these assumptions, then nearly all of the
mechanical errors (99.74%) are contained within of the control point,
as shown in the previous figure for a portion of the axis range that
includes two control points.
1/15/2025 25
Engineering Analysis of NC Positioning Systems
The accuracy of any given axis of a positioning system is the maximum
possible error that can occur between the desired target point and the
actual position taken by the system; in equation form,
CR
Accuracy 3
2
Where CR control resolution (mm, in), and standard deviation of
the error distribution. Accuracies in machine tools are generally expressed
for a certain range of table travel, for example, .0.0004 mm for
250 mm ( 0.01 in for 10 in) of table travel.
1/15/2025 26
Engineering Analysis of NC Positioning Systems
Repeatability refers to the capability of the positioning system to return
to a given addressable point that has been previously programmed. This
capability can be measured in terms of the location errors encountered
when the system attempts to position itself at the addressable point.
Location errors are a manifestation of the mechanical errors of the
positioning system, which follow a normal distribution, as assumed
previously. Thus, the repeatability of any given axis of a positioning system
is standard deviations of the mechanical error distribution associated with
the axis. This can be written:
1/15/2025 27
Engineering Analysis of NC Positioning Systems
Example Control Resolution, Accuracy, and Repeatability in NC
Suppose the mechanical inaccuracies in the open-loop positioning system
discussed above are described by a normal distribution with standard
deviation 0.005 mm. The range of the worktable axis is 1000 mm,
and there are 16 bits in the binary register used by the digital controller to
store the programmed position. Other parameters are: p pitch 6.0mm,
rg gear ratio between motor shaft and leadscrew 5.0, and number of
step angles in the stepping motor ns 48. Determine (a) the control
resolution, (b) the accuracy, and (c) the repeatability for the positioning
system.
1/15/2025 28
Engineering Analysis of NC Positioning Systems
Solution:
(a) Control resolution is the greater of CR1 and CR2:
p 6.0
CR1 0.025mm
ns rg 48(5.0)
1000 1000
CR2 16 0.01526mm
2 1 65,535
CR Max0.025,0.01526 0.025mm
1/15/2025 29
Engineering Analysis of NC Positioning Systems
Solution:
(b) Accuracy
(c) Repeatability
1/15/2025 30
Computer Numerical Control
Lecture 8a
CAD/CAM
Dr .Ibrahim Al-Adwan
Design Process
The design process
The main tasks of computer application in manufacturing
systems are:
1. How computers are used in the generation and management
of design information describing products?
2. How computers are used in the management of information
about the manufacturing system, which makes the
products?
2
Design Process
3
4
Design Process
Fundamental Benefits for implementing CAD system:
1. To increase the productivity of the designer.
2. To improve the quality of design.
3. To improve communication
4. To create a data base for manufacturing
5
Design Process
CAD systems can be classified in several ways:
1. By the system hardware: Mainframe, Minicomputer,
Engineering workstation, Microcomputer
2. By the application area: Mechanical engineering, Circuit
design and board layout, Architectural design and
construction engineering, Cartography
3. By the modeling method: 2-D drafting, 3-D drafting,
Sculptured surface, 3-D solid modeling
6
Design Process
Modeling
Many properties of products have to be modeled, including
form, dimension, tolerance and structure. In all of these
areas geometry, images and spatial manipulation are very
important. For this reason, CAD is founded on
computational geometry and computer graphics.
7
Manufacturing Process
Computer-aided manufacturing (CAM)
CAM can be defined as the use of computer systems to plan,
manage, and control the operations of a manufacturing
plant through either direct or indirect computer interface
with the plant's production resources.
8
Manufacturing Process
The applications of CAM fall into two broad categories:
1- Computer monitoring and control. These are the direct
applications in which the computer is connected directly
to the manufacturing process for the purpose of
monitoring or controlling the process.
2- Manufacturing support applications. These are the indirect
applications in which the computer is used in support of
the production operations in the plant, but there is no
direct interface between the computer and the
manufacturing process.
9
Manufacturing Process
The distinction between monitoring and control
10
Manufacturing Process
Some examples of CAM for manufacturing support
Numerical control part programming: control programs are prepared for
automated machine tools.
Computer-automated process planning: the computer prepares a listing of
the operation sequence required to process a particular product or
component.
Computer-generated work standards: the computer determines the time
standard for a particular production operation.
Production scheduling: the computer determines an appropriate schedule
for meeting production requirements.
11
Manufacturing Process
Some examples of CAM for manufacturing support
Material requirements planning: the computer is used to determine when
to order raw materials and purchased components and how many
should be ordered to achieve the production schedule.
Shop floor control: in this CAM application, data are collected from the
factory to determine progress of the various production shop
orders.
12
Computer Numerical Control
Lecture 9
Applications of CAD Models
Dr .Ibrahim Al-Adwan
The actions that are taken with the design information are
divided into two main categories:
Evaluating actions, taken to assess the properties or merit of
the design.
Generative actions that generate information from the model
for use downstream of the design process, usually in order to
progress its manufacture.
In each case the actions involve the extraction of
information from the design representation, and the
combination of this with further information to form a new
model.
2
Model Transformations in Design
3
Example :
The evaluation of the connecting rods, which connect the crankshaft of an
automotive engine to its pistons.
4
The use of models in design
5
Defining the Model
Representation of Models
There are two types of models:
Models of form typically represented by drawings of
components and their arrangement in assemblies.
Models of structure normally represented by diagrams
that show the components of a system and how
they are connected.
6
Defining the Model
Examples of Electrical and Fluid Power Symbols
7
Defining the Model
Block Diagrams
At an early stage in the design process it may only be possible
to define overall relationships between parts of a system,
and a block diagram may be most appropriate. As a design
is prepared for construction and manufacture, detailed
wiring or piping diagrams are required.
8
Defining the Model
Block diagram of injection system
9
Defining the Model
Top-Down Design
By exploiting representations such as block diagrams, the
designer is able to subdivide a design problem into
smaller elements. These in turn may be subdivided, such
that a hierarchical decomposition of the problem is
obtained. This technique is known as "top-down" design.
10
Defining the Model
Example: Top-Down Design
11
Strengths and Weaknesses of
Conventional Representations
Strengthens: serve engineers, communication.
12
computer representation of drawings and
diagrams
Defining the graphic elements
The user has a variety of different ways to call a particular graphic
element and position it on the geometric model. There are several
ways of defining points, lines, arcs, and other components of
geometry through interaction with the ICG (interactive computer
graphics) system. These components are maintained in the
database in mathematical form and referenced to a 3D coordinate
system.
13
Basic geometry
A component must be modeled before it can be drawn.
14
Methods of defining elements in interactive
computer graphics
Methods of defining points in computer graphics include:
1. Pointing to the location on the screen by means of cursor
control.
2. Entering the coordinates via the alphanumeric keyboard.
3. Entering the offset (distance in x, y, and z) from a previously
defined point.
4. The intersection of two points.
5. Locating points at fixed intervals along an element.
15
Defining the Model
16
Defining the Model
Lines
Methods of defining lines include:
1. Using two previously defined points.
2. Using one point and specifying the angle of the line with
the horizontal.
3. Using a point and making the line either normal or
tangent to a curve.
4. Using a point and making the line either parallel or
perpendicular to another line.
5. Making the line tangent to two curves.
6. Making the line tangent to a curve and parallel or
perpendicular to a line.
17
Defining the Model
18
Arcs and circles
Methods of defining arcs and circles include:
1. Specifying the center and the radius.
2. Specifying the center and a point on the circle.
3. Making the curve pass through three previously defined
points.
4. Making the curve tangent to three lines.
5. Specifying the radius and making the curve tangent to two
lines or curves.
19
Defining the Model
20
Surfaces
Some of the methods for generating surfaces include:
1. Using a surface of revolution formed by rotating any lines
and/ or curves around a specific axis.
2. Using the intersection line or surface of two intersecting
surfaces.
21
Defining the Model
22
Defining the Model
23
Defining the Model
24
Defining the Model
25
Defining the Model
26
Defining the Model
27
Defining the Model
28
Defining the Model
29
Defining the Model
30
Defining the Model
31
Defining the Model
32
Computer Numerical Control
Lecture 9a
Fundamentals of Solid Modeling
Dr .Ibrahim Al-Adwan
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Fundamentals of Solid Modeling
Boundary Representations
Objects are rep. by a collection of bounding faces
plus topological information, which defines
relationship:
Between faces, edges and vertices
Hierarchy:
Faces are composed of edges
Edges are composed of vertices
BReps are difficult to create but provide easy
graphics interaction and display.
Fundamentals of Solid Modeling
Boundary Representation
A solid composed of faces, edges and vertices
F5
F4
E8
E5 E7
E6 F2
E3
V4
E4 V3
V1 E2
E1
F3 V2
F1
Fundamentals of Solid Modeling
B.Rep. Models
Fundamentals of Solid Modeling
B.Rep. Model of Tetrahedron
Fundamentals of Solid Modeling
Validity of an Engineering Part or Object
Polyhedron: a part which has flat or planar polygonal surfaces
only.
F+V = E+2,
F+V = E+2+R-2H,
F = 6, V = 8, E = 12
6 + 8 = 12 + 2
14 = 14 (valid object)
Fundamentals of Solid Modeling
Validity of an Engineering Part or Object
Example: Object with through-hole
F+V = E+2+R-2H,
F = 6+5 = 11
V = 16, E = 24
R = 1(as its blind hole)
H=0
11 +16 + 24 +2 +1 – 2(0)
27 = 27
Fundamentals of Solid Modeling
Validity of an Engineering Part or Object
Example: Part with Projection
F + V = E +2 +R-2H
F =11(6 + 4 +1)
V = 16, E = 24, H = 0
R = 1 (at base of projection)
F + V = E + 2 +R – 2H
11 +16 = 24 +2 +1-2(0)
27 = 27
Dr .Ibrahim Al-Adwan
Implementation of a typical CAD process on a CAD/CAM system
Definition translation
Design
Geometric modeling
changes
Interface algorithm
Documentation
To CAM process
Benefits of Implementing CAD Systems
Wireframe modeling.
Surface modeling.
Solid modeling.
• Sweep Representation
Transitional sweep (Extrusion)
Rotational sweep (Revolution)
Wireframe Modeling
The image of the object, as the name applies has the appearance of a frame
constructed from thin wires representing the edges and projected lines and
curves.
Wireframe Modeling
A computer representation of a wire-frame structure consists
essentially of two types of information:
Analytic entities :
Points Lines Arc Circles
Synthetic entities:
Cubic curves Bezier curves B-spline curves
Wireframe Modeling
Limitations
Plane surface
Surface of revolution
2- Synthesis surface entities
- Bezier surface - B-spline surface
Solid Modeling
Solid Representation
Several representation schemes are available for the
creation of solid models. Some of the most popular are
given:
Limitations
• Tree complexity
Body
• Geometry relates to the
information containing
Genus
shape defining parameters,
such as the coordinates of
the vertices Face Surface
Euler Law F E V L 2( B G )
Extrusion Revolution
3- Sweep Representation
Extrusion (Transitional Sweeping)
Dr .Ibrahim Al-Adwan
Surface Modeling and Representation
2
Surface Modeling and Representation
3
Surface Modeling and Representation
4
Surface Modeling and Representation
5
Surface Modeling and Representation
6
Surface Modeling and Representation
7
Surface Modeling and Representation
8
Surface Modeling and Representation
9
Surface Modeling and Representation
10
Surface Modeling and Representation
11
Surface Modeling and Representation
12
Surface Modeling and Representation
13
Surface Modeling and Representation
14
Surface Modeling and Representation
15
Surface Modeling and Representation
16
Surface Modeling and Representation
17
Surface Modeling and Representation
18
Surface Modeling and Representation
19
Surface Modeling and Representation
20
Surface Modeling and Representation
21
Surface Modeling and Representation
22
Surface Modeling and Representation
23
Surface Modeling and Representation
24
Surface Modeling and Representation
25
Surface Modeling and Representation
26
Surface Modeling and Representation
27
Surface Modeling and Representation
28
Surface Modeling and Representation
29
Surface Modeling and Representation
30
Surface Modeling and Representation
31
Surface Modeling and Representation
32
Surface Modeling and Representation
33
Surface Modeling and Representation
34
Surface Modeling and Representation
35
Surface Modeling and Representation
36
Surface Modeling and Representation
37
Surface Modeling and Representation
38
Surface Modeling and Representation
39
Surface Modeling and Representation
40
Surface Modeling and Representation
41
Surface Modeling and Representation
42
Surface Modeling and Representation
43
Surface Modeling and Representation
44
Surface Modeling and Representation
45
Surface Modeling and Representation
46
Surface Modeling and Representation
47
Surface Modeling and Representation
48
Surface Modeling and Representation
49
Surface Modeling and Representation
Sweeping
50
Surface Modeling and Representation
51
Surface Modeling and Representation
52
Surface Modeling and Representation
The core surface types are the ruled surface, surface of revolution
and sculptured surface, as the others may be defined using these.
53
Computer Numerical Control
Lecture 11
Standards for CAD
Dr .Ibrahim Al-Adwan
Standards for dimensioning
v
According to the American National Standards Institute ANSI standards, the
following are the basic rules that should be observed in dimensioning
any drawing:
1. Show enough dimensions so that the intended sizes and shapes can be
determined without calculating or assuming any distances.
2. State each dimension clearly, so that it can be interpreted in only one
way.
3. Show the dimensions between points, lines, or surfaces that have a
necessary and specific relation to each other or that control the
location of other components or mating parts.
4. Select and arrange dimensions to avoid accumulations of tolerances
that may permit various interpretations and cause unsatisfactory
mating of parts and failure in use.
1/15/2025 2
Standards for dimensioning
1/15/2025 3
Conventional tolerancing
Since it is impossible to produce the exact dimension specified, a
tolerance is also used to show the acceptable variation in a dimension.
The higher the quality a product has, the smaller the tolerance value
specified. Tighter tolerances are translated into more careful
production procedures and more rigorous inspection. There are two
types of tolerances: bilateral tolerance and unilateral tolerance (as
shown in the following Figure). Unilateral tolerances, such as ,
specify dimensional variation from the basic size (i.e., decrease) in one
direction in relation to the basic size; for example,
1.00 00..00
05
1.00 00..00
05 0.95 1.00
1/15/2025 4
Conventional tolerancing
1/15/2025 5
Conventional tolerancing
Surface control symbols
1/15/2025 6
Conventional tolerancing
Lay symbols
1/15/2025 7
Dimensioning
1/15/2025 8
TOLERANCE
1/15/2025 9
TOLERANCE
1/15/2025 10
TOLERANCE STACKING
1. Check that the tolerance & dimension specifications are reasonable for
assembly.
2. Check there is no over or under specification.
1/15/2025 11
TOLERANCE STACKING
1/15/2025 12
TOLERANCE STACKING
1/15/2025 13
TOLERANCE GRAPH
1/15/2025 14
Computer Numerical Control
Lecture 12
Transformations
Dr .Ibrahim Al-Adwan
CAD and Geometry
The simplest CAD systems are 2D or 3D drafting tools. They allow
geometry to be created, stored and manipulated.
Example: A line might be stored as two points:
L→P1P2→(x1,y1; x2y2)
Or in matrix notation:
Where: P1 x1 y1
L
P2 x2 y 2
The graphical representation:
P1 x1 y1 , P2 x2 y2
1/15/2025 2
CAD and Geometry
Example: Representation of a Triangle: (in 2D ordinary coordinates)
P1 x1 y1
P P2 x 2 y 2
P3 x3 y3
Graphical representation:
1/15/2025 3
CAD and Geometry
In this format it is not easy to do matrix manipulation in 2D or 3D
(which is what we want to do). Thus we want homogeneous
coordinates.
Homogeneous Coordinates:
Presents a unified approach to describing geometric transformations.
1/15/2025 4
Homogeneous Coordinates
Assume a 2D point lies in 3D space.
That is, along a ray from the origin (called homogeneous space).
1/15/2025 5
Homogeneous Coordinates
For instance, consider point P(2, 4) in ordinary coordinates. This can be
considered as:
P(4, 8, 2), where h=2; or P(6, 12, 3), where h=3; or P(2, 4, 1), where h=1 in
homogeneous space.
In general, P(m, n, h) in homogeneous space is P(m/h, n/h, 1) in ordinary
coordinates.
Thus, the triangle in 2d space can be represented in homogeneous
coordinates as:
x1 y1 1
P x 2 y2 1
x3 y3 1
Why? To help with transformations.
1/15/2025 6
Transformations
Transformation is the backbone of computer graphics, enabling us to
manipulate the shape, size, and location of the object.
It can be used to effect the following changes in a geometric object:
1. Change the location
2. Change the shape
3. Change the size
4. Rotate
5. Copy
6. Generate a surface from a line
7. Generate a solid from a surface
8. Animate the object
1/15/2025 7
Types of transformations
1. Modeling Transformation/ Object Transformation
This transformation alters the coordinate values of the object. Basic operations
are scaling, translation, rotation and combination of one or more of
these basic transformations.
Object transformation = Move (transform) an object in the 3D space.
2. Visual/ Viewing Transformation (Coordinate System Transformation)
In this transformation there is no change in either the geometry or the
coordinates of the object. A copy of the object is placed at the desired
sight, without changing the coordinate values of the object.
Coordinate system transformation = Move (transform) the coordinate system.
View the objects from the new coordinate system.
3. Rigid body transformation:
Moves the whole object, but does not deform an object.
1/15/2025 8
Examples
1/15/2025 9
Examples
1/15/2025 10
Examples
Coordinate System Transformation
1/15/2025 11
Basic Modeling/Object Transformations
Scaling, translation, and Rotation.
Other transformations, which are modification or
combination of any of the basic transformations, are
Shearing, Mirroring, Copy, etc.
[ P*] [ P][T ]
1/15/2025 12
Scaling
1/15/2025 13
Scaling
P( x, y ) P * ( x*, y*)
x* xsx , y* ys y
Or in matrix form:
s x 0 0
P* x * y * 1 x y 1 0 sy
0 xsx
ys y 1
0 0 1
1/15/2025 14
Scaling
1. Uniform Scaling
For uniform scaling, the scaling transformation matrix is given as:
• In ordinary 3D coordinate system:
s 0 0
[Ts ] 0 s 0
0 0 s
s 0 0 0
• In homogeneous 3D coordinates: 0 s 0 0
[Ts ]
0 0 s 0
0 0 0 1
1/15/2025 15
Scaling
2. Non-Uniform Scaling
• Scaling transformation matrix in 3d ordinary coordinates:
sx 0 0
[Ts ] 0 sy 0
0 0 sz
• In 3d Homogeneous Coordinates:
s x 0 0 0
0 s 0 0
[Ts ] y
0 0 s z 0
0 0 0 1
where, s x , s y , s z , are the scale factors for the x, y, and z coordinates of the
object.
1/15/2025 16
Example:
If the triangle A(1, 1), B(2, 1), C(1, 3) is scaled by a factor 2,
find the new coordinates of the triangle.
Solution:
Writing the points (original) matrix in homogeneous 3D
coordinates, we have
1 1 0 1
[P] 2 1 0 1
1 3 0 1
1/15/2025 17
Transformations
The scaling matrix is:
2 0 0 0
0 2 0 0
[Ts ]
0 0 2 0
0 0 0 1
1/15/2025 18
Translation Transformation
1/15/2025 19
Translation Transformation
x* x x
y* y y
Or in matrix form (homogeneous coordinates):
1 0 0
P* x * y * 1 x y 1 0 1 0
x y 1
1/15/2025 20
Translation Transformation
In translation, every point on an object translates exactly the same
distance. The effect of translation transformation is that the
original coordinate values increase or decrease by the amount of
the translation along the x, y, and z-axes.
The translation transformation matrix has the form:
In 3D Homogeneous Coordinates: 1 0 0 0
0 1 0 0
[Tt ]
0 0 1 0
x y z 1
where x, y, z are the values of translation in the x, y, and z direction, respectively.
For translation transformation, the matrix equation is:
[ P*] [ P][Tt ]
1/15/2025 21
Translation Transformation
Example: Translate the rectangle (2, 2), (2, 8), (10, 8), (10, 2) 2 units along x-axis
and 3 units along y-axis.
Solution: Using the matrix equation for translation, we have:
[ P*] [ P][Tt ]
Substituting the numbers, we get
2 2 0 1 1 0 0 0 4 5 0 1
2 8 0 1 0 1 0 0 4 11 0 1
[P*]
10 8 0 1 0 0 1 0 12 11 0 1
10 2 0 1 2 3 0 1 12 5 0 1
Note that the resultant coordinates are equal to the original x and y values
plus the 2 and 3 units added to these values, respectively.
1/15/2025 22
Rotation
We will first consider rotation about the z-axis, which passes
through the origin (0, 0, 0), since it is the simplest transformation
for understanding the rotation transformation. Rotation about an
arbitrary axis, other than an axis passing through the origin,
requires a combination of three or more transformations.
When an object is rotated about the z-axis, all the points on the
object rotate in circular arc, and the center of the arc lies at the
origin. Similarly, rotation of an object about an arbitrary axis has
the same relationship with the axis, i.e., all the points on the
object rotate in circular arc, and the center of rotation lies at the
given point through which the axis is passing.
1/15/2025 23
Rotation
Derivation of the Rotation Transformation Matrix
x r cos , y r sin
1/15/2025 24
Rotation
Derivation of the Rotation Transformation Matrix
The new coordinates:
x* r cos( ), y* r sin( )
Using the trigonometric relations, we get:
We get:
cos sin 0 0
sin cos 0 0
x * y * 0 1 x y 0 1
0 0 1 0
0 0 0 1
OR:
cos sin 0
x * y * 1 x y 1 sin cos 0
0 0 1
1/15/2025 26
Transformations
Rotation
Derivation of the Rotation Transformation Matrix
cos sin 0 0
sin cos 0 0
x * y* z * 1 x y z 1
0 0 1 0
0 0 0 1
1/15/2025 27
Transformations
Rotation
Derivation of the Rotation Transformation Matrix
cos 0 sin 0
0 1 0 0
TR y
sin 0 cos 0
0 0 0 1
1/15/2025 28
Transformations
Rotation
Derivation of the Rotation Transformation Matrix
• Translation matrix for rotation about x-axis:
1 0 0 0
0 cos sin 0
TR x
0 sin cos 0
0 0 0 1
1/15/2025 29
Transformations
Rotation
Derivation of the Rotation Transformation Matrix
[ P] x y 0 1, [ P*] x * y * 0 1
[ P] x y z 1, [ P*] x * y * z * 1
1/15/2025 30
Transformations
Rotation of an Object about an Arbitrary Axis
Rotation of a geometric model about an arbitrary axis, other than any
of the coordinate axes, involves several rotational and
translational transformations. When we rotate an object about
the origin (in 2D), we in fact rotate it about z-axis. Every point on
the object rotates along a circular path, with the center of
rotation at the origin. If we wish to rotate an object about an
arbitrary axis, which is perpendicular to the xy-plane, we will have
to first translate the axis to the origin and then rotate the model,
and finally, translate so that the axis of rotation is restored to its
initial position.
1/15/2025 31
Transformations
Rotation of an Object about an Arbitrary Axis
Thus, the rotation of an object about an arbitrary axis, involves three
steps:
Step 1:Translate the fixed axis so that it coincides with the z-axis
Step 2: Rotate the object about the axis
Step 3:Translate the fixed axis back to the original position (reverse
translation)
Note: When the fixed axis is translated, the object is also translated.
The axis and the object go through all the transformations
simultaneously.
1/15/2025 32
Transformations
Rotation of an Object about an Arbitrary Axis
Example:
Rotate the rectangle (0, 0), (2, 0), (2, 2), (0, 2) shown below,
30o ccw about its centroid and find the new
coordinates of the rectangle.
1/15/2025 33
Transformations
Rotation of an Object about an Arbitrary Axis
1/15/2025 34
Transformations
Rotation of an Object about an Arbitrary Axis
1/15/2025 35
Transformations
Rotation of an Object about an Arbitrary Axis
1/15/2025 36
Transformations
Rotation about an Arbitrary Point (in xy-plane)
In order to rotate an object about a fixed point, the point is first moved
(translated) to the origin. Then, the object is rotated around the origin.
Finally, it is translated back so that the fixed point is restored to its
original position. For rotation of an object about an arbitrary point, the
sequence of the required transformation matrices and the condensed
matrix is given as:
1 0 0 0 cos sin 0 0 1 0 0 0
0 1 0 0 sin cos 0 0 0 1 0 0
[Tcond ]
0 0 1 0 0 0 1 0 0 0 1 0
x y 0 1 0 0 0 1 x y 0 1
where is the angle of rotation and the point (x, y) lies in the xy-plane.
1/15/2025 37
Transformations
Rotation about an Arbitrary Point (in xy-plane)
Solution: We first translate the point (3, 2) to the origin, then rotate the rectangle about
the origin, and finally, translate back so that the original point is restores to its
original position (3, 2).The new coordinates of the rectangle are found as follows:
These are the new coordinates of the rectangle after the rotation.
1/15/2025 38
Transformations
Mirroring (Reflection)
In modeling operations, one frequently used operation is mirroring an object.
Mirroring is a convenient method used for copying an object while
preserving its features. The mirror transformation is a special case of a
negative scaling, as will be explained below.
Let us say, we want to mirror the point A(2, 2) about the x-axis (i.e., xz-plane).The point
matrix [P*]=[2 -2] can be obtained with the matrix transformation given below:
1/15/2025 39
Transformations
Mirroring (Reflection)
1 0 0 0
0 1 0 0
[ P*] 2 2 0 1 2 2 0 1
0 0 1 0
0 0 0 1
1/15/2025 40
Transformations
Mirroring (Reflection)
Transformation Matrix for Mirroring about x-axis:
1 0 0 0
0 1 0 0
Tm x
0 0 1 0
0 0 0 1
Transformation Matrix for Mirroring about y-axis:
1 0 0 0
0 1 0 0
Tm y
0 0 1 0
0 0 0 1
1/15/2025 41
Transformations
Mirroring about an Arbitrary Plane
If mirroring is required about an arbitrary plane, other than one defined by the
coordinate axes, translation and/or rotation can be used to align the
given plane with one of the coordinate planes. After mirroring,
translation or rotation must be done in reverse order to restore the
original geometry of the axis.
We will use the figure shown below, to illustrate the procedure for mirroring
an object about an arbitrary plane. We will mirror the given rectangle
about a plane passing through the line AB and perpendicular to xy-plane.
1/15/2025 42
Transformations
Mirroring about an Arbitrary Plane
1/15/2025 43
Transformations
Mirroring about an Arbitrary Plane
It should be noted that in each of the
transformations, the plane and the rectangle
have a fixed relationship, i.e., when we move
the plane (or line AB), the rectangle also
moves with it.
Note:We are using line AB to represent the plane,
which passes through it. Mirroring can be done
only about a plane, and not about a line.
1/15/2025 44
Transformations
Mirroring about an Arbitrary Plane
Procedure for mirroring the rectangle about the plane:
Step 1: Translate the line AB (i.e., the plane) such that it passes through the origin, as
shown by the dashed line.
Step 2: Next, rotate the line about the origin (or the z-axis) such that it coincides with
x or y axes (we will use the x-axis).
Step 3: Mirror the rectangle about the x-axis.
Step 4: Rotate the line back to its original orientation.
Step 5: Translate the line back to its original position
The new points matrix, in terms of the original points matrix and the five
transformation matrices is given as:
[P*] = [P][Tt][Tr][Tm][T-r][T-t]
Where, the subscripts t, r, and m represent the translation, rotation, and mirror
operations, respectively.
Note: A negative sign is used in the subscripts to indicate a reverse transformation.
1/15/2025 45
Transformations
Coordinate System Transformation
Coordinate frame moves to a new location.
1/15/2025 46
Coordinate System Transformation
P x y z
The origin has been translated (moved) from (0, 0, 0) to (a, b, c)
Or:
For coordinate system:
x a, y b, z c
For the object:
x a, y b, z c
[ P*] [ P][T ]
1 0 0 0
0 1 0 0
Tt
0 0 1 0
a b c 1
1/15/2025 47
Transformations
Coordinate System Transformation
[ P*] x a y b z c 1
1/15/2025 48
Transformations
Example: Coordinate Transformation
If the coordinate system has been rotated about z-axis by -30o, then
translated to [a b c], what is the coordinates of the point
[x y z] in the new coordinate system?
1/15/2025 49
Transformations
Example: Coordinate Transformation
Solution:
cos 30 o sin 30 o 0 0 1 0 0 0
o
cos 30 o 0 0 1 0 0
[ P*] x z 1
sin 30 0
y
0 0 1 0 0 0 1 0
0 0 0 1 a b c 1
x * y * z * 1
1/15/2025 50
Transformations
Coordinate system transformation-Viewing
1/15/2025 51
Transformations
Coordinate system transformation-Viewing
1/15/2025 52
Transformations
Coordinate system transformation-Viewing
We will not see all the component at one time.Thus we
need to define a window.
1/15/2025 53
Transformations
Coordinate system transformation-Viewing
1/15/2025 54
Transformations
Coordinate system transformation-Viewing
We can map this to the viewport by:
xv xv min x w x w min
xv max xv min x w max x w min
And
yv yv min y w y w min
yv max yv min y w max y w min
1/15/2025 55
Transformations
Coordinate system transformation-Viewing
When the Aspect Ratio (AR) of both is equal no
distortion (scaling occurs).
x max x min
AR
y max y min
1/15/2025 56