Configuration realization system and realization method for fuel ball lifting time of high-temperature gas cooled reactor

文档序号:1833308 发布日期:2021-11-12 浏览:24次 中文

阅读说明:本技术 高温气冷堆燃料球提升时间的组态实现系统及实现方法 (Configuration realization system and realization method for fuel ball lifting time of high-temperature gas cooled reactor ) 是由 王琛 于洋 于 2021-08-11 设计创作,主要内容包括:本发明涉及高温气冷堆燃料球提升时间的组态实现系统及方法,包括:随时间的增加而前进的时间轴模块,用于读取燃料球提升设备动作反馈,获得反馈事件触发时间的反馈事件时间截取模块,用于读取燃料球提升设备动作指令,获得设备动作指令触发时间的动作指令事件时间截取模块,用于累计燃料球提升时间的时间累计模块。本发明针对高温气冷堆燃料球提升的特点,实现燃料球提升时间的计算,及时更新每一次燃料球的提升时间,可以用于实时显示,使运行人员及时掌握当前燃料装卸系统的运行状况。(The invention relates to a configuration realization system and a method for fuel ball lifting time of a high-temperature gas cooled reactor, which comprises the following steps: the device comprises a time axis module advancing along with the increase of time, a feedback event time intercepting module for reading the action feedback of the fuel ball lifting equipment and obtaining the triggering time of a feedback event, an action instruction event time intercepting module for reading the action instruction of the fuel ball lifting equipment and obtaining the triggering time of the equipment action instruction, and a time accumulating module for accumulating the lifting time of the fuel ball. The method and the device aim at the characteristic of fuel ball lifting of the high-temperature gas cooled reactor, realize calculation of fuel ball lifting time, update the lifting time of each fuel ball in time, and can be used for real-time display, so that operators can master the operation condition of the current fuel handling system in time.)

1. The configuration realization system of the fuel ball lifting time of the high-temperature gas cooled reactor is characterized by comprising the following components:

a timeline module for progressing with increasing time;

the action feedback event time intercepting module is used for reading action feedback of the fuel ball lifting equipment and obtaining equipment action feedback event trigger time;

the action instruction event time intercepting module is used for reading an action instruction of the fuel ball lifting equipment and obtaining equipment action instruction event triggering time;

and the time accumulation module is used for accumulating the lifting time of the fuel ball.

2. The system of claim 1, wherein the system is configured to achieve the lifting time of the fuel ball of the high temperature gas cooled reactor:

the time axis module comprises an HSRTC timer unit and a data conversion unit connected with the HSRTC timer unit, and the data conversion unit is connected with the feedback event time intercepting module.

3. The system of claim 2, wherein the system is configured to achieve the lifting time of the fuel ball of the high temperature gas cooled reactor:

the feedback event time interception module comprises a first AND gate unit, a second AND gate unit, a first OR gate unit, a first rising edge detection unit and a SUB unit, the device action feedback comprises two action feedbacks FK01 and FK02, wherein the first AND gate unit takes AND logic for the non-AND feedback FK01 of the feedback FK02, the second AND gate unit takes AND logic for the non-AND feedback FK02 of the action feedback FK01, the first OR gate unit takes OR logic for the outputs of the first and second AND gate units, the first rising edge detection unit is connected with the output of the first OR gate unit, the output of the first rising edge detection unit is connected with the first pin of the first analog quantity selection unit, the data conversion unit is connected with the third pin of the first analog quantity selection unit, the data conversion unit is connected with the SUB unit, the second pin of the first analog quantity selection unit is connected with the output of the first analog quantity selection unit, the output end of the first analog quantity selection unit is connected with the SUB unit.

4. The system of claim 3, wherein the system comprises:

the action instruction event time intercepting module comprises a third AND gate unit, a fourth AND gate unit, a second OR gate unit, a second rising edge detection unit and a second analog quantity selection unit; the device action command comprises two action commands ZL01 and ZL02, wherein the third and gate unit takes and logic of the negation command ZL01 of the command ZL02, the fourth and gate unit takes and logic of the negation action command ZL02 of the action command ZL01, the second or gate unit takes or logic of the outputs of the third and fourth and gate units, the second rising edge detection unit is connected with the output of the second or gate unit, the second rising edge detection unit is connected with the first pin of the second analog quantity selection unit, the second pin of the second analog quantity selection unit is connected with the output end of the second analog quantity selection unit, and the third pin of the second analog quantity selection unit is connected with the output end of the SUB unit.

5. The system of claim 4, wherein the system is configured to achieve the fuel ball lifting time of the high temperature gas cooled reactor:

