The obfuscation of non-linear accurate forging press fuzzy control and fuzzy reasoning method
Technical field
The present invention relates to field of industrial automatic control, especially a kind of obfuscation of non-linear accurate forging press fuzzy control and fuzzy reasoning method.
Background technology
Forging and pressing are one of fundamental technologies of machine building industry, are important substance basis and the technical foundation of research and development, all kinds of mechanized equipments of production, are the indispensable blanks of manufacturing machine product vital part and strength member.Its range of application relates to the every field of national economy, national defense industry and social life.In industrial departments such as automobile, rail vehicles, electric power, petrochemical industry, coal, metallurgy, Aeronautics and Astronautics, boats and ships, weapons and machinery, vital load-carrying member is all made by forging.
What domestic metal forming machinery control algolithm was most widely used at present is ratio, integration, differential control, is called for short PID control.The PID controller existing nearly 70 years history so far of coming out, it is simple in structure with it, good stability, reliable operation, easy to adjust and become one of major technique of Industry Control.Yet, for the nonlinear Control field, use traditional pid algorithm and but can not obtain good effect.
The Intelligent Control Theory that the later stage seventies rises is that intelligence control system is by imitating human brain neuromechanism, thinking, expert decision-making, biological evolution and group property etc., can design the controller of high intelligence, for system's control of large-scale complex provides a kind of solution.Fuzzy control is as one of Intelligent Control Theory, use concept and the correlation technique of expert system, the intelligent control system that simulating human expert's control knowledge and skilled engineers and technicians' operating experience is constructed, it is well used in many systems non-linear, that Mathematical Modeling is difficult to set up.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of be suitable for obfuscation and fuzzy reasoning method non-linear accurate forging press, high-precision non-linear accurate forging press fuzzy control; Can effectively solve classical control theory in the problem that non-linear accurate forging press is difficult to modeling and effectively controls, can realize that precision is the product processing of 10 μ m.
The technical scheme that the present invention solves the problems of the technologies described above is:
Fuzzy method is: the control system of described accurate forging press is made of defuzzification interface, indistinct logic computer, knowledge base and ambiguity solution interface; The input controlled quentity controlled variable is displacement error e, displacement error rate of change ce and the work slider displacement y of slide block, and the controlled quentity controlled variable of output is the corner increment △ u of motor; Displacement error e, the displacement error rate of change ce of input control variables slide block and work slider displacement y by defuzzification interface membership function Fuzzy processing after, transform to language value suitable on the corresponding basic domain; E and ce domain are { 12 ,-8 ,-4 ,-1,1,4,8,12 }, and fuzzy language value is taken as { NB, NM, NS, NZ, PZ, PS, PM, PB }, and the y domain is { 0,20,40,60 }, and fuzzy language value is taken as { ZO, PS, PM, PB }.
The total fuzzy control of system is output as the corner increment △ u of motor, is the stack of the fuzzy reasoning output u2 of the fuzzy reasoning output u1 of e, ce and y.
Fuzzy reasoning method is: the control system of described accurate forging press is made of defuzzification interface, indistinct logic computer, knowledge base and ambiguity solution interface; The input controlled quentity controlled variable is displacement error e, displacement error rate of change ce and the work slider displacement y of slide block; u
1Be the fuzzy reasoning output of e, ce, u
2Fuzzy reasoning output for y; The controlled quentity controlled variable of output is the corner increment △ u of motor, △ u=u
1+ u
2The input variable of obfuscation obtains fuzzy output quantity according to fuzzy rule behind the indistinct logic computer fuzzy reasoning; u
1As shown in the table with the fuzzy rule of e, ce:
u
2As shown in the table with the fuzzy rule of y:
y |
u
2 |
ZO |
ZO |
PS |
PS |
PM |
PM |
PB |
PB |
Beneficial effect:
The invention has the beneficial effects as follows at the accurate forging press of nonlinear Control and realize that precision is the product processing of 10um, for the forging press of nonlinear Control provides a kind of control scheme.
Description of drawings
The present invention is further described below in conjunction with accompanying drawing:
Fig. 1 is the frame for movement schematic diagram of the accurate forging press of the present invention;
Fig. 2 is mechanism and the force analysis figure of the accurate forging press of the present invention;
Fig. 3 is the structured flowchart of fuzzy controller of the present invention;
Fig. 4 is the obfuscation membership function figure of error e of the present invention and error rate ce;
Fig. 5 is the obfuscation membership function figure of work slider displacement y of the present invention.
The specific embodiment
As shown in Figure 1, the accurate forging press that the present invention relates to is made up of fuselage, low-speed big AC servomotor, synchromesh gear, ball screw, ball spline, driving slide block, compensating cylinder, short connecting rod, bent axle, long connecting rod, slide block 1 etc.The operation principle of forging press is: controller according to the user specify slide block time-corner of position key point control servomotor, the driven by motor synchronous pulley, drive slide block by ball-screw, drive terminal slide block through force-increasing mechanism again and move in vertical direction, thereby drive mold work.Fig. 2 is mechanism and the force analysis figure of forging press, and wherein the A point maintains static, and the C point is slide block 1, and the D point links to each other with screw mandrel, drives bar c motion when screw mandrel moves up and down, because A fixes joint B drive rod b motion, thereby the vertical up-or-down movement of drive slide block.Corner and the slide block movement displacement of servomotor are non-linear relation as can be seen by its operation principle.
The structure of fuzzy controller block diagram as shown in Figure 3, according to the kinetic characteristic of motor and slide block, the control system of accurate forging press is made of defuzzification interface, indistinct logic computer, knowledge base and ambiguity solution interface; The input controlled quentity controlled variable is displacement error e, displacement error rate of change ce and the work slider displacement y of slide block, and the controlled quentity controlled variable of output is the corner increment △ u of motor; Input control variables displacement error e and displacement error rate of change ce convert language value suitable in the domain to after by defuzzification interface membership function Fuzzy processing, the input variable of obfuscation obtains fuzzy output quantity according to fuzzy rule behind the indistinct logic computer fuzzy reasoning, fuzzy output quantity obtains actual output motor corner increment △ u behind the weighted average ambiguity solution; Fuzzy controller can be expressed as Δ u=f (∫ edt, e, y).
Obfuscation is the process that input variable e, ce and y is transformed to appropriate language value on the corresponding basic domain.E and ce domain are { 12 ,-8 ,-4 ,-1,1,4,8,12 }, and fuzzy language value is taken as { NB, NM, NS, NZ, PZ, PS, PM, PB }, and membership function as shown in Figure 4; The y domain is { 0,20,40,60 }, and fuzzy language value is taken as { ZO, PS, PM, PB }, and membership function as shown in Figure 5.
Fuzzy rule adopts the structure of if-then, sums up a series of fuzzy control rules in conjunction with practical experience, forms the fringe control table, as shown in Table 1 and Table 2.Fuzzy input quantity obtains fuzzy control output quantity △ u through control law, and total output quantity is the stack of two fuzzy rule fuzzy control output quantity u1, u2.
Table 1u
1Fuzzy reasoning table with e, ce
Table 2u
2Fuzzy reasoning table with y
y |
u
2 |
ZO |
ZO |
PS |
PS |
PM |
PM |
PB |
PB |
The input fuzzy variable result that reasoning is calculated according to rule list still is fuzzy quantity, uses weighted mean method that the output controlled quentity controlled variable is carried out ambiguity solution, and computing formula is as follows: