Pre-inspection and process inspection method in step sequence for sequence control

By introducing a secondary step in the sequential control step for pre-checking and process inspection, the problem that the existing technology cannot monitor the equipment status in real time is solved, real-time monitoring of the equipment status and timely prevention of abnormal risks are achieved, and the safety of equipment operations is improved.

CN119937506APending Publication Date: 2025-05-06AIHUA (WUXI) SEMICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411928736.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In electrical automation control, the prior art cannot monitor the status of the equipment in real time, resulting in the equipment being unable to detect in time due to human operation, sensor damage or other abnormal situations before performing the steps, which increases the control risk.

Method used

A pre-checking and process inspection method for sequential control is adopted to determine the equipment working mode, pre-checking of faults, fault checking during operation and ending conditions by assigning secondary steps to ensure that the equipment status is monitored in real time before and during each step.

Benefits of technology

By pre-expecting abnormalities and real-time monitoring of the equipment status, we can predict risks before the action is executed, prevent abnormalities from occurring, stop abnormal actions in time, and improve the safety of equipment actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937506A_ABST
    Figure CN119937506A_ABST
Patent Text Reader

Abstract

The invention relates to the field of electronic information, in particular to a method for pre-checking and process checking in a step sequence for sequence control, which comprises the following steps of: S1, distributing a second-level step sequence StpNumSub to each step sequence for sequence control, such as a first-level step sequence StpNum, and initializing the second-level step sequence StpNumSub; and S2, the second-stage step sequence StpNumSub firstly comprises judgment of the working mode of the equipment. Abnormal check is carried out in advance, whether the to-be-executed task in the step has risks or not is pre-judged before action execution, and precautions can be taken in advance; according to the method, action permissions can be uniformly set for actions of all hardware associated with each step sequence, so that when an exception is found, the actions of all the associated hardware can be stopped in time, and the safety of equipment is ensured; and during execution of the task set in each step sequence, monitoring the state of the equipment in real time, judging an abnormal risk, and stopping task execution at the first time when the abnormality occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electronic information technology, and in particular is a method for pre-checking and process checking in a sequence of sequential control. Background Art

[0002] In the application of electrical automation control, the action process of components is usually controlled by sequential control. The equipment components will perform related action tasks step by step according to the transfer conditions of the step sequence. In the past, when processing the steps of sequential control, only the tasks to be executed and the transfer conditions were controlled. Before and during the execution, the equipment status could not be monitored in real time. It was an open-loop control with certain control risks. Before the device executes this step, there is human operation, resulting in position changes; before the device executes this step, a sensor or module is damaged and cannot provide normal feedback; during the execution of this step, the fixed cylinder becomes loose, etc. Because the device status cannot be detected in real time, it may not be discovered until a major abnormality occurs; this method requires that the device status be determined before the step executes the task, and the device status is also determined in real time during the execution of the task, which can effectively improve the safety of component actions.

[0003] To this end, the present invention provides a method for pre-checking and process checking within a sequence of sequential control. Summary of the invention

[0004] In order to make up for the deficiencies of the prior art, at least one technical problem raised in the background technology is solved.

[0005] The technical solution adopted by the present invention to solve the technical problem is: a pre-check and process check method for a step of sequential control according to the present invention comprises the following steps: S1. For each step of the sequential control, such as the first-level step: StpNum, assign the second-level step StpNumSub and initialize it; S2, the second-level step StpNumSub first includes the determination of the device working mode; S3, the second-level step StpNumSub secondly includes a preliminary check of the fault; S4, the second-level step StpNumSub again includes a fault check during the action; S5. The second-level step StpNumSub finally includes the end condition judgment for the jump connection of the first-level step StpNum.

[0006] Preferably, S1 further comprises the following steps: S11. In each step of the first-level step sequence StpNum, the second-level step sequence StpNumSub is used to determine the fault, operating condition and jump condition; S12, the inputs required for the secondary step are: equipment working mode SysSta, current primary step number StpNum_In, to-be-jumped primary step number group StpNumSet, advance check judgment group AdvChk, process check judgment group ActChk, action completion condition group DonFac, etc.; S13, it contains the outputs: current first-level step number StpNum_Ot, check abnormal alarm output Err, action execution permission ActEn, etc.; S14. When the first-level step sequence is switched (StpNum switches from StpNum=Numm to StpNum=Numn), the second-level step sequence will be initialized, and the second-level step sequence will be cleared to StpNumSub = 0; the current first-level step sequence number output is initialized to the current input step sequence StpNum_Ot=StpNum_In; S15, clear abnormal alarm output Err = null; reset action execution permission ActEn = false.