the time accumulation module comprises a pulse width adjusting unit, a third analog quantity selecting unit, a fourth analog quantity selecting unit and a fifth analog quantity selecting unit, wherein the input end of the pulse width adjusting unit is connected with the output end of the second rising edge detecting unit, the output end of the pulse width adjusting unit is connected with a first pin of the third analog quantity selecting unit, a second pin of the third analog quantity selecting unit is connected with the output end of the SUB unit, a third pin of the third analog quantity selecting unit is connected with the output end of the second analog quantity selecting unit, the output end of the third analog quantity selecting unit is connected with a third pin of the fourth analog quantity selecting unit, a first pin of the fourth analog quantity selecting unit is associated with the number of balls to be lifted of the pipeline, the number of balls to be lifted of the pipeline is more than zero, the first pin of the fourth analog quantity selecting unit inputs 1, and the number of balls to be lifted of the pipeline is zero, the first pin of the fourth analog quantity selection unit inputs 0, the second pin of the fourth analog quantity selection unit is connected with the output end of the fourth analog quantity selection unit, the output end of the fourth analog quantity selection unit is connected with the second pin of the fifth analog quantity selection unit, the third pin of the fifth analog quantity selection unit inputs 0, the first pin of the fifth analog quantity selection unit is associated with the lifting time, the lifting time is greater than zero, the first pin of the fifth analog quantity selection unit inputs 1, and the lifting time is less than zero, the first pin of the fifth analog quantity selection unit inputs 0.

6. The configuration realization method of the fuel ball lifting time of the high-temperature gas cooled reactor is characterized by comprising the following steps:

building a time axis, wherein the time axis advances along with the increase of time;

acquiring action feedback events of fuel ball lifting, performing logic operation on two action feedbacks to enable any action feedback event to occur as action feedback event triggering, and intercepting the time of action feedback event triggering;

acquiring action instruction events of fuel ball lifting, carrying out logic operation on two action instructions to enable any action instruction event to be triggered as an action instruction feedback event, intercepting the time triggered by an equipment action instruction, and obtaining the time between the last action and the current action instruction, namely the lifting time of the lifting ball.

7. The method of claim 6, wherein the method comprises:

a time axis is built by using the HSRTC timer unit and the data conversion unit DWORD _ TO _ REAL, and the time axis is added with 1 per second.

8. The method of claim 7, wherein the method further comprises:

when two action feedbacks are logically operated, two action feedback events are marked by FK01 and FK02, the NOT of FK01 and FK02 is taken as an AND logic, the NOT of FK02 and FK01 is taken as an AND logic, and the two logics are further taken as an OR logic, and the event of the equipment action feedback is obtained;

when the logic operation is carried out on the two action instruction time, ZL01 and ZL02 are used for marking two action instruction events, namely the 'not' taking 'and' logic of ZL01 and ZL02, the 'not' taking 'AND' logic of ZL02 and ZL01 and the two logics further take the 'OR' logic to obtain the event of the equipment action instruction.

9. The method of claim 8, wherein the method further comprises:

capturing the time triggered by the equipment action feedback event by using a first rising edge detection unit R _ TRIG and a first analog quantity selection unit SEL group; setting the device action feedback as a level signal, as long as the device action is finished, keeping the action feedback signal TO be 1 before the next action of the device, using a first rising edge detection unit R _ TRIG when carrying out logic configuration, when the device action feedback is triggered, outputting a pulse with the width of a scanning period by the first rising edge detection unit R _ TRIG, setting the first pin of a first analog quantity selection unit SEL TO be 1, outputting the first analog quantity selection unit SEL as the input of a third pin, namely the output of a data conversion unit DWORD _ TO _ REAL, setting two input pins of a SUB unit DWORD _ TO _ REAL as the output of the data conversion unit DWORD _ TO _ REAL, so that the output after subtraction is 0, setting the first pin of the first analog quantity selection unit SEL TO be 0 in the next scanning period, outputting the first analog quantity selection unit SEL as the input of a second pin, namely the output of the first analog quantity selection unit SEL, the output value is always kept as the time value triggered by the device motion feedback event, the output of the first analog quantity selection unit SEL will not change until the next device motion feedback event triggers the output of the first analog quantity selection unit SEL, and 1 is added TO the output of the data conversion unit DWORD _ TO _ REAL every second, so that the output of SUB will be increased by 1 every second from 0 after the device motion feedback event triggers.

10. The method of claim 9, wherein the method further comprises:

the time triggered by the equipment action instruction event is intercepted by using a second rising edge detection unit R _ TRIG and a second analog quantity selection unit SEL, the equipment action instruction is set as a short pulse signal, after the equipment action instruction is triggered, the second rising edge detection unit R _ TRIG outputs a pulse with the width of a scanning period, at the moment, the first pin of the second analog quantity selection unit SEL is set to be 1, the output of the second analog quantity selection unit SEL is the input of a third pin, namely the output of the SUB unit, at the moment, the accumulated seconds of the output of the SUB unit along with the advance of a time axis are intercepted by the event, and the output is the time between the last time of the equipment action and the current action instruction; in the next scanning period, the first pin of the second analog quantity selection unit SEL is set to be 0, the output of the second analog quantity selection unit SEL is the input of the second pin, namely the output of the second analog quantity selection unit SEL, the output value is always kept as the time between the last action of the equipment and the action instruction at this time, and the output of the second analog quantity selection unit SEL cannot be changed until the next action instruction event of the equipment triggers the output of the second analog quantity selection unit SEL.

