CN202837956U - Control device for controlling per-revolution feed - Google Patents

Control device for controlling per-revolution feed Download PDF

Info

Publication number
CN202837956U
CN202837956U CN 201220161304 CN201220161304U CN202837956U CN 202837956 U CN202837956 U CN 202837956U CN 201220161304 CN201220161304 CN 201220161304 CN 201220161304 U CN201220161304 U CN 201220161304U CN 202837956 U CN202837956 U CN 202837956U
Authority
CN
China
Prior art keywords
speed
multiplying power
feed
mainshaft
main shaft
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN 201220161304
Other languages
Chinese (zh)
Inventor
宋刚
陈虎
王大伟
董大鹏
耿文剑
于本生
白彦庆
汤洪涛
王声文
林猛
刘沛
刘磊
韩基鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Guangyang Science and Technology Engineering Co Ltd
Original Assignee
Dalian numerical control technology research institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian numerical control technology research institute filed Critical Dalian numerical control technology research institute
Priority to CN 201220161304 priority Critical patent/CN202837956U/en
Application granted granted Critical
Publication of CN202837956U publication Critical patent/CN202837956U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The utility model provides a control device for controlling the per-revolution feed, which comprises a control panel, a PLC (programmable logic controller) module and a CNC (computer numerical control) module. The control panel receives a main shaft rotating speed override signal and a per-tooth feed override signal, converts received signals to corresponding information and sends the information to the PLC module; the PLC module is electrically connected with the control panel, implements determination according to the received information, obtains a main shaft override and a feed override and sends the main shaft override and the feed override to the CNC module; and the CNC module is electrically connected with the PLC module, calculates a main shaft rotating speed n' and a feed speed vf', and converts the main shaft rotating speed n' and the feed speed vf' into servo driving instructions to output. Using the control device for controlling the per-revolution feed has the advantage that the feed is maintained unchanged in the process that the main shaft rotating speed is changed, thereby ensuring simultaneous change of the feed speed and the main shaft rotating speed, and avoiding large fluctuation which causes damages to cutters.

Description