[0007] Preferably, S2 further comprises the following steps: After the first-level sequence enters the specific step StpNum=Numn, the entire execution process of the second-level step StpNumSub will determine the device working mode. Only when the working mode is a mode in which the action can be executed will the second-level sequence continue to be executed. Otherwise, the second-level sequence will be initialized, and the first-level sequence cannot receive the action execution permission output by the second-level step, and the device cannot act.

[0008] Preferably, S3 further comprises the following steps: After entering the secondary step StpNumSub, StpNumSub=Numa, all members in the pre-check judgment group AdvChk will be judged first; when AdvChk[n] is judged as abnormal, the abnormal alarm output Err[n] of the corresponding number will be output as true, that is, Err[n]=true, and the secondary step will not output the action execution permission, that is, ActEn=false, and the secondary step will stop executing downward and initialize; when all members of AdvChk are judged to be normal, the action execution permission is output, that is, ActEn=true, and the secondary step will execute downward. At this time, the first step StpNum=Numn receives the action execution permission output by the second step, and the device starts to execute the action of this step.

[0009] Preferably, S4 further comprises the following steps: During the execution of the secondary step StpNumSub, StpNumSub=Numb, and the device is executing the process action set by this primary step StpNum=Numn; during the entire process of executing this process action, all members of the process check judgment group ActChk will be judged; if ActChk[n] is judged as abnormal, the abnormal alarm output Err[n] of the corresponding number will be output as true, that is, Err[n]=true, and the secondary step resets the output of the action execution permission, that is, ActEn=false. At this time, the execution permission received by the primary step is reset, the execution of the process action is stopped, the secondary step stops executing downward, and is initialized; if all members of AdvChk are judged to be normal, the output action execution permission is maintained, that is, ActEn=true. At this time, the primary step receives the action execution permission output by the secondary step, and the device continues to execute the action of this step.

[0010] Preferably, S5 further comprises the following steps: During the execution of the secondary step StpNumSub, StpNumSub=Numb, and in the process action set by the current primary step StpNum=Numn, all members in the action completion condition group DonFac are judged. If it is determined that the current operating state meets the condition DonFac[n], the member of the first-level step number group to be jumped with the corresponding number StpNumSet[n] is set to the output of the current first-level step number StpNum_Ot, that is, StpNum_Ot= StpNumSet[n]. After receiving the output, the first-level step StpNum completes the switch StpNum=StpNum_Ot.

[0011] The beneficial effects of the present invention are as follows: 1. The method for pre-checking and process checking in a sequence of sequential control described in the present invention can predict whether the task to be executed in the sequence is risky before the action is executed by pre-checking abnormalities, so as to prevent risks before they occur. If there is a risk, the current action execution is interrupted, and if it is normal, the condition check is skipped; 2. The pre-check and process check method for sequential control steps of the present invention can uniformly set action permissions for all hardware actions associated with each step, so that when an abnormality is found, the actions of all associated hardware can be stopped in time to ensure the safety of the equipment; 3. The method for pre-checking and process checking in a sequence of sequential control described in the present invention monitors the equipment status in real time, determines the abnormality risk, and stops the task execution as soon as the abnormality occurs during the execution of the task set in each step, which can effectively prevent the abnormality from expanding; 4. The present invention describes a method for pre-checking and process checking within a sequence of sequential control, which sets a variety of step jump conditions. In addition to normal task step jumps, additional supplementary branch step jumps can be added, such as exception handling, human-computer interaction, task suspension, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The present invention will be further described below in conjunction with the accompanying drawings.

[0013] Figure 1 It is a schematic diagram of the process of the present invention.

