10.01.2013 Views

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The distance constraint from pt � (x, y, z) to plane is<br />

Given a distance d, the positive or negative of d will determine the direction of variation along with<br />

(A_d, B_d, C_d) or (�A_d, �B_d,�C_d).<br />

Systems of Equations<br />

Once constraints are translated into a set of equations, the next step is to solve for the variables part of<br />

the equations. For a simplified ex<strong>amp</strong>le, to solve the system equation of point-to-plane (as described in<br />

the previous section), if datum plane d is coincident with plane p, pt_1, pt_2, pt_3, pt_4, and d_2 are<br />

given, then the value of point pt (x, y, z) can be solved directly. When multiple dimensions are applied<br />

and with fewer fixed variables, the solution scheme becomes complicated. Two methods are available for<br />

solving a system of equations. One is a direct solution using substitution algorithm and the other is<br />

numerical iteration. The direct solution has the advantage that, in general, it is faster and more precise.<br />

The direct solution has the main disadvantage that it may not be used to solve all systems of equations<br />

because it may not be possible to define a variable explicitly in an expression for its subsequent substitution<br />

in other expressions (Serrano, 1984). The Newton-Raphson method that can solve simultaneous<br />

nonlinear equations does not have substitution problems. The disadvantage of the Newton-Raphson<br />

method is that it requires the user to input the initial guess close to the actual solution in order to converge<br />

to a solution, and it may not converge to the desired solution if multiple solutions are possible (Lin, 1981).<br />

Direct Substitution Method<br />

In order to determine if a direct solution is possible, it is necessary to determine if all the variables may<br />

be defined explicitly by an expression. Given a set of system equations,<br />

to solve this set of equations we need the same number of equations and unknowns, and explicit definition<br />

for each unknown in terms of other variables; therefore, no slings should appear in the resulting digraph<br />

(directed graph). A sling would be formed if an unknown is defined in terms of itself. The system must<br />

be acyclic because the process of determining the order of execution is analogous to that of scheduling<br />

a network of activities. An activity originating at a node cannot start before all activities terminating at<br />

that node are completed. Using network path scheduling, it is possible to solve systems with more than<br />

one root, i.e., systems with subsets of expressions that are not related among themselves. An adjacency<br />

matrix as shown in Figure 9.14 is constructed to describe the digraph of the above system equations.<br />

FIGURE 9.14 Adjacent matrix.<br />

© 2001 by CRC Press LLC<br />

A_px � B_py � C_pz � D�d_2 y<br />

b<br />

x<br />

a<br />

z<br />

y � y( z)<br />

b � b( x,z)<br />

x � x( y,z)<br />

a � a( x,y,z)<br />

y b x a z<br />

0 0 0 0 1<br />

0 0 1 0 1<br />

1 0 0 0 1<br />

1 0 1 0 1<br />

0 0 0 0 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!