The opertaing device of control feed of every rotation
Technical field
The present invention relates to the numerically-controlled machine field, more particularly, relate to a kind of opertaing device of controlling feed of every rotation.
Background technology
The numerical control cutting processing in numerically-controlled machine field is the important productive in the mechanical manufacturing field.In the numerical control cutting process, in order to obtain final processing work, the operator need to set machined parameters (speed of mainshaft, speed of feed and feeding depth) according to actual processing, and needs to change machined parameters according to different process requirements in process.
In existing numerical control cutting technology, the parameter object that people mainly pay close attention to is the speed of mainshaft, speed of feed.Control mode is: the user realizes the multiple choices of machined parameters by numerical control operation panel, and general using button or selector switch (for example waver) are controlled speed of feed and the speed of mainshaft respectively; Then mainly adopt PLC to realize the I/O logic control, receive from the operation information of guidance panel and realize control to machined parameters.With the speed of mainshaft and speed of feed as the parameter perpetual object, when adopting the milling cutter cut, not with feed engagement as final perpetual object, and only with the amount of feeding as final perpetual object, exist and control out of true and cause final converted products defective of low quality.Simultaneously, each parameter is controlled separately respectively, also there is lower column defects: excessive when speed of mainshaft single setting range, when speed of feed is not in time made corresponding adjustments, may occur causing because feed engagement is too small tool wear to aggravate or the consequences such as generation flutter; Excessive when speed of feed single setting range, when the speed of mainshaft was not in time made corresponding adjustment, the consequences such as breakage of cutter may appear may causing because feed engagement fz is excessive.For example, the speed of mainshaft is adjusted to null value, and when speed of feed not being regulated, will causes the consequence of cutter serious damage.
Therefore, the speed of mainshaft and speed of feed are controlled separately respectively as the parameter perpetual object and to the two, can not intuitively be reflected the actual adjustment situation of feed engagement, the control out of true causes the accident easily.
Summary of the invention
The technical problem to be solved in the present invention is, for the speed of mainshaft and speed of feed as the parameter perpetual object, and each parameter carried out respectively the technological deficiency that separately control causes the accident easily, a kind of opertaing device of controlling feed of every rotation is provided.The opertaing device of control feed of every rotation provided by the invention as perpetual object, and guarantees that when the speed of mainshaft changed, per tooth feeding multiplying power was constant with the speed of mainshaft, feed engagement, thereby guarantees that speed of feed and the speed of mainshaft keep synchronously variation.
The invention provides a kind of opertaing device of controlling feed of every rotation, it is characterized in that, this equipment comprises:
Receive speed of mainshaft ratio signals and feed engagement ratio signals, and the signal that receives is converted to the control panel that corresponding information is sent to the PLC module;
Be electrically connected control panel, judge according to the information that receives: if regulate separately speed of mainshaft multiplying power, guarantee that so feed engagement is constant; If regulate simultaneously speed of mainshaft multiplying power and per tooth feeding multiplying power, speed of mainshaft multiplying power Ks and feeding multiplying power Kf are sent to the PLC module of CNC module;
Be electrically connected the PLC module, ask for speed of mainshaft n ', speed of feed vf ', and speed of mainshaft n ' and speed of feed vf ' are converted into the CNC module of servo driving instruction output.
Preferably, the CNC inside modules also comprises the interpolator of speed of feed being done interpolation operation.
Preferably, interpolator inside is provided with main shaft instruction synchronizer, and speed of feed and the speed of mainshaft are done synchronous interpolation.
Implement the opertaing device of control feed of every rotation of the present invention, has following beneficial effect: in the process of speed of mainshaft conversion, keep the amount of feeding constant, guarantee speed of feed and speed of mainshaft while conversion, thereby avoid producing huge fluctuation and the damage that causes cutter.Cooperate simultaneously the multiplying power control of feed engagement, realize multiple Processing Strategies.
Description of drawings
Fig. 1 is the synoptic diagram of prior art numerical control cutting processing feeding multiplying power switch and speed of mainshaft multiplying power switch;
Fig. 2 is the structural representation that the present invention controls the opertaing device of feed of every rotation;
Fig. 3 is the synoptic diagram of speed of mainshaft multiplying power switch;
Fig. 4 is the synoptic diagram of per tooth feeding multiplying power switch;
Fig. 5 is the control flow chart of the speed of mainshaft and per tooth feeding multiplying power;
Fig. 6 is the control flow chart of per tooth feeding multiplying power;
Fig. 7 is the structural drawing of an embodiment of the present invention's opertaing device of controlling feed of every rotation.
Embodiment
Fig. 1 is the synoptic diagram of prior art numerical control cutting processing feeding multiplying power switch and speed of mainshaft multiplying power switch, and the left side is feeding multiplying power switch, and the right is speed of mainshaft multiplying power switch.As shown in the figure, machined parameters is preseted, and mainly comprises two kinds, is respectively feeding multiplying power and main shaft multiplying power, adopts feeding multiplying power switch and speed of mainshaft multiplying power switch to select feeding multiplying power and the main shaft multiplying power of inputting.It is available that feeding multiplying power and main shaft multiplying power have a plurality of gears separately, but the generally no longer variation of the numerical value of these predefined a plurality of gears, the user can only select a certain gear in this predefined gear bands.The two is separate for feeding multiplying power and main shaft multiplying power, in process, can only adjust separately feeding multiplying power or main shaft multiplying power.The independent adjustment speed of feed of prior art and the speed of mainshaft may cause actual cutter feed engagement to produce huge fluctuation, the excessive breakage that may cause cutter of feed engagement, and feed engagement is too small then may to be caused the tool wear aggravation or flutter occurs.And when utilizing prior art to adjust feeding multiplying power and main shaft multiplying power, the amplitude that can not once adjust is excessive, otherwise, also can produce the excessive breakage that may cause cutter of feed engagement, feed engagement is too small then may to be caused the tool wear aggravation or flutter occurs.Therefore, traditional machined parameters method of adjustment can not intuitively reflect the actual adjustment situation of feed engagement, causes the accident easily.
The invention provides a kind of opertaing device of controlling feed of every rotation, Fig. 2 is the structural representation that the present invention controls the opertaing device of feed of every rotation.As shown in the figure, this equipment comprises: control panel, PLC module and CNC module.Control panel receives speed of mainshaft ratio signals and the feed engagement ratio signals of user's input, and the signal that receives is converted to corresponding information is sent to the PLC module; The PLC module according to the information that receives, is obtained speed of mainshaft multiplying power Ks and feed engagement multiplying power Ka, and calculates feeding multiplying power Kf=Ks*Ka, then speed of mainshaft multiplying power Ks and feeding multiplying power Kf is sent to the CNC module; The CNC module is asked for speed of mainshaft n '=Ks*n, speed of feed vf '=Kf*vf=Ks*Ka*vf, and speed of mainshaft n ' and speed of feed vf ' be converted into servo driving instruction output; When speed of mainshaft n ' variation, keep per tooth feeding multiplying power Ka constant.The PLC module can utilize hardware or software form to realize, main being responsible for processed the signal of user's input, by judging input signal, analyzes in inside, computing, and operation result is sent to the CNC module and further processes the most at last.
In the numerically-controlled machine field, can utilize the input signal of various ways production multiplying power control, for example button or selector switch.In the prior art, the main parameter object of paying close attention to is the speed of mainshaft and speed of feed, therefore, in the prior art, only has speed of mainshaft multiplying power switch and feeding multiplying power switch.The present invention adopts special speed of mainshaft multiplying power switch and per tooth feeding multiplying power switch.Fig. 3 is the synoptic diagram of speed of mainshaft multiplying power switch, and Fig. 4 is the synoptic diagram of per tooth feeding multiplying power switch.During original state, pointer on speed of mainshaft multiplying power switch and the per tooth feeding multiplying power switch all points to separately dial plate center line, speed of mainshaft multiplying power and the per tooth feeding multiplying power of this moment are 100%, times rate score on the dial plate center line left side is less than 100%, and along center line left numerical value diminish gradually, times rate score on dial plate center line the right is greater than 100%, and along center line to the right numerical value become gradually large.In the process that the speed of mainshaft changes, keep per tooth feeding multiplying power constant, namely do not adjust simultaneously the gear of speed of mainshaft multiplying power switch and feed engagement multiplying power switch.According to formula feeding multiplying power Kf=Ks*Ka, when speed of mainshaft multiplying power Ks increase, when feed engagement multiplying power Ka is constant, feeding multiplying power Kf and speed of mainshaft multiplying power Ks increase with multiple, otherwise feeding multiplying power Kf and speed of mainshaft multiplying power Ks reduce with multiple, at this moment, feed engagement remains unchanged; Ks is constant when speed of mainshaft multiplying power, and when feed engagement multiplying power Ka increased, feeding multiplying power Kf and feed engagement multiplying power increased with multiple, otherwise feeding multiplying power Kf and feed engagement multiplying power reduce with multiple, changes feed engagement by regulating the feeding multiplying power.
The method of utilizing the said equipment that feed of every rotation is controlled is as follows: a, PLC module are obtained current speed of mainshaft n, current speed of feed vf; B, control panel be according to user's selection input, speed of mainshaft ratio signals and per tooth feeding ratio signals is converted to corresponding information is sent to the PLC module; C, PLC module are judged the information that receives: if regulate separately speed of mainshaft multiplying power, guarantee that so feed engagement is constant, this moment speed of mainshaft multiplying power=Ks, speed of feed multiplying power=Ks; If regulate simultaneously speed of mainshaft multiplying power and per tooth feeding multiplying power, this moment speed of mainshaft multiplying power=Ks, feeding multiplying power Kf=Ks*Ka; Then speed of mainshaft multiplying power Ks and feeding multiplying power Kf are sent to the CNC module; D, CNC module are calculated and are asked for speed of mainshaft n '=Ks*n, speed of feed vf '=Kf*vf=Ks*Ka*vf; E, CNC module are converted into servo driving instruction output with speed of mainshaft n ' and speed of feed vf '.
Fig. 5 is the control flow chart of the speed of mainshaft and per tooth feeding multiplying power.As shown in the figure, the user presets gear value according to process requirements, regulates speed of mainshaft multiplying power Ks gear by speed of mainshaft multiplying power switch E, regulates per tooth feeding multiplying power Ka gear by per tooth feeding multiplying power switch F; The PLC module is after receiving speed of mainshaft multiplying power waver gear signal or per tooth feeding multiplying power waver gear signal, selected speed of mainshaft multiplying power Ks and per tooth feeding multiplying power Ka, calculate to get feeding multiplying power Kf according to formula Kf=Ks*Ka, the PLC module is sent to the CNC module with speed of mainshaft multiplying power Ks and the feeding multiplying power Kf that obtains; The CNC module is asked for speed of mainshaft n ' according to the speed of mainshaft multiplying power Ks that receives and the current speed of mainshaft n that obtains, feeding multiplying power processing module is asked for speed of feed vf ' according to the feeding multiplying power Kf that receives and the current speed of feed vf that obtains, then speed of mainshaft n ' and speed of feed vf ' are converted into servo driving instruction output, the control of Negotiation speed ring drives servomotor work.
Fig. 6 is the control flow chart of per tooth feeding multiplying power.As shown in the figure, the user presets a gear times rate score and is set to PLC module executive routine global variable; Regulate speed of mainshaft multiplying power Ks gear by speed of mainshaft multiplying power switch, regulate per tooth feeding multiplying power Ka gear by per tooth feeding multiplying power switch; The PLC module is after receiving speed of mainshaft multiplying power waver gear signal or per tooth feeding multiplying power waver gear signal, making gear judges, then from predefined gear times rate score, obtain speed of mainshaft multiplying power Ks and per tooth feeding multiplying power Ka, calculate to get feeding multiplying power Kf according to formula Kf=Ks*Ka, the PLC module is sent to main shaft multiplying power processing module and feeding multiplying power processing module in the CNC module with the speed of mainshaft multiplying power Ks that obtains and feeding multiplying power Kf; Main shaft multiplying power processing module is asked for speed of mainshaft n ' according to the speed of mainshaft multiplying power Ks that receives and the current speed of mainshaft n that obtains, feeding multiplying power processing module is asked for speed of feed vf ' according to the feeding multiplying power Kf that receives and the current speed of feed vf that obtains, then by the CNC module speed of mainshaft n ' and speed of feed vf ' are converted into servo driving instruction output, thus drive shaft servomotor and feed servo machine operation.When the user is written to times rate score in the PLC program as global variable, can use the definition waver address of ST language, also can adopt other variable-definition forms.A kind of method (wherein " Ks_Adr_1 " represents address name, and " IX1018.1 " represents interface IP address, and " BOOL " represents type) as follows of using the definition waver address of ST language:
Ks_Adr_1 AT%IX1018.1: BOOL; (* main shaft multiplying power No. 1 gear address *)
Ks_Adr_2 AT%IX1018.2: BOOL; (* main shaft multiplying power No. 2 gear addresses *)
……
Ks_Adr_11 AT%IX1018.11: BOOL; (* main shaft multiplying power No. 11 gear addresses *)
Ka_Adr_1 AT%IX1019.1: BOOL; (* per tooth feeding multiplying power No. 1 gear address *)
Ka_Adr_2 AT%IX1019.2: BOOL; (* per tooth feeding multiplying power No. 2 gear addresses *)
……
Ka_Adr_4 AT%IX1019.4: BOOL; (* per tooth feeding multiplying power No. 4 gear addresses *)
……
Ka_Adr_7 AT%IX1019.7: BOOL; (* per tooth feeding multiplying power No. 7 gear addresses *)
The PLC programming language has IL, ST, LD etc., illustrates (also can use other language) realization of user logic here with the ST language.Set up function " Ks_Control " in inside and finish speed of mainshaft multiplying power, the control of synchro-feed speed:
(* local variable definition *)
STEP: INT:=0; (* execution in step *)
R_Ks_Rate_1: R_TRIG; (* waver signal is along definition *)
R_Ks_Rate_2 :R_TRIG;
……
R_Ks_Rate_11 :R_TRIG;
(* function body *)
R_Ks_Rate_1 (CLK:=Ks_Adr_1); (* is along the related address * of signal)
R_Ks_Rate_2(CLK:=Ks_Adr_2);
……
R_Ks_Rate_11(CLK:=Ks_Adr_11);
(the * multiplying power is selected *)
IF R_Ks_Rate_1.Q AND STEP=0 THEN
Ks_Rate:=Ks_Rate_1;
Ka_Rate:=Ks_Ka_Rate_1;
STEP:=1;
ELSIF R_Ks_Rate_2.Q AND STEP=0 THEN
Ks_Rate:=Ks_Rate_2;
Ka_Rate:=Ks_Ka_Rate_2;
STEP:=1;
……
ELSIF R_Ks_Rate_11.Q AND STEP=0 THEN
Ks_Rate:=Ks_Rate_11;
Ka_Rate:=Ks_Ka_Rate_11;
STEP:=1;
END_IF;
(* implementation *)
CASE STEP OF
1:
Kf_Rate:=Ks_Rate*Ka_Rate/100;
Set_SpindleRate (1, Ks_Rate); (* sets spindle speed *)
Set_FeedRate (1, Kf_Rate); (* sets speed of feed *)
STEP:=0;
0:
;
END_CASE
The user also can preset the multiplying power adjustment form that comprises speed of mainshaft multiplying power Ks and feed engagement multiplying power Ka.When the user presets the multiplying power adjustment form that comprises speed of mainshaft multiplying power Ks and per tooth feeding multiplying power Ka, the PLC module is according to the speed of mainshaft ratio signals and the feed engagement ratio signals that receive, in the multiplying power adjustment form, transfer speed of mainshaft multiplying power Ks and feed engagement multiplying power Ka, then try to achieve feeding multiplying power Kf=Ks*Ka.The user also can pass through the direct entering spindle rotating speed of control panel multiplying power Ks or feed engagement multiplying power Ka, then sends into the PLC module, and the PLC module is calculated and asked for feeding multiplying power Kf.
For the controlled working precision, can in the d step, calculate and ask for speed of mainshaft n ' and speed of feed vf ' afterwards, by interpolator to the speed of feed computing.In order to guarantee the collaborative work of feed shaft and main shaft, main shaft instruction synchronizer can be set in interpolator, be responsible for sending the main shaft instruction to the PLC module, after wait PLC module is returned speed of mainshaft numerical value, speed of feed and the speed of mainshaft are done synchronous interpolation.For further controlled working precision, steps d also comprises: feeding multiplying power processing module, reception comes from closeization of the track point sequence of interpolator and multiplying power that the PLC resume module obtains is adjusted demand, and closeization point sequence is carried out again closeization of interpolation, adjusts the feeding multiplying power.
Fig. 7 is the structural drawing of an embodiment of the present invention's opertaing device of controlling feed of every rotation.As shown in the figure, this opertaing device mainly comprises following part: speed of mainshaft multiplying power switch, per tooth feeding multiplying power switch, NC machine tool operation panel, servo drive, digital control system.Digital control system is made of CNC system hardware, the real-time oss cnc system software three parts of unifying.
In the numerically-controlled machine field, can utilize the input signal of various ways production multiplying power control, for example button or selector switch.In the prior art, the main parameter object of paying close attention to is the speed of mainshaft and speed of feed, therefore, in the prior art, only has speed of mainshaft multiplying power switch and feeding multiplying power switch.The present invention adopts special speed of mainshaft multiplying power switch and per tooth feeding multiplying power switch.
CNC system hardware comprises servo and I/O equipment interface, real time clock, file system storage medium, central processor CPU, display device and input equipment, and they realize exchanges data by internal bus.The I/O equipment interface is used for being connected with external unit the data transmission between realization and external unit; Real time clock is used for triggering each parts periodic duty; The file system storage medium is used for the storage operation file.CNC system hardware can have various computing systems to consist of, for example many CPU framework of X86PC framework, arm processor framework, dsp processor framework, single-chip microcomputer framework and a plurality of above-mentioned processor formations.Adopt the X86PC framework hardware system can with in the machine 8253 or its compatible clock system make real time clock; Can be by pci bus or isa bus interface analog output unit and the servo and I/O equipment interface of digital quantity input-output card realization, for the servo of field-bus interface and I/O equipment, can adopt corresponding field bus communication interface card to realize servo and I/O equipment interface; Can adopt hard disk or SD card, CF card as the file system storage medium.
Real time operating system comprises that numerical control device driving, real-time task scheduling subsystem, graphical user interface GUI and file management and memory device drive.The real-time task scheduling subsystem is used for guaranteeing completion system function within the time of specifying or determining.Real time operating system can be selected VxWorks, and the real time operating system of RTLinux etc. specialty also can select Windows in conjunction with real-time extension RTX, or requires to select when low Windows CE etc. to have the operating system of certain soft real-time characteristic in system performance.Except supporting conventional file management and storage medium to drive and graphical user interface GUI, mainly pass through real time clock Interruption handling procedure as property performance period ground real-time task scheduling in the real time operating system.The standard Driver Development framework that can adopt real time operating system to provide is provided numerical control device, encapsulation is to data manipulation servo and the I/O equipment interface, these data comprise to servo instruction and to the instruction of I/O, also comprise gathering from servo feedback data and the data of I/O.
Cnc system software comprises PLC subsystem, PLC program file manipulater, nc program file operation device, program code resolver, interpolator, numerical control man-machine interaction subsystem, main shaft server, feeding multiplying power processing module and main shaft multiplying power processing module.
The PLC subsystem comprises ST CompilerTools and user logic actuator.When using other language compilation file routines, adopt other CompilerTools.Comprise S command logic function and feed of every rotation control power function in the user logic actuator.The PLC subsystem, the PLC programmed logic of being responsible for writing according to the user is processed the logic control of numerically-controlled machine peripheral hardware and annex, includes but not limited to the speed of mainshaft, the tool magazine tool changing, cooling, lubricated, chip removal etc.S command logic function refers to speed of mainshaft command logic function.The PLC subsystem is set up the memory mapping of peripheral hardware input and output by device drives, and the set logical operation of completing user on memory mapping.Usually the user can adopt the PLC programming language of IEC61131-3 standard convention to describe required steering logic, comprises trapezoid figure language, ST language, IL language etc.But at first user's ladder diagram logic, ST logic of language or IL language logic are converted into the user logic instruction sequence that can be consisted of by the processor basic instruction of CNC system hardware processor Direct Recognition by compiler in the PLC subsystem.The PLC subsystem is under the management of real-time task scheduling subsystem, periodically by user logic actuator run user logical order sequence.
PLC program file manipulater is responsible for loading the user and is write the PLC file that comprises the Machine-Tool Control logic from the file system storage medium of digital control system, comprise the PLC file of Machine-Tool Control logic as using the ST language compilation; The sign that the PLC file that uses the ST language compilation to comprise the Machine-Tool Control logic finishes as row mainly with new line character greatly; Usually nc program file operation device is in the invoked method of operation, does not possess the requirement of autonomous operation, and form that namely can one group of service function realizes that the object that also can have one group of service interface is realized.
Nc program file operation device is responsible for from load nc program from the file system storage medium of digital control system.
The program code resolver, mainly be responsible for calling nc program file operation device service interface, for interpolator provides macro-data, have the demand of certain real-time output, usually the program code resolver is included real-time task scheduling in the lower real-time thread of priority or the form of real-time task.The program code resolver obtains nc program with behavior unit; With the lexical analysis (can select Lex) of passing through of the nc program of character string type.The classes of instructions discriminator is on the basis of grammatical analysis (can select Yacc), for the processing of classifying of each key word that parses, for example to the one by one processing of G code, one by one processing to coordinate points, to the one by one processing of M code, also comprise the S instruction of the bright description speed of mainshaft that relates to of this law, namely start the M03 of main shaft, M04, the M05 instruction.The motion request that characterizes according to G code is in conjunction with coordinate information, is converted into the data structure with the interpolator agreement, by interpolator the interface interchange of program code resolver sent into interpolator.As the subsystem that initiatively moves, the program code resolver has certain requirement of real-time, usually can bring in the real-time task scheduling, participates in task scheduling with lower priority.
Interpolator comprises conventional geometric locus interpolator and the main shaft instruction synchronizers such as straight line, circular arc, is responsible for from the manually operated motion services request of program code resolver and interface.These motion services request comprise: the conventional geometric locuss such as straight line, circular arc, also comprise the S instruction to the speed of mainshaft, and namely start the M03 of main shaft, M04, the main shaft services request such as M05 instruction.Interpolator itself is only processed closeization of interpolation of feed shaft geometric instructions, can adopt " point-to-point comparison method ", " numerical value point-score " for linear interpolation and circular interpolation, and the interpolating method of other parametric equation forms.Because the not responsible motion of main shaft control of interpolator in order to guarantee the collaborative work of feed shaft and main shaft, is designed with main shaft instruction synchronizer in the interpolator, be responsible for sending the main shaft instruction to the PLC system, and wait for returning of PLC system, the synchronously work of interpolator.Interpolator is as the subsystem that initiatively moves, and interpolator has higher requirement of real-time, usually brings in the real-time task scheduling, is strictly periodically carried out.The implementation progress server also moves in the cycle of operation at interpolator.
Feeding multiplying power processing module, has the interpolated point buffering, responsible reception comes from closeization of the track point sequence of interpolator, receive simultaneously the multiplying power that obtains of processing from Processing Strategies power function in the PLC user logic and adjust demand, closeization of interpolation again on the basis of closeization point sequence realizes the adjustment of feeding multiplying power by the closeization point of adjusting increment output.Feasible adjustment algorithm is exemplified below:
Increment from interpolator is sat as follows to sequence:
(△X1,△Y1,△Z1);
(△X2,△Y2,△Z2);
……
(△XN,△YN,△ZN);
(△XN+1,△Y N+1,△Z N+1);
……
The vector (△ X0N, △ Y0N, △ Z0N) of actual output, when multiplying power less than 100% the time, the incremental vector that actual output vector calculates less than interpolator; When multiplying power greater than 100% the time, the incremental vector that actual output vector calculates greater than interpolator.Feasible treating method is as follows:
When multiplying power less than 100% the time, establishing the feeding multiplying power is A%, then has:
(△X01,△Y01,△Z01)=(A%*△X1,A%*△Y1,A%*△Z1);
So have residual vector ((1-A%) * △ X1, (1-A%) * △ Y1, (1-A%) * △ Z1) not export for (△ X1, △ Y1, △ Z1) vector, be accumulated to output (△ X02, △ Y02, △ Z02) next time.
If residual vector ((1-A%) * △ X1, (1-A%) * △ Y1, (1-A%) * △ Z1) is still large than (A%* △ X1, A%* △ Y1, A%* △ Z1), then:
(△X02,△Y02,△Z02)=(A%*△X1,A%*△Y1,A%*△Z1);
Then remain ((1-A%-A%) * △ X1, (1-A%-A%) * △ Y1, (1-A%-A%) * △ Z1)
……
The like, until residue section ((1-n*A%) * △ X1, (1-n*A%) * △ Y1, (1-n*A%) * △ Z1)<(A%* △ X1, A%* △ Y1, an A%* △ Z1), next section that then need to calculate by interpolator, feasible output policy is as follows:
For vector (△ X2, △ Y2, △ Z2), need the compute vector direction cosine
L 2 = Δ X 2 2 + Δ Y 2 2 + Δ Z 2 2
Cos(αX)=ΔX 2/L 2
Cos(αY)=ΔY 2/L 2
Cos(αZ)=ΔZ 2/L 2
Then have:
△X0n=(1-n*A%)*△X1+[A%-(1-n*A%)]*△X1*Cos(αX);
△Y0n=(1-n*A%)*△Y1+[A%-(1-n*A%)]*△Y1*Cos(αY);
△Z0n=(1-n*A%)*△Z1+[A%-(1-n*A%)]*△Z1*Cos(αX);
After this use (△ X2, △ Y2, △ Z2) to replace (△ X1, △ Y1, △ Z1), replace (△ X3, △ Y3, △ Z3) with (△ X3, △ Y3, △ Z3) and repeat said process, can obtain the output vector after each feeding is adjusted.
When the feeding multiplying power greater than 100% the time, establishing the feeding multiplying power is B%, then often has this interpolator computational data curtailment with output, the situation that need to use next section.
For using vector (△ X2, △ Y2, △ Z2), need the compute vector direction cosine:
L 2 = Δ X 2 2 + Δ Y 2 2 + Δ Z 2 2
Cos(αX2)=ΔX 2/L 2
Cos(αY2)=ΔY 2/L 2
Cos(α Z2)=Δ Z 2/ L 2Then have:
Work as L2〉(B%-1) * L1, illustrate that then L2 can satisfy first paragraph speed change residual paths demand, then:
△X01=△X1+(△X1*B%-△X1)*Cos(αX2);
△Y01=△Y1+(△Y1*B%-△Y1)*Cos(αY2);
△Z01=△Z1+(△Z1*B%-△Z1)*Cos(αZ2);
As the * L1 of L2<(B%-1), illustrate that then L2 can not satisfy first paragraph speed change residual paths demand, then needs to use (△ X3, △ Y3, △ Z3), as (L1+L2+L3)〉B%*L1 then illustrates (△ X3, △ Y3, △ Z3) can satisfy the speed change needs, otherwise borrow section downwards always.Be located at the N section and just satisfy (L1+L2+...+Ln) B%*L1, then have:
△X01=△X1+△X2+...+△Xn-1+(△X1*B%-△X1-△X2-...-△Xn-1)*Cos(αXn);
△Y01=△Y1+△Y2+...+△Yn-1+(△Y1*B%-△Y1-△Y2-...-△Yn-1)*Cos(αYn);
△Z01=△Z1+△Z2+...+△Zn-1+(△Z1*B%-△Z1-△Z2-...-△Zn-1)*Cos(αZn);
The like, can be to obtain successively output vector (△ X0n, △ Y0n, △ Z0n)
Main shaft multiplying power processing module, be responsible for receiving the main shaft multiplying power that obtains of processing from Processing Strategies power function in the PLC user logic and adjust demand, the spindle speed instruction is revised on basis in former main shaft instruction, and directly send numerical control device to drive, and spindle driver is sent in this instruction.Feasible adjustment algorithm is exemplified below: former main shaft instruction S requires K% from the main shaft multiplying power adjustment of PLC, then actual output main shaft instruction S0=S*K%.
The specific works principle is as follows: NC machine tool operation panel receives the user and regulates speed of mainshaft multiplying power switch gear information or per tooth feeding multiplying power switch gear information, and gear information driven by servo and I/O equipment interface and numerical control device be sent to the PLC subsystem, central processor CPU and real time clock are controlled this program implementation in real time.The PLC subsystem is according to gear information, judge gear, obtain the numerical value of speed of mainshaft multiplying power Ks of the corresponding gear in the file system storage medium or the numerical value of per tooth feeding multiplying power Ka by PLC program file manipulater, and then calculate the numerical value ask for feeding multiplying power Kf according to formula Kf=Ks*Ka, and the numerical value of speed of mainshaft multiplying power Ks and the numerical value of feed rate Kf are sent to the file system storage medium.From the file system storage medium, read the numerical value of current speed of mainshaft n and the numerical value of current speed of feed vf by nc program file operation device, speed of mainshaft n '=Ks*n is asked in calculating, speed of feed vf '=Kf*vf, and the speed of mainshaft n ' that calculating is asked for and speed of feed vf ' are sent to interpolator.Because the not responsible motion of main shaft control of interpolator in order to guarantee the collaborative work of feed shaft and main shaft, is designed with main shaft instruction synchronizer in the interpolator.Main shaft instruction synchronizer, send the main shaft instruction to the PLC system, and wait for that (for example system sends the instruction indication speed of mainshaft and is adjusted into 100r/min for the synchronic command that returns of PLC system, in order to confirm that the speed of mainshaft has reached the indicated speed of system, then system returns the affirmation information that the speed of mainshaft reaches 100r/min), realize the work of synchronous interpolator.Interpolator is as the subsystem that initiatively moves, and interpolator has higher requirement of real-time, and the real-time task scheduling subsystem guarantees that it is according to strictly periodically carrying out.The implementation progress server also moves in the cycle of operation at interpolator.Interpolator is sent to feeding multiplying power processing module with closeization of track point sequence after the synchronous interpolation of finishing the speed of mainshaft and speed of feed.Be provided with the interpolated point buffering in the feeding multiplying power processing module, receive simultaneously from PLC logic actuator and process the multiplying power adjustment demand that obtains, closeization of interpolation again on the basis of closeization point sequence realizes the adjustment of speed of feed by the closeization point of adjusting increment output.Main shaft multiplying power processing module receives the main shaft multiplying power that sends from PLC logic actuator and adjusts demand, revises speed of mainshaft instruction on the basis of main shaft instruction.Result after feeding multiplying power processing module and main shaft multiplying power processing module will be processed drives by numerical control device and servo and I/O equipment interface is sent to servo drive and drives servomotor M and work.In the process that the speed of mainshaft changes, keep per tooth feeding multiplying power constant, namely do not adjust simultaneously the gear of speed of mainshaft multiplying power switch and feed engagement multiplying power switch.According to formula feeding multiplying power Kf=Ks*Ka, when speed of mainshaft multiplying power Ks increase, when feed engagement multiplying power Ka is constant, feeding multiplying power Kf and speed of mainshaft multiplying power Ks increase with multiple, otherwise feeding multiplying power Kf and speed of mainshaft multiplying power Ks reduce with multiple, at this moment, feed engagement remains unchanged; Ks is constant when speed of mainshaft multiplying power, and when feed engagement multiplying power Ka increased, feeding multiplying power Kf and feed engagement multiplying power increased with multiple, otherwise feeding multiplying power Kf and feed engagement multiplying power reduce with multiple, changes feed engagement by regulating the feeding multiplying power.But still regulating feed engagement multiplying power Ka regardless of adjusting speed of mainshaft multiplying power Ks is 0 o'clock, and the speed of mainshaft and speed of feed all are 0 simultaneously.Thereby the damage of avoiding producing huge fluctuation and causing cutter.
The user also can preset the multiplying power adjustment form that comprises speed of mainshaft multiplying power Ks and feed engagement multiplying power Ka.When the user presets the multiplying power adjustment form that comprises speed of mainshaft multiplying power Ks and per tooth feeding multiplying power Ka, the PLC subsystem is according to the speed of mainshaft ratio signals and the feed engagement ratio signals that receive, in the multiplying power adjustment form, transfer speed of mainshaft multiplying power Ks and feed engagement multiplying power Ka, then try to achieve feeding multiplying power Kf=Ks*Ka.
The present invention is described by embodiment, and those skilled in the art know, in the situation that does not break away from the spirit and scope of the present invention, can carry out various changes or equivalence replacement to these features and embodiment.In addition, under instruction of the present invention, can make amendment to adapt to concrete situation and material to these features and embodiment and can not break away from the spirit and scope of the present invention.Therefore, the present invention is not subjected to the restriction of specific embodiment disclosed herein, and all interior embodiment of claim scope that fall into the application belong to protection scope of the present invention.

