Summary of the invention
It is the deficiency that overcomes existing rotary machine that the present invention wants the technical solution problem, proposes a kind of rotary machine and control method thereof based on the two closed-loop controls of intelligence, and the rotary machine automaticity height of the present invention's proposition, cost is low and can guarantee product and the qualification rate height.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
A kind of rotary machine based on the two closed-loop controls of intelligence is characterized in that, comprises being used for paper is rolled into the drum mechanism built of paper web, the microprocessor that is used to drum mechanism built to feed the paper advance mechanism of paper and be used to control paper advance mechanism;
Described paper advance mechanism comprises frame, be installed on the frame bottom fixed pulley, be used to spur paper tape driving wheel and pinch roller, be used to cut off paper tape cutting knife, be used to the end water spray of paper jet head sets, motor, be used to the batch (-type) transmission mechanism regulating the frequency converter of motor speed and be used to drive driving wheel; Described cutting knife and jet head sets are arranged on the panel top of frame; Pinch roller and driving wheel are upper and lower to being arranged on the frame; The paper tape of being drawn by paper roll is walked around fixed pulley and is passed between driving wheel and pinch roller, and under the common pulling function of driving wheel and pinch roller, extend along the panel of frame the end of described paper tape; Motor is in transmission connection by batch (-type) transmission mechanism and driving wheel;
Microprocessor is arranged on the frame, on frame, also be provided with humidity sensor, be used for the keyboard of data inputs and the speed probe that is used to detect motor speed, respectively be provided with 1 in the top and bottom of the swash plate of drum mechanism built and be used to detect the photoelectric sensor that paper web tumbles speed; Humidity sensor, photoelectric sensor and keyboard all are connected with the input of microprocessor; Microprocessor is connected with cutting knife by pneumatic drive mechanism; Water pipe between jet head sets and the water source is provided with the adjustable proportioning valve of aperture, and the output of microprocessor is connected with the aperture control end of proportioning valve; The control termination microprocessor of frequency converter, the electric energy output end of frequency converter connects the power end of motor;
Microprocessor is provided with rotational speed governor and injection flow rate controller.
Described rotational speed governor is the PID controller, and the input quantity of PID controller is the error of preset rotation speed n0 and actual speed value n, and the output quantity of PID controller is the frequency values of frequency converter;
The input quantity of described injection flow rate controller is that actual speed value n, humidity x and paper web tumble velocity amplitude v, and output quantity is proportioning valve opening value Q; Include fuzzy controller, coarse adjustment controller and fine setting controller in the injection flow rate controller;
Actual speed value n and humidity x are as the input quantity of fuzzy controller, and the output quantity of fuzzy controller is initial proportion valve opening value Q0, i.e. a reference value; The domain of actual speed value n is 1000~1500r/min; Linguistic variable is S1, M1 and L1, represent respectively little, neutralization is big; The domain of humidity x is 0~100%, and linguistic variable is S2 and L2, represents little and big respectively;
The domain of initial proportion valve opening value Q0 is 0.3~0.9, and linguistic variable is NL3, NM3, NS3, PS3, PM3 and PL3, respectively expression negative big, negative in, negative little, just little, just neutralize honest;
Fuzzy inference rule is:
The step value Δ Q1 of coarse adjustment controller is 0.05; The step value Δ Q2 of fine setting controller is 0.01;
The trim values that coarse adjustment value that the injection flow rate controller adds up in conjunction with the coarse adjustment controller according to a reference value of fuzzy controller output again and fine setting controller add up, the output quantity that draws at last is proportioning valve opening value Q.
Described batch (-type) transmission mechanism is sector gear-gear mechanism; The output shaft of motor is connected with sector gear, and sector gear is meshed with the gear that is used to drive driving wheel.
The control method of above-mentioned rotary machine based on the two closed-loop controls of intelligence, it is characterized in that, at first microprocessor is by motor and batch (-type) transmission mechanism control paper tape intermittent movement on framework panel, and microprocessor is controlled the paper that cutting knife downcuts many equal in length from the paper tape successively again; One end of the paper that scales off is admitted to drum mechanism built and makes paper web behind the jet head sets water spray, paper web tumbles through the swash plate of drum mechanism built; Detect speed that paper web tumbles at the swash plate of drum mechanism built as estimating the qualified parameter of paper web;
Microprocessor is by the frequency adjustment rotating speed of motor of control frequency converter; Microprocessor is by injection flow rate controller control ratio valve opening, thus the injection flow rate of adjusting jet head sets;
The control strategy of injection flow rate controller is, adopt fuzzy controller to obtain initial proportion valve opening value Q0 earlier, adopt the coarse adjustment controller to obtain coarse adjustment amount k0* Δ Q1 again, adopt the fine setting controller to obtain amount trimmed m0* Δ Q2 again, wherein k0 and m0 are respectively coarse adjustment number of times and fine setting number of times, and then final proportioning valve opening value Q is: Q=Q0+k0* Δ Q1+m0* Δ Q2;
The input quantity of fuzzy controller is actual speed value n and humidity x, and the output quantity of fuzzy controller is initial proportion valve opening value Q0, i.e. a reference value; The domain of actual speed value n is 1000~1500r/min; Linguistic variable is S1, M1 and L1, represent respectively little, neutralization is big; The domain of humidity x is 1~99%; Linguistic variable is S2 and L2, represents little and big respectively;
The domain of initial proportion valve opening value Q0 is 0.3~0.9, and linguistic variable is NL3, NM3, NS3, PS3, PM3 and PL3, respectively expression negative big, negative in, negative little, just little, just neutralize honest;
Fuzzy inference rule is:
The step value Δ Q1 of coarse adjustment controller is 0.05; The step value Δ Q2 of fine setting controller is 0.01.
Beneficial effect of the present invention:
1. the automaticity height has alleviated artificial labour intensity.Because the present invention has adopted automatic paper advance mechanism, paper feeding, cut paper, water spray operation have been finished in unification, can therefore, significantly improve the automaticity of rotary machine continuously automatically for drum mechanism built transmits paper, have alleviated operator's labour intensity.
2. cost is low, electrical machinery life is long: the speed of tumbling that the present invention has adopted photoelectric sensor to detect paper web is cleverly weighed the quality of paper web, realized the automatic optimal of amount of water again according to closed-loop control, in addition, owing to adopted the batch (-type) rotating mechanism, motor is the rotating speed set of steady operation always, avoid the frequent shutdown process of motor, had utilization to keep motor and work for a long time, ensured the service life of motor.And the motor that the present invention adopts is common asynchronous machine, but not adopts the high stepper motor of price, and therefore, the present invention has realized the control of a complication system in conjunction with ingenious and effective control strategy with extremely low cost.
3. adaptability is strong; Because motor speed is adjustable, and microprocessor can control flexibly to the opportunity of cutting knife and water spray, and therefore, the rotary machine flexibility of the present invention's design is strong, is applicable to the making of dissimilar paper webs.Only need to revise relevant parameter and then can be suitable for different requirements, paper roll as the wide size of correspondence adopts than the slow-speed of revolution, guarantee that easily paper tape can not broken, adjust the opportunity of cutting knife action and can accomplish that the yardage that downcuts is controlled, can be according to the type of paper, the length that water spraying time is set is controlled injection flow rate.
4. fuzzy control combines with PID control, approaches optimum control strategy one by one in conjunction with scan-type again.The present invention is fused to site operation personnel's protracted experience in the fuzzy rule, approaches optimum control strategy one by one in conjunction with scan-type again, has solved the difficult problem of paper water spray control well, has demonstrated fully the intellectuality of system.In addition, the present invention has adopted simple and practical speed measurement method cleverly, measures speed that paper web tumbles as feedback, forms closed-loop control, effectively improves and has ensured yield rate.
Rotary machine of the present invention has good stable through facts have proved, and the defect rate of the paper web of producing is lower than 1%.
The specific embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
Embodiment 1:
As Fig. 1 and 3, a kind of rotary machine based on the two closed-loop controls of intelligence is characterized in that, comprises being used for paper is rolled into the drum mechanism built of paper web, the microprocessor that is used to drum mechanism built to feed the paper advance mechanism of paper and be used to control paper advance mechanism; Microprocessor adopts DSP.
Described paper advance mechanism comprises frame, be installed on the frame bottom fixed pulley, be used to spur paper tape driving wheel and pinch roller, be used to cut off paper tape cutting knife, be used to the end water spray of paper jet head sets, motor, be used to the batch (-type) transmission mechanism regulating the frequency converter of motor speed and be used to drive driving wheel; Described cutting knife and jet head sets are arranged on the panel top of frame; Pinch roller and driving wheel are upper and lower to being arranged on the frame; The paper tape of being drawn by paper roll is walked around fixed pulley and is passed between driving wheel and pinch roller, and under the common pulling function of driving wheel and pinch roller, extend along the panel of frame the end of described paper tape; Motor is in transmission connection by batch (-type) transmission mechanism and driving wheel;
Driving wheel 15 and pinch roller 4 are rightabout and rotate, the outer edge of driving wheel and pinch roller adopts rubber to make, as Fig. 1, when not having paper tape to pass, driving wheel and pinch roller outer edge contact and have certain thrust between them, when paper tape passes driving wheel and pinch roller, because pinch roller is pressed in paper tape on the driving wheel, during the driving wheel rotation, the working in coordination of driving wheel and pinch roller, the effect of carriage tape is played in the motion of common pulling paper tape.Driving wheel 15 and gear 14 coaxial rotation.Pinch roller is (design is convenient to paper tape is passed between driving wheel and pinch roller like this) that can move up and down.
Microprocessor is arranged on the frame, on frame, also be provided with humidity sensor, be used for the keyboard of data inputs and the speed probe that is used to detect motor speed, respectively be provided with 1 in the top and bottom of the swash plate of drum mechanism built and be used to detect the photoelectric sensor that paper web tumbles speed; Swash plate herein is that the paper web that rotary machine makes tumbles the passage that paper web is collected frame, in the swash plate left and right sides edge is arranged, and prevents that paper web from tumbling paper web surge drum outside.Photoelectric sensor is made of transmitting terminal and receiving terminal, under the unscreened situation, the light that transmitting terminal sends can direct projection arrive receiving terminal, in case this light is blocked, such as the paper web temporarily shielding that is tumbled, receiving terminal can not receive optical signal during light is blocked, then produce the signal of telecommunication [pulse signal] and send to microprocessor; Each paper web is through swash plate, the light path of 2 photoelectric sensors is up and down blocked in the capital successively, make 2 photoelectric sensors produce 2 pulse signals, the time difference of 2 pulse signals of record, owing to the distance between 2 photoelectric sensors is fixed, therefore, this time difference is promptly corresponding with the speed v that paper web tumbles.
Humidity sensor, photoelectric sensor and keyboard all are connected with the input of microprocessor; Microprocessor is connected (prior art) by pneumatic drive mechanism commonly used with cutting knife; Pneumatic drive mechanism comprises valve, piston and the piston rod of controlling gas circuit, and piston rod links to each other with cutting knife; When microprocessor needs the cutting knife action, the signal that only need generate electricity is opened the valve on the gas circuit, after connecting gas circuit, the piston both sides of cylinder form pressure differential, and piston moves downwards, cause piston rod to promote the cutting knife action, the microprocessor signal at stop valve that generates electricity again, this moment, the piston both sides of cylinder formed pressure differential in the other direction, and piston moves upward, and drives the cutting knife return.Water pipe between jet head sets and the water source is provided with the adjustable proportioning valve of aperture, and the output of microprocessor is connected with the aperture control end of proportioning valve; The control termination microprocessor of frequency converter, the electric energy output end of frequency converter connects the power end of motor;
Microprocessor is provided with rotational speed governor and injection flow rate controller.
Described rotational speed governor is the PID controller, the error that is input as preset rotation speed n0 and actual speed value n of PID controller, and the output quantity of PID controller is the frequency values to frequency converter; Adopt frequency converter and PID control motor speed, be the mature technology in Electric Machine Control and electric machine speed regulation field.
The input quantity of described injection flow rate controller is that actual speed value n, humidity x and paper web tumble velocity amplitude v, and output quantity is proportioning valve opening value Q; Include fuzzy controller, coarse adjustment controller and fine setting controller in the injection flow rate controller;
Actual speed value n and humidity x are as the input quantity of fuzzy controller, and the output quantity of fuzzy controller is initial proportion valve opening value Q0, i.e. a reference value; The domain of actual speed value n is 1000~1500r/min; Linguistic variable is S1, M1 and L1, represent respectively little, neutralization is big; The domain of humidity x is 0~100%; Linguistic variable is S2 and L2, represents little and big respectively; The variation of humidity has certain influence to the characteristic of paper, and the humidity and the amount of water of environment are inversely proportional to.
The domain of initial proportion valve opening value Q0 is 0.3~0.9, and linguistic variable is NL3, NM3, NS3, PS3, PM3 and PL3, respectively expression negative big, negative in, negative little, just little, just neutralize honest;
Fuzzy inference rule is:
The step value Δ Q1 of coarse adjustment controller is 0.05; The step value Δ Q2 of fine setting controller is 0.01;
The effect of injection flow rate controller is the trim values that the coarse adjustment value that adds up in conjunction with the coarse adjustment controller again according to a reference value of fuzzy controller output and fine setting controller add up, and drawing optimum output quantity at last is proportioning valve opening value Q.
As Fig. 2, described batch (-type) transmission mechanism is sector gear-gear mechanism; The output shaft of motor is connected with sector gear, and sector gear is meshed with the gear that is used to drive driving wheel.
The control method of described rotary machine based on the two closed-loop controls of intelligence, the steps include: that microprocessor is at first by motor and batch (-type) transmission mechanism control paper tape intermittent movement on framework panel, microprocessor control cutting knife downcuts one section paper tape from paper tape, and this that scales off section paper tape is the paper of preparing to send into rotary machine; One end of described paper is admitted to drum mechanism built and makes paper web behind the jet head sets water spray, paper web tumbles through the swash plate of drum mechanism built; Detect speed that paper web tumbles at the swash plate of drum mechanism built as estimating the qualified parameter of paper web;
Frequency adjustment rotating speed of motor by the control frequency converter; By injection flow rate controller control ratio valve opening, thereby regulate the injection flow rate of jet head sets;
Principle schematic such as Fig. 4 of water spray controller, the control strategy of injection flow rate controller is, adopt fuzzy controller to obtain initial proportion valve opening value Q0 earlier, adopt the coarse adjustment controller to obtain coarse adjustment amount k0* Δ Q1 again, adopt the fine setting controller to obtain amount trimmed m0* Δ Q2 again, wherein k0 and m0 are respectively coarse adjustment number of times and fine setting number of times, and then final proportioning valve opening value Q is: Q=Q0+k0* Δ Q1+m0* Δ Q2;
The input quantity of fuzzy controller is actual speed value n and humidity x, and the output quantity of fuzzy controller is initial proportion valve opening value Q0, i.e. a reference value; The domain of actual speed value n is 1000~1500r/min; Linguistic variable is S1, M1 and L1, represent respectively little, neutralization is big; The domain of humidity x is 1~99%; Linguistic variable is S2 and L2, represents little and big respectively;
The domain of initial proportion valve opening value Q0 is 0.3~0.8, and linguistic variable is NL3, NM3, NS3, PS3, PM3 and PL3, respectively expression negative big, negative in, negative little, just little, just neutralize honest; The membership function of fuzzy variable as shown in Figure 5.
Fuzzy inference rule is:
The step value Δ Q1 of coarse adjustment controller is 0.05; The step value Δ Q2 of fine setting controller is 0.01.
Control strategy of the present invention is based on the special nature decision of controlled device, if the injection flow rate of paper is not enough, what cause then that paper web can not be good seals, it is the paper joint perk of sealing part, the speed that tumbles like this wants slow than cylinder (promptly seal well, and profile not producing the cylinder of the twist distortion) speed of standard.In addition, if amount of water is too much, seal well, but paper web has than serious deformation under the effect of the too much water yield, the paper web of this moment tumbles the also speed that tumbles of too late standard cylinder of speed.Therefore, the final purpose of this control method is exactly to find the injection flow rate an of the best to make the speed maximum that paper web tumbles.
Concrete control procedure is:
(1) obtain initial proportion valve opening value Q0: fuzzy controller draws the value of output quantity, i.e. initial proportion valve opening value Q0 (being real number value) according to the value (actual speed value n and humidity x) of input quantity and fuzzy rule (fuzzy rule is summed up according to practical experience and drawn).Obfuscation, fuzzy reasoning and de-fuzzy are the mature technology of field of intelligent control.For asking programming simple, the value of Q0 is less than normal, that is to say, final proportioning valve opening value Q is greater than the Q0 value.
(2) coarse adjustment: the step value Δ Q1 of coarse adjustment controller is 0.05, at first on the basis of Q0, increase by 0.05 (at this moment, k=1), record corresponding velocity amplitude v, on the basis of Q0, increase 2*0.05 (k=2 this moment) again.。。, the peak value vmax1 up to a v occurring supposes that the pairing value of peak value is k0, then gets k0* Δ Q1 as the coarse adjustment value.
(3) fine setting: on the basis of Q0+k0* Δ Q1, increase Δ Q2 (this moment, m was 1), whether detect corresponding at this moment speed v, if new v value as vmax1, is then continued to increase a Δ Q2 (this moment, m was 2) greater than vmax1; Otherwise whether reduce a Δ Q2 (this moment, m was-1), it is bigger than vmax1 to detect the v value of this moment again.Up to obtaining maximum v value, this moment, corresponding m value was m0.
Illustrate, during m=1, if velocity amplitude v (1)>vmax1 of this moment, [among the v (1), the expression of 1 in bracket m=1, down together], then give vmax1 with the value assignment of v (1); Make m=2, if velocity amplitude v (2)>vmax1 of this moment then gives vmax1 with the value assignment of v (2), method according to the front continues to judge v (3), otherwise, if i.e. v (2)<vmax1 illustrates that then the corresponding velocity amplitude of v (1) is final maximum, the end of scan, if velocity amplitude v (the 1)<vmax1 of m0=1. m=1 correspondence is described, illustrate that needing to reduce opening value could obtain optimal value, then detects v (1), if v (1)>vmax1 then gives vmax1 with the value assignment of v (1); Judge v (2) again, if velocity amplitude v (2)>vmax1 of this moment then gives vmax1 with the value assignment of v (2), continue to judge v (3), otherwise, if v (2)<vmax1, illustrate that then the corresponding velocity amplitude of v (1) is final maximum, the end of scan illustrates m0=-1.
(4) calculating final proportioning valve opening value Q is: Q=Q0+k0* Δ Q1+m0* Δ Q2;
The rotary machine work and the control procedure of present embodiment are as follows:
At first, electric motor starting is to invariablenes turning speed (constant tachometer value passes through keyboard to set up by the user), the output shaft of motor drives the sector gear action, the crop rotation batch (-type) rotates sector gear driving initiatively, during the driving wheel motion, cooperate the pulling paper tape with pinch roller by driving wheel, when driving wheel was motionless, this moment, paper tape was motionless.Come timing to determine the length of paper feed by microprocessor according to rotating speed of motor, be timed to, control cutting knife and jet head sets action according to this, finish cut paper and 2 operations of water spray by microprocessor.Paper behind the cut paper is behind water spray, sending into drum mechanism built makes paper web and tumbles from swash plate, microprocessor detects the speed that paper web tumbles by the photoelectric sensor that is installed on the swash plate, microprocessor is also monitored on-the-spot rotating speed of motor and on-the-spot humidity simultaneously in real time, water spray controller in the microprocessor is according to this speed and rotating speed and humidity value, injection flow rate is controlled [the control strategy preamble describes in detail], the speed of tumbling up to final paper web remains on peak, that is to say that the rotary machine continuous firing is at the highest state of yield rate.
In the present embodiment, the water spraying time of jet head sets is fixed on 2s, and therefore, what of injection flow rate the opening value of proportioning valve just directly determined.
The user needs the paper web of another specification, it is the size variation of paper web, also just require the length variations of the paper cut, at this moment, suppose to require bigger paper web (individual corresponding longer paper), promptly in the identical time, can be that driving wheel moves that more times cuts paper again one time, and spray a water and (whenever cut paper one time moving 5 times such as original driving wheel, because the rotating speed of setting improves, then cut paper one time moving 7 times), this just requires injection flow rate more.Therefore, injection flow rate is relevant with motor speed.Because change in rotational speed, injection flow rate need carry out once new regulation and control to reach new optimal effectiveness.