[0014] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0015] like Figure 1 As shown, a method for pre-checking and process checking in a sequence of sequential control according to an embodiment of the present invention comprises the following steps: S1. For each step of the sequential control, such as the first-level step: StpNum, the second-level step StpNumSub is assigned and initialized; S2. The second-level step StpNumSub first includes the determination of the equipment working mode; S3. The second-level step StpNumSub secondly includes the preliminary check of faults; S4. The second-level step StpNumSub again includes the fault check during the action; S5. The second-level step StpNumSub finally includes the end condition determination for the jump connection of the first-level step StpNum; S1 also includes the following steps: S11. In each step of the first-level step StpNum, the second-level step StpNumSub is used, which is specifically used for faults, operating conditions and jumps Condition judgment; S12. The inputs required for the secondary step sequence include: equipment working mode SysSta, current primary step sequence number StpNum_In, the primary step sequence number group to be jumped StpNumSet, the pre-check judgment group AdvChk, the process check judgment group ActChk, the action completion condition group DonFac, etc.; S13. The outputs it contains include: current primary step sequence number StpNum_Ot, check abnormal alarm output Err, action execution permission ActEn, etc.; S14. When the primary step sequence is switched (StpNum switches from StpNum=Numm to StpNum=Numn), the secondary step sequence will be initialized, and the secondary step sequence will be cleared StpNumSub = 0; the current first-level step number output is initialized to the current input step StpNum_Ot=StpNum_In; S15, clear the abnormal alarm output Err=null; reset the action execution permission ActEn=false; S2 also includes the following steps: after the first-level step enters the specific step StpNum=Numn, the entire execution of the second-level step StpNumSub will determine the device working mode. Only when the working mode is a mode in which the action can be executed, will the second-level step continue to be executed, otherwise the second-level step will be initialized, the first-level step cannot receive the action execution permission output by the second-level step, and the device cannot act; S3 also includes the following steps: enter the second-level step StpNumSu b, StpNumSub=Numa, all members of the pre-check judgment group AdvChk will be judged first; when AdvChk[n] is judged as abnormal, the abnormal alarm output Err[n] of the corresponding number will be output as true, that is, Err[n]=true, the secondary step sequence does not output the action execution permission, that is, ActEn=false, the secondary step sequence stops executing downward and initializes; when all members of AdvChk are judged as normal, the action execution permission is output, that is, ActEn=true, the secondary step sequence is executed downward, at this time the primary step sequence StpNum=Numn receives the action execution permission output by the secondary step sequence, and the device starts to execute the action of this step sequence;S4 also includes the following steps: during the execution of the secondary step StpNumSub, StpNumSub=Numb, the device is executing the process action set by the primary step StpNum=Numn; during the entire process of executing this process action, all members of the process check judgment group ActChk will be judged; if ActChk[n] is judged as abnormal, the abnormal alarm output Err[n] of the corresponding number will be output as true, that is, Err[n]=true, and the secondary step resets the output of the action execution permission, that is, ActEn=false. At this time, the execution permission received by the primary step is reset, the process action is stopped, and the secondary step stops executing downward and is initialized; if AdvChk If all members are judged to be normal, the output action execution permission is maintained, that is, ActEn=true. At this time, the first-level step receives the action execution permission output by the second-level step, and the device continues to execute the action of this step; S5 also includes the following steps: in the execution of the second-level step StpNumSub, StpNumSub=Numb, in the process action set by the first-level step StpNum=Numn, all members in the action completion condition group DonFac are judged. If it is determined that the current operating state meets the condition DonFac[n], the corresponding number of the first-level step number group member StpNumSet[n] to be jumped is set to the output of the current first-level step number StpNum_Ot, that is, StpNum_Ot= StpNumSet[n], and the first-level step StpNum received is completed. Switching StpNum=StpNum_Ot. ;

[0016] Working principle: Pre-examination of abnormalities can predict whether the task to be executed in this step is risky before the action is executed, so as to prevent risks before they occur; the actions of all hardware associated with each step can be uniformly set to allow for action permission, so that when an abnormality is found, the actions of all related hardware can be stopped in time to ensure the safety of the equipment; during the execution of the task set in each step, the device status is monitored in real time, the abnormal risk is determined, and the task execution is stopped as soon as the abnormality occurs, which can effectively prevent the abnormality from expanding; a variety of step jump conditions can be set. In addition to the normal task step jump, additional branch step jumps can be added, such as exception handling, human-computer interaction, and task suspension.