Claims (3)

1. an opertaing device of controlling feed of every rotation is characterized in that, this equipment comprises:
Receive speed of mainshaft ratio signals and feed engagement ratio signals, and the signal that receives is converted to the control panel that corresponding information is sent to the PLC module;
Be electrically connected control panel, judge according to the information that receives: if regulate separately speed of mainshaft multiplying power, guarantee that so feed engagement is constant; If regulate simultaneously speed of mainshaft multiplying power and per tooth feeding multiplying power, speed of mainshaft multiplying power Ks and feeding multiplying power Kf are sent to the PLC module of CNC module;
Be electrically connected the PLC module, ask for speed of mainshaft n ' speed of feed vf ', and speed of mainshaft n ' and speed of feed vf ' are converted into the CNC module that the servo driving instruction is exported.
2. the opertaing device of control feed of every rotation according to claim 1 is characterized in that, the CNC inside modules also comprises the interpolator of speed of feed being done interpolation operation.
3. the opertaing device of control feed of every rotation according to claim 2 is characterized in that, interpolator inside is provided with main shaft instruction synchronizer, and speed of feed and the speed of mainshaft are done synchronous interpolation.
CN 201220161304 2012-04-16 2012-04-16 Control device for controlling per-revolution feed Expired - Lifetime CN202837956U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220161304 CN202837956U (en) 2012-04-16 2012-04-16 Control device for controlling per-revolution feed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220161304 CN202837956U (en) 2012-04-16 2012-04-16 Control device for controlling per-revolution feed

