12.01.2015 Views

Download - Academy Publisher

Download - Academy Publisher

Download - Academy Publisher

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

In order to ensure the smooth processing of endformation,<br />

it is necessary to make the surface of the<br />

surface roughness values of less than or equal to a set<br />

value, which must ensure that the workpiece with the<br />

wheel contact point at the speed of a constant speed. As<br />

the grinding face, we should constantly be feeding action<br />

so that grinding diameter gradually reduced. Therefore,<br />

the NC device control software must be designed to<br />

complete the corresponding spindle speed adjustment.<br />

II. SOFTWARE DESIGN<br />

Software architecture with front and back structural<br />

model.Foreground program is an interrupt service routine,<br />

it is almost assumed, the entire real-time functions<br />

(interpolation, position control, etc.), while the scheduling<br />

management, and human-computer interaction in the<br />

background process to complete[6]. Background process<br />

is a loop run the program, in its operation process, the<br />

prospects continue to insert real-time interrupt program<br />

worked together to accomplish the task CNC machining.<br />

Their operational tasks, including system management<br />

and system control two parts. System Management<br />

include communications, display, syntax checking,<br />

parameter setting, fault diagnosis, procedures, coding and<br />

other tasks, such procedures are less demanding real-time;<br />

system control is mainly motion control, including, tool<br />

compensation, speed control, trajectory interpolation ,<br />

position control, limit and emergency stop and other tasks,<br />

such procedures are completed very strong real-time<br />

control tasks. The overall structure of the software system<br />

as shown in Figure 7.<br />

position. Therefore, in order to achieve the process in<br />

motion trajectory control must be calculated in real-time<br />

linear and the feed rate to meet the requirements of a<br />

number of intermediate points (between the start and end).<br />

This is the CNC interpolation techniques (Inierpolation)<br />

concept. Accordingly, interpolation is defined as follows:<br />

The so-called interpolation is based on a given feed rate<br />

and a given linear outline the requirements of the outline<br />

between the known points to determine the number of<br />

mid-point method, this method is called interpolation fill<br />

methods or interpolation theory. For each method<br />

(principles) can be used on a different calculation method<br />

to achieve such a specific method of calculation is called<br />

interpolation algorithm.<br />

Interpolation algorithm can be divided into pulse<br />

incremental interpolation algorithms and data sampling<br />

interpolation algorithm for two. Pulse incremental method<br />

is generally used with stepper motor-driven devices, the<br />

open-loop numerical control system, it is common pulse<br />

incremental method with point by point comparison<br />

method and the digital integration method. Data sampling<br />

method has been applied relatively high speed and<br />

accuracy requirements of NC system, the common data<br />

sampling time-division method to expand DDA method<br />

and so on[8].<br />

The system uses digital integration method of circular<br />

interpolation algorithm interpolation method.<br />

digital integration method for the basic principles<br />

From the geometric point of view, is to find the<br />

function of integral operator Y = f (t) curve and the<br />

horizontal axis of the enclosed area. As shown in Figure 8.<br />

Figure7. BEFORE AND AFTER THE TAIWAN-BASED SYSTEM<br />

SOFTWARE ARCHITECTURE<br />

III. INTERPOLATION ALGORITHM<br />

Parts of the contour shape is from a variety of shapes<br />

(such as linear, circular, spiral lines, parabola, the free<br />

curve, etc.) of different circles. Foremost among these is<br />

a straight line and arc. Users in parts processing, in<br />

general, provides only necessary to describe the linear<br />

parameters, such as a straight line, to provide its starting<br />

point and end point; pairs of arcs, and to provide a starting<br />

point and end point, clockwise or counter-clockwise<br />

circular arc and the center of a circle relative at the start<br />

Figure8. GEOMETRIC DESCRIPTION OF THE FUNCTION POINTS<br />

We can see from Figure 8, from the time t0 to tn the<br />

function Y = f (t) the integral value is expressed as:<br />

t<br />

S = ∫ Ydt =<br />

t0<br />

∫<br />

n t n<br />

t<br />

0<br />

f ( t)<br />

dt<br />

In geometry is to use a series of small rectangular area,<br />

and to approximate that of the function f (t) the following<br />

integral area. 5 for further processing of the formula, take<br />

Δ t as the basic unit of one, then the formula is converted<br />

to digital integrator formula:<br />

(5)<br />

265

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

Saved successfully!

Ooh no, something went wrong!