[0017] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for pre-checking and process checking in a sequence of sequential control, characterized in that: The following steps are involved: S1. For each step of the sequential control, such as the first-level step: StpNum, assign the second-level step StpNumSub and initialize it; S2, the second-level step StpNumSub first includes the determination of the device working mode; S3, the second-level step StpNumSub secondly includes a preliminary check of the fault; S4, the second-level step StpNumSub again includes a fault check during the action; S5. The second-level step StpNumSub finally includes the end condition judgment for the jump connection of the first-level step StpNum.

2. A method for pre-checking and process checking in a sequence of sequential control according to claim 1, characterized in that: S1 also includes the following steps: S11. In each step of the first-level step sequence StpNum, the second-level step sequence StpNumSub is used to determine the fault, operating condition and jump condition; S12, the inputs required for the secondary step are: equipment working mode SysSta, current primary step number StpNum_In, to-be-jumped primary step number group StpNumSet, advance check judgment group AdvChk, process check judgment group ActChk, action completion condition group DonFac, etc.; S13, it contains the outputs: current first-level step number StpNum_Ot, check abnormal alarm output Err, action execution permission ActEn, etc.; S14. When the first-level step sequence is switched (StpNum switches from StpNum=Numm to StpNum=Numn), the second-level step sequence will be initialized, and the second-level step sequence will be cleared to StpNumSub = 0; the current first-level step sequence number output is initialized to the current input step sequence StpNum_Ot=StpNum_In; S15, clear abnormal alarm output Err = null; reset action execution permission ActEn = false.

3. A method for pre-checking and process checking in a sequence of sequential control according to claim 1, characterized in that: S2 also includes the following steps: After the first-level sequence enters the specific step StpNum=Numn, the entire execution process of the second-level step StpNumSub will determine the device working mode. Only when the working mode is a mode in which the action can be executed will the second-level sequence continue to be executed. Otherwise, the second-level sequence will be initialized, and the first-level sequence cannot receive the action execution permission output by the second-level step, and the device cannot act.

4. A method for pre-checking and process checking in a sequence of sequential control according to claim 1, characterized in that: S3 also includes the following steps: After entering the secondary step StpNumSub, StpNumSub=Numa, all members in the pre-check judgment group AdvChk will be judged first; when AdvChk[n] is judged as abnormal, the abnormal alarm output Err[n] of the corresponding number will be output as true, that is, Err[n]=true, and the secondary step will not output the action execution permission, that is, ActEn=false, and the secondary step will stop executing downward and initialize; when all members of AdvChk are judged to be normal, the action execution permission is output, that is, ActEn=true, and the secondary step will execute downward. At this time, the first step StpNum=Numn receives the action execution permission output by the second step, and the device starts to execute the action of this step.

5. The method for pre-checking and process checking in a sequence of sequential control according to claim 1, characterized in that: S4 also includes the following steps: During the execution of the secondary step StpNumSub, StpNumSub=Numb, and the device is executing the process action set by this primary step StpNum=Numn; during the entire process of executing this process action, all members of the process check judgment group ActChk will be judged; if ActChk[n] is judged as abnormal, the abnormal alarm output Err[n] of the corresponding number will be output as true, that is, Err[n]=true, and the secondary step resets the output of the action execution permission, that is, ActEn=false. At this time, the execution permission received by the primary step is reset, the execution of the process action is stopped, the secondary step stops executing downward, and is initialized; if all members of AdvChk are judged to be normal, the output action execution permission is maintained, that is, ActEn=true. At this time, the primary step receives the action execution permission output by the secondary step, and the device continues to execute the action of this step.

6. A method for pre-checking and process checking in a sequence of sequential control according to claim 1, characterized in that: S5 also includes the following steps: During the execution of the secondary step StpNumSub, StpNumSub=Numb, and in the process action set by the current primary step StpNum=Numn, all members in the action completion condition group DonFac are judged. If it is determined that the current operating state meets the condition DonFac[n], the member of the first-level step number group to be jumped with the corresponding number StpNumSet[n] is set to the output of the current first-level step number StpNum_Ot, that is, StpNum_Ot= StpNumSet[n]. After receiving the output, the first-level step StpNum completes the switch StpNum=StpNum_Ot.