Background technology
The mixed type rotary encoder of built-in incremental and absolute value type scrambler output channel has a wide range of applications in the motor-driven of commercial unit (especially metallurgical shaped steel production equipment) controls, usually its incremental encoder output channel is connected to the code device signal input interface of equipment gearing, for the detection of motor rotational speed and equipment moving position, to realize the closed-loop control of equipment moving speed and position; And its absolute value type scrambler output channel is connected to the absolute value encoder input interface module (as Siemens AK41) of equipment gearing upper level controller (as programmable controller), for the monitoring of equipment moving position and the correction of gearing incremental encoder input channel actual detection positional value.The driving control system structural representation of mixed type scrambler is used to be illustrated in fig. 1 shown below.For mixed type scrambler increment type output channel and absolute value formula output channel, in equipment running process, the device location value of feedback obtained based on each scrambler output channel is separate, is respectively used to equipment transmission position-force control and device location monitoring, position due to equipment gearing is detected and is obtained based on mixed type scrambler increment type output channel, like this, when equipment gearing controls power cut-off, the device location value of feedback that gearing obtains will be lost, in this case, the actual position value of positional value to gearing adopting mixed type scrambler absolute value formula output channel to obtain corrects by the upper level controller of gearing, namely the current actual positions value of gearing is set to by force the positional value that current mixed type scrambler absolute value formula output channel obtains after each gearing major loop power transmission.For type steel production line, because site environment is severe, vibrations are large, in process of production, the absolute value formula output channel failure rate of the mixed type rotary encoder that drive apparatus uses is much larger than its increment type output channel, in this case, usual needs stop production the device that alternates coding, and usually changing first encoding device approximately needs 120 minutes.
Summary of the invention
According to above the deficiencies in the prior art, the present invention proposes a kind of control system and the method that reduce mixed type encoder fault rate, causes the PLC location feedback value S of gearing upper level controller when mixed type scrambler absolute value formula output channel breaks down
pLC.AKwhen there is error, this invention adopts transmission location feedback value S
drivesubstitute PLC location feedback value S
pLC.AK, thus avoid mixed type scrambler absolute value formula output channel and break down and cause PLC location feedback value S
pLC.AKthere is error, reduce hybrid coder fault to the impact of producing.
To achieve these goals, the technical scheme that the present invention takes is: a kind of control system reducing mixed type encoder fault rate, and this system comprises transmission position corrected value output unit, transmission position correction instruction output unit and transmission and runs enable control signal output unit; Described transmission position correction instruction output unit is for controlling the blockade of transmission position correction instruction or sending; Described transmission position corrected value output unit is used for determination and the output of corrected value; Described transmission runs enable control signal output unit and runs for blocking gearing in the uncorrected situation in transmission position.
A kind of control method reducing mixed type encoder fault rate, when the absolute value encoder output channel interface module of gearing upper level controller break down report to the police time, gearing upper level location of controls value of feedback is switched to transmission location feedback value by PLC location feedback value by system.If gearing controls power supply occur circut breaking when driving motor speed equals zero, the transmission position corrected value that PLC is exported remains the PLC location feedback value that gearing controls power cut-off previous moment, until gearing sends the feedback pulse signal that transmission position has corrected.When plant maintenance personnel send gearing manual position correction starting impulse signal by human-machine operation station, transmission position corrected value will be the transmission position corrected value of manually input on man-machine active station, until gearing sends the feedback pulse signal that transmission position has corrected.If gearing controls power supply occur circut breaking when driving motor speed is not equal to zero, then transmission position correction instruction will locate blockage all the time, until plant maintenance personnel send manual position correct starting impulse signal.If gearing controls power supply during driving motor speed is not equal to zero, circut breaking does not occur, then when gearing sends standby ready signal, transmission position correction instruction output unit will send transmission position correction instruction makes gearing carry out position correction operation; When gearing sends the feedback pulse signal that transmission position corrected, the transmission position correction instruction that this transmission position correction instruction output unit controls is blocked.Transmission runs enable control signal output unit after gearing sends standby ready signal, if gearing does not send the feedback signal that transmission position has corrected, the transmission of this unit controls runs enable control signal and will be blocked.
Beneficial effect of the present invention is: a kind of control method (or control program) reducing mixed type encoder fault rate is rolled on large H profile steel production line at Ma Gangsan steel and dropped into use.After the control method of this reduction mixed type encoder fault rate comes into operation, greatly reduce the failure rate of mixed type scrambler completely, its practical effect is fine.
Embodiment
Contrast accompanying drawing below, by the description to embodiment, the specific embodiment of the present invention is as the effect of the mutual alignment between the shape of involved each component, structure, each several part and annexation, each several part and principle of work, manufacturing process and operation using method etc., be described in further detail, have more complete, accurate and deep understanding to help those skilled in the art to inventive concept of the present invention, technical scheme.
Equipment actual position value is fed back to programmable controller through absolute value encoder input interface module by mixed type scrambler absolute value formula output channel, and (this location feedback value is referred to as PLC location feedback value S
pLC.AK), S
pLC.AKthe equipment actual position value be mainly used for gearing obtains through mixed type scrambler increment type formula output channel (is called for short transmission location feedback value S
drive) correct.For transmission location feedback value S
drive, only under the state of gearing control power cut-off, the situation that numerical value loses zero just can occur, namely the physical location value of feedback of gearing only needs when gearing controls power up power transmission to correct.For gearing; its power-off controlling power supply normally occurs in the processing procedure after gearing force outage; namely usual gearing controls the manual operation that power cut-off is fault handling under stopped status or failure reset, and before gearing controls power cut-off, its physical location no longer changes.It can thus be appreciated that, if gearing controls power supply when transmission speed is greater than zero, power-off does not occur, gearing upper level controller (i.e. PLC) can control the transmission location feedback value of power supply manual power-cut time by autostore gearing, and use the transmission location feedback value stored to correct transmission position at gearing again ready moment, in this case, PLC location feedback value S is caused when mixed type scrambler absolute value formula output channel breaks down
pLC.AKwhen there is error, gearing upper level controller can use transmission location feedback value S completely
drivesubstitute PLC location feedback value S
pLC.AK.Just based on this, we devise a kind of control program (or control method) reducing mixed type encoder fault rate independently, and its control program structural drawing is illustrated in fig. 2 shown below.
In upper Fig. 2, NSW is " digital conversion switch " functional block, as I=' 1 ', and Y=X2, as I=' 0 ', Y=X1; RSR is " rest-set flip-flop that reset terminal R is preferential " functional block, when S be ' 1 ', R is ' 0 ', Q is ' 1 ', QN is ' 0 ', when S is ' 1 ', when R is ' 1 ', Q is ' 0 ', QN is ' 1 ', when S is ' 0 ', when R is ' 0 ', Q and QN keeps ortho states, when S is ' 0 ', when R is ' 1 ', Q is ' 0 ' QN is ' 1 '; ETE is " front and back are along setting " functional block, and when input end I becomes ' 1 ' by ' 0 ', QP end only exports the direct impulse that length is 1 cycle period, and under all the other states, QP end remains ' 0 ' state.When input end I becomes ' 0 ' by ' 1 ', QN end only exports the direct impulse that length is 1 cycle period, and under all the other states, QN end remains ' 0 ' state; OR is disjunction gate; AND is " with door "; NOT is " not gate ".Design and the control thought of this reduction mixed type encoder fault rate control program are as follows:
(1). this control program formed primarily of three control modules, i.e. functional block JSBGC01 ~ JSBGC07 forms transmission position corrected value output unit; Functional block JSBGC08 ~ JSBGC15 forms transmission position correction instruction output unit; Functional block JSBGC16 ~ JSBGC19 forms transmission and runs enable control signal output unit.
(2). for transmission position corrected value output unit, when the absolute value encoder output channel interface module of gearing upper level controller break down report to the police time, show PLC location feedback value S
pLC.AKthere is error, in order to reduce the fault-time of mixed type scrambler, plant maintenance personnel are set to ' 1 ' by the I of functional block JSBGC01 in this unit being held (namely PLC position feedback channel is selected), and complete the selection of PLC position feedback channel, namely PLC location feedback value is by S
pLC.AKswitch to S
drivein this case, if gearing controls power supply occur circut breaking when driving motor speed equals zero, then the output terminal Q of this Elementary Function block JSBGC04 is ' 1 ', makes output valve (the i.e. PLC position feedback actual value S of this Elementary Function block JSBGC05 output terminal Y thus
pLC.act) keep gearing to control the numerical value of power cut-off previous moment, until gearing sends the feedback pulse signal that transmission position has corrected.When plant maintenance personnel send gearing manual position correction starting impulse signal by HMI (people-machine active station), output valve (the i.e. transmission position corrected value S of this Elementary Function block JSBGC07 output terminal Y
drive.cal) by the transmission position corrected value for manually input on HMI, until gearing sends the feedback pulse signal that transmission position has corrected.(3). for transmission position correction instruction output unit, if gearing controls power supply occur circut breaking when driving motor speed is not equal to zero, then the output terminal Q of this Elementary Function block JSBGC13 remains ' 0 ', until plant maintenance personnel send manual position correct starting impulse signal, the output terminal Q of this Elementary Function block JSBGC13 be ' 0 ' period, transmission position correction instruction will be in blockage.If gearing controls power supply during driving motor speed is not equal to zero, circut breaking does not occur, then the output terminal Q of this Elementary Function block JSBGC13 remains ' 1 ', in this case, when gearing sends standby ready signal, the output terminal Q of this Elementary Function block JSBGC15 is set to ' 1 ', like this, this unit will send transmission position correction instruction and makes gearing carry out position correction operation.When gearing sends the feedback pulse signal that transmission position corrected, the output terminal Q of this Elementary Function block JSBGC15 is reset to ' 0 ', and like this, the transmission position correction instruction of this unit controls is blocked.
(4). enable control signal output unit is run for transmission, after gearing sends standby ready signal, if gearing does not send the feedback signal that transmission position has corrected, then the output terminal Q of this Elementary Function block JSBGC16 will remain ' 0 ', like this, the transmission of this unit controls runs enable control signal and will be blocked, and thus avoid gearing after stopping power transmission and runs in the uncorrected situation in transmission position.
Above by reference to the accompanying drawings to invention has been exemplary description; obvious specific implementation of the present invention is not subject to the restrictions described above; as long as have employed the improvement of the various unsubstantialities that method of the present invention is conceived and technical scheme is carried out; or design of the present invention and technical scheme directly applied to other occasion, all within protection scope of the present invention without to improve.The protection domain that protection scope of the present invention should limit with claims is as the criterion.