Publications (1)

Publication Number Publication Date
CN202837956U true CN202837956U (en) 2013-03-27

Family

ID=47949620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220161304 Expired - Lifetime CN202837956U (en) 2012-04-16 2012-04-16 Control device for controlling per-revolution feed

Country Status (1)

Country Link
CN (1) CN202837956U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376773A (en) * 2012-04-16 2013-10-30 大连数控技术研究院 Method and device for controlling feed per revolution
CN110948286A (en) * 2019-11-14 2020-04-03 杭州大天数控机床有限公司 Adaptive feed cutting method for machining center
CN111880478A (en) * 2020-09-05 2020-11-03 山东山森数控技术有限公司 Electronic lathe control system and control method thereof
CN113467368A (en) * 2021-07-15 2021-10-01 苏州谋迅智能科技有限公司 Method for adjusting S-shaped speed curve

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376773A (en) * 2012-04-16 2013-10-30 大连数控技术研究院 Method and device for controlling feed per revolution
CN103376773B (en) * 2012-04-16 2017-08-08 科德数控股份有限公司 A kind of control method and equipment of control feed of every rotation
CN110948286A (en) * 2019-11-14 2020-04-03 杭州大天数控机床有限公司 Adaptive feed cutting method for machining center
CN111880478A (en) * 2020-09-05 2020-11-03 山东山森数控技术有限公司 Electronic lathe control system and control method thereof
CN113467368A (en) * 2021-07-15 2021-10-01 苏州谋迅智能科技有限公司 Method for adjusting S-shaped speed curve

Similar Documents

Publication Publication Date Title
CN103116316B (en) Numerical control machining control method adapted to type or dimensional change of cutting tool
CN102650867B (en) Numerical controller having speed control function for multi-axis machining device
Martinova et al. The Russian multi-functional CNC system AxiOMA control: Practical aspects of application
CN1892523B (en) Servo controller
CN103372788A (en) Ratio control method for realizing different processing strategies
CN202837956U (en) Control device for controlling per-revolution feed
CN101093392A (en) Digital control system controlled based on computer online or off line method, and operation method
Yellowley et al. The integration of process and geometry within an open architecture machine tool controller
US5930142A (en) Numerical control system with hierarchical interpolation functions
CN102126056B (en) XZC three-axis linkage thread milling method for milling machining center
CN103376773A (en) Method and device for controlling feed per revolution
CN101025621A (en) Threading machine cycle processing method for turning hook-tooth thread
CN102081376A (en) Machining load control system based on instruction sequence optimization
CN106886197B (en) Method for controlling machine to implement machining, device and application thereof
CN105302061B (en) The corresponding numerical control device of left-handed coordinate system
US4404507A (en) Forming contours
US5363026A (en) Method of operating a numerically controlled machine tool and a machine tool for carrying out the method
TWI542512B (en) Multi-axial control device, circular method and a packing machine
CN105182911A (en) Reconstructed PLC numerical control system application in numerical control machine tool
US20090182451A1 (en) Method for controlling turning machining and nc machines suitable for turning machining
CN104635624A (en) Control method and control system for controlling numerical control system of four-axis processing equipment
CN110045681B (en) External compensation method for numerical control machine tool position-related errors based on position prediction
CN103809519A (en) Polar coordinate interpolation extremum region smooth processing method for numerical control system
CN113759851B (en) Automatic control system and automatic control method
CN202362643U (en) Modular machine tool control system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: DALIAN KEDE CNC CO., LTD.

Free format text: FORMER OWNER: DALIAN INSTITUTE OF NUMERICAL CONTROL TECHNOLOGY

Effective date: 20150724

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150724

Address after: 116600 No. 8, the Yellow Sea street, Dalian economic and Technological Development Zone, Liaoning

Patentee after: Dalian Kede CNC Co., Ltd.

Address before: 116600 No. 27, Harbin Road, Dalian economic and Technological Development Zone, Liaoning, China

Patentee before: Dalian Numerical Control Technology Research Institute

C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 116600 No. 8, the Yellow Sea street, Dalian economic and Technological Development Zone, Liaoning

Patentee after: Dalian Guangyang Science & Technology Engineering Co., Ltd.

Address before: 116600 No. 8, the Yellow Sea street, Dalian economic and Technological Development Zone, Liaoning

Patentee before: Dalian Kede CNC Co., Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20130327