11. The method of claim 10, wherein the method further comprises:

during time accumulation, a pulse width adjusting unit TP is used for expanding a device action instruction event into a pulse with a width t, a third analog quantity selecting unit SEL is triggered by the instruction, after the device action instruction event is triggered, the first pin of the third analog quantity selecting unit SEL is set to be 1, the output of the third analog quantity selecting unit SEL is the input value of the third pin, namely the time between the last action of the device and the action instruction of the current time, after the device action instruction event is triggered, the output of the pulse width adjusting unit TP is set to be 0, the first pin of the third analog quantity selecting unit SEL is set to be 0, the output of the third analog quantity selecting unit SEL is the input value of the second pin, namely the output of a SUB unit, the value is the value of a time axis intercepted by the device action feedback event, the value is increased until the device action instruction event is triggered, the value can become a fixed value, and along with the lifting of each ball, this process will continue to loop;

when the fuel ball lifting stops running, in order that the time value is not accumulated any more, when the number of balls to be lifted in the pipeline is less than or equal to 0, the output of the fourth analog quantity selection unit SEL is the last ball lifting time and keeps unchanged, and when the number of balls to be lifted in the pipeline is greater than 0, the output of the fourth analog quantity selection unit SEL is the calculated value of the previous logic and is accumulated; using the fifth analog quantity selection unit SEL, when the lifting time is less than 0, the output of the fifth analog quantity selection unit SEL is 0, when the lifting time is greater than or equal to 0, the output of the fifth analog quantity selection unit SEL is the logic calculation value of the fourth analog quantity selection unit SEL.

Technical Field

The invention relates to the field of high-temperature gas cooled reactors, in particular to a configuration implementation system and an implementation method for fuel ball lifting time of a high-temperature gas cooled reactor.

Background

At present, the loading and unloading functions of an actuating element (fuel ball) of a fuel loading and unloading system are important and complex systems in a high-temperature gas cooled reactor, the technological process of an unloading main cycle is also a core system of the fuel loading and unloading system, and the control quality of the whole system for loading and unloading fuel is determined by the control effect of the unloading main cycle.

The lifting time of the pipeline lifting ball in the unloading main cycle is an important variable, and when the fuel loading and unloading system is subjected to a pre-test, a tester looks up the time of the successive action of the equipment by looking up the trend, and then the difference between the two times is taken for calculation. The existing fuel handling system needs to lift thousands of fuel balls every day, and the error is easy to occur when the manual calculation method is used for calculation, and the large workload is brought to the working personnel. And because the quantity of the fuel balls is large, the time is compact, the operator cannot quickly master the lifting time of the fuel balls each time, and cannot quickly judge the lifting function of the fuel handling system, so that the problem of lifting calculation of the fuel balls of the high-temperature gas cooled reactor is urgently needed to be solved.

Disclosure of Invention

The invention aims at the problems and provides a configuration realization system and a realization method of the fuel ball lifting time of the high-temperature gas cooled reactor.

The invention provides the following technical scheme: the configuration realization system of the fuel ball lifting time of the high-temperature gas cooled reactor is characterized by comprising the following components: a timeline module that advances with increasing time; the feedback event time intercepting module is used for reading action feedback of the fuel ball lifting equipment and obtaining feedback event triggering time; the action instruction event time intercepting module is used for reading the action instruction of the fuel ball lifting equipment and obtaining the trigger time of the equipment action instruction; and the time accumulation module is used for accumulating the lifting time of the fuel ball. The time axis module is used for providing time, the time axis is increased by one per second and advances along with the increase of the time, and the time axis is not influenced by event change.

During the fuel ball lifting process, the ball sending equipment acts according to a counter at the top of the lifting pipe section, and when the counter detects that the fuel ball passes through, the ball sending equipment rotates to send a fuel ball to the lifting pipe section and send the fuel ball to the top of the lifting pipe section through pneumatic blowing. Therefore, the time interval between two device actions is the total lifting time of the fuel ball, two events T1 and T2 of device action feedback and device action command are taken, the two events T1 and T2 respectively cut off the time axis once, and the two time differences are the lifting time of the fuel ball. The schematic diagram is shown in fig. 3. The time difference between the commands T0 to T2 of two machine actions or the feedbacks T1 to T3 of two machine actions is actually the time of the ball-passing lift. However, if both events are commanded or fed back, the same point is in the logic configuration, so the captured time axis is the same time, i.e. it is desirable to take the time from T0 to T2 and actually take the time from T0 to T0, the time difference between the two events cannot be obtained, and since the time from T0 to T1 is very short, the two event intervals of the device action feedback and the device action command are used in the configuration logic.

