CN106909121B - Fool-proof control method and system - Google Patents
Fool-proof control method and system Download PDFInfo
- Publication number
- CN106909121B CN106909121B CN201510971684.4A CN201510971684A CN106909121B CN 106909121 B CN106909121 B CN 106909121B CN 201510971684 A CN201510971684 A CN 201510971684A CN 106909121 B CN106909121 B CN 106909121B
- Authority
- CN
- China
- Prior art keywords
- unit
- control
- control command
- fool proof
- plc
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000005540 biological transmission Effects 0.000 claims description 13
- 239000003208 petroleum Substances 0.000 abstract description 3
- 239000007789 gas Substances 0.000 description 80
- 230000001105 regulatory effect Effects 0.000 description 76
- 230000008569 process Effects 0.000 description 33
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 30
- 239000003345 natural gas Substances 0.000 description 15
- 239000003209 petroleum derivative Substances 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 4
- 230000007257 malfunction Effects 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 230000007363 regulatory process Effects 0.000 description 4
- 238000000926 separation method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000004886 process control Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 210000004262 dental pulp cavity Anatomy 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/054—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1179—Safety, on error, fault, block, inhibit output
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Pipeline Systems (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
The invention discloses a fool-proof control method and a fool-proof control system, and belongs to the technical field of petroleum. The fool-proof control system comprises: the system comprises a fool-proof unit, a human-computer interface (HMI) unit and a Programmable Logic Controller (PLC) unit, wherein the fool-proof unit is respectively connected with the HMI unit and the PLC unit, the HMI unit is used for sending a control command to the PLC unit, the control command is used for indicating a target working state of a target control component, and the target control component is arranged on a pipeline for transporting oil gas; the fool-proof unit is used for intercepting the control command; the fool-proof unit is also used for judging whether the control command is correct or not; the fool-proof unit is also used for generating alarm information when the control command is incorrect. The invention solves the problem that the worker of the oil and gas station makes mistakes easily when operating the valve on the pipeline, realizes the effect of preventing the worker of the oil and gas station from making mistakes when operating the valve on the pipeline, and is used for foolproof control of the oil and gas station.
Description
Technical field
The present invention relates to petroleum technology field, in particular to a kind of fool proof control method and system.
Background technique
In oil and gas gathering, transportational process, the pipeline of transporting petroleum or natural gas passes through Oil and gas station, Oil and gas station
Staff can adjust the flow of petroleum or natural gas in pipeline by the valve on manipulation pipeline.
In the related technology, it is provided with valve on every root canal line, valve can block pipeline, need to adjust pipe
In line when the flow of petroleum or natural gas, the staff of Oil and gas station can block pipeline by adjusting the valve on pipeline and cut
The area in face changes the flow of petroleum or natural gas in pipeline.When the area that valve blocks pipe cross-sectional is pipe cross-sectional product
When 100% (a hundred percent), which can turn off pipeline, and the flow of petroleum or natural gas is 0 liter in pipeline at this time
Per minute;When the area that valve blocks pipe cross-sectional is the 0% of pipe cross-sectional product, which pipeline can be connected,
And the flow of petroleum or natural gas reaches maximum in pipeline at this time;When the area that valve blocks pipe cross-sectional is pipe cross-sectional product
X% (x be greater than 0, and less than 100) when, which pipeline can be connected, and the stream of petroleum or natural gas in pipeline at this time
Amount is less than the maximum stream flow in the pipeline.
Since in the related technology, the number by the pipeline of Oil and gas station is more, the staff of Oil and gas station needs to adjust
The pipeline number of petroleum or gas discharge is also more in homogeneous tube line, so the staff of Oil and gas station is on manipulation pipeline
When valve, it is easier to malfunction.
Summary of the invention
In order to solve the problem of that the staff of Oil and gas station is easier to error, this hair when manipulating the valve on pipeline
It is bright to provide a kind of fool proof control method and system.The technical solution is as follows:
On the one hand, a kind of fool proof control system is provided, the fool proof control system includes: fool proof unit, man-machine interface
HMI unit and programmable logic controller (PLC) PLC unit, the fool proof unit respectively with the HMI unit and the PLC unit phase
Connection,
The HMI unit is used to send control command to the PLC unit, and the control command is used to indicate target control
The target operating condition of component, the target control element are arranged on the pipeline of transport oil gas;
The fool proof unit is for intercepting the control command;
The fool proof unit is also used to judge whether the control command is correct;
The fool proof unit is also used to when the control command is incorrect, generates warning message.
Optionally, the fool proof unit includes: logic configuration module, logic analysis module, data acquisition module and alarm
Module, the data acquisition module are connected with the HMI unit and the PLC unit respectively, the logic analysis module
It is connected respectively with the data acquisition module, the logic configuration module and the alarm module;
The logical model for all control units that the logic configuration module is used to establish in Oil and gas station, the logic mould
Type is used to record the default operating condition of each control unit in all control units;
The data acquisition module is used to obtain the data in the PLC unit, and the data in the PLC unit are for referring to
Show the working condition of control unit;
The data acquisition module is also used to intercept the control command;
The logic analysis module is used for according to the data and the control command in the PLC unit, described in judgement
The target control recorded in the target operating condition of target control element indicated by control command and the logical model
Whether the default operating condition of component is identical, if the target operating condition of the target control element and the target control element
Default operating condition it is different, it is determined that the control command is incorrect;
The logic analysis module is also used to when the control command is incorrect, and Xiang Suoshu alarm module sends alarm life
It enables;
The alarm module is used to generate warning message according to the alarm command.
Optionally, the fool proof unit is also used to when the control command is incorrect, and generation is used to indicate the target
The result information of the corresponding Oil and gas station state of the target operating condition of control unit;
The fool proof unit is also used to send the result information to the HMI unit.
Optionally, the fool proof unit is also used to judge whether to receive the mandatory order that the HMI unit is sent;
The fool proof unit is also used to when the logic analysis module receives the mandatory order, and Xiang Suoshu PLC is mono-
Member sends the control command.
Optionally, the fool proof unit is also used to when the control command is correct, and Xiang Suoshu PLC unit sends the control
System order.
Optionally, the fool proof unit is also used to obtain the control command generated in the PLC unit.
On the other hand, a kind of fool proof control method is provided, for the fool proof unit in fool proof control system, the fool proof
Control system further include: man-machine interface HMI unit and programmable logic controller (PLC) PLC unit, the fool proof unit respectively with institute
HMI unit is stated to be connected with the PLC unit, which comprises
The control command that the HMI unit is sent to the PLC unit is intercepted, the control command is used to indicate target control
The target operating condition of component processed, the target control element are arranged on the pipeline of transport oil gas;
Judge whether the control command is correct;
If the control command is incorrect, warning message is generated.
Optionally, the fool proof unit includes: logic configuration module, logic analysis module, data acquisition module and alarm
Module, the data acquisition module are connected with the HMI unit and the PLC unit respectively, the logic analysis module
It is connected respectively with the data acquisition module, the logic configuration module and the alarm module,
Before the control command that the interception HMI unit is sent to the PLC unit, the method also includes:
The logical model of all control units in Oil and gas station, the logic mould are established by the logic configuration module
Type is used to record the default operating condition of each control unit in all control units;
The data in the PLC unit are obtained by the data acquisition module, the data in the PLC unit are for referring to
Show the working condition of control unit;
The control command for intercepting the HMI unit and being sent to the PLC unit, including;
The control command is intercepted by the data acquisition module;
It is described to judge whether the control command is correct, comprising:
By the logic analysis module according to the data and the control command in the PLC unit, described in judgement
The target control recorded in the target operating condition of target control element indicated by control command and the logical model
Whether the default operating condition of component is identical, if the target operating condition of the target control element and the target control element
Default operating condition it is different, it is determined that the control command is incorrect;
If the control command is incorrect, warning message is generated, comprising:
If the control command is incorrect, alarm life is sent to the alarm module by the logic analysis module
It enables;
Warning message is generated according to the alarm command by the alarm module.
Optionally, it is described judge whether the control command correct after, the method also includes:
If the control command is incorrect, the target operating condition that generation is used to indicate the target control element is corresponding
The Oil and gas station state result information;
The result information is sent to the HMI unit.
Optionally, after the result information to HMI unit transmission, the method also includes:
Judge whether to receive the mandatory order that the HMI unit is sent;
If receiving the mandatory order, the control command is sent to the PLC unit.
Optionally, the method also includes:
If the control command is correct, the control command is sent to the PLC unit.
Optionally, before judging whether the control command is correct, the method also includes:
Obtain the control command generated in the PLC unit.
The present invention provides a kind of fool proof control method and systems, when the staff of Oil and gas station is mono- by manipulation HMI
After member makes HMI unit generate control command, HMI unit is used to send the control command to PLC unit, and fool proof unit connects respectively
HMI unit and PLC unit are connect, and fool proof unit is used to intercept the control command that HMI unit is sent to PLC unit, and judges
Whether the control command is correct, when the control command is incorrect, warning message is generated, to prevent the work of Oil and gas station
Personnel malfunction when manipulating the valve on pipeline.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of structural schematic diagram of fool proof control system provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of another fool proof control system provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of pipeline by Oil and gas station provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another pipeline by Oil and gas station provided in an embodiment of the present invention;
Fig. 5 is a kind of method flow diagram of fool proof control method provided in an embodiment of the present invention;
Fig. 6 is the method flow diagram of another fool proof control method provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
As shown in Figure 1, the fool proof control system 0 can wrap the embodiment of the invention provides a kind of fool proof control system 0
It includes: fool proof unit 01, man-machine interface (English: Human Machine Interface;Referred to as: HMI) unit 02 is patrolled with programmable
Collect controller (English: Programmable Logic Controller;Referred to as: PLC) unit 03, fool proof unit 01 respectively with
HMI unit 02 is connected with PLC unit 03,
HMI unit 02 is used to send control command to PLC unit 03, and control command is used to indicate the mesh of target control element
Working condition is marked, target control element is arranged on the pipeline of transport oil gas;Fool proof unit 01 is for intercepting control command;Fool proof
Unit 01 is also used to judge whether control command is correct;Fool proof unit 01 is also used to when control command is incorrect, generates alarm
Information.
In conclusion due in fool proof control system provided in an embodiment of the present invention, when the staff of Oil and gas station is logical
It crosses after manipulation HMI unit makes HMI unit generate control command, HMI unit is used to PLC unit send the control command, prevents
Slow-witted unit is separately connected HMI unit and PLC unit, and fool proof unit is used to intercept the control life that HMI unit is sent to PLC unit
It enables, and judges whether the control command is correct, when the control command is incorrect, warning message is generated, to prevent oil
The staff of gas yard malfunctions when manipulating the valve on pipeline.
Optionally, Fig. 2 is the structural schematic diagram of another fool proof control system 0 provided in an embodiment of the present invention, such as Fig. 2 institute
Show, fool proof unit 01 may include: logic configuration module 011, logic analysis module 012, data acquisition module 013 and alarm mould
Block 014, wherein data acquisition module 013 is connected with HMI unit 02 and PLC unit 03 respectively, logic analysis module 012
It is connected respectively with logic configuration module 011, data acquisition module 013 and alarm module 014.
The logical model for all control units that logic configuration module 011 is used to establish in Oil and gas station, the logical model
It can be used for recording the default operating condition of each control unit in all control units in the Oil and gas station, further,
The logical model can be also used for recording in all control units, the relationship between any two control unit.It is exemplary, control
Component can be set on the pipeline of transport oil gas, and control unit may include: enter the station valve, electrical ball valve, cyclone separator, mistake
Filter separator, by-passing valve, compressor inlet valve, compressor, air cooler, outlet valve, air-cooled by-passing valve, flowmeter, safety truncation
Valve, electric pressure-regulating valve, direct-operated regulator, air inlet ball valve, receiving ball tube, transmitting-receiving ball indicator, gas outlet ball valve and electronic
Valve etc..Since in fool proof control system 0 provided in an embodiment of the present invention, the logic configuration module 011 in fool proof unit 01 can
According to all control units on the pipeline of Oil and gas station, logical model is established, therefore, so that the fool proof control system 0 can be with
Suitable for any one Oil and gas station.
Each control unit can have multiple default operating conditions, and the oil in all control units in the Oil and gas station
The default operating condition of each control unit can correspond to kinds of processes process in all control units in gas yard, i.e., every
Control unit under a process flow in the Oil and gas station all has a default operating condition.The kinds of processes process can wrap
Include: the valve group that enters the station, compressor process, measurement flow, regulating process, outbound valve group, process of more standing, is received filter separation process
The kinds of processes processes such as service process, personal air-flow journey, each divide defeated process to be composed of in series and parallel multiple process flows.Its
In: the valve group that enters the station can be in series or in parallel to form by multiple valves that enter the station;Process is separated by filtration to be made of multiple separation branch circuit parallel connections,
One electrical ball valve, cyclone separator, filter separator of each routing are in series, having and have by-passing valve;Compressor stream
Journey is in series by compressor inlet valve, compressor, air cooler, outlet valve, and compressor can be parallel with by-passing valve, and air cooler can
To be parallel with air-cooled by-passing valve;Measurement flow is made of two or more metering branch circuit parallel connections, one electric ball of each routing
Valve, flowmeter are in series;Regulating process is to be made of two or more pressure regulation branch circuit parallel connections, each routing electrical ball valve,
Safety shut-off valve, electric pressure-regulating valve, direct-operated regulator are in series;Outbound valve group is by multiple outbound valve serial or parallel connection structures
At;More station process by valve of standing constitute;Ball process is received and dispatched by air inlet ball valve, receiving ball tube, transmitting-receiving ball indicator, gas outlet ball
Valve is in series.Personal air-flow journey is in series or in parallel to form by one or more motor-driven valves.
It is exemplary, as shown in Figure 3, it is assumed that all pipelines by the Oil and gas station are pipeline A and pipeline B, are set on pipeline A
The control unit set may include: block valve f1, regulating valve f2 and Self force valve f3, block valve f4 is provided on pipeline B, and manage
Line A and pipeline B are in parallel, and the input port of pipeline A and pipeline B are connected with first port M, and the delivery outlet of pipeline A and pipeline B are equal
It is connected with second port N, it, at this time can be with if being needed at this time from first port M to second port N transporting petroleum or natural gas
At least one pipeline controlled on pipeline A or pipeline B is in the conductive state.
It is simultaneously turned in a first aspect, can recorde block valve f1, regulating valve f2 and Self force valve f3 in the logical model,
And block valve f4 is turned off.At this point, the default operating condition of block valve f1 is on state, the default operating condition of regulating valve f2
For on state, the default operating condition of Self force valve f3 is on state, and the default operating condition of block valve f4 is off state.
Second aspect, can recorde block valve f4 conducting in the logical model, block valve f1, regulating valve f2 and rely on oneself
At least one valve shutdown in valve f3.At this point, the default operating condition of block valve f4 can be off state, block valve f1
Default operating condition can be off state, and the default operating condition of regulating valve f2 can be on state, and Self force valve
The default operating condition of f3 can be on state.
The third aspect can recorde block valve f1, regulating valve f2, Self force valve f3 and block valve f4 in the logical model
It simultaneously turns on.At this point, the default operating condition of block valve f1 can be off state, and the default operating condition of regulating valve f2
It can be on state, and the default operating condition of Self force valve f3 can be on state, the default operating condition of block valve f4
It may be on state.
Further, which can record the default work shape of each control unit by logical expression
Relationship in state and all control units between any control unit.Exemplary, which can be with are as follows: { (truncation
Valve f1 conducting) && () && (Self force valve f3 conducting) is connected in regulating valve f2 } | | { block valve f4 conducting }, it should be noted that this is patrolled
The meaning of " && in volume expression formula " are as follows: logical AND, the meaning of " | | " in the logical expression are as follows: logic is or, the logical table
Up to the meaning of formula are as follows: (block valve f1 conducting) && () && (Self force valve f3 conducting) is connected in regulating valve f2 } and { block valve f4 conducting }
In at least one expression formula be it is true, { (block valve f1 conducting) (regulating valve f2 conducting) (Self force valve f3 conducting) } is genuine
Meaning are as follows: (block valve f1 conducting), (regulating valve f2 conducting), (Self force valve f3 conducting) are simultaneously true.
Optionally, since the aperture of regulating valve is adjustable (aperture of regulating valve can change in 0%~100%),
So, it is believed that when the aperture of regulating valve is greater than aperture threshold value, the regulating valve is in the conductive state, when the aperture of regulating valve
When less than or equal to aperture threshold value, the regulating valve is in an off state.It is exemplary, it is assumed that the aperture threshold value of regulating valve f2 is
2%, then when the aperture of regulating valve f2 is greater than 2%, regulating valve f2 is in the conductive state, be less than when the aperture of regulating valve f2 or
When equal to 2%, regulating valve f2 is in an off state.
It is exemplary, it is assumed that being pipeline A and pipeline B by all pipelines of the Oil and gas station, set on pipeline A
The control unit set may include: block valve f1, regulating valve f2 and Self force valve f3, block valve f4 is provided on pipeline B, and manage
Line A and pipeline B series connection, the input port of pipeline A are connected with first port M, the input port phase of the delivery outlet and pipeline B of pipeline A
Connection, the delivery outlet of pipeline B is connected with second port N, if being needed at this time from first port M to second port N transporting petroleum
Or natural gas, then it is in the conductive state simultaneously to can control pipeline A and pipeline B at this time.
It can recorde block valve f1, regulating valve f2, Self force valve f3 and block valve f4 in the logical model to simultaneously turn on.
At this point, the default operating condition of block valve f1 is on state, the default operating condition of regulating valve f2 is on state, is relied on oneself
The default operating condition of valve f3 is on state, and the default operating condition of block valve f4 is on state.
Further, which can record the default work shape of each control unit by logical expression
Relationship in state and all control units between any control unit.Exemplary, which can be with are as follows: (block valve
) && is connected in f1, and () && is connected in regulating valve f2, and () && (block valve f4 conducting) is connected in Self force valve f3, it should be noted that the logical table
Up to the " && in formula " meaning are as follows: logical AND, the meaning of the logical expression are as follows: (block valve f1 conducting), (regulating valve f2 is led
It is logical), (Self force valve f3 conducting) and (block valve f4 conducting) while being true.
Optionally, since the aperture of regulating valve is adjustable (aperture of regulating valve can change in 0%~100%),
So, it is believed that when the aperture of regulating valve is greater than aperture threshold value, the regulating valve is in the conductive state, when the aperture of regulating valve
When less than or equal to aperture threshold value, the regulating valve is in an off state.It is exemplary, it is assumed that the aperture threshold value of regulating valve f2 is
2%, then when the aperture of regulating valve f2 is greater than 2%, regulating valve f2 is in the conductive state, be less than when the aperture of regulating valve f2 or
When equal to 2%, regulating valve f2 is in an off state.
Exemplary, the data acquisition module 013 in fool proof unit 01 is connected with the HMI unit 02 and PLC unit respectively
It connects, so the data acquisition module 013 can be used for obtaining the data in the PLC unit, which can be with
The control command sent for intercepting HMI unit 02 to the PLC unit 03, specifically, being sent out in HMI unit 02 to PLC unit 03
When sending control command, which can also obtain the control command, and the control command is stored, into
One step, which can also send the corresponding disabling enable signal of the control command to PLC unit 03, make
Executed in PLC unit 03 control command to be partially enabled control function invalid.The fool proof control system can acquire for data
With supervisor control (English: Supervisory ControlAnd DataAcquisition;Referred to as: SCADA) system, should
Data acquisition module 013 can be connected and insertion (English: Object linking and using the object for process control
embedding for Process Control;Referred to as: OPC) agreement obtains control command.
Logic analysis module 012 in the fool proof unit 01 can be used for obtaining control from the data acquisition module 013
Order, and determine target control element indicated by the control command and the target operating condition of the target control element.Into
One step, which can also be according to the data in PLC unit, and that establishes from logic configuration module 011 patrols
The process flow for determining that the control unit is carrying out in model is collected, and then searches the corresponding default work of the target control element
State, and judge the target control element target operating condition and target control element default operating condition it is whether identical.
If the target operating condition of target control element is identical as the default operating condition of target control element, it is determined that control command is just
Really;If the target operating condition of target control element is different from the default operating condition of target control element, it is determined that control life
It enables incorrect.
If the logic analysis module 012 determines that the control command is incorrect, which be can be also used for
Alarm command is sent to alarm module 014;The alarm module 014 can be used for after receiving the alarm command according to alarm
Order generates warning message, exemplary, which can be the voice messaging or indicator light information for alarm, the alarm
Information can also can play the information of alarm function for other, and it is not limited in the embodiment of the present invention.If the warning message
For the voice messaging for alarm, then the priority of each warning message can be set, and will according to the priority of warning message
Warning message is ranked up, and the warning message of highest priority is preferentially presented to staff.
Optionally, when control command is incorrect, fool proof unit 01, which can be also used for generating, is used to indicate target control portion
The result information of the corresponding Oil and gas station state of the target operating condition of part, and the fool proof unit 01 can be also used for it is mono- to HMI
Member 02 sends the result information, in order to which the HMI unit 02 shows the result information.It is exemplary, patrolling in the fool proof unit 01
Analysis module 012 is collected when determining that control command is incorrect, which can order according to the incorrect control
So that state (the i.e. target of target control element of the Oil and gas station after executing the incorrect control command of PLC unit 03 out
The corresponding Oil and gas station state of working condition).The logic analysis module can also generate the mesh for being used to indicate target control element
The result information of the corresponding Oil and gas station state of working condition is marked, and the result information is sent by data acquisition module 013
To HMI unit 02.
It is exemplary, it is assumed that target control element is arranged on target pipeline, and the default operating condition of target control element is
On state, and the target operating condition of target control element indicated by the control command is off state.When the target control
When the working condition of component processed is on state, petroleum or natural gas in the target pipeline are able to carry out normal transport, when this
When the working condition of target control element is off state, the oil and natural gas in the target pipeline can not normal transport.Institute
With the logic analysis module 012 is in the default operating condition for determining target control element and the target operation of target control element
When state difference, which can send alarm command to alarm module 014, so that the alarm module 014 exists
After receiving the alarm command, warning message is generated according to the alarm command.The result information that the logic analysis module 012 generates
It can be " target pipeline of Oil and gas station can not normal transport ".
After the result information that the HMI unit 02 receives the transmission of fool proof unit 01, which can be by the result
Information is presented to the staff of Oil and gas station by way of voice or image, which can also be to oil gas
After the result information is presented in the staff of yard, inquire that the staff of Oil and gas station is by way of voice or image
It is no still to need to be implemented the control command, it, should if staff's determination of Oil and gas station still needs to be implemented the control command
HMI unit 02 can send mandatory order to the data acquisition module 013 in fool proof unit.Data in the fool proof unit 01 are adopted
Collection module 013 can be also used for after sending result information to the HMI unit 02, judge whether to receive the transmission of HMI unit 02
Mandatory order;After determining and receiving the mandatory order, which can be according to the mandatory order to PLC
Unit 03 sends the control command that the data acquisition module 013 is intercepted.
It should be noted that if the logic analysis module 012 in the fool proof unit 01 determines that the control command is correct
When, which can send a transmission order to data acquisition module 013, so that the data acquisition module
013 after the transmission order for receiving the logic analysis module 012 transmission, sends the data acquisition module 013 to PLC unit 03
The control command intercepted.
Further, which can be also used for obtaining the control command generated in PLC unit 03, exemplary,
Data acquisition module 013 in the fool proof unit 01 is connected with PLC unit 03, which can be real-time
Whether detection PLC unit 03 generates control command, and when automatically generating a control command in the PLC unit 03, which is adopted
Collection module 013 can directly acquire the control command generated in the PLC unit 03.Such as, which can incite somebody to action
The control command generated in PLC unit 03 is replicated, and realizes the acquisition of the control command, and the PLC unit 03 is taken up an official post so at this time
There are the control commands, and PLC unit 03 still can execute the control command.
Exemplary, after the control command which generates on obtaining the PLC unit 03, which is adopted
The control command that collection module 013 can will acquire is sent to the logic analysis module 012 in fool proof unit 01, in order to logic point
Analysis module 012 judges the control that whether control command generated in the PLC unit 03 is correct, generates on determining the PLC unit 03
When system order is incorrect, alarm command is sent to alarm module 014, is reported so that alarm module 014 is generated according to the alarm command
Alert information.
In conclusion due in fool proof control system provided in an embodiment of the present invention, when the staff of Oil and gas station is logical
It crosses after manipulation HMI unit makes HMI unit generate control command, HMI unit is used to PLC unit send the control command, prevents
Slow-witted unit is separately connected HMI unit and PLC unit, and fool proof unit is used to intercept the control life that HMI unit is sent to PLC unit
It enables, and judges whether the control command is correct, when the control command is incorrect, warning message is generated, to prevent oil
The staff of gas yard malfunctions when manipulating the valve on pipeline.
As shown in figure 5, the embodiment of the invention provides a kind of fool proof control method, the fool proof control method can be used for as
Fool proof unit 01 in fool proof control system 0 shown in fig. 1 or fig. 2.The fool proof control method may include:
Step 501 intercepts the control command that HMI unit is sent to PLC unit, and control command is used to indicate target control portion
The target operating condition of part, target control element are arranged on the pipeline of transport oil gas.
Step 502 judges whether control command is correct.
If step 503, control command are incorrect, warning message is generated.
In conclusion fool proof unit is separately connected HMI unit due in fool proof control method provided in an embodiment of the present invention
And PLC unit, after the staff of Oil and gas station makes HMI unit generate control command by manipulating HMI unit, fool proof list
Member can intercept the control command that HMI unit is sent to PLC unit, and judge whether the control command is correct, in the control
When ordering incorrect, warning message is generated, so that the staff of Oil and gas station be prevented to go out when manipulating the valve on pipeline
It is wrong.
Optionally, which may include: logic configuration module, logic analysis module, data acquisition module and report
Alert module, logic analysis module respectively with HMI unit, logic configuration module, data acquisition module, alarm module and PLC unit
It is connected, HMI unit is connected with data acquisition module,
Before step 501, which can also include:
The logical model of all control units in Oil and gas station is established by logic configuration module, logical model is for remembering
Record the default operating condition of each control unit in all control units;
The data in PLC unit are obtained by data acquisition module, the data in PLC unit are used to indicate control unit
Working condition;
Step 501 may include:
Control command is intercepted by data acquisition module;
Step 502 may include:
By logic analysis module according to data and the control command in the PLC unit, control command is judged
The default work shape of the target control element recorded in the target operating condition and logical model of indicated target control element
Whether state is identical, if the target operating condition of target control element is different from the default operating condition of target control element, really
It is incorrect to determine control command;
Step 503 may include:
If control command is incorrect, alarm command is sent to alarm module by logic analysis module;
Warning message is generated according to alarm command by alarm module.
Optionally, before step 502, which can also include:
If control command is incorrect, the corresponding oil-gas stations of target operating condition for being used to indicate target control element are generated
The result information of field state;
Result information is sent to HMI unit.
Optionally, after sending result information to HMI unit, which can also include:
Judge whether to receive the mandatory order that HMI unit is sent;
If receiving mandatory order, control command is sent to PLC unit.
Optionally, which can also include:
If control command is correct, control command is sent to PLC unit.
Optionally, before step 502, which can also include:
Obtain the control command generated in PLC unit.
In conclusion fool proof unit is separately connected HMI unit due in fool proof control method provided in an embodiment of the present invention
And PLC unit, after the staff of Oil and gas station makes HMI unit generate control command by manipulating HMI unit, fool proof list
Member can intercept the control command that HMI unit is sent to PLC unit, and judge whether the control command is correct, in the control
When ordering incorrect, warning message is generated, so that the staff of Oil and gas station be prevented to go out when manipulating the valve on pipeline
It is wrong.
As shown in fig. 6, the fool proof control method can be used for the embodiment of the invention provides another fool proof control method
Fool proof unit 01 in fool proof control system 0 as shown in Figure 1 or 2.The fool proof control method may include:
Step 601, fool proof unit establish the logical model of all control units in Oil and gas station.Execute step 602.
The fool proof unit may include: logic configuration module, logic analysis module, data acquisition module and alarm module,
Logic analysis module is connected with HMI unit, logic configuration module, data acquisition module, alarm module and PLC unit respectively,
HMI unit is connected with data acquisition module.The fool proof unit can establish oil by the logic configuration module in fool proof unit
The logical model of all control units in gas yard, the logical model can be used for recording all controls in the Oil and gas station
The default operating condition of each control unit in component, further, the logical model can be also used for recording all control units
Relationship in part, between any two control unit.Exemplary, control unit is located in Oil and gas station, and control unit can be with
Be arranged in transport oil gas pipeline on, control unit may include: enter the station valve, electrical ball valve, cyclone separator, be separated by filtration
It is device, by-passing valve, compressor inlet valve, compressor, air cooler, outlet valve, air-cooled by-passing valve, flowmeter, safety shut-off valve, electronic
Pressure regulator valve, direct-operated regulator, air inlet ball valve, receiving ball tube, transmitting-receiving ball indicator, gas outlet ball valve and motor-driven valve etc..By
Logic configuration module in fool proof unit can establish logic mould according to all control units on the pipeline of Oil and gas station
Type, therefore, so that the fool proof control system can be adapted for any one Oil and gas station.
Each control unit can have multiple default operating conditions, and the oil in all control units in the Oil and gas station
The default operating condition of each control unit can correspond to kinds of processes process in all control units in gas yard, i.e., every
Control unit under a process flow in the Oil and gas station all has a default operating condition.The kinds of processes process can wrap
Include: the valve group that enters the station, compressor process, measurement flow, regulating process, outbound valve group, process of more standing, is received filter separation process
The kinds of processes processes such as service process, personal air-flow journey, each divide defeated process to be composed of in series and parallel multiple process flows.Its
In: the valve group that enters the station can be in series or in parallel to form by multiple valves that enter the station;Process is separated by filtration to be made of multiple separation branch circuit parallel connections,
One electrical ball valve, cyclone separator, filter separator of each routing are in series, having and have by-passing valve;Compressor stream
Journey is in series by compressor inlet valve, compressor, air cooler, outlet valve, and compressor can be parallel with by-passing valve, and air cooler can
To be parallel with air-cooled by-passing valve;Measurement flow is made of two or more metering branch circuit parallel connections, one electric ball of each routing
Valve, flowmeter are in series;Regulating process is to be made of two or more pressure regulation branch circuit parallel connections, each routing electrical ball valve,
Safety shut-off valve, electric pressure-regulating valve, direct-operated regulator are in series;Outbound valve group is by multiple outbound valve serial or parallel connection structures
At;More station process by valve of standing constitute;Ball process is received and dispatched by air inlet ball valve, receiving ball tube, transmitting-receiving ball indicator, gas outlet ball
Valve is in series.Personal air-flow journey is in series or in parallel to form by one or more motor-driven valves.
It is exemplary, as shown in Figure 3, it is assumed that all pipelines by the Oil and gas station are pipeline A and pipeline B, are set on pipeline A
The control unit set may include: block valve f1, regulating valve f2 and Self force valve f3, block valve f4 is provided on pipeline B, and manage
Line A and pipeline B are in parallel, and the input port of pipeline A and pipeline B are connected with first port M, and the delivery outlet of pipeline A and pipeline B are equal
It is connected with second port N, it, at this time can be with if being needed at this time from first port M to second port N transporting petroleum or natural gas
At least one pipeline controlled on pipeline A or pipeline B is in the conductive state.
It is simultaneously turned in a first aspect, can recorde block valve f1, regulating valve f2 and Self force valve f3 in the logical model,
And block valve f4 is turned off.At this point, the default operating condition of block valve f1 is on state, the default operating condition of regulating valve f2
For on state, the default operating condition of Self force valve f3 is on state, and the default operating condition of block valve f4 is off state.
Second aspect, can recorde block valve f4 conducting in the logical model, block valve f1, regulating valve f2 and rely on oneself
At least one valve shutdown in valve f3.At this point, the default operating condition of block valve f4 can be off state, block valve f1
Default operating condition can be off state, and the default operating condition of regulating valve f2 can be on state, and Self force valve
The default operating condition of f3 can be on state.
The third aspect can recorde block valve f1, regulating valve f2, Self force valve f3 and block valve f4 in the logical model
It simultaneously turns on.At this point, the default operating condition of block valve f1 can be off state, and the default operating condition of regulating valve f2
It can be on state, and the default operating condition of Self force valve f3 can be on state, the default operating condition of block valve f4
It may be on state.
Further, which can record the default work shape of each control unit by logical expression
Relationship in state and all control units between any control unit.Exemplary, which can be with are as follows: { (truncation
Valve f1 conducting) && () && (Self force valve f3 conducting) is connected in regulating valve f2 } | | { block valve f4 conducting }, it should be noted that this is patrolled
The meaning of " && in volume expression formula " are as follows: logical AND, the meaning of " | | " in the logical expression are as follows: logic is or, the logical table
Up to the meaning of formula are as follows: (block valve f1 conducting) && () && (Self force valve f3 conducting) is connected in regulating valve f2 } and { block valve f4 conducting }
In at least one expression formula be it is true, { (block valve f1 conducting) (regulating valve f2 conducting) (Self force valve f3 conducting) } is genuine
Meaning are as follows: (block valve f1 conducting), (regulating valve f2 conducting), (Self force valve f3 conducting) are simultaneously true.
Optionally, since the aperture of regulating valve is adjustable (aperture of regulating valve can change in 0%~100%),
So, it is believed that when the aperture of regulating valve is greater than aperture threshold value, the regulating valve is in the conductive state, when the aperture of regulating valve
When less than or equal to aperture threshold value, the regulating valve is in an off state.It is exemplary, it is assumed that the aperture threshold value of regulating valve f2 is
2%, then when the aperture of regulating valve f2 is greater than 2%, regulating valve f2 is in the conductive state, be less than when the aperture of regulating valve f2 or
When equal to 2%, regulating valve f2 is in an off state.
It is exemplary, it is assumed that being pipeline A and pipeline B by all pipelines of the Oil and gas station, set on pipeline A
The control unit set may include: block valve f1, regulating valve f2 and Self force valve f3, block valve f4 is provided on pipeline B, and manage
Line A and pipeline B series connection, the input port of pipeline A are connected with first port M, the input port phase of the delivery outlet and pipeline B of pipeline A
Connection, the delivery outlet of pipeline B is connected with second port N, if being needed at this time from first port M to second port N transporting petroleum
Or natural gas, then it is in the conductive state simultaneously to can control pipeline A and pipeline B at this time.
It can recorde block valve f1, regulating valve f2, Self force valve f3 and block valve f4 in the logical model to simultaneously turn on.
At this point, the default operating condition of block valve f1 is on state, the default operating condition of regulating valve f2 is on state, is relied on oneself
The default operating condition of valve f3 is on state, and the default operating condition of block valve f4 is on state.
Further, which can record the default work shape of each control unit by logical expression
Relationship in state and all control units between any control unit.Exemplary, which can be with are as follows: (block valve
) && is connected in f1, and () && is connected in regulating valve f2, and () && (block valve f4 conducting) is connected in Self force valve f3, it should be noted that the logical table
Up to the " && in formula " meaning are as follows: logical AND, the meaning of the logical expression are as follows: (block valve f1 conducting), (regulating valve f2 is led
It is logical), (Self force valve f3 conducting) and (block valve f4 conducting) while being true.
Optionally, since the aperture of regulating valve is adjustable (aperture of regulating valve can change in 0%~100%),
So, it is believed that when the aperture of regulating valve is greater than aperture threshold value, the regulating valve is in the conductive state, when the aperture of regulating valve
When less than or equal to aperture threshold value, the regulating valve is in an off state.It is exemplary, it is assumed that the aperture threshold value of regulating valve f2 is
2%, then when the aperture of regulating valve f2 is greater than 2%, regulating valve f2 is in the conductive state, be less than when the aperture of regulating valve f2 or
When equal to 2%, regulating valve f2 is in an off state.The fool proof unit can also be obtained by data acquisition module in real time
Data in PLC unit, the data in PLC unit are used to indicate the working condition of control unit.
Step 602, fool proof unit obtain control command.Execute step 603.
Target control element is arranged on the pipeline of transport oil gas, which can be to be used to indicate target control portion
The target operating condition of part.
On the one hand, fool proof unit can intercept HMI unit by the data acquisition module in fool proof unit and send out to PLC unit
The control command sent.Exemplary, the staff of Oil and gas station can be by manipulating HMI unit, so that HMI unit generates control
Order, and the control command is sent to the PLC unit.Data acquisition module and the HMI unit and PLC in fool proof unit is mono-
Member is connected, so the data in the available PLC unit of the data acquisition module, the data acquisition module can also intercept
The control command that HMI unit is sent to the PLC unit, specifically, when HMI unit sends control command to PLC unit, the number
The control command can also be obtained according to acquisition module, and the control command is stored, further, the data acquisition module
The corresponding disabling enable signal of the control command can also be sent to PLC unit, make the portion that the control command is executed in PLC unit
Divide enabled control function invalid.The fool proof control system can be SCADA system, which can be assisted using OPC
View obtains the control command.
On the other hand, which can also obtain the control command generated in PLC unit, exemplary, the fool proof list
Data acquisition module in member is connected with PLC unit, which can detect in real time whether PLC unit generates
Control command, when automatically generating a control command in the PLC unit, which can directly acquire the PLC
The control command generated on unit.Such as, which can replicate the control command generated in PLC unit,
Realize the acquisition of the control command, the PLC unit, which is taken up an official post, at this time so has the control command, and PLC unit still can execute
The control command.
Whether step 603, fool proof unit judges control command are correct.If control command is correct, 608 are thened follow the steps;If
Control command is incorrect, thens follow the steps 604.
The fool proof unit can judge whether the control command is correct by the logic analysis module in fool proof unit.Example
, the logic analysis module in the fool proof unit can be used for from the data acquisition module obtaining control command, and determining should
The target operating condition of target control element indicated by control command and the target control element.Further, the logic
Analysis module can also determine the control according to the data in PLC unit from the logical model established in logic configuration module
The process flow that component is carrying out, and then the corresponding default operating condition of the target control element is searched, and judge the target
Whether the target operating condition of control unit and the default operating condition of target control element are identical.If the mesh of target control element
It is identical as the default operating condition of target control element to mark working condition, it is determined that control command is correct;If target control element
Target operating condition it is different from the default operating condition of target control element, it is determined that control command is incorrect.
Step 604, fool proof unit generate warning message.Execute step 605.
If control command is incorrect, which can send alarm life to alarm module by logic analysis module
It enables;The alarm module can generate warning message, exemplary, the alarm according to alarm command after receiving the alarm command
Information can be the voice messaging or indicator light information for alarm, which can also can play alarm for other and make
Information, it is not limited in the embodiment of the present invention.If the warning message is the voice messaging for alarm, can set
The priority of each warning message, and be ranked up warning message according to the priority of warning message, preferentially to staff
The warning message of highest priority is presented.
It should be noted that if the control command that the fool proof unit obtains in step 602 is the control generated in PLC unit
Order, then the control command that the logic analysis module in step 604 in fool proof unit generates on determining the PLC unit is not just
When true, alarm command is sent to alarm module, so that alarm module generates warning message according to the alarm command, and without executing
The step of after step 604 (such as step 605, step 606, step 607 and step 608).
Step 605, fool proof unit generate result information.Execute step 606.
Optionally, which can also generate the corresponding oil of target operating condition for being used to indicate target control element
The result information of gas yard state.It is exemplary, the logic analysis module in the fool proof unit when determining that control command is incorrect,
The logic analysis module can obtain PLC unit after executing the incorrect control command according to the incorrect control command
The state (i.e. the corresponding Oil and gas station state of the target operating condition of target control element) of Oil and gas station and generating is used to indicate
The result information of the corresponding Oil and gas station state of the target operating condition of target control element.
It is exemplary, it is assumed that target control element is arranged on target pipeline, and the default operating condition of target control element is
On state, and the target operating condition of target control element indicated by the control command is off state.When the target control
When the working condition of component processed is on state, petroleum or natural gas in the target pipeline are able to carry out normal transport, when this
When the working condition of target control element is off state, the oil and natural gas in the target pipeline can not normal transport.Institute
With the logic analysis module is in the default operating condition for determining target control element and the target operating condition of target control element
When different, which can send alarm command to alarm module, so that the alarm module is receiving the alarm
After order, warning message is generated according to the alarm command.The result information that the logic analysis module generates can be " Oil and gas station
Target pipeline can not normal transport ".
Step 606, fool proof unit send result information to HMI unit.Execute step 607.
After logic analysis module generates result information, since logic analysis module is connected with data acquisition module, data
Acquisition module is connected with HMI unit, so logic analysis module can send the knot to HMI unit by data acquisition module
Fruit information.
Step 607, HMI unit send mandatory order to fool proof unit depending on the user's operation.Execute step 608.
After the result information that the HMI unit receives the transmission of fool proof unit, which can lead to the result information
The form for crossing voice or image is presented to the staff of Oil and gas station, which can also be in the work to Oil and gas station
After the result information is presented as personnel, inquire whether the staff of Oil and gas station still needs by way of voice or image
The control command is executed, if staff's determination of Oil and gas station still needs to be implemented the control command, which can
Mandatory order is sent with the data acquisition module into fool proof unit.
Step 608, fool proof unit send control command to PLC unit.
Whether the data acquisition module in the fool proof unit is after sending result information to the HMI unit, it can be determined that connect
Receive the mandatory order of HMI unit transmission;If receiving the mandatory order of HMI unit transmission, which can be with
The control command that the data acquisition module is intercepted is sent to PLC unit according to the mandatory order.
It should be noted that if when the logic analysis module in the fool proof unit determines that the control command is correct, it should
Logic analysis module can send transmissions to data acquisition module and order, so that the data acquisition module is patrolled receiving this
After collecting the transmission order that analysis module is sent, the control command that the data acquisition module is intercepted is sent to PLC unit.
It further, should if staff's determination of Oil and gas station does not need to execute the control command in step 607
HMI unit can send to fool proof unit and be used to indicate the delete command for deleting a certain control command, so that in fool proof unit
Data acquisition module deletes the corresponding control command of the delete command after receiving the delete command.The HMI unit
Any order can not also be sent to fool proof unit, the data acquisition module in the fool proof unit is sending result to HMI unit
After information preset time period, if not receiving the mandatory order of HMI unit transmission, the data acquisition module in the fool proof unit
The control command stored in the fool proof unit can be deleted.
In conclusion fool proof unit is separately connected HMI unit due in fool proof control method provided in an embodiment of the present invention
And PLC unit, after the staff of Oil and gas station makes HMI unit generate control command by manipulating HMI unit, fool proof list
Member can intercept the control command that HMI unit is sent to PLC unit, and judge whether the control command is correct, in the control
When ordering incorrect, warning message is generated, so that the staff of Oil and gas station be prevented to go out when manipulating the valve on pipeline
It is wrong.
It is apparent to those skilled in the art that for convenience and simplicity of description, the fool proof of foregoing description
Specific steps in control method embodiment can mutually be referred to the specific steps in aforementioned fool proof control system embodiment,
Details are not described herein.
It should be noted that the sequencing of fool proof control method step provided in an embodiment of the present invention can carry out suitably
Adjustment, step according to circumstances can also accordingly be increased and decreased, anyone skilled in the art the invention discloses
Technical scope in, the method that can readily occur in variation should be covered by the protection scope of the present invention, therefore no longer superfluous
It states.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer
It repeats one by one.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of fool proof control system, which is characterized in that the fool proof control system includes: fool proof unit, man-machine interface HMI mono-
Member and programmable logic controller (PLC) PLC unit, the fool proof unit are connected with the HMI unit and the PLC unit respectively,
The HMI unit is used to send control command to the PLC unit, and the control command is used to indicate target control element
Target operating condition, the target control element be arranged in transport oil gas pipeline on;
The fool proof unit includes: logic configuration module, logic analysis module, data acquisition module and alarm module, the number
Be connected respectively with the HMI unit and the PLC unit according to acquisition module, the logic analysis module respectively with the number
It is connected according to acquisition module, the logic configuration module with the alarm module;
The logical model for all control units that the logic configuration module is used to establish in Oil and gas station, the logical model are used
In the default operating condition for recording each control unit in all control units;
The data acquisition module is used to obtain the data in the PLC unit, and the data in the PLC unit are used to indicate control
The working condition of component processed;
The data acquisition module is also used to intercept the control command;
The logic analysis module is used to judge the control according to the data and the control command in the PLC unit
The target control element recorded in the target operating condition and the logical model of the indicated target control element of order
Default operating condition it is whether identical, if the target operating condition of the target control element and the target control element is pre-
If working condition is different, it is determined that the control command is incorrect;
The logic analysis module is also used to when the control command is incorrect, and Xiang Suoshu alarm module sends alarm command;
The alarm module is used to generate warning message according to the alarm command.
2. fool proof control system according to claim 1, which is characterized in that
The fool proof unit is also used to when the control command is incorrect, generates the mesh for being used to indicate the target control element
Mark the result information of the corresponding Oil and gas station state of working condition;
The fool proof unit is also used to send the result information to the HMI unit.
3. fool proof control system according to claim 2, which is characterized in that
The fool proof unit is also used to judge whether to receive the mandatory order that the HMI unit is sent;
The fool proof unit is also used to when the logic analysis module receives the mandatory order, Xiang Suoshu PLC unit hair
Send the control command.
4. fool proof control system according to claim 1, which is characterized in that
The fool proof unit is also used to when the control command is correct, and Xiang Suoshu PLC unit sends the control command.
5. fool proof control system according to claim 1, which is characterized in that
The fool proof unit is also used to obtain the control command generated in the PLC unit.
6. a kind of fool proof control method, which is characterized in that for the fool proof unit in fool proof control system, fool proof control system
System further include: man-machine interface HMI unit and programmable logic controller (PLC) PLC unit, the fool proof unit are mono- with the HMI respectively
It is first to be connected with the PLC unit, which comprises
The control command that the HMI unit is sent to the PLC unit is intercepted, the control command is used to indicate target control portion
The target operating condition of part, the target control element are arranged on the pipeline of transport oil gas;
The fool proof unit includes: logic configuration module, logic analysis module, data acquisition module and alarm module, the number
Be connected respectively with the HMI unit and the PLC unit according to acquisition module, the logic analysis module respectively with the number
It is connected according to acquisition module, the logic configuration module with the alarm module;
Before the control command that the interception HMI unit is sent to the PLC unit, the method also includes:
The logical model of all control units in Oil and gas station is established by the logic configuration module, the logical model is used
In the default operating condition for recording each control unit in all control units;
The data in the PLC unit are obtained by the data acquisition module, the data in the PLC unit are used to indicate control
The working condition of component processed;
The control command for intercepting the HMI unit and being sent to the PLC unit, comprising:
The control command is intercepted by the data acquisition module;
Judge whether the control command is correct, comprising:
By the logic analysis module according to data and the control command in the PLC unit, the control is judged
The target control element recorded in the target operating condition and the logical model of the indicated target control element of order
Default operating condition it is whether identical, if the target operating condition of the target control element and the target control element is pre-
If working condition is different, it is determined that the control command is incorrect;
If the control command is incorrect, warning message is generated, comprising:
If the control command is incorrect, alarm command is sent to the alarm module by the logic analysis module;
Warning message is generated according to the alarm command by the alarm module.
7. fool proof control method according to claim 6, which is characterized in that judge the control command whether just described
After really, the method also includes:
If the control command is incorrect, the corresponding institute of target operating condition for being used to indicate the target control element is generated
State the result information of Oil and gas station state;
The result information is sent to the HMI unit.
8. fool proof control method according to claim 7, which is characterized in that described to described in HMI unit transmission
After result information, the method also includes:
Judge whether to receive the mandatory order that the HMI unit is sent;
If receiving the mandatory order, the control command is sent to the PLC unit.
9. fool proof control method according to claim 6, which is characterized in that the method also includes:
If the control command is correct, the control command is sent to the PLC unit.
10. fool proof control method according to claim 6, which is characterized in that judging whether the control command is correct
Before, the method also includes:
Obtain the control command generated in the PLC unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971684.4A CN106909121B (en) | 2015-12-22 | 2015-12-22 | Fool-proof control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971684.4A CN106909121B (en) | 2015-12-22 | 2015-12-22 | Fool-proof control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106909121A CN106909121A (en) | 2017-06-30 |
CN106909121B true CN106909121B (en) | 2019-06-11 |
Family
ID=59199817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510971684.4A Active CN106909121B (en) | 2015-12-22 | 2015-12-22 | Fool-proof control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909121B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109780293A (en) * | 2018-12-29 | 2019-05-21 | 江苏日托光伏科技股份有限公司 | A kind of moisture film dropper with foolproof function |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11264499A (en) * | 1997-12-22 | 1999-09-28 | Alemite Corp | Oil mist generating system and method |
CN101840208A (en) * | 2010-03-29 | 2010-09-22 | 中广核工程有限公司 | Method and system for interlocking main valve and pressure balance valve of heater system of nuclear power station |
CN201780496U (en) * | 2010-08-03 | 2011-03-30 | 北京愿景宏机械设备有限公司 | Methane monitoring system |
CN203082324U (en) * | 2013-03-12 | 2013-07-24 | 四川广汉阀门厂 | Electronic control system controlling ground control device by utilizing valves |
CN105022335A (en) * | 2015-07-03 | 2015-11-04 | 北京科技大学 | Method and device for filtering link command of PLC upper computer based on RS232 communication protocol |
CN205450716U (en) * | 2015-12-22 | 2016-08-10 | 中国石油天然气股份有限公司 | Fool-proof control system |
-
2015
- 2015-12-22 CN CN201510971684.4A patent/CN106909121B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11264499A (en) * | 1997-12-22 | 1999-09-28 | Alemite Corp | Oil mist generating system and method |
CN101840208A (en) * | 2010-03-29 | 2010-09-22 | 中广核工程有限公司 | Method and system for interlocking main valve and pressure balance valve of heater system of nuclear power station |
CN201780496U (en) * | 2010-08-03 | 2011-03-30 | 北京愿景宏机械设备有限公司 | Methane monitoring system |
CN203082324U (en) * | 2013-03-12 | 2013-07-24 | 四川广汉阀门厂 | Electronic control system controlling ground control device by utilizing valves |
CN105022335A (en) * | 2015-07-03 | 2015-11-04 | 北京科技大学 | Method and device for filtering link command of PLC upper computer based on RS232 communication protocol |
CN205450716U (en) * | 2015-12-22 | 2016-08-10 | 中国石油天然气股份有限公司 | Fool-proof control system |
Also Published As
Publication number | Publication date |
---|---|
CN106909121A (en) | 2017-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866632B (en) | Fault data acquisition methods, device and the terminal of home appliance | |
CN104700506B (en) | Safety cut-off type remote-control intelligent mass flow gas meter, flow meter and its management system | |
CN103576640B (en) | System and method for monitoring pump cavitation | |
CN104149988B (en) | The method for diagnosing bleed air system failure | |
CN101255950A (en) | Intelligent warning system for computation and pipe monitoring of oil transportation collection and transmission system | |
CN104279729A (en) | Branch air volume self-adjustment based air volume control system | |
CN113819575B (en) | Control method and device for air conditioner and server | |
CN103424284A (en) | Atmospheric-particle sampler | |
CN205079056U (en) | Fuel gas pressure regulating box | |
CN206965290U (en) | A kind of monitoring system of petrol station filter screen differential pressure | |
CN109267612A (en) | One kind being based on BIM water transfer pipe network Stress management systems | |
CN113433900B (en) | Unattended intelligent centralized control method and system for oil field station | |
CN103676864A (en) | Intelligent control system of sea water desalination hyperfiltration reverse osmosis device | |
CN207571608U (en) | A kind of intelligent valve control system | |
CN106909121B (en) | Fool-proof control method and system | |
EP3495756B1 (en) | Refrigeration system with failure diagnostic system and failure diagnostic method | |
CN106200545A (en) | Large-scale main transformer forced oil circulation water cooler water-flow signal, the processing method of oil stream signal | |
CN103455000A (en) | SCADA system device modeling method for forming control logic automatically | |
CN205450716U (en) | Fool-proof control system | |
CN208766497U (en) | A kind of RTU voltage regulating station data monitoring system based on safety chip | |
CN115296193A (en) | Intelligent inspection system and method for transformer substation | |
CN107560864B (en) | Method and apparatus for scale monitoring and prediction in combustors | |
CN205422673U (en) | Three -phase separator's air feed voltage regulator device | |
CN106020100A (en) | Automatic switching control system of storage tank equipment liquid level high alarm during oil transportation operation | |
CN102907761B (en) | Detection system and detection method for connection relationship between wire feeding machine and cigarette making machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |