Background technique
That is: 1, watch-dog running state at present, in the control system of low temperature multiple-effect distillation sea water desalting device, the effect of pump mainly controls motor, specifically comprises the content of three aspects; 2, start and stop equipment is needed according to system cloud gray model; 3, the proterctive equipment when system or equipment occurs abnormal.Therefore, to the control of pump be the core technology ensureing that sea water desalinating unit normally runs.
In the control system of low temperature multiple-effect distillation sea water desalting device, PLC platform is important hardware configuration, and configurable pid control function block, pump control function block etc. on this PLC platform, to realize the Automated condtrol to relevant device.As shown in Figure 1, pump control function block in the process of " data capture, data processing, logical operation ", the form of control thought by function block is expressed, and it is the core that control system monitoring runs.
As shown in Figure 2 and Figure 3, sets forth start and stop running principle figure and the fault treatment schematic diagram of existing conventional pumps control function block.Composition graphs 2 and Fig. 3 known, this conventional pumps control function block has the defect of the following aspects:
1, start/stop loop directly uses unicoil to trigger, and easily causes the equipment malfunction problem that upper-position unit operational order " adhesion " causes.
The appearance of upper-position unit operational order " adhesion " problem, as shown in Figure 4, enabled instruction 002071 is 2 pps pulse per second signals.After upper-position unit clicks start button, enabled instruction button 003112 is set to " 1 ", T2.0 function block starts timing, timing exported high level after 2 seconds, resetting coil 002071 is set to " 1 ", and it closes contact disconnection, make T2.0 function block and enabled instruction coil 003113 be reset to 0 simultaneously, realize 2 pulse per second (PPS) command signals.But when there is following situation, easily cause upper button viscous:
1) operator's operation goes wrong, and as just issued another instruction when returning not complete under an instruction, makes an instruction breaks cause viscous;
2) upper-position unit is WINDONWS operation system, " deadlock " phenomenon occurs in operation and causes viscous to occur.
If upper button viscous one straight hair " 1 ", after reset, 003112 will be set to " 1 " again, so circulate, and destroy logic and normally run.
2, interlock condition and protective condition do not carry out condition differentiation and priority rating, can not adapt to the various running statees of pump in actual motion.
Interlock condition occurs in system cloud gray model that system failure problem is interlocked in order to protective system; Protective condition is that system or equipment itself occur that abnormal conditions cannot be run down and the protective condition done.In pump control procedure, need to carry out differentiation to interlock condition and protective condition and priority division.Usually, protective condition needs higher than interlock condition priority, and some in particular cases, after such as pump maintenance when needing monomer to try out, must remove interlock condition and reservation protection condition.
3, lack failure condition to judge.
In start/stop process, likely there is start/stop instruction and send, and the phenomenon that feedback of status is not returned (signaling line loosens, channel failure etc.), cause opening/to stop equipment.And what fault existing pump control function block cannot judge to occur at once effectively, thus other equipment of influential system runs and the safety of equipment.
4, lack just in the monitoring of the process status signal of start/stop, can not effectively monitor pump state.
5, because pump has operation and repair cycle, running to certain hour must safeguard and overhaul, and existing pump control function block cannot realize the function automatically recording working time and automatic record pump last start-stop time.
Therefore, for the defect that pump control function block on the PLC platform of existing sea water desalinating unit has, development function more comprehensively pump controller is very important.
Summary of the invention
The object of this invention is to provide a kind of pump controller, this pump controller is for solving the problem of the pump controller function singleness being applied to PLC platform at present.
To achieve these goals, the invention provides a kind of pump controller, this pump controller comprises: on off control unit, and it is for realizing start and stop instruction locking, and the start stop operation indicated by start and stop instruction is set to pulse command automatically resets; Condition portion subdivision, it is for arranging and distinguishing the operation condition in pump control; Breakdown judge unit, whether it breaks down in shutdown process for judging; Monitoring unit, it is for monitoring the pump operation state in shutdown process; And operation hours recording unit, it is for self recording apparatus working time and last start-stop time.
Present invention also offers a kind of PLC platform, it comprises above-mentioned pump controller.
Present invention also offers a kind of sea water desalinating unit, it comprises above-mentioned PLC platform.
By technique scheme, technique effect of the present invention is:
1, in the present invention, by configuration rest-set flip-flop, the malfunction problem that operational order " adhesion " causes thoroughly is solved.
2, the present invention distinguishes operation condition and inquires about, and is conducive to the generation reducing misoperation.
3, the present invention can judge the fault of appearance effectively, is conducive to the normal operation of other equipment of guarantee system and the safety of equipment.
4, the present invention can monitor pump state in real time.
5, the present invention can record pump operation time, last start-stop time, automatically for equipment control and repair and maintenance provide foundation.
6, the present invention can carry out freely switching of interlocking pattern and noninterlocked pattern.
Other features and advantages of the present invention are described in detail in embodiment part subsequently.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.Should be understood that, embodiment described herein, only for instruction and explanation of the present invention, is not limited to the present invention.
At present, in the control system of low temperature multiple-effect distillation sea water desalting device, PLC platform configuration has pump control function block.With reference to background technique part, existing conventional pumps control function block function singleness, is not really applicable to the application scenarios of desalination of sea water.Therefore, present embodiment gives a kind of newly-designed pump controller, and it can be integrated on PLC platform as control function block, to solve pump control function block function singleness on existing PLC platform, problem that adaptability is low.
As shown in Figure 5, the pump controller that present embodiment provides comprises: on off control unit 1, and it is for realizing start and stop instruction locking, and the start stop operation indicated by start and stop instruction is set to pulse command automatically resets; Condition portion subdivision 2, it is for arranging and distinguishing the operation condition in pump control; Breakdown judge unit 3, whether it breaks down in shutdown process for judging; Monitoring unit 4, it is for monitoring the pump operation state in shutdown process; And operation hours recording unit 5, it is for self recording apparatus working time and last start-stop time.
In addition, said pump controller also comprises: mode selecting unit 6, and it runs under noninterlocked pattern (debugging mode) and interlocking pattern for switchable pump.The selection of pattern mainly considers that pump is in two kinds of patterns of overhauling and run, and overhauling and repair between rear trial run period is noninterlocked pattern, but considers the safety in equipment trial run, and noninterlocked pattern is only with protective condition; Run duration is then interlocking pattern, is with interlocking, protection, automatically condition simultaneously.
It should be noted that, said pump controller can be the novel product of a complete independent design, also can be to carry out according to the pump control function block on existing PLC platform the innovative product that improves.When improving pump control function block, improve by the plug-in changing its inside function module, and correspondence arranges relevant interface parameters and configures relevant function sub-modules.And as one completely independent arrange novel product time, except above-mentioned functions unit, the basic function module that conventional pumps control function block has yet will be set, as operation-mode selector, start module, stopping modular, malfunction alarm module, power module etc., these basic function module and above-mentioned each functional unit are used in combination, much more no longer it is designed to existing mature technology, to state in present embodiment.
In addition, also it should be noted that to there is signal interactive relation between above-mentioned each functional unit, but not easily pass through structural representation and illustrate, the annexation therefore in Fig. 5 between not shown each functional unit.Can with reference to the principle schematic of the pump controller shown in figure 6 for the annexation between each functional unit.
Below the functional unit that pump controller has is specifically described.
One, on off control unit
This on off control unit is substantially an on off control loop, and it includes rest-set flip-flop, is used for realizing start and stop instruction locking by this rest-set flip-flop.Simultaneously, start stop operation corresponding for start and stop instruction is set to pulse command and automatically resets by this on off control unit, the example of corresponding diagram 4, command coil 003113 adopts rest-set flip-flop, after realizing 2 pulse per second (PPS) command signals, upper button automatically resets, because the automatic blocking function of rest-set flip-flop can not a straight hair " 1 ", thus command coil 003112 can not be set to " 1 ", logic is normal.Therefore, by the on off control unit of present embodiment, thoroughly solve the malfunction problem that operational order " adhesion " causes.
Two, condition portion subdivision
During pump controls, operation condition generally comprises interlock condition, protective condition, enabled condition and automatic start-stop condition.Interlock condition be occur in system cloud gray model system failure problem in order to protective system other equipment of interlocked startup, system can also be run in the case of a fault or safety stop transport; Protective condition is that system or equipment itself occur that abnormal conditions cannot be run down and the protective condition that does, and mainly proterctive equipment reduces equipment loss; Being the condition of demand fulfillment before device start during enabled condition, is also proterctive equipment; Automatic start-stop condition is the condition arranged for system automation controls.In the present embodiment, the division of the priority of operation condition is based upon on the thinking basis of " insurance system ", " guarantor's equipment ", reduce human intervention, improve automatic control level, by reasonably pre-seting the risk brought for reducing the system failure and unit exception to greatest extent, ensure the normal operation of system and equipment.The defect of condition differentiation and condition priority division cannot be carried out for existing pump control function block; the condition portion subdivision of present embodiment for arrange and distinguish pump control in interlock condition, protective condition, enabled condition and automatic start-stop condition, to realize based on the automatic control of each operation condition, program control and protecting control etc.
In addition, also comprise condition query unit in described condition discrimination unit, it is for providing the inquiry of operation condition, to realize checking control logic by query actions condition.This condition query unit provides query function to system, can check whether control logic meets system cloud gray model requirement by query actions condition, thus reduces the generation of misoperation.
Three, breakdown judge unit
In present embodiment, whether described breakdown judge unit breaks down with in disconnected shutdown process, specifically comprise: remember whether break down in process by the condition adjudgement of command signal in set time and operation feedback signal, if break down, failure judgement signal type.
It should be noted that, fault signal type is mainly divided into two classes, i.e. hard fault (MCC is unavailable) and soft fault (start and stop fault).
Four, monitoring unit
In present embodiment, described monitoring unit is connected with upper-position unit, for by upper-position unit display monitoring to shutdown process in pump operation state, to make the running state of pump in each process clearly, be convenient to grasp pump operation situation.
In addition, on off control unit 1, condition portion subdivision 2, breakdown judge unit 3, operation hours recording unit 5 also can be connected upper-position unit with mode selecting unit 6, to realize corresponding function by operation upper-position unit.
Five, operation hours recording unit
Pump due to sea water desalinating unit is all that separate unit runs, and does not arrange for subsequent use, therefore carries out the automatic record of operation hours for operation period of pump, and the last startup of pump, stop time are carried out to record and be very important.
Except carrying out above-mentioned record, described operation hours recording unit also according to operation hours and last start-stop time, the operation cumulative time of equipment, and record this operation cumulative time.It should be noted that, equipment control is recorded as to the operation cumulative time of pump and the repair and maintenance cycle provides foundation.
Six, mode selecting unit
By mode selecting unit, can run under noninterlocked pattern (also claiming debugging mode) and interlocking pattern by switchable pump.Pump needs monomer to try out after limber up period or maintenance; need under this state to remove interlock condition, but need reservation protection condition in order to proterctive equipment, therefore system is normally run and is selected interlocking pattern; noninterlocked pattern is selected in pump maintenance trial run, is preferably normal mode.
Based on above-mentioned each functional unit, as shown in Figure 6, the control principle of the pump controller of present embodiment is: select mode of operation for after manually or automatically by operation-mode selector, the startup carried out under mode manually or automatically controls and stops controlling, relate in control procedure propose in present embodiment realize instruction locking by rest-set flip-flop, the carry out operation condition selection, breakdown judge, equipment start-stop Stateful Inspection etc. of (starting condition in figure, stop condition etc.).Certainly, interocclusal record when control procedure also relates to pump operation, as shown in Figure 7, carries out record to relevant instruction and time.It should be noted that, Fig. 6 and Fig. 7 should be considered as one, jointly illustrates the principle of pump controller.
In addition, above-mentioned pump controller need be used for PLC platform, therefore according to the form of the pump controlling functions on PLC platform, can configure multiple interface, and each interface is all corresponding with the functional unit that described pump controller comprises, using as the input interface of this corresponding functional unit or output interface.As shown in Figure 8, namely give the interface of pump controller and a preferred arrangement of interface parameters, the character representation in figure in square frame is the title of each interface definition, and the annotation that the title of Chinese character to definition outside the square frame of correspondence is carried out.
In sum, the pump control function block that the pump controller in present embodiment uses at present relative to sea water desalinating unit, has the advantage of the following aspects:
1, the malfunction problem that operational order " adhesion " causes thoroughly is solved.
2, operation condition distinguished and inquire about, reducing the generation of misoperation.
3, effectively can judge the fault occurred, be conducive to the normal operation of other equipment of guarantee system and the safety of equipment.
4, pump state can be monitored in real time.
5, pump operation time, last start-stop time can automatically be recorded, for equipment control and repair and maintenance provide foundation.
6, freely switching of interlocking pattern and noninterlocked pattern can be carried out.
Adopt above-mentioned change pump controller PLC platform and sea water desalinating unit also there is corresponding advantage.
Below the preferred embodiment of the present invention is described in detail by reference to the accompanying drawings; but; the present invention is not limited to the detail in above-mentioned mode of execution; within the scope of technical conceive of the present invention; can carry out multiple simple variant to technological scheme of the present invention, these simple variant all belong to protection scope of the present invention.
It should be noted that in addition, each the concrete technical characteristics described in above-mentioned embodiment, in reconcilable situation, can be combined by any suitable mode.In order to avoid unnecessary repetition, the present invention illustrates no longer separately to various possible compound mode.
In addition, also can carry out combination in any between various different mode of execution of the present invention, as long as it is without prejudice to thought of the present invention, it should be considered as content disclosed in this invention equally.