The time axis module includes an HSRTC timer unit and a data conversion unit DWORD _ TO _ REAL connected TO the HSRTC timer unit. The DWORD _ TO _ REAL functional block is used for converting the DWORD _ TO _ REAL functional block into a counter counting according TO seconds, and the data conversion unit is connected with the feedback event time intercepting module, namely the HSRTC and the data conversion unit DWORD _ TO _ REAL are used for building a time axis.

The feedback event time intercepting module comprises a first AND gate unit, a second AND gate unit, a first OR gate unit, a first rising edge detection unit and a SUB unit, the device action feedback comprises two action feedbacks FK01 and FK02, the ball lifting device has 2 action modes, namely positive rotation 180 degrees and negative rotation 180 degrees, and the two actions have the same result and are used for conveying one element, namely a fuel ball; but each action of the device is required to be opposite to the direction of the last action, wherein FK01 is forward rotation completion feedback, FK02 is reverse rotation completion feedback, and the reference numbers of the two feedbacks can be interchanged, and are only used for marking the two feedbacks; the first AND gate unit takes AND logic for the NOT AND feedback FK01 of the feedback FK02, the second AND gate unit takes AND logic for the NOT AND action feedback FK02 of the action feedback FK01, the first OR gate unit takes OR logic for the outputs of the first and second AND gate units, the first rising edge detection unit is connected with the output of the first OR gate unit, the output end of the first rising edge detection unit is connected with the first pin of the first analog quantity selection unit, the data conversion unit is connected with the third pin of the first analog quantity selection unit, the data conversion unit is connected with the SUB unit, the second pin of the first analog quantity selection unit is connected with the output end of the first analog quantity selection unit, and the output end of the first analog quantity selection unit is connected with the SUB unit. The use of the "not" and "logic of FK01 and FK02, the" not "and" logic of FK02 and FK01, and the two logic re-or "logic, results in a device action feedback event, after which FK01 and FK02 will and will only trigger one of them, but which trigger is determined by the command, so both cases of FK01 triggering or FK02 triggering are considered for the purpose of taking an action feedback event. And because the device triggers both FK01 and FK02 under the condition of triggering other instructions, the other feedback is used for locking in a mode of taking 'not' in the two conditions, and the condition that the device does not act and intercepts the time axis is avoided.

The action instruction event time intercepting module comprises a third AND gate unit, a fourth AND gate unit, a second OR gate unit, a second rising edge detection unit and a second analog quantity selection unit; the device action commands comprise two action commands ZL01 and ZL02, ZL01 is a forward action command, ZL02 is a reverse action command, the labels of the two commands can be interchanged, and only the two action commands are used for labeling, wherein a third and gate unit performs and logic on a non-sum command ZL01 of the command ZL02, a fourth and gate unit performs and logic on a non-sum command ZL02 of the action command ZL01, a second or gate unit performs or logic on the outputs of the third and fourth and gate units, a second rising edge detection unit is connected with the output of a second or gate unit, a second rising edge detection unit is connected with a first pin of a second analog quantity selection unit, a second pin of the second analog quantity selection unit is connected with the output end of a second analog quantity selection unit, and a third pin of the second analog quantity selection unit is connected with the output end of a SUB unit, and subtraction processing is performed on the SUB unit; the event of the device action instruction is obtained by using the 'not' taking 'and' logic of ZL01 and ZL02, the 'not' taking 'and' logic of ZL02 and ZL01 and the 'or' logic of the two logics, wherein after the device sends the instruction, the ZL01 and ZL02 trigger only one of the logics, but the triggering is random, so that the two cases of ZL01 triggering or ZL02 triggering are considered for taking the action instruction event. And because the device is triggered by two instructions of ZL01 and ZL02 under the condition of other action modes, the device is locked by adopting a mode of taking the other instruction as 'NOT' in both the conditions, and the condition that the device does not act and intercepts the time axis is avoided.

The time accumulation module comprises a pulse width adjusting unit, a third analog quantity selecting unit, a fourth analog quantity selecting unit and a fifth analog quantity selecting unit, wherein the input end of the pulse width adjusting unit is connected with the output end of the second rising edge detecting unit, the output end of the pulse width adjusting unit is connected with a first pin of the third analog quantity selecting unit, a second pin of the third analog quantity selecting unit is connected with the output end of the SUB unit, a third pin of the third analog quantity selecting unit is connected with the output end of the second analog quantity selecting unit, the output end of the third analog quantity selecting unit is connected with a third pin of the fourth analog quantity selecting unit, a first pin of the fourth analog quantity selecting unit is associated with the number of balls to be lifted of the pipeline, the number of balls to be lifted of the pipeline is more than zero, the first pin of the fourth analog quantity selecting unit inputs 1, and the number of balls to be lifted of the pipeline is zero, the first pin of the fourth analog quantity selection unit inputs 0, the second pin of the fourth analog quantity selection unit is connected with the output end of the fourth analog quantity selection unit, the output end of the fourth analog quantity selection unit is connected with the second pin of the fifth analog quantity selection unit, the third pin of the fifth analog quantity selection unit inputs 0, the first pin of the fifth analog quantity selection unit is associated with the lifting time, the lifting time is greater than zero, the first pin of the fifth analog quantity selection unit inputs 1, and the lifting time is less than zero, the first pin of the fifth analog quantity selection unit inputs 0; when the number of balls to be lifted in the pipeline is equal to 0, the output of the fourth analog quantity selection unit is the time of last ball lifting and is kept unchanged. When the number of balls to be lifted in the pipeline is more than 0, the output of the fourth analog quantity selection unit is a calculated value of the front logic, and the time is accumulated; and using a fifth analog quantity selection unit, wherein the output of the fifth analog quantity selection unit is 0 when the lifting time is less than 0, and the output of the fifth analog quantity selection unit is the output logic calculation value of the fourth analog quantity selection unit when the lifting time is greater than or equal to 0.

The method for realizing the configuration of the fuel ball lifting time of the high-temperature gas cooled reactor includes the steps of building a time axis, wherein the time axis advances along with the increase of time; acquiring action feedback events of fuel ball lifting, performing logic operation on two action feedbacks to enable any one action feedback event to occur as action feedback event trigger, and intercepting the time of action feedback event trigger; acquiring action instruction events of fuel ball lifting, carrying out logic operation on two action instruction times to enable any action instruction event to be triggered as an action instruction feedback event, intercepting the time triggered by the equipment action instruction time, and acquiring the time between last action feedback to the action, namely the lifting time of the lifting ball.

A time axis is built by using the HSRTC timer unit and the data conversion unit DWORD _ TO _ REAL, and the time axis is added by 1 per second and is not influenced by events such as action feedback, action instructions and the like.

When two action feedbacks are logically operated, two action feedback events are marked by FK01 and FK02, the NOT of FK01 and FK02 is taken as an AND logic, the NOT of FK02 and FK01 is taken as an AND logic, and the two logics are further taken as an OR logic, and the event of the equipment action feedback is obtained; when the logic operation is carried out on the two action instruction time, ZL01 and ZL02 are used for marking two action instruction events, namely the 'not' taking 'and' logic of ZL01 and ZL02, the 'not' taking 'AND' logic of ZL02 and ZL01 and the two logics further take the 'OR' logic to obtain the event of the equipment action instruction. The action feedback event and the action command event can trigger only one of the events, but the triggering is determined by the command, so that the situation of triggering any one event is considered; and because the equipment is triggered by two feedback events or action command events under the condition of other action modes, the locking is carried out in a 'not' mode, and the condition that the equipment does not act and intercepts the time axis is avoided.

Capturing the time triggered by the equipment action feedback event by using a first rising edge detection unit R _ TRIG and a first analog quantity selection unit SEL group; the method comprises the steps of setting equipment action feedback as a level signal, keeping the action feedback signal to be 1 before the next action of the equipment as long as the action of the equipment is finished, using a first rising edge detection unit R _ TRIG during logic configuration, outputting a pulse with a scanning period width by the first rising edge detection unit R _ TRIG after the action feedback of the equipment is triggered, wherein the scanning period width of the scheme refers to a built-in scanning period of a DCS (distributed control system), namely the time for completely scanning all DCS logics once from beginning to end, is default to 50ms, but the time may be increased along with the increase of the logic quantity. The meaning of using a scan cycle width here is to ensure that the DCS only performs this logic once, and that the output of the R _ TRIG has become 0 at the time of the second scan. When the first rising edge detection unit R _ TRIG outputs a pulse with a scanning period width, at this time, the first pin of the first analog quantity selection unit SEL is set TO 1, the output of the first analog quantity selection unit SEL is the input of the third pin, namely, the output of the data conversion unit DWORD _ TO _ REAL, and the two input pins of the SUB unit are both the outputs of the data conversion unit DWORD _ TO _ REAL, so that the output after subtraction is 0, the first pin of the first analog quantity selection unit SEL is set TO 0 in the next scanning period, the output of the first analog quantity selection unit SEL is the input of the second pin, namely, the output of the first analog quantity selection unit SEL, the output value is always kept as the time value triggered by the device action feedback event, the output of the first analog quantity selection unit SEL is not changed until the next device action feedback event triggers the output of the first analog quantity selection unit SEL, and the output of the data conversion unit DWORD _ TO _ REAL is added with 1 every second, the output of SUB will increase by 1 every second starting from 0 after the device action feedback event is triggered.

The time of triggering the equipment action instruction event is intercepted by using a second rising edge detection unit R _ TRIG and a second analog quantity selection unit SEL, the equipment action instruction is set to be a short pulse signal, when the equipment action instruction is triggered during logic configuration, the second rising edge detection unit R _ TRIG outputs a pulse with the width of a scanning period, at the moment, the first pin of the second analog quantity selection unit SEL is set to be 1, the output of the second analog quantity selection unit SEL is the input of the third pin, namely the output of the SUB unit, at the moment, the accumulated seconds of the output of the SUB unit along with the advance of a time axis are intercepted by the event, and the output is the time between the last time of the equipment action and the current action instruction; in the next scanning period, the first pin of the second analog quantity selection unit SEL is set to be 0, the output of the second analog quantity selection unit SEL is the input of the second pin, namely the output of the second analog quantity selection unit SEL, the output value is always kept as the time between the last action of the equipment and the action instruction at this time, and the output of the second analog quantity selection unit SEL cannot be changed until the next action instruction event of the equipment triggers the output of the second analog quantity selection unit SEL.

During time accumulation, a pulse width adjusting unit TP is used for expanding a device action instruction event into a pulse with the width t, a third analog quantity selecting unit SEL is triggered by the instruction, after the device action instruction event is triggered, the first pin of the third analog quantity selecting unit SEL is set to be 1, the output of the third analog quantity selecting unit SEL is the input value of the third pin, namely the time between the last action of the device and the action instruction of the current time, after the device action instruction event is triggered, the output of the pulse width adjusting unit TP is set to be 0, the first pin of the third analog quantity selecting unit SEL is set to be 0, the output of the third analog quantity selecting unit SEL is the input value of the second pin, namely the output of a SUB unit, the value is the value of a time axis intercepted by the device action feedback event, the value is increased until the device action instruction event is triggered, the value can become a fixed value, and along with the lifting of each ball, this process is continuously looping.

When the fuel ball lifting stops running, in order that the time value is not accumulated any more, when the number of balls to be lifted in the pipeline is less than or equal to 0, the output of the fourth analog quantity selection unit SEL is the last ball lifting time and keeps unchanged, and when the number of balls to be lifted in the pipeline is greater than 0, the output of the fourth analog quantity selection unit SEL is the calculated value of the previous logic and is accumulated; using the fifth analog quantity selection unit SEL, when the lifting time is less than 0, the output of the fifth analog quantity selection unit SEL is 0, when the lifting time is greater than or equal to 0, the output of the fifth analog quantity selection unit SEL is the logic calculation value of the fourth analog quantity selection unit SEL.

As can be seen from the above description, the lifting time of the fuel ball at each time can be calculated and displayed in the picture, and the lifting time of the fuel ball at each time can be updated in time, so that the operator can master the operation state of the current fuel loading and unloading system in time.

Drawings

Fig. 1 is a schematic diagram of a lifting process according to an embodiment of the present invention.

Fig. 2 is a logic configuration diagram according to an embodiment of the present invention.

FIG. 3 is a logic configuration diagram according to an embodiment of the present invention.

FIG. 4 is a logic diagram of a feedback event time intercept module according to an embodiment of the present invention.

FIG. 5 is a logic diagram of an action command event time intercept module according to an embodiment of the present invention.

FIG. 6 shows the logic of the time accumulation module according to one embodiment of the present invention.

FIG. 7 is a timing diagram of the pulse width modulation unit according to an embodiment of the present invention.

FIG. 8 is a timing diagram of a rising edge detection unit according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only one embodiment of the present invention, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the detailed description of the invention without inventive step are within the scope of the invention.

The invention provides a configuration realization system for fuel ball lifting time of a high-temperature gas cooled reactor, which comprises: a timeline module that advances with increasing time, the timeline module including an HSRTC timer unit; the data conversion unit DWORD _ TO _ REAL is connected with the HSRTC timer unit and is connected with the feedback event time intercepting module, the HSRTC unit reads the system time in the processor DPU and converts the system time into the count accumulated per second, and the accumulated value is converted into an REAL type variable through DWORD _ TO _ REAL. The device comprises a feedback event time intercepting module, an action instruction event time intercepting module and a time accumulating module, wherein the feedback event time intercepting module is used for reading action feedback of the fuel ball lifting equipment and obtaining the trigger time of a feedback event, the action instruction event time intercepting module is used for reading an action instruction of the fuel ball lifting equipment and obtaining the trigger time of the equipment action instruction, and the time accumulating module is used for accumulating the lifting time of the fuel ball.

