CN101477351B - Intelligent numerical control method with three-stage process self-optimization function - Google Patents

Intelligent numerical control method with three-stage process self-optimization function Download PDF

Info

Publication number
CN101477351B
CN101477351B CN2008101531394A CN200810153139A CN101477351B CN 101477351 B CN101477351 B CN 101477351B CN 2008101531394 A CN2008101531394 A CN 2008101531394A CN 200810153139 A CN200810153139 A CN 200810153139A CN 101477351 B CN101477351 B CN 101477351B
Authority
CN
China
Prior art keywords
optimization
self
processing
fuzzy
speed
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.)
Active
Application number
CN2008101531394A
Other languages
Chinese (zh)
Other versions
CN101477351A (en
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.)
Tianjin Tyson CNC Technology Co., Ltd.
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN2008101531394A priority Critical patent/CN101477351B/en
Publication of CN101477351A publication Critical patent/CN101477351A/en
Application granted granted Critical
Publication of CN101477351B publication Critical patent/CN101477351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the technical field of digital control of electromechanical integration, and relates to an intelligent control method with the three-stage processing self-optimization function. The intelligent control method comprises the following steps: firstly, optimizing and an executing processing program according to optimum processing parameters; secondly, detecting the current and the power supply voltage of a main motor in real time during processing, taking the current as a decision-making value, the voltage as an supplementary means and the variation delta af of the feeding speed af as a system adjustment value, and realizing closed-loop feedback fuzzy control of the processing process; and thirdly, taking a trigger signal of a three-dimensional measuring head as an input mark value after completing the procedure of detection of geometrical information of workpieces, reading the actual coordinate of a current measuring point after detecting the input mark value of the measuring head, estimating errors of processed workpieces after measuring all the measuring points, and performing secondary self-adaptive optimization and adjustment on the processing program. The intelligent control method can realize self-optimization of a digital control program; and a digital control system can acquire shape and position error information of the workpieces in time, so that parameters in subsequent technology are convenient to adjust.

Description

