ME576
1.(a)
Required gear ratio
V = rpm x G x 1
G =
(
1000 mm
)
min = 0.556
1800 x 1
(b) Encoder gain =
1
1
=
= 100
BLU 0.01
(c) Freq =
100 1000
= 1,667
60
(d)
Max. travel length
= (216 1) x BLU
= (216 1) x 0.01 = 655.35mm
Homework#1
2.
G 0 X0Y0 X200Y
ME 576 Lab. Assignment No. 4
Name
This week's laboratory assignment involves using the CAM software (EZCAM) to create part
programs and postprocessing the programs (CAMCNC integration). The purpose of this
exercise is to show how part programs can be a
ME 576
Lab. 1
Instruction
CNC PART PROGRAMMING (MILLING)
PART 1
Generate a manual part programming for the parts shown in Figures 1 and 2 for NUM 750F.
The cutting conditions are as follows:
Cutting tool diameter: 12 mm
Spindle speed: 1000 rpm (use M43 S1
ME576
1.
HW#1
Name
Spring 2011
Design a closed loop control system using a DC motor as the axial drive element and an
incremental encoder as the feedback device. The 16 bit computer is used to generate the
position commands. The maximum speed of the motor
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
Lab. 2
Instruction
CNC PART PROGRAMMING (turning and milling)
PART 1 (Turning)
A. Generate a manual part program for the part shown in Figure 1 for the NUM Flexium 68. This
task involves the use of G64, turning/facing cycle (additional info is give
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
Homework #1
1. (a)
Required gear ratio
=
V
rpm x G x 1
(
)
1000 mm
min 0.556
=
G
=
1800 x 1
(b)
Encoder gain =
(c) Freq
=
1
1
= = 100
BLU 0.01
100 1000
= 1,667
60
(d)
Max. travel length
= (216 1) x BLU
= (216 1) x 0.01 = 655.35mm
2.
G 0 X0Y0 X200
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Lab Assignment
Session 9
Introduction
This week's laboratory consists of two parts. In part A, you will use the NUM PLC to practice
exchanging information between the PLC and the CNC. In part B, you will practice programming of
logic sequences on t
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME576
HW#4
Due 3/12/2015
Spring
2015
1. Obtain a discrete model of a system defined by the following equation
d 2 y (t )
dy (t )
+2
+ 2 y (t ) =
u (t )
2
dt
dt
when u(t)=1 for t 0. Assume that the sampling interval T=0.1 second.
(a)
(b)
(c)
Use the transf
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Lab Assignment
Session 8
This week's laboratory experiment involves programming of PLCs. Generate PLC programs for two
examples covered in the class: i) drilling operation and ii) conveyor line with bin bags.
In the lectures, two examples of PLC pr
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
1.
Homework #5
A proportional controller is to be used to control a system shown in Figure 1 in discrete
domain. Design the proportional controller gain using a root locus so that the damping ratio
of the closed loop system becomes about 0.7 for tw
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
1.
Homework #7
Bollinger 8.7
2
error (E)
R
2
The error, E, is
E=R 1 cos
2
Since R is 5 and max. error should be 0.001
E
=
2 cos 1 1 
R
0.001
=2cos1 1=
= 2.29
0.04rad
5
The length of the straight line segment is
L = 2R sin
= 2 5 sin(0.0
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Lab.
Assignment No. 4
Name
This week's laboratory assignment involves using the CAM software (Mastercam) to create part
programs and postprocessing the programs (CAMCNC integration). The purpose of this exercise
is to show how part programs can b
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
Homework #5
1.
i) T = 1
Gp=
( z)
(1 z ) Z s ( s.1+ .1)
1
2
( e=
 aT
.1 x1
e=
0.9048=
)T 1
0.00484 z 1 + 0.00468 z 2 0.0484( z + 0.967)
=
Gp ( z ) =
.1 (1 z 1 )(1 0.905z 1 )
( z 1)( z  0.905)
ii)=
T 4
Gp ( z ) =
e
(=
 aT
.1 x 4
e=
0.6
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
HW #7
Due: 4/21/15
1.
Solve Bollinger 8.7.
2.
Solve Bollinger 8.10.
(Assume that the initial slope is 1.5 and the final slope is 1.17. Use a single cubic spline
curve to represent the trajectory.)
3.
Solve Problem 2 using the normalized cubic splin
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 SYLLABUS  SPRING 2015
Computer Control of Manufacturing Processes
Course Web Site: http:/engineering.purdue.edu/ME576/
Instructor:
Office Hours:
Professor Yung C. Shin
4949775
Email: shin@purdue.edu
Mon. and Wed., 11:00am12:00pm
ME G082
Teaching
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
Homework #4
1.
(a)
d2y ( t )
dy ( t )
+2
+ 2y ( t ) =
u (t)
T=0.1 sec
2
dt
dt
d2y ( t ) 1
= 2 y ( k ) 2y ( k1) +y ( k2 )
dt 2
T
dy ( t ) 1
=
y ( k )  y ( k1)
dt
T
1
2
y k  2y ( k1) + y ( k2 ) + y ( k ) y ( k1) +2y ( k ) =u ( k1)
2 ( )
T
T
1
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
1.
HW #3
Due: 2/26/2015
Name
Bollinger 5.12 assuming that hexadecimal system is used to represent numbers.
Hint:
Digits are 3016 3A16 in the ASCII code (see Appendix C on pp. 598)
Direct loading of numbers can be done by using # in front of the hex
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
Lab. 1
Instruction
CNC PART PROGRAMMING (MILLING)
PART 1
Generate manual part program for the part shown in Figure 1 for NUM Flexium 68. The cutting
conditions are as follows:
Cutting tool diameter: 12 mm
Spindle speed: 1000 rpm (use M43 S1000)
Not
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Lab. 3
Instruction
Name
Generate a manual part programming for the part shown below with finished dimensions using
parametric programming with L variables and subroutines. Assume that the part being machined has
been forged and is uniformly slightl
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Laboratory Assignment
Session 7
Generate PLC programs and generate the truth table to verify the results. Store the programs in
a USB 2.0 flash drive and simulate them on the NUM PLC.
1)
E0
E1
E3
A0
E2
2)
Write a short program to perform the follow
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Lab 6 Assignment
CNC Turning
Name
This week's laboratory assignment involves using the CAM software (Mastercam) to create a part
program for the part shown in the attached figure, postprocessing the program and running it on the
EmcoMeier CNC tur
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576
Homework #3
1. Solution
LOOP
LOAD
#0
STORE
RESULT
INPUT
3
SUBTRACT
#3A16
JUMP IF POSITIVE
DONE
ADD
#0A16
Set RESULT to 0
Input next ASCII character
Between 3016 and 3916?
JUMP IF NEGATIVE DONE
STORE
DIGIT
LOAD
RESULT
MULTIPLY
#A16
ADD
DIGIT
STORE
R
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
Homework #6
1. (a)
G p ( z=
)
(1 z ) Z s ( s2+ 2 )
1
2
1
1
0.00937 z + 0.00876 0.00937 (1 + 0.936 z ) z
= =
z 2 1.819 z + 0.819
(1 z 1 )(1 0.819 z 1 )
Dead beat controlller: Td = z 1
( z 1)( z 0.819 ) z 1
1
Td ( z )
=
G p ( z ) 1 Td ( z ) 0.00937 z + 0.0
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME576
HW#2
Name
ID
1.
Solve Bollinger 5.7
Design a logic circuit to generate the negative (2s complement) of an 8bit binary number
A.
2.
Solve the following problems
(a) Bollinger B.5 a, d (in Appendix B)
(b) Bollinger B.7 b,c,d (in Appendix B)
3.
After
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
Homework #21
I7
A
S
B
C
A
S
B
C
A
S
B
C
I6
I0
1
Homework 22
(a).
Bollinger B5
a.
11011 0111 = 1B716
B
b.
10 1000 = 2816
2
8
c.
0.111 = 0.E16
d.
1011 . 0111 = B.716
B
(b).
7
7
Bollinger B7
12710 = 00000000001111112
34610 = 11111110101001102
224210 = 0
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME576
Laboratory 10 Assignment
Introduction
For this lab, the conveyor trainer will be operated using the Siemens S5 PLC. The conveyor system is
supposed to sort the metal pegs from rings on the moving conveyor and assemble them. The metal
pegs are detect
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME576
1.
HW#1
Name
Spring 2015
Design a closed loop control system using a DC motor as the axial drive element and an
incremental encoder as the feedback device. The 16 bit computer is used to generate the
position commands. The maximum speed of the motor
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 SYLLABUS  SPRING 2015
Computer Control of Manufacturing Processes
Course Web Site: http:/engineering.purdue.edu/ME576/
Instructor:
Office Hours:
Professor Yung C. Shin
4949775
Email: shin@purdue.edu
Mon. and Wed., 11:00am12:00pm
ME G082
Teaching
Numerical Methods in Heat, Mass, and Momentum Transfer
ME 576

Fall 2015
ME 576 Lab. Assignment
No. 5
Name
This week's laboratory assignment involves using the CAM software (Mastercam) to create a part program
for the part shown in the attached figure, postprocessing the program and running it on the EmcoMeier
CNC milling ma
ME 576
HW #6
Due: 4/12/11
A system given by G p ( s ) =
1.
2
will be controlled in discrete domain with sampling
s ( s + 2)
interval T of 0.1 sec.
(a) Design a discrete controller that will yield deadbeat response.
(b) Design a discrete controller that w