The feedback event time clipping module includes a first and gate unit 32, a second and gate unit 33, a first or gate unit 34, a first rising edge detection unit 35, a SUB unit 37, the device action feedback includes two action feedbacks FK01 and FK02, wherein the first and gate unit 32 takes and logic the non-sum feedback FK01 of the feedback FK02, the second and gate unit 33 takes and logic the non-sum action feedback FK02 of the action feedback FK01, the first or gate unit 34 takes or logic the outputs of the first and second and gate units, the first rising edge detection unit 35 is connected with the output of the first or gate unit 34, the output of the first rising edge detection unit 34 is connected with the first pin of the first analog quantity selection unit 36, the data conversion unit 31 is connected with the third pin of the first analog quantity selection unit 36, the data conversion unit 31 is connected with the SUB unit 37, the second pin of the first analog quantity selection unit 36 is connected with the output of the first analog quantity selection unit 36, the output of the first analog selection unit 36 is connected to a SUB unit 37.

The action command event time intercepting module comprises a third AND gate unit 26, a fourth AND gate unit 27, a second OR gate unit 28, a second rising edge detection unit 29 and a second analog quantity selection unit 38; the device action command includes two action commands ZL01 and ZL02, wherein the third and gate unit 26 takes and logic of the negation and feedback ZL01 of the feedback ZL02, the fourth and gate unit 27 takes and logic of the negation and action feedback ZL02 of the action feedback ZL01, the second or gate unit 28 takes or logic of the outputs of the third and fourth and gate units 27, the second rising edge detection unit 29 is connected to the output of the second or gate unit 28, the second rising edge detection unit 29 is connected to the first pin of the second analog quantity selection unit 38, the second pin of the second analog quantity selection unit 38 is connected to the output terminal of the second analog quantity selection unit 38, and the third pin of the second analog quantity selection unit 38 is connected to the output terminal of the SUB unit 37.

The time accumulation module comprises a pulse width adjusting unit 30, a third analog quantity selecting unit 39, a fourth analog quantity selecting unit 40 and a fifth analog quantity selecting unit 41, wherein the input end of the pulse width adjusting unit 30 is connected with the output end of the second rising edge detecting unit 29, the output end of the pulse width adjusting unit 30 is connected with the first pin of the third analog quantity selecting unit 39, the second pin of the third analog quantity selecting unit 39 is connected with the output end of the SUB unit 37, the third pin of the third analog quantity selecting unit 39 is connected with the output end of the second analog quantity selecting unit 38, the output end of the third analog quantity selecting unit 39 is connected with the third pin of the fourth analog quantity selecting unit 40, the first pin of the fourth analog quantity selecting unit 40 is related with the number of balls to be lifted of the pipeline, the number of balls to be lifted of the pipeline is more than zero, then the first pin of the fourth analog quantity selecting unit 40 is input with 1, if the number of balls to be lifted of the pipeline is zero, the first pin of the fourth analog quantity selection unit 40 inputs 0, the second pin of the fourth analog quantity selection unit 40 is connected with the output end of the fourth analog quantity selection unit 40, the output end of the fourth analog quantity selection unit 40 is connected with the second pin of the fifth analog quantity selection unit 41, the third pin input of the fifth analog quantity selection unit 41 is 0, the first pin of the fifth analog quantity selection unit 41 is associated with the lifting time, the lifting time is less than zero, the first pin of the fifth analog quantity selection unit 41 inputs 1, the lifting time is greater than or equal to zero, and the first pin of the fifth analog quantity selection unit 41 inputs 0;

IN this embodiment, when the input pin IN is triggered to be 1, the output pin Q outputs a pulse with a width of PT time length, as shown IN fig. 6; after the rising edge detection unit detects the rising edge, it will output a pulse with a scanning period width, as shown in fig. 7; the first pin of the analog quantity selection unit is a switching value, the second and the third input pins are analog quantities, the output is an analog quantity, and when the first pin is 0, the output is the value of the second pin; when the first pin is 1, the output is the value of the third pin.

Firstly, a time axis is built, and the time axis advances along with the increase of time; acquiring action feedback events of fuel ball lifting, performing logic operation on two action feedbacks to enable any one action feedback event to occur as action feedback event trigger, and intercepting the time of action feedback event trigger; acquiring action instruction events of fuel ball lifting, carrying out logic operation on two action instruction times to enable any action instruction event to be triggered as an action instruction feedback event, intercepting the time triggered by the equipment action instruction time, and acquiring the time between last action feedback to the action, namely the lifting time of the lifting ball.

When the time shaft is built, the HSRTC timer unit and the data conversion unit DWORD _ TO _ REAL are used for building the time shaft, 1 is added TO the time shaft every second, the HSRTC timer unit reads system time and converts the system time into counts accumulated according TO seconds, and the accumulated values are converted into REAL type variables through DWORD _ TO _ REAL.

When two action feedbacks are logically operated, two action feedback events are marked by FK01 and FK02, the NOT of FK01 and FK02 is taken as an AND logic, the NOT of FK02 and FK01 is taken as an AND logic, and the two logics are further taken as an OR logic, and the event of the equipment action feedback is obtained; capturing the time triggered by the equipment action feedback event by using a first rising edge detection unit R _ TRIG and a first analog quantity selection unit SEL group; setting the device action feedback as a level signal, as long as the device action is finished, keeping the action feedback signal TO be 1 before the next action of the device, using a first rising edge detection unit R _ TRIG when carrying out logic configuration, when the device action feedback is triggered, outputting a pulse with the width of a scanning period by the first rising edge detection unit R _ TRIG, setting the first pin of a first analog quantity selection unit SEL TO be 1, outputting the first analog quantity selection unit SEL as the input of a third pin, namely the output of a data conversion unit DWORD _ TO _ REAL, setting two input pins of a SUB unit DWORD _ TO _ REAL as the output of the data conversion unit DWORD _ TO _ REAL, so that the output after subtraction is 0, setting the first pin of the first analog quantity selection unit SEL TO be 0 in the next scanning period, outputting the first analog quantity selection unit SEL as the input of a second pin, namely the output of the first analog quantity selection unit SEL, the output value is always kept as the time value triggered by the device motion feedback event, the output of the first analog quantity selection unit SEL will not change until the next device motion feedback event triggers the output of the first analog quantity selection unit SEL, and 1 is added TO the output of the data conversion unit DWORD _ TO _ REAL every second, so that the output of SUB will be increased by 1 every second from 0 after the device motion feedback event triggers.

When the logic operation is carried out on the two action instruction time, ZL01 and ZL02 are used for marking two action instruction events, namely the 'not' taking 'and' logic of ZL01 and ZL02, the 'not' taking 'AND' logic of ZL02 and ZL01 and the two logics further take the 'OR' logic to obtain the event of the equipment action instruction. The second rising edge detection unit R _ TRIG and the second analog quantity selection unit SEL are used for intercepting the triggering time of the equipment action instruction event, the equipment action instruction is set to be a short pulse signal, and after the equipment action instruction is triggered, the second rising edge detection unit R _ TRIG outputs a pulse with a scanning period width, wherein in the specific embodiment, one scanning period width is 50 ms; at this time, the first pin of the second analog quantity selection unit SEL is set to be 1, the output of the second analog quantity selection unit SEL is the input of the third pin, namely the output of the SUB unit, at this time, the accumulated seconds of the output of the SUB unit along with the advance of a time shaft are cut off by an event, and the output is the time between the last action of the equipment and the current action instruction; in the next scanning period, the first pin of the second analog quantity selection unit SEL is set to be 0, the output of the second analog quantity selection unit SEL is the input of the second pin, namely the output of the second analog quantity selection unit SEL, the output value is always kept as the time between the last action of the equipment and the action instruction at this time, and the output of the second analog quantity selection unit SEL cannot be changed until the next action instruction event of the equipment triggers the output of the second analog quantity selection unit SEL.

When the time accumulation is carried out, the pulse width adjusting unit TP is used to expand the device action instruction event into a pulse with the width t, in the embodiment, t is set to be 11s, the instruction is used to trigger a third analog quantity selecting unit SEL, after the device action instruction event is triggered, the first pin of the third analog quantity selecting unit SEL is set to be 1, the output of the third analog quantity selecting unit SEL is the input value of the third pin, namely the time between the last action of the device and the action instruction of the current time, when the picture is displayed, a fixed value is displayed in the picture for a tester to record, the output of the pulse width adjusting unit TP after the time t is set to be 0, the first pin of the third analog quantity selecting unit SEL is set to be 0, the output of the third analog quantity selecting unit SEL is the input value of the second pin, namely the output of the SUB unit, and the value is the value of the device action feedback event intercepting time axis, this point in the frame will show a cumulative change from a small value that increases until the device action command event triggers, which will become a fixed value, and this process will cycle as each ball is lifted.

When the fuel ball lifting stops running, in order to prevent the time value from being accumulated, namely, in order to prevent the value from being accumulated and displayed in the picture, when the number of balls to be lifted in the pipeline is less than or equal to 0, the output of the fourth analog quantity selection unit SEL is the last ball lifting time and keeps unchanged, when the number of balls to be lifted in the pipeline is greater than 0, the output of the fourth analog quantity selection unit SEL is a calculated value of the previous logic and is accumulated, and the point in the picture is gradually increased; the lifting time cannot be a negative value, so a fifth analog quantity selection unit SEL is used, when the lifting time is less than 0, the output of the fifth analog quantity selection unit SEL is 0, and when the lifting time is more than or equal to 0, the output of the fifth analog quantity selection unit SEL is a logic calculation value of the fourth analog quantity selection unit SEL.

Although particular embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these particular embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:—种核电站水下异物吸取装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类