Intelligent numerical control method with three-stage process self-optimization function
Technical field
The invention belongs to the fields of numeric control technique of electromechanical integration, specifically, relate to the intelligent numerical control system that a kind of status monitoring based on the machine tooling scene and real-time optimization and fuzzy control are merged mutually.
Background technology
Digital control system is the key control unit of numerically-controlled machine, and machine tool motion and process are realized control comprehensively.And has a following function: the number of axes and the interlock number of axle; Interpolation function; Feed function; The main shaft function; Tool function; Cutter compensation; The machine error compensation; Operating function; The program management function; The character graphics Presentation Function; The aided programming function; The automatic diagnosis warning function; Communication function.For a nc program, if logic error, system's automatic diagnosis warning function can be pointed out modification, but selects for use for the unreasonable of machined parameters in the program, and the automatic diagnosis warning function is then powerless.Therefore carrying out such machined parameters selects irrational program, its result or the working (machining) efficiency reduction lathe because machining dosage selects conservative; Perhaps, workpiece is scrapped even damaged machining tool, cause serious consequence because machining dosage is selected excessive damage cutter.
Along with the requirement of modern mechanical processing to complicated, precise treatment, maximization and robotization improves constantly, some high-grade accurate digital control process equipments are used widely day by day simultaneously.These equipment play key and even central role to crudy and efficient, and often cost is quite expensive; Even some product that processes, because complicacy or features such as accuracy or maximization, its single-piece cost or processing cost are also quite surprising.In the case, process equipment damage or product rejection even only be that the reduction of working (machining) efficiency all may cause tremendous loss.
Be that experience or relevant handbook according to the people carries out for the setting of machined parameters traditionally, even and also be to be difficult to provide machined parameters preferably for beginner or very skilled operation, simultaneously because the setting of machined parameters relates to people's operation, hand mistake etc. just might occur and give that make mistake or even machined parameters harm lathe, cutter and workpiece, and these decoding error detections for system all can't detect.
Summary of the invention
The objective of the invention is, overcome the above-mentioned deficiency of prior art, provide a kind of and carry out the machined parameters self-optimizing for numerical control program, and the intelligence control method of three-stage process self-optimization function that carries out the secondary self-optimizing of parameter real-time optimization and numerical control program based on the status monitoring at machine tooling scene, realize with processing optimize, the high-level efficiency of processing and the intelligent solution that process safety is target.For this reason, the present invention adopts following technical scheme:
A kind of intelligence control method with three-stage process self-optimization function, obtaining spindle motor of machine tool, cutter and processing work material information, and optimization job sequence, after obtaining the processing cutting depth amount of every section job sequence, whether its cutting depth is judged in safe range, if just directly do not stopping optimization process and reporting to the police,, realize the Based Intelligent Control of self-optimization function if in the reasonable scope then according to the following step:
(5) set up the mathematical model of lathe-cutter-workpiece system, utilize the Adaptive Genetic algorithm computation to go out optimum machined parameters;
(6), optimize and the execution job sequence according to optimum machined parameters;
(7) in process, detect the electric current and the supply voltage of main motor in real time, with the electric current decision content, voltage is supplementary means, with speed of feed a fChanges delta a fAs system's adjustment amount, realize the close-loop feedback fuzzy control of process;
(8) after finishing the operation that need detect to the workpiece geological information, with the trigger pip of three dimensional probe, 3-D probe as input sign amount, after detecting gauge head input sign amount, read current measurement point actual coordinate, after all measurement points measure, carry out the error evaluation of processing work,, job sequence is carried out the adjustment of secondary adaptive optimization with the information source basis that the error evaluation data are adjusted as subsequent technique.
As preferred implementation, the intelligence control method with three-stage process self-optimization function of the present invention, step wherein (1) comprises the following steps:
1.1: set up metal resection rate formula Q z=a ea pa fThe relational expression of zn and cutter life and cutting factor T = ( C v d 0 q v v a p x v a f y v a e u v z p v k v ) 1 m , in two formulas, Q z, T, a e, a p, a f, z, n, d 0, v is respectively unit interval metal resection rate (mm 3/ min), cutter life (min), working engagement of the cutting edge (mm), cutting depth (mm), each amount of feeding (mm/g), the cutter number of teeth, the speed of mainshaft (r/min), tool diameter (mm) and cutting speed (m/min); C vBe the coefficient relevant with machining condition; k vBe correction factor; q v, x v, y v, u v, p v, m is respectively index of correlation parameter, x v≤ y v<1;
1.2: consideration is that the metal resection rate of main constraint maximizes as optimization aim with the cutter life, and objective function is got f (x)=min (f Max-Q z), wherein, f MaxFor making f x〉=0 one enough big on the occasion of, a e, a pAs determining amount, v=π d 0N/1000, target variable is taken as a f, n;
1.3: set up the constraint condition that comprises the speed of mainshaft, speed of feed, cutting force and cutting power, be respectively: T 〉=T RefN≤n Maxa fZn≤v Fmax C F a p x F a f y F a e u F d 0 q F n w F k F c ≤ F max ; ?F cv/(6×10 4×η)≤P max
1.4: according to following formula, adopt self-adapted genetic algorithm, optimize machined parameters, termination rules is 10 for the fitness value error -7Or the genetic iteration number of times was 100 generations:
P C = 0.9 - 0.3 ( f &prime; - f avg ) f max - f avg , f &prime; &GreaterEqual; f avg 0.9 , f &prime; < f avg , P m = 0.1 - 0.009 ( f max - f ) f max - f avg , f &GreaterEqual; f avg 0.1 , f < f avg
In the formula, P c, P m, f Max, f Avg, f ', f be respectively fitness value maximum in crossover probability, variation probability, the colony, the average fitness value of per generation colony, the fitness value of bigger fitness value in two individualities that will intersect, the individuality that will make a variation.
Intelligent numerical control method with three-stage process self-optimization function of the present invention, step wherein (3) realizes in the following manner: fuzzy control input language variable is taken as current deviation E IAnd deviation variation rate EC I, the output language variable is that speed of feed changes
Figure G2008101531394D0003104223QIETU
, make the fuzzy set domain of these three linguistic variables quantize shelves number n fAll get identical value 6, quantizing factor k e, k EcAnd scale factor k uAccording to controlling the basic domain that requires variation and deciding, subordinate function is a triangular function, sets up fuzzy control rule according to getting in touch of decision content and system's adjustment amount, for the fuzzy set on the given fuzzy control input language variable domain
Figure G2008101531394D00031
With
Figure G2008101531394D00032
, utilize the reasoning composition rule to finish fuzzy reasoning to the fuzzy set on the output language variable domain, finish the output fuzzy set by the mapping of fuzzy set by method of weighted mean to ordinary set, obtain the input regulated quantity of controlled system of processing.
The present invention utilizes FUZZY ALGORITHMS FOR CONTROL to optimize the result with two kinds and merges mutually at first based on the parameter optimization method and the method for setting up the mathematical model of lathe-cutter-workpiece system of database, and nc program is carried out self-optimizing; Then in program operation process, according to the monitoring of machine tooling state, obtain the lathe real-time running state, and carry out real-time adaptive machining parameter adjustment on this basis; Evaluate, analyze by various type bit errors at last,, ask numerical control program is counter once more, obtain the program code that part appears in mismachining tolerance, handle by its self-optimizing of carrying out job sequence again based on this information to the machine tooling part.After three grades processing optimization process, guaranteed the optimization of machined parameters on the one hand, by the real-time parameter adjustment in the process, lathe can be changed according to the service condition of reality on the other hand, make system have certain adaptivity and intelligent.And traditional machined parameters not only can not carry out oneself's modification, and is not possess adaptive control ability.
The intelligent numerical control system of the fusion three-stage process self-optimization function that foundation intelligence control method of the present invention makes up, adopt multiple physical states classification monitoring system for handling, by integrated fast parallel monitoring and the adaptive optimization adjustment of finishing multiple physical state information in the digital control processing process of digital control system.Wherein at the workpiece processing geological information can reduce the workpiece number of times that is installed in the machine quality testing, and realize the self-optimizing of numerical control program, digital control system can in time be obtained workpiece morpheme control information, is convenient to the subsequent technique parameter adjustment, helps the rate of reducing the number of rejects and seconds.Digital control system has made full use of the software and hardware technology advantage of high speed development, can integrated realization to the motion control of lathe and the monitoring and the optimization of on-the-spot multiple physical states, strengthened level of integrated system.
Description of drawings
Fig. 1 is based on the digital control processing adaptive model based control of fuzzy logic.
The processing flow chart of the machined parameters self-optimizing of Fig. 2 numerical control program of the present invention.
Fig. 3: based on the processing self-optimizing process flow diagram of the status monitoring at machine tooling scene.
Embodiment
Intelligent numerical control system with the fusion three-stage process self-optimization function that makes up according to intelligence control method of the present invention is an example below, and intelligence control method of the present invention is done detailed description.
Digital control system of the present invention mainly is divided into main control module, motion-control module, communication module, numerical control program machined parameters self-optimizing module, processing operation real-time optimization module, at machine testing module and numerical control program secondary self-optimizing module several sections.Adopting high-speed dsp respectively except that motion-control module and collection and analytic unit is the individual cores processor, and remainder and main control module are shared high-performance microprocessor.Each intermodule is realized funcall and data transmission through 1 link of internal system bus.The synthetic operation of each module can realize to the motion control of lathe and based on three grades of processing self-optimizings of machine tooling presence states monitoring.The processing main-process stream of machined parameters self-optimizing of the present invention as shown in Figure 2.
At first introduce three basic modules of digital control system of the present invention below: main control module, motion-control module, communication module.It is specifically composed as follows:
(1) main control module
This module mainly is to carry out entire system control and coordination.Comprise tasks such as system initialization, parameter management, global data management, overall tasks coordination, man-machine interaction management, motor program error detection, lathe adjustment, User Defined functional development, system help, and the fault handling measure of responsive state monitoring modular.
This module includes a central high-performance microprocessor, three data storage chips, a data managing chip, and 16 RISC single-chip microcomputer is formed.And comprise various numerical control operation panels, LCD, handwheel, alarm, switch and corresponding interface circuits, power supply clock circuit.And each chip is connected to integral body by fieldbus.
1, central high-performance microprocessor: under the working environment of supporting with it embedded real-time operating system, realize control and the coordination of main control module to entire system.But and can under the cooperation of the coprocessor that makes up by the ARM chip of high-speed dsp digital signal processing chip autonomous operation etc., finish the big and high complicated control task of real-time of some calculated amount.
2, pin-saving chip mainly comprises: 1, the FLASH-ROM chip-stored PLC interpretation software, PLC application program, graphics display control software etc. 2, the S-RAM chip-stored systematic parameter, job sequence, user's macroprogram, PLC parameter, cutter compensation and workpiece coordinate offset data, The compensation of pitch error data, 3, D-RAM chip, as working storage, about in service buffer memory of system.
3, data management chip: be used to other chips in the digital control system to transmit various data messages, also be used for receiving and store the various data messages that other chips of digital control system transmit, the resource sharing that increases system works.
4,16 RISC single-chip microcomputers: utilize the PLC interpretive routine and the application program of storing in the FLASH-ROM chip, finish the switch of cutting fluid, air pump etc. in the lathe, the startup of the various motors/control that stops, the input of the signal of limit switch.And interrelate by internal system bus and central processing unit, with and the command execution corresponding function.
5, system bus: adopt 32 bit data bus, 24 bit address buses and 30 control buss to form, mainly be responsible for the connection between each functional chip, interface, storage chip and the central processing unit, transmit data, address and control signal.
(2) motion-control module
Motion-control module is core with the high-speed dsp, by the motor program and the configuration parameter that download in the S-RAM chip memory, can independently finish the relevant motion control functions of lathe action such as motor program decoding, cutter compensation, pitch compensation, interpolation, servocontrol.Carry out the task allotment by main control module, drive the operation of lathe performance element, and will be correlated with and carry out information feedback to main control module.
(3) communication module
Communication module contains RS232 interface, USB interface and Ethernet interface.Be used to handle digital control system and the data message of other digital control systems, workshop numerical control network, Intranet Intranet and Internet Internet and the transmission of control information.The realization system is shared with extraneous communication and resource information.
The characteristic of invention is mainly reflected in the machined parameters self-optimizing system of numerical control program, based on the processing operation real-time optimization system of the status monitoring at machine tooling scene, based on the numerical control program secondary self-optimizing system of the status monitoring at machine tooling scene and the integrated mechanism of digital control system that merges above-mentioned system.The present invention is on the basis that the basic framework of constructing system and function realize, integrated use numerical control, observing and controlling and artificial intelligence technology, with high-performance microprocessor and DSP is core, the machined parameters self-optimizing of structure job sequence reaches the intelligent numerical control system based on the three-stage process self-optimization function of the secondary self-optimizing of the processing operation real-time optimization of the status monitoring at machine tooling scene and job sequence, realizes digital control processing control, status monitoring and optimization coordination parallel running.
(1), the machined parameters self-optimizing system of numerical control program is achieved in that
The machined parameters self-optimizing of numerical control program is to be handled by the numerical control program machined parameters self-optimizing module of digital control system.This module contains a slice FLASH-ROM storage chip, and with the shared central high speed microprocessor of the main control module of digital control system, by the task scheduling of main control module, carry out the response of function.This module mainly is the realization of the software function of optimized Algorithm.The FLASH-ROM storage chip is used to store relevantly optimizes the data database data and based on the parameter optimization algorithm of model, chip links to each other with central high speed microprocessor and other chip of internal system by the bus of internal system.When by central high speed microprocessor the content in the storage chip being carried out read-write operation after the mission-enabling, and the combination algorithm operation of being correlated with calculates, and realizes optimizational function.
In this module, its work is as follows:
At first be initialization operation, the machined parameters of optimization can be provided for the lathe of different model spindle motor of machine tool, cutter and processing work material information.
By to after the handling of job sequence according to the required form of optimisation strategy, obtain the processing cutting depth amount of every section job sequence, and whether its cutting depth judged in safe range, if just directly do not stopping optimization process and carrying out alarm indication, if be reference then in the reasonable scope with spindle motor, cutter and processing work material, cutting depth, guaranteeing that crudy is under the prerequisite of safety, with the working (machining) efficiency is purpose, is optimized processing according to the optimisation strategy of inside modules for machined parameters.
This inside modules adopts two kinds of strategies that optimization method merges mutually: a kind of optimization of parameter choice method that is based on database promptly makes up database according to the data that various publications and cutter manufacturer provide, as the support of parameter optimization; Another kind is based on the parameter optimization method of model, promptly by setting up the mathematical model of lathe-cutter-workpiece system, utilizes neural network, genetic algorithm to calculate optimum machined parameters.Utilize FUZZY ALGORITHMS FOR CONTROL to obtain machined parameters then.
The intelligent algorithm of taking among the present invention based on mathematical model:
By metal resection rate formula: Q z=a ea pa fZn (1)
As can be known, increase that any one can be boosted productivity in several cutting factors.Yet the increase of cutting factor may cause the quick wearing and tearing of cutter, so that the frequent tool changing of work in-process needs, not only increases cost but also will weaken owing to improving the jump that resection rate brings.Again by the relational expression of cutter life and cutting factor
T = ( C v d 0 q v v a p x v a f y v a e u v z p v k v ) 1 m - - - ( 2 )
Above in two formulas, Q z, T, a e, a p, a f, z, n, d 0, v is respectively unit interval metal resection rate (mm 3/ min), cutter life (min), working engagement of the cutting edge (mm), cutting depth (mm), each amount of feeding (mm/g), the cutter number of teeth, the speed of mainshaft (r/min), tool diameter (mm) and cutting speed (m/min); C vBe the coefficient relevant with machining condition; k vBe correction factor; q v, x v, y v, u v, p v, m is respectively index of correlation parameter, x usually v≤ y v<1.
As can be seen, cutting factor is different to the influence of cutter life.With regard to v, a f, a pThe three, its influence degree is successively decreased successively.By formula
v=πd 0n/1000 (3)
V and n are simple linear proportional relation as can be known.Therefore, under the prerequisite that guarantees resection rate, also need rationally to determine each cutting factor in the formula (1), cross quick-wearing to prevent cutter.
Here we ignore roughness and elastic deformation factor, and consideration is that the metal resection rate of main constraint maximizes as optimization aim with the cutter life, and objective function is got
f(x)=min(f max-Q z) (4)
Wherein, f MaxBe one enough big on the occasion of, make f x〉=0.
a e, a pBecause of influenced by actual processing technology, therefore as determining amount, target variable is taken as a f, n.
Constraint condition is as follows:
T≥T ref (5)
n≤n max (6)
a fzn≤v f?max (7)
C F a p x F a f y F a e u F d 0 q F n w F k F c &le; F max (8)
F cv/(6×10 4×η)≤P max (9)
Formula (5)-(9) are respectively the constraint condition of cutter life, the speed of mainshaft, speed of feed, cutting force and cutting power.When practical application, can increase constraints such as knife bar and blade strength according to rig-site utilization environment needs.
For avoiding basic genetic algorithmic in searching process, easily to be absorbed in local minimum point and precocious defective, intersect and the variation probability select for use adaptive algorithm (Adaptive GA, AGA), as follows respectively:
P C = 0.9 - 0.3 ( f &prime; - f avg ) f max - f avg , f &prime; &GreaterEqual; f avg 0.9 , f &prime; < f avg - - - ( 10 )
P m = 0.1 - 0.009 ( f max - f ) f max - f avg , f &GreaterEqual; f avg 0.1 , f < f avg - - - ( 11 )
In the formula, P c, P m, f Max, f Avg, f ', f be respectively fitness value maximum in crossover probability, variation probability, the colony, the average fitness value of per generation colony, the fitness value of bigger fitness value in two individualities that will intersect, the individuality that will make a variation.It is 10 that termination rules is got the fitness value error -7Or the genetic iteration number of times was 100 generations.
(2), the processing operation real-time optimization system based on the status monitoring at machine tooling scene is achieved in that
Monitoring state information is divided into numerically controlled processing equipment (comprising numerically-controlled machine and digital control system) running state information and workpiece to be machined geological information two big classes.
The numerically controlled processing equipment running state information is handled by processing operation real-time optimization module.In this module, process equipment that equipment running status information is obtained by sensor measurement and the performance of the signal form of process physical state variable.With DSP is that core is equipped with high capacity D-RAM and the FLASH-ROM chip makes up signals collecting, analysis and machined parameters optimization unit.D-RAM moves the required memory space in order to keep the unit internal program, and can be used as the buffer area of each passage image data.The system intelligence policy library that the FLASH-ROM chip-stored can repeatedly be downloaded.Signal gathering unit can be configured to 2 to 32 passages on demand, is equipped with the continuous acquisition that front end various kinds of sensors array can be finished machining state signals such as vibration, cutting force, acoustic emission, temperature, current of electric, line voltage.Signal analysis unit is finished the conventional Characteristic Extraction of signal by the special chip that is solidified with the classical signals analysis means.Machined parameters is optimized the unit and is finished signal condition identification and parameters optimization calculating by expert knowledge library that FLASH-ROM stores and fuzzy policy library.The synchronous signal analytic unit, comprises the physical quantity state of original sampling data, signal characteristic quantity, signal representative and optimizes the result to the main control module data of reporting the result by the digital control system internal bus.
The process real-time optimization algorithm of taking in the invention:
The processing site physical state is taken as the electric current and the supply voltage of main motor in the present invention, obtains the monitor signal data by current sensor and voltage sensor.As decision content, voltage is supplementary means with electric current.And constitute the close-loop feedback control of system of processing with this.Because current signal is used for replacing force signal analysis among the present invention, at the cutting force formula
F c = C F a p x F a f y F a e u F d 0 q F n w F k F c
In, index parameters w FMuch smaller than y F, in most cases its value is 0, so the influence that speed of mainshaft n applies cutting force is much smaller than amount of feeding a f, and because rotating speed is relevant with concrete technology, so be unsuitable for doing the self-optimizing adjustment.Simultaneously, working engagement of the cutting edge a eWith cutting depth a pRetrained by factors such as processing technology, cutter, process redundancy, therefore here only with speed of feed a fChanges delta a fAs system's adjustment amount.
For digital control processing, the controlled device that is made of numerically-controlled machine, cutter, workpiece is difficult to set up its precise math model, therefore adopts fuzzy control scheme.
Fuzzy control model input language variable is taken as current deviation E IAnd deviation variation rate EC I, the output language variable is that speed of feed changes
Figure G2008101531394D0008104628QIETU
Make the fuzzy set domain of these three linguistic variables quantize shelves number n fAll get identical value 6.Quantizing factor k e, k EcAnd scale factor k uAccording to controlling the basic domain that requires variation and deciding.The linguistic variable value is taken as respectively
(1) to E I: NB, NM, NS, NO, PO, PS, PM, PB;
(2) to EC I: NB, NM, NS, ZO, PS, PM, PB;
(3) right
Figure G2008101531394D0008104654QIETU
: NB, NM, NS, ZO, PS, PM, PB.
Accelerate response speed for reducing calculated amount, subordinate function is all represented with triangular function.Thus, set up 56 fuzzy control rules according to getting in touch of decision content and controlled object.
If X 1, X 2, Y corresponding linguistic variable E respectively I, EC I, Domain, then above-mentioned each bar fuzzy rule can be expressed as a product space (X 1* X 2A fuzzy implication on the) * Y E ~ I i EC ~ I i &RightArrow; U ~ a f i , wherein
Figure G2008101531394D00084
Figure G2008101531394D00085
Be respectively X 1, X 2, the fuzzy set on the Y, corresponding to each linguistic variable value.Fuzzy implication adopts the minimum value rule in the native system.Because this fuzzy system is the dual input single output system, therefore, every rule determines a ternary relation again, promptly
R ~ i = ( E ~ I i &times; EC ~ I i ) &times; U ~ a f i 1≤i≤56
Thus, total fuzzy relation that can obtain this fuzzy system control law is
Figure G2008101531394D00091
For the fuzzy set on the given Fuzzy control system input language variable domain With
Figure G2008101531394D00093
, utilize the reasoning composition rule can finish fuzzy reasoning to the fuzzy set on the output language variable domain:
Figure G2008101531394D00094
The fuzzy judgment process of system is finished the output fuzzy set by the mapping of fuzzy set to ordinary set by method of weighted mean, obtains the input regulated quantity of controlled system of processing
&Delta; a f = &Sigma; i 13 x i &mu; u ~ a f L ( x i ) &Sigma; i 13 &mu; u ~ a f L ( x i )
X in the formula i∈ Y,
Figure G2008101531394D00096
Subordinate function for the output fuzzy set.
Utilize above-mentioned fuzzy logic controller to set up and adjust controlling models as shown in Figure 1 based on the digital control processing process amount of feeding self-optimizing of main current of electric and voltage signal monitoring.Among the figure, FLC is a fuzzy controller, and CNC_Mach is controlled numerically-controlled machine, and Δ U is the voltage and the normal voltage difference of on-line monitoring, and I is an actual current signal, I RefBe given current reference value.The amount of feeding that is input to CNC_Mach in arbitrary sampling instant is
a f i + 1 = a f i + &Delta; a f i + 1 i=0,1,2,...,n
Wherein, a f 0 = a f Init , Be the initial given amount of feeding.Fuzzy controller is by adjusting Δ a in real time fRealization is to the self-optimizing adjustment of the amount of feeding.
(3) the numerical control program secondary self-optimizing system based on the status monitoring at machine tooling scene is achieved in that
The detection of workpiece to be machined geological information is realized in the machine testing module by digital control system.In this module, constitute, and link to each other with central high speed microprocessor and other chip of internal system by the bus of internal system by an ARM chip and a D-RAM chip, a S-RAM chip.Carry out the response of function by the task scheduling of main control module and the input of outside activation signal.The ARM chip mainly is that the signal that gauge head sends is discerned, and according to the analytical algorithm of solidifying in the S-RAM chip, carries out the scheduling of overall task in the processing of data and the unit.D-RAM mainly stores measuring point coordinate data and analysis result, and provides memory headroom for the program run in the unit.
In the machine testing module with the trigger pip of outside three dimensional probe, 3-D probe as input sign amount.Gauge head can be selected for use homemade or foreign brand name ruby contact-type 3 D gauge head.Parameters such as gauge head specification, chaining pin length and survey bulb diameter are selected according to bed piece and workpiece size.In the digital control processing process, after finishing a certain certain working procedure, begin to enter workpiece geological information testing process, be mainly used in and analyze this operation and finish the geometric accuracy of back workpiece and provide information source for the self-optimizing adjustment of follow-up job sequence.After the machine testing module detects gauge head input sign amount, obtain the current measurement point actual coordinate of feedback from motion-control module through system bus.All measurement points measure the back measurement data will be admitted to the error evaluation unit.All measurement point measurement data and error evaluation element analysis result will be admitted to numerical control program secondary self-optimizing module by the digital control system internal bus.
In this module, by job sequence is read, obtain the three-dimensional stereo model of processing work, then the three-dimensional model with the measuring point data structure carries out the data comparison, and utilize the error evaluation result, obtain the data difference between the desirable achievement of actual processing effect and program, and then obtain error program segment and relevant cutting data and put bit data, serve as that intelligent algorithms such as basis utilization expert knowledge library, module controls carry out automatic adaptive optimization adjustment to job sequence then, make it meet the crudy requirement with these data.All measurement point measurement data and error evaluation element analysis result are kept in the machine testing memory block with the daily record form simultaneously, as the information source of subsequent technique adjustment.Based on the processing self-optimizing flow process of the status monitoring at machine tooling scene as shown in Figure 3.
(4) the integrated mechanism of digital control system of fusion three-stage process self-optimization function is achieved in that
Described digital control system has been expanded three grades of self-optimization functions of processing except that finishing the motion control function to lathe that traditional digital control system has.Digital control system mainly is divided into main control module, motion-control module, communication module, numerical control program machined parameters self-optimizing module, processing operation real-time optimization module, in machine testing module and numerical control program secondary self-optimizing module 7 major parts.Main control module is responsible for the management and the allotment of entire system task, finishes the basic function realization of system under the support of motion-control module, Tongxu module by the internal system bus.
Numerical control program machined parameters self-optimizing module, processing operation real-time optimization module, embodied then that multiple physical state classification monitoring that digital control system self possessed is handled and function is independently planned the architectural feature of processing in machine testing module and numerical control program secondary self-optimizing module.User command is sent by main control module, and except that the order that main control module self can respond, all the other orders are automatically forwarded to corresponding module through the internal system bus and handle.The synthetic operation of each module has realized merging the integrated mechanism of digital control system of three grades of machined parameters self-optimization functions.

