Summary of the invention
The purpose of this invention is to provide the control method that a kind of powdered coal pressuring gasified oxygen flow intermediate value can be selected automatically.Make system carry out intermediate value to three oxygen flow numerical value in real time automatically and select, read the oxygen flow intermediate value automatically in real time and carry out reference calculating.
In order to realize the foregoing invention purpose, a kind of powdered coal pressuring gasified oxygen flow of the present invention intermediate value is selected control method automatically, it is characterized in that: oxygen flow intermediate value select procedure is divided into three programsegments:
Programsegment one: judge whether oxygen flow metrical instrument A (FT-101A) flow number is the oxygen flow intermediate value;
Programsegment two: judge whether oxygen flow metrical instrument B (FT-101B) flow number is the oxygen flow intermediate value;
Programsegment three: judge whether oxygen flow metrical instrument C (FT-101C) flow number is the oxygen flow intermediate value;
First in order execution phase one when (1) oxygen flow intermediate value select procedure moves:
The first step: judge whether oxygen flow metrical instrument A (FT-101A) flow number is the intermediate value of three oxygen flow metrical instrument flow numbers:
Condition one: judge whether oxygen flow metrical instrument A (FT-101A) flow number 〉=oxygen flow metrical instrument B (FT-101B) flow number is true and whether oxygen flow metrical instrument A (FT-101A) flow number≤oxygen flow metrical instrument C (FT-101C) flow number is true;
Condition two: judge whether oxygen flow metrical instrument A (FT-101A) flow number 〉=oxygen flow metrical instrument C (FT-101C) flow number is true and whether oxygen flow metrical instrument A (FT-101A) flow number≤oxygen flow metrical instrument B (FT-101B) flow number is true;
1. it is true that above-mentioned condition one or condition two have arbitrary, and then oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument A (FT-101A) flow number, and oxygen flow intermediate value select procedure program directly carried out for second step;
Second step: oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument A (FT-101A) flow number, oxygen flow metrical instrument A (FT-101A) flow number is composed to oxygen flow FY-101, and system program is read the numerical value of oxygen flow FY-101 and is carried out reference calculating;
2. above-mentioned condition one or condition two are not true, illustrate that then oxygen flow metrical instrument A (FT-101A) flow number is not the intermediate value of three oxygen flow metrical instrument flow numbers, and execution phase two is in order removed in the commentaries on classics of oxygen flow intermediate value select procedure;
(2) programsegment one is false, oxygen flow intermediate value select procedure execution phase two:
The first step: judge whether oxygen flow metrical instrument B (FT-101B) flow number is the intermediate value of three oxygen flow metrical instrument flow numbers:
Condition one: judge whether oxygen flow metrical instrument B (FT-101B) flow number 〉=oxygen flow metrical instrument A (FT-101A) flow number is true and whether oxygen flow metrical instrument B (FT-101B) flow number≤oxygen flow metrical instrument C (FT-101C) flow number is true;
Condition two: judge whether oxygen flow metrical instrument B (FT-101B) flow number 〉=oxygen flow metrical instrument C (FT-101C) flow number is true and whether oxygen flow metrical instrument B (FT-101B) flow number≤oxygen flow metrical instrument A (FT-101A) flow number is true;
1. it is true that above-mentioned condition one or condition two have arbitrary, and then oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument B (FT-101B) flow number, and oxygen flow intermediate value select procedure program directly carried out for second step;
Second step: oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument B (FT-101B) flow number, oxygen flow metrical instrument B (FT-101B) flow number is composed to oxygen flow FY-101, and system program is read the numerical value of oxygen flow FY-101 and is carried out reference calculating;
2. above-mentioned condition one or condition two are not true, illustrate that then oxygen flow metrical instrument B (FT-101B) flow number is not the intermediate value of three oxygen flow metrical instrument flow numbers, and execution phase three is in order removed in the commentaries on classics of oxygen flow intermediate value select procedure;
(3) programsegment two is false, oxygen flow intermediate value select procedure execution phase three:
The first step: judge whether oxygen flow metrical instrument C (FT-101C) flow number is the intermediate value of three oxygen flow metrical instrument flow numbers:
Condition one: judge whether oxygen flow metrical instrument C (FT-101C) flow number 〉=oxygen flow metrical instrument A (FT-101A) flow number is true and whether oxygen flow metrical instrument C (FT-101C) flow number≤oxygen flow metrical instrument B (FT-101B) flow number is true;
Condition two: judge whether oxygen flow metrical instrument C (FT-101C) flow number 〉=oxygen flow metrical instrument B (FT-101B) flow number is true and whether oxygen flow metrical instrument C (FT-101C) flow number≤oxygen flow metrical instrument A (FT-101A) flow number is true;
1. it is true that above-mentioned condition one or condition two have arbitrary, and then oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument C (FT-101C) flow number, and oxygen flow intermediate value select procedure program directly carried out for second step;
Second step: oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument C (FT-101C) flow number, oxygen flow metrical instrument C (FT-101C) flow number is composed to oxygen flow FY-101, and system program is read the numerical value of oxygen flow FY-101 and is carried out reference calculating;
2. above-mentioned condition one or condition two are not true, illustrate that then oxygen flow metrical instrument C (FT-101C) flow number is not the intermediate value of three oxygen flow metrical instrument flow numbers, oxygen flow intermediate value select procedure changes and to go rerun routine section one to circulate once more to carry out.
The present invention is by the automatic control of oxygen flow intermediate value select procedure, making system in real time three oxygen flow metrical instrument flow numbers be carried out intermediate value automatically under the prerequisite of guaranteeing security of system steady running selects, read the oxygen flow intermediate value in real time and carry out reference calculating, make various media such as oxygen, coal dust, steam enter vapourizing furnace and carry out combustion reactions by best proportioning, thereby reach the best combustion effect, not only guarantee optimum gasification efficiency but also greatly reduced to consume to have saved cost, guaranteed security of system.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
The principle of the invention as shown in Figure 1, in powdered coal pressuring gasified preparation synthesis gas process, accurately measure oxygen flow in the oxygen pipeline for guaranteeing security of system, three flow measurement instrument (FT-101A have been installed on oxygen pipeline, FT-101B, FT-101C) measure oxygen flow, in order to guarantee to guarantee under the situation of system safety operation, coal dust, oxygen, steam enters vapourizing furnace in the certain flow ratio and carries out mixed firing, just need carry out that precise monitoring obtains accurate data and according to processing requirement and coal dust to oxygen flow, other rate-of flows such as steam carry out reference calculating and carry out Flow-rate adjustment, make various media enter vapourizing furnace by best proportioning and carry out combustion reactions.In order to obtain as far as possible oxygen flow accurately, eliminate measuring error to the full extent, three oxygen flow metrical instrument flow numbers are compared in system design according to processing requirement, remove a maximum value, remove a minimum value, only get intermediate value and carry out reference calculating as current oxygen flow.For this reason, in programdesign, worked out an oxygen flow intermediate value select procedure, made system carry out intermediate value to three oxygen flow numerical value in real time automatically and select, read the oxygen flow intermediate value automatically in real time and carry out reference calculating.
The present invention only gets the intermediate value of three oxygen flow instrument, does not relate to the pulverized coal flow instrument.
One, principle of design of the present invention.After oxygen system is set up flow, oxygen flow metrical instrument A (FT-101A), oxygen flow metrical instrument B (FT-101B), oxygen flow metrical instrument C (FT-101C) record this place's oxygen flow separately, oxygen flow intermediate value select procedure carries out real-time data acquisition and relatively calculating to the flow number of three oxygen flow metrical instruments automatically, remove a maximum value, remove a minimum value, only get intermediate value and carry out reference calculating as current oxygen flow:
1, oxygen flow metrical instrument A (FT-101A) flow number is the oxygen flow intermediate value: (referring to accompanying drawing 2)
1. if oxygen flow metrical instrument A (FT-101A) flow number 〉=oxygen flow metrical instrument B (FT-101B) flow number and oxygen flow metrical instrument A (FT-101A) flow number≤oxygen flow metrical instrument C (FT-101C) flow number, then oxygen flow metrical instrument A (FT-101A) flow number is the oxygen flow intermediate value, then system is composed oxygen flow metrical instrument A (FT-101A) flow number to oxygen flow FY-101 (intermediate variable) automatically, and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and carried out reference calculating.
2. if oxygen flow metrical instrument A (FT-101A) flow number 〉=oxygen flow metrical instrument C (FT-101C) flow number and oxygen flow metrical instrument A (FT-101A) flow number≤oxygen flow metrical instrument B (FT-101B) flow number, then oxygen flow metrical instrument A (FT-101A) flow number is the oxygen flow intermediate value, then system is composed oxygen flow metrical instrument A (FT-101A) flow number to oxygen flow FY-101 (intermediate variable) automatically, and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and carried out reference calculating.
2, oxygen flow metrical instrument B (FT-101B) flow number is the oxygen flow intermediate value: (referring to accompanying drawing 3)
1. if oxygen flow metrical instrument B (FT-101B) flow number 〉=oxygen flow metrical instrument A (FT-101A) flow number and oxygen flow metrical instrument B (FT-101B) flow number≤oxygen flow metrical instrument C (FT-101C) flow number, then oxygen flow metrical instrument B (FT-101B) flow number is the oxygen flow intermediate value, then system is composed oxygen flow metrical instrument B (FT-101B) flow number to oxygen flow FY-101 (intermediate variable) automatically, and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and carried out reference calculating.
2. if oxygen flow metrical instrument B (FT-101B) flow number 〉=oxygen flow metrical instrument C (FT-101C) flow number and oxygen flow metrical instrument B (FT-101B) flow number≤oxygen flow metrical instrument A (FT-101A) flow number, then oxygen flow metrical instrument B (FT-101B) flow number is the oxygen flow intermediate value, then system is composed oxygen flow metrical instrument B (FT-101B) flow number to oxygen flow FY-101 (intermediate variable) automatically, and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and carried out reference calculating.
3, oxygen flow metrical instrument C (FT-101C) flow number is the oxygen flow intermediate value: (referring to accompanying drawing 4)
1. if oxygen flow metrical instrument C (FT-101C) flow number 〉=oxygen flow metrical instrument A (FT-101A) flow number and oxygen flow metrical instrument C (FT-101C) flow number≤oxygen flow metrical instrument B (FT-101B) flow number, then oxygen flow metrical instrument C (FT-101C) flow number is the oxygen flow intermediate value, then system is composed oxygen flow metrical instrument C (FT-101C) flow number to oxygen flow FY-101 (intermediate variable) automatically, and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and carried out reference calculating.
2. if oxygen flowmete C (FT-101C) flow number 〉=oxygen flowmete B (FT-101B) flow number and oxygen flowmete C (FT-101C) flow number≤oxygen flow Table A (FT-101A) flow number, then oxygen flowmete C (FT-101C) flow number is the oxygen flow intermediate value, then system is composed oxygen flowmete C (FT-101C) flow number to oxygen flow FY-101 (intermediate variable) automatically, and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and carried out reference calculating.(accompanying drawing 4)
Two, technical scheme of the present invention.Carry out programdesign according to processing requirement, design the design of programming of programming logic block diagram:
After technology is set up oxygen flow, oxygen flow metrical instrument A (FT-101A), oxygen flow metrical instrument B (FT-101B), oxygen flow metrical instrument C (FT-101C) record this place's oxygen flow numerical value separately, and computer reads in oxygen flow intermediate value select procedure with three oxygen flow metrical instrument flow numbers and compares calculating:
According to process condition oxygen flow intermediate value select procedure is divided into three programsegments:
Programsegment one: judge whether oxygen flow metrical instrument A (FT-101A) flow number is oxygen flow intermediate value (referring to accompanying drawing 2)
Programsegment two: judge whether oxygen flow metrical instrument B (FT-101B) flow number is oxygen flow intermediate value (referring to accompanying drawing 3)
Programsegment three: judge whether oxygen flow metrical instrument C (FT-101C) flow number is oxygen flow intermediate value (referring to accompanying drawing 4)
First in order execution phase one (judging whether oxygen flow metrical instrument A (FT-101A) flow number is the oxygen flow intermediate value) when 1, oxygen flow intermediate value select procedure moves:
The first step: judge whether oxygen flow metrical instrument A (FT-101A) flow number is the intermediate value of three oxygen flow metrical instrument flow numbers:
Condition one: judge whether oxygen flow metrical instrument A (FT-101A) flow number 〉=oxygen flow metrical instrument B (FT-101B) flow number is whether true (ON) and oxygen flow metrical instrument A (FT-101A) flow number≤oxygen flow metrical instrument C (FT-101C) flow number is true (ON);
Condition two: judge whether oxygen flow metrical instrument A (FT-101A) flow number 〉=oxygen flow metrical instrument C (FT-101C) flow number is whether true (ON) and oxygen flow metrical instrument A (FT-101A) flow number≤oxygen flow metrical instrument B (FT-101B) flow number is true (ON);
1. above-mentioned condition one or condition two have arbitrary be true (ON), then oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument A (FT-101A) flow number, and oxygen flow intermediate value select procedure program directly carried out for second step;
Second step: oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument A (FT-101A) flow number, oxygen flow metrical instrument A (FT-101A) flow number is composed to oxygen flow FY-101 (intermediate variable), and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and is carried out reference calculating;
2. above-mentioned condition one or condition two are not true (OFF), illustrate that then oxygen flow metrical instrument A (FT-101A) flow number is not the intermediate value of three oxygen flow metrical instrument flow numbers, execution phase two (judging whether oxygen flow metrical instrument B (FT-101B) numerical value flow is the oxygen flow intermediate value) is in order removed in the commentaries on classics of oxygen flow intermediate value select procedure;
2, programsegment one is false, oxygen flow intermediate value select procedure execution phase two (judging whether oxygen flow metrical instrument B (FT-101B) numerical value flow is the oxygen flow intermediate value):
The first step: judge whether oxygen flow metrical instrument B (FT-101B) flow number is the intermediate value of three oxygen flow metrical instrument flow numbers:
Condition one: judge whether oxygen flow metrical instrument B (FT-101B) flow number 〉=oxygen flow metrical instrument A (FT-101A) flow number is whether true (ON) and oxygen flow metrical instrument B (FT-101B) flow number≤oxygen flow metrical instrument C (FT-101C) flow number is true (ON);
Condition two: judge whether oxygen flow metrical instrument B (FT-101B) flow number 〉=oxygen flow metrical instrument C (FT-101C) flow number is whether true (ON) and oxygen flow metrical instrument B (FT-101B) flow number≤oxygen flow metrical instrument A (FT-101A) flow number is true (ON);
1. above-mentioned condition one or condition two have arbitrary be true (ON), then oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument B (FT-101B) flow number, and oxygen flow intermediate value select procedure program directly carried out for second step;
Second step: oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument B (FT-101B) flow number, oxygen flow metrical instrument B (FT-101B) flow number is composed to oxygen flow FY-101 (intermediate variable), and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and is carried out reference calculating;
2. above-mentioned condition one or condition two are not true (OFF), illustrate that then oxygen flow metrical instrument B (FT-101B) flow number is not the intermediate value of three oxygen flow metrical instrument flow numbers, execution phase three (judging whether oxygen flow metrical instrument C (FT-101C) flow number is the oxygen flow intermediate value) is in order removed in the commentaries on classics of oxygen flow intermediate value select procedure;
3, programsegment two is false, oxygen flow intermediate value select procedure execution phase three (judging whether oxygen flow metrical instrument C (FT-101C) flow number is the oxygen flow intermediate value):
The first step: judge whether oxygen flow metrical instrument C (FT-101C) flow number is the intermediate value of three oxygen flow metrical instrument flow numbers:
Condition one: judge whether oxygen flow metrical instrument C (FT-101C) flow number 〉=oxygen flow metrical instrument A (FT-101A) flow number is whether true (ON) and oxygen flow metrical instrument C (FT-101C) flow number≤oxygen flow metrical instrument B (FT-101B) flow number is true (ON);
Condition two: judge whether oxygen flow metrical instrument C (FT-101C) flow number 〉=oxygen flow metrical instrument B (FT-101B) flow number is whether true (ON) and oxygen flow metrical instrument C (FT-101C) flow number≤oxygen flow metrical instrument A (FT-101A) flow number is true (ON);
1. above-mentioned condition one or condition two have arbitrary be true (ON), then oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument C (FT-101C) flow number, and oxygen flow intermediate value select procedure program directly carried out for second step;
Second step: oxygen flow intermediate value select procedure is the oxygen flow intermediate value according to comparing to determine oxygen flow metrical instrument C (FT-101C) flow number, oxygen flow metrical instrument C (FT-101C) flow number is composed to oxygen flow FY-101 (intermediate variable), and system program is read the numerical value of oxygen flow FY-101 (intermediate variable) and is carried out reference calculating;
2. above-mentioned condition one or condition two are not true (OFF), illustrate that then oxygen flow metrical instrument C (FT-101C) flow number is not the intermediate value of three oxygen flow metrical instrument flow numbers, oxygen flow intermediate value select procedure changes and to go rerun routine section one to circulate once more to carry out;
More than be the program process of oxygen flow intermediate value select procedure, no matter when have one to satisfy condition certainly in programsegment one, programsegment two, three or three programsegments of programsegment, select at that time oxygen flow intermediate value and remove to carry out reference and calculate.