Be based on Windows platform electric spark to machine successive and flowing contrail to dominate systematic research

  • Time:
  • Click:78
  • source:BACHTEL CNC Machining
[Summary] through building the mathematical model of successive and flowing contrail, realized control of 2 axes linkage. Each function that described this control system forms the composition that reachs a program. Have the aid of is mixed at Windows operating system graphical interface, make operation of whole control system very convenient. The change of scintilla discharge clearance dogs when in be being machined in the light of electric spark, wanting to be realistic, make treatment can maintain efficient and stable ground to undertake continuously, the pilot of real time task that offerred the clock below Windows environment to interrupt implements a method. Keyword: Electric spark machines By The Mathematic Modelling Of Continuous Smooth Tracks of   of Windows[Abstract] of successive contrail   , two-axis Simultaneous Moving Is Realized.

The Functions And Modules Of The Control System Are Desctibed.

Windows-based Operation System And Graphic Interface Make Operation Of The Whole Contol System Very Convenient.

The Windows-based Method Of Realizing Real-time Task By Timer Interrupting Is Proposed For The Demand Of Real-time Tracing The Gap Of Spark Discharge And For Maintaining The Continuous And High Efficient Machining.

Keywords: ?   of Windows of   of   of Continuous Smooth Track of   of  DM   is current, the pace enters electric machinery servo to still have quite large proportion in numerical control system, line cut machine tool and forming machine of scintilla of domestic dispatches from foreign news agency have electric spark of homebred numerical control comparative to use a pace to enter electric machinery servo partly. Because raise the interpolation precision of systematic motion contrail, can improve the treatment precision of the machine tool, because this considers to enter electric machinery servo to have the control of successive and flowing contrail in the light of the pace, have particular academic significance and actual application value. The foundation of flowing contrail is the pace enters electric machinery fractionize of small step pitch and technology of synchro control of alterable step pitch, that is to say every pulse equivalent is not changeless however according to the requirement, by the computer control happening changes, metabolic progression is more, so workpiece outline is close to actual contrail more [1] . Have the aid of the characteristic of the fast operation at the computer, use direct function numeration to decide to chosen increment answers on direction of two dimension X, Y. The description of model of maths of 1 flowing contrail is on maths, random a line segment always is OK infinite intersected, the circular arc of an aleatoric diameter can be joined by the line segment from beginning to end of infinite amount and become, can become infinite Duan Wei's small line segment with be being broken up [2] . Additional, the contrail of the initial drop that the terminus of before the workpiece outline that comprises by a variety of curves should be satisfied one curve is below one curve is successive criterion. Accordingly, want the coincide that makes the actual contrail of complex curve and academic contrail idealer, must reduce pulse equivalent as far as possible, and make complex of place of motion of direction of X, Y linear paragraph slope span as far as possible wide, that is to say, every pulse wants not only tiny and it is OK to answer optional change. 1.

Of model of maths of 1 linear and flowing increment build it is to initial drop (X0, y0) , terminus is (X1, of Y1) go up to nod P(x arbitrarily point-blank, y) , always have: Hold water. Set now go up point-blank I dot and the coordinate that I+1 nods are (Xi, yi) and (Xi+1, yi+1) , so, i.e. : Δ Y=K.

Δ X   among them K is slope; Δ Y=yi+1-yi, Δ X=xi+1-xi   takes Δ X to be fair value, be like 1 μ M, 0.

1 μ M, 0.

01 μ M, can get by slope Δ Y is K again, 0.

1K, 0.

01K. 1.

The builds a circle general expression of model of flowing increment maths is 2 circular arc, (X-x0)2+(y-y0)2=R2, among them: (X0, y0) expresses coordinate of the centre of a circle, r expresses circular arc radius. Now (X0, y0) fastens origin relative to coordinate as, round equation is X2+y2=R2, among them: X=x-x0, y=y-y0, so to the random on circular arc two photographs adjacent is nodded (Xi, yi) and (Xi+1, yi+1) , can get: Xi=xi-x0, yi=yi-y0xi+1=xi+1-x0, yi+1=yi+1-y0   decreases afore-mentioned two type respectively, attainable: Xi+1-xi=xi+1-xi, yi+1-yi=yi+1-yi, fasten in workpiece coordinate namely (X-Y) and workpiece are fastened relative to coordinate (the increment size of Pi of dot of adjacent of two photographs in X-Y) and Pi+1 is equal Y of Δ of Y= of X of Δ X= Δ , Δ . Pi+1 coordinate coordinate of the dot that use Pi expresses, take the place of in round equation attainable: (Y)2=R2 of Xi+ Δ X)2+(yi+ Δ , and have: The F0 in type, f1 is symbolic mark, it is by the dot (Xi, yi) place quadrant and round arc become directional CF is suitable circle (CF=0) still goes against a circle (CF=1) decision, criterion the increment maths model of circular arc is: When | Δ Y | > | Δ X | When, when | Δ Y | < | Δ X | When, 1.

Of model of maths of 3 elliptical and flowing increment build a basis to be mixed point-blank circular arc is flowing increment maths model, do not give the model of flowing increment maths of elliptical contrail inaccessibly: In type: A, B -- the accident axis that is ellipse respectively; F0, F1 -- it is the symbolic mark that the quadrant that chooses a location with the correspondence on the curve and athletic way CF concern. 1.

4 hyperbola are flowing of increment maths model build manage together, the model of flowing increment maths of hyperbola contrail is: Among them of A, B, F0, F1 and ellipse mathematical model is same. 1.

5 parabola are flowing of increment maths model build manage together, the model of flowing increment maths of parabola contrail is: Among them Fs, F1 is symbolic mark, the quadrant that corresponding dot is in on F1 and curve and athletic way CF are concerned; Fs and parabola mouth direction are concerned, should start to talk up or right when, fs is, it is otherwise negative. Use the same method that build a model to build other not hard 2 times mathematical model of the curve, here no longer give uncecessary details. The moving mechanism of moving mechanism of 2   Windows and Windows of systematic interface   is message drive mechanism. The message of Windows originates equipment, in handling a process to these messages, produced a lot of other informations again. The message needs to send proper window function, for this, the GetMessage function that uses a program to call Windows ceaselessly is obtained from inside message alignment message and call DispatchMessage function to explain a message. DispatchMessage function decides the where in program and window function or Windows window function gets an information, such Windows concealment complex details rise, next, transfer proper window function directly. Because electric spark treatment is system of control of a kind of real time, sex of its real time is Windows place is insufficient, the mechanism does the message drive that needs pair of Windows for this to be revised appropriately. Of the clock in personal computer interrupting frequency is 18.

2Hz, this cannot satisfy the requirement that controls a system in real time far, must undertake process designing to 8253 clock chip, the made frequency that can achieve real time to control a system to ask (1000Hz above) , because interrupt the change of frequency, the performance that affects Windows system, interrupt frequency hind in the change so, the clock that must call former Windows with original frequency interrupts exemple Cheng, the normal and stable ground that just can assure Windows moves. Advocate the window used style of frame of adornment sex MDI, coordinate indication window, NC program window and treatment parameter window are his child the window. Data inputs the window of dispute mode dialog box that the window uses, advocate the window controls data to input the window build and shut. When module of the some that start, advocate the window builds a data to input the window, give it number as it is said; When data the input is finished, press when moving pushbutton, advocate window of window control input gets data-in to remand number as it is said at the same time advocate the window, shut data to input the window; Call the processing program of corresponding module next, generate NC code, finally, advocate the window goes to NC program to load in NC program window, start real time task to handle a program to implement NC code. 3 systems function is shown 1 times like the graph, whole control system includes to control core module, mobile module, fixed position module, treatment module, real time to monitor task of module, real time to handle module and auxiliary module. Graph 1 system function pursues among them, controlling core module is systematic key, include explanation of program of curvilinear interpolation module, NC and signal of executive module, machine tool to detect among them module and module of machine tool control. Mobile module finishs the sudden shift of electrode, can undertake whole journey mobile, half Cheng moves and move to appoint the position. Fixed position module finishs electric spark to machine function of medium a few automatic fixed position, like end panel fixed position of center of fixed position, column center fixed position, aperture, horn locates etc. It is a process of demonstrative fixed position with column center fixed position now. If the graph is shown 2 times, set electrode to undertake perceptive distance is Xs(Xs>R+r osculatory, r is workpiece radius, r is the radius) of electrode, it is base point with current coordinate, control electrode to X square to mobile Xs, next electrode drops a paragraph of distance, lose direction to undertake receiving be perceptived 3 times truly to X again, record X coordinate Xp of this bits, same, undertake on X negative direction similar operation gets Xe, the central coordinate Xc=(Xp-Xe)/2; that can get workpiece go up in X direction manages to undertake operating on Y direction together the central coordinate Yc on attainable Y direction. If know the diametical D of electrode, calculable the diametical D=Xp-Xe-d that gives work. Afore-mentioned movement comes true completely by personal computer automata, beardless and artificial interpose. Accordingly, fixed position precision is very tall, the precision that can satisfy electric spark to machine asks. Graph the interpolation feed of axis of the servo feed that sketch map of fixed position of 2 column center machines module to control electrode Z axis according to the condition of discharge clearance or X, Y moves. Because discharge condition is to be monitored in real time, such attainable reasonable feed control, make machine efficiency to maintain from beginning to end in the optimal, stablest discharge condition. Auxiliary module fulfils the function of a few auxiliary sexes in the system. Code of the modification with accurate gauge of the online help of the editor of the code that be like NC, system, discharge, NC machines imitate and contrail to show etc. The mobile module in afore-mentioned module, fixed position module and treatment module need X, Y interpolation of two axes linkage achieves its motion orbit. Its are successive and flowing orbit control is a basis the mathematical model of orbit is calculated directly and come. As a result of electric spark treatment and treatment of numerical control mill differ, when short circuit is encountered in treatment need undertakes retrorse interpolation moves, in order to eliminate short circuit position [3] . 4 conclusion adopt the mathematical model that builds interpolation of successive and flowing contrail, be based on a pace to advance principle of drive of electric machinery synchronism, the interpolation precision that can raise orbit not only (count a decision into electric machinery fractionize by the pace, fine mark is higher, criterion pulse equivalent is smaller) , reduce error of sex of the principle when orbit interpolation. In the meantime, the characteristic of the fast operation of machine of Yu Wei of have the aid of, can walk out of the curve such as linear, circular arc, elliptical, hyperbola, parabola, involute directly. The deflection that still can achieve orbit further, cutting tool compensates a function. Numerical control system is developed on platform of Winodws graph operation, the order figure expresses to be graphical pushbutton, operate be clear at a glance, very convenient, can realize much task processing, improve the efficiency that the system moves. Because total order is to use object-oriented C++ language staff, of the program can transplant gender and but enlarge allow sex is better. CNC Milling CNC Machining