Claims (2)

1. intelligence control method with three-stage process self-optimization function, obtaining spindle motor of machine tool, cutter and processing work material information, and optimization job sequence, after obtaining the processing cutting depth amount of every section job sequence, whether its cutting depth is judged in safe range, if just directly do not stopping optimization process and reporting to the police,, realize the Based Intelligent Control of self-optimization function if in the reasonable scope then according to the following step:
(1) sets up the mathematical model of lathe-cutter-workpiece system according to the following step, utilize the Adaptive Genetic algorithm computation to go out optimum machined parameters;
1.1: set up metal resection rate formula Q z=a ea pa fThe relational expression of zn and cutter life and cutting factor
Figure FSB00000097301500011
In two formulas, Q z, T, a e, a p, a f, z, n, d 0, v is respectively unit interval metal resection rate (mm 3/ min), cutter life (min), working engagement of the cutting edge (mm), cutting depth (mm), speed of feed (mm/g), the cutter number of teeth, the speed of mainshaft (r/min), tool diameter (mm) and cutting speed (m/min); C vBe the coefficient relevant with machining condition; k vBe correction factor; q v, x v, y v, u v, p v, m is respectively index of correlation parameter, x v≤ y v<1;
1.2: consideration is that the metal resection rate of main constraint maximizes as optimization aim with the cutter life, and objective function is got f (x)=min (f Max-Q z), wherein, f MaxFor making f x〉=0 one enough big on the occasion of, a e, a pAs determining amount, v=π d 0N/1000, target variable is taken as a f, n;
1.3: set up the constraint condition that comprises the speed of mainshaft, speed of feed, cutting force and cutting power, be respectively: T 〉=T RefN≤n Maxa fZn≤v Fmax
Figure FSB00000097301500012
F cV/ (6 * 10 4* η)≤P Max
1.4: according to following formula, adopt self-adapted genetic algorithm, optimize machined parameters, termination rules is 10 for the fitness value error -7Or the genetic iteration number of times was 100 generations:
Figure FSB00000097301500013
Figure FSB00000097301500014
In the formula, P c, P m, f Max, f Avg, f ', f be respectively fitness value maximum in crossover probability, variation probability, the colony, the average fitness value of per generation colony, the fitness value of bigger fitness value in two individualities that will intersect, the individuality that will make a variation;
(2), optimize and the execution job sequence according to optimum machined parameters;
(3) in process, detect the electric current and the supply voltage of spindle motor of machine tool in real time, with the electric current decision content, voltage is supplementary means, with speed of feed a fChanges delta a fAs system's adjustment amount, realize the close-loop feedback fuzzy control of process;
(4) after finishing the operation that need detect to the workpiece geological information, with the trigger pip of three dimensional probe, 3-D probe as input sign amount, after detecting gauge head input sign amount, read current measurement point actual coordinate, after all measurement points measure, carry out the error evaluation of processing work,, job sequence is carried out the adjustment of secondary adaptive optimization with the information source basis that the error evaluation data are adjusted as subsequent technique.
2. the intelligence control method with three-stage process self-optimization function according to claim 1 is characterized in that, step wherein (3) realizes in the following manner: fuzzy control input language variable is taken as current deviation E IAnd deviation variation rate EC I, the output language variable is that speed of feed changes , make the fuzzy set domain of these three linguistic variables quantize shelves number n fAll get identical value 6, quantizing factor k e, k EcAnd scale factor k uAccording to controlling the basic domain that requires variation and deciding, subordinate function is a triangular function, sets up fuzzy control rule according to getting in touch of decision content and system's adjustment amount, for the fuzzy set on the given fuzzy control input language variable domain
Figure FSB00000097301500022
With
Figure FSB00000097301500023
Utilize the reasoning composition rule to finish fuzzy reasoning, finish the output fuzzy set by the mapping of fuzzy set, obtain system's adjustment amount of controlled system of processing to ordinary set by method of weighted mean to the fuzzy set on the output language variable domain.
CN2008101531394A 2008-11-18 2008-11-18 Intelligent numerical control method with three-stage process self-optimization function Active CN101477351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101531394A CN101477351B (en) 2008-11-18 2008-11-18 Intelligent numerical control method with three-stage process self-optimization function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101531394A CN101477351B (en) 2008-11-18 2008-11-18 Intelligent numerical control method with three-stage process self-optimization function

Publications (2)

Publication Number Publication Date
CN101477351A CN101477351A (en) 2009-07-08
CN101477351B true CN101477351B (en) 2010-11-24

Family

ID=40838079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101531394A Active CN101477351B (en) 2008-11-18 2008-11-18 Intelligent numerical control method with three-stage process self-optimization function

Country Status (1)

Country Link
CN (1) CN101477351B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331749B (en) * 2010-07-15 2013-06-05 沈阳黎明航空发动机(集团)有限责任公司 Numerical control processing parameter optimizing method
CN101995850B (en) * 2010-11-05 2012-02-29 江俊逢 Computer aided numerical control method and system
CN102063088B (en) * 2010-11-05 2013-05-01 江俊逢 Method and system for planning auxiliary discrete movement of computer
US8509940B2 (en) * 2011-02-23 2013-08-13 GM Global Technology Operations LLC Electronic system and method for compensating the dimensional accuracy of a 4-axis CNC machining system using global offsets
CN102193521B (en) * 2011-05-23 2013-01-02 西安理工大学 Multi-hole parallel processing method based on genetic algorithm
TWI454335B (en) * 2011-07-27 2014-10-01 Nat Univ Chung Cheng Learning control system for simultaneously reduction in process time and machining errors
JP5163838B1 (en) 2011-09-14 2013-03-13 株式会社ジェイテクト Machining error calculation device, machining error calculation method, machining control device, and machining control method
JP5835254B2 (en) * 2013-03-15 2015-12-24 株式会社安川電機 Robot system and control method of robot system
CN106886197B (en) * 2015-12-16 2020-08-18 成都与俱科技有限公司 Method for controlling machine to implement machining, device and application thereof
CN106886195B (en) * 2015-12-16 2020-08-18 成都与俱科技有限公司 Machining control method, device and application thereof
CN105563329B (en) * 2015-12-16 2017-11-03 威海华东数控股份有限公司 Numerically control grinder grinding force adaptive control system
TWI600988B (en) * 2016-11-15 2017-10-01 Machining expert system for CNC machine tool and controller processing parameters generation method
CN108319226A (en) * 2018-01-18 2018-07-24 东莞市轩驰智能科技有限公司 A kind of 3D glass heats bender products perfection method and system
CN110488754B (en) * 2019-08-09 2020-07-14 大连理工大学 Machine tool self-adaptive control method based on GA-BP neural network algorithm
CN111123857B (en) * 2019-12-09 2021-12-24 清华大学 Parameter self-learning intelligent decision-making model for milling process of integral impeller
CN112269353A (en) * 2020-08-06 2021-01-26 中国地质大学(武汉) Jewelry processing platform control system and method based on EtherCAT bus
CN114247920B (en) * 2020-09-23 2023-05-02 上海赛科利汽车模具技术应用有限公司 Method, system and equipment for automatically setting reference in numerical control machining process of die
CN112540567A (en) * 2020-10-21 2021-03-23 吉林省齐智科技有限公司 Online flexible measurement self-adaptive machining method for automobile mold
CN114267160B (en) * 2021-11-29 2024-03-12 歌尔股份有限公司 CNC (computer numerical control) depth cutting alarm judging method, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN101477351A (en) 2009-07-08

Similar Documents

Publication Publication Date Title
CN101477351B (en) Intelligent numerical control method with three-stage process self-optimization function
CN102929210B (en) Control and optimization system for feature-based numerical control machining process and control and optimization method therefor
Liang et al. Machining process monitoring and control: the state-of-the-art
CN203894596U (en) Multi-parameter online active monitoring system for machining states of numerical control machine bed
Spence et al. A solid modeller based milling process simulation and planning system
Ridwan et al. A framework for machining optimisation based on STEP-NC
US11481630B2 (en) Machining condition adjustment device and machining condition adjustment system
CN103823409A (en) Numerical machine tool machining state multi-parameter online active monitoring system and implement method thereof
CN104808585B (en) A kind of quick inspection method of lathe health status
CN109615113A (en) A kind of marine diesel important Parts processing quality prediction technique twin based on number
Li et al. An integrated feature-based dynamic control system for on-line machining, inspection and monitoring
CN101571712A (en) Monitoring method with processing self-adapting function and on-machine quality detection
CN101797704A (en) Method for thermal deformation error compensation of digital control gear hobbing machine
CN101334656A (en) Numerical control machine processability monitoring system
Coppel et al. Adaptive control optimization in micro-milling of hardened steels—evaluation of optimization approaches
CN107589723A (en) A kind of dynamic static optimization method of Digit Control Machine Tool Milling Process stability
CN102081376A (en) Machining load control system based on instruction sequence optimization
CN112180833B (en) Numerical control machine tool and control method and device for self-adaptive machining of numerical control machine tool
CN112183919A (en) Quality prediction system and quality prediction method
Tugengol’d et al. Monitoring and control of tools in multifunctional machine tools
CN110647108B (en) Data-driven numerical control turning element action energy consumption prediction method
Billatos et al. Knowledge-based optimization for intelligent machining
Saturley et al. Integration of milling process simulation with on-line monitoring and control
CN110174871A (en) Control device, machine learning device and system
CN113051685B (en) Numerical control equipment health state evaluation method, system, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: TIANJIN TAISEN NUMERICAL CONTROL TECHNOLOGY CO., L

Free format text: FORMER OWNER: TIANJIN UNIVERSITY

Effective date: 20131025

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 300072 NANKAI, TIANJIN TO: 300457 HANGU, TIANJIN

TR01 Transfer of patent right

Effective date of registration: 20131025

Address after: Three road 300457 Tianjin Huayuan Industrial Zone Haitai Huake 1 building A No. 2 block -1-408-6

Patentee after: Tianjin Tyson CNC Technology Co., Ltd.

Address before: 300072 Tianjin City, Nankai District Wei Jin Road No. 92, Tianjin University

Patentee before: Tianjin University

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20090708

Assignee: TIANJIN TIANSEN INTELLIGENT EQUIPMENT CO., LTD.

Assignor: Tianjin Tyson CNC Technology Co., Ltd.

Contract record no.: 2018120000005

Denomination of invention: Intelligent numerical control method with three-stage process self-optimization function

Granted publication date: 20101124

License type: Exclusive License

Record date: 20180416

EE01 Entry into force of recordation of patent licensing contract