CN116819296A - Self-checking method, equipment and storage medium of output board card - Google Patents

Self-checking method, equipment and storage medium of output board card Download PDF

Info

Publication number
CN116819296A
CN116819296A CN202310545197.6A CN202310545197A CN116819296A CN 116819296 A CN116819296 A CN 116819296A CN 202310545197 A CN202310545197 A CN 202310545197A CN 116819296 A CN116819296 A CN 116819296A
Authority
CN
China
Prior art keywords
relay
output
self
output relay
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310545197.6A
Other languages
Chinese (zh)
Inventor
张薇
张立鹏
王建涛
王艺佳
陈宜航
张辉
秦洁心
郭桂杏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casco Signal Ltd
Original Assignee
Casco Signal Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN202310545197.6A priority Critical patent/CN116819296A/en
Publication of CN116819296A publication Critical patent/CN116819296A/en
Pending legal-status Critical Current

Links

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention relates to a self-checking method, equipment and storage medium of an output board card, wherein the method comprises the following steps: step 1, judging whether the isolation relay is in an off state or not in an initialization mode, if so, executing step 2; otherwise, downtime is caused, and restarting is not allowed; step 2, judging whether the output relay has adhesion, if so, downtime is generated, and restarting is not allowed; otherwise, executing the step 3; step 3, performing self-checking of the isolation relay, judging whether the self-checking is successful, and if so, executing step 4; otherwise, downtime is caused, and restarting is not allowed; step 4, carrying out self-checking on the output relay, judging whether the self-checking is successful, and if so, executing the step 6; otherwise, executing the step 5; step 5, entering a quick-action mode; and 6, performing self-checking on the output relay in the normal operation process. Compared with the prior art, the relay state recovery method has the advantages of improving the possibility of recovering the relay state in an abnormal environment and the like.

Description

Self-checking method, equipment and storage medium of output board card
Technical Field
The present invention relates to a method for detecting a board card, and in particular, to a method, apparatus and storage medium for self-checking an output board card.
Background
As the vehicle-mounted platform is gradually widely applied, the climate and altitude of the area are different in all areas, and the board-card relay facing different scenes can cause faults, such as relay adhesion; aiming at the design of the safety output board card at present, if the relay contacts are adhered, the abnormality can be checked through self-detection and downtime is carried out; although this approach can ultimately lead to the safety side, transient outputs are likely to occur if relays on the same path are abnormal. And the relay abnormality in this case is recoverable, but in the existing design, the board needs to be replaced again, which increases the time for manually maintaining the board and the cost for preparing the standby board.
Therefore, the following drawbacks may exist in the actual application scenario for the safety output board card in the vehicle-mounted platform:
1) If the relay is abnormal in the initialized state, transient output is easy to cause, and the relay is unsafe;
2) If the relay is suddenly abnormal in the normal operation process to cause faults, and the board card is restarted due to a filtering mechanism or false triggering, false output is easy to cause, and the relay is unsafe;
3) Too rely on the security guarantee that the hardware provides, if the hardware breaks down in the use, the device has the condition of energy storage, then output by mistake in the use easily, lack the protective barrier;
4) The relay adhesion leads to the integrated circuit board not usable, needs the manual replacement integrated circuit board, increases maintenance duration and cost, and the usability is low.
The method comprises the steps of carrying out static self-checking on an output control circuit to obtain a static self-checking result; and if the static self-checking result is normal, carrying out dynamic self-checking on the output control circuit in an output control period of normal operation of the output control circuit so as to acquire a dynamic self-checking result. However, the conventional patent also has a problem that abnormality occurs in the initial state of omission, and therefore, how to solve the problem that erroneous output is likely to occur in the case of board failure is a technical problem to be solved.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a self-checking method, equipment and storage medium for outputting a board card, which improve the usability and solve the problem of easy error output under the condition of board card failure on the premise of ensuring the safety.
The aim of the invention can be achieved by the following technical scheme:
according to a first aspect of the present invention, there is provided a self-checking method of an output board card, wherein an isolation relay, an a output relay and a B output relay are provided on the output board card, the method comprising the steps of:
step 1, reading back an initialization state of the isolation relay, judging whether the initialization of the isolation relay is in a disconnection state, and if so, executing the step 2; otherwise, downtime is caused, and restarting is not allowed;
step 2, steady state detection of the output relay is carried out, whether the output relay has adhesion condition is judged, if yes, the relay is down, and restarting is not allowed; otherwise, executing the step 3;
step 3, performing self-checking of the isolation relay, judging whether the self-checking is successful, and if so, executing step 4; otherwise, downtime is caused, and restarting is not allowed;
step 4, carrying out self-checking on the output relay, judging whether the self-checking is successful, and if so, executing the step 6; otherwise, executing the step 5;
step 5, entering a snap-action mode, wherein the snap-action mode is to perform sustainable opening and closing aiming at an error port, judging whether the snap-action frequency reaches the maximum frequency, if not, separating the output relay A from the output relay B for action, then intermittently detecting the state of the relay, and if the continuous detection results are correct, executing the step 4 again; otherwise, downtime is caused, and restarting is not allowed;
and 6, detecting normal operation, and performing self-detection on the output relay in the normal operation process.
As a preferable technical solution, the quick-action mode in the step 5 specifically includes the following steps:
step 5.1, keeping the output relay A and the output relay B in a limiting state, intermittently detecting the state of the relay, and recording the flag bit F 1 If the continuous detection results are correct, the step 5.2 is carried out; otherwise, downtime is caused, and restarting is not allowed;
step 5.2, keeping the output relay A not to act, and entering step 5.3 after the output relay B acts;
step 5.3, keeping the output relay A and the output relay B in a limiting state, intermittently detecting the state of the relay, and recording the flag bit F 2 If the continuous detection results are correct, the step 5.4 is carried out; otherwise, downtime is caused, and restarting is not allowed;
step 5.4, keeping the output relay B not to act, and entering step 5.5 after the output relay A acts;
step 5.5, keeping the output relay A and the output relay B in a limiting state, intermittently detecting the state of the relay, and recording the flag bit F 3 If the continuous detection results are correct, executing the step 4 again; otherwise, the machine is down and restarting is not allowed.
As a preferable technical scheme, the step of intermittently detecting the state of the relay specifically includes:
firstly, a sampling readback switch is opened, if T2 is less than W, at least two periods of readback detection are indicated, otherwise, only one period is needed to complete, wherein T2 is the maximum time of readback in the current period, namely T2=W/T, T is the period number of a holding state, T= (W+S-1)/S, W is the time for determining the closing and falling of a relay according to the characteristics of an output relay, and S is the time of each period;
if TN > =w, direct sampling is not needed to wait, after detection is completed, recording a detection result, and closing a sampling readback switch, wherein TN represents the readback accumulated time of the quick-action mode relay, and the initial value tn=0; otherwise, performing readback detection every T1 time, sampling for a plurality of times, and filtering out an unstable value, wherein T1 is the time of readback at each interval, and is determined according to the value of T2;
if TN > =0 and TN < =T2, detecting the current period, and recording a detection result; if TN is greater than T2 and TN is less than W, the next period is continuously detected, TN is updated according to the period switching time, and the detection result is recorded.
In the step 2, if the output relay a and the output relay B are normal, the output relay is considered to have no adhesion.
In the step 3, the self-checking of the isolation relay is used for ensuring that the isolation relay can be normally closed and normally opened.
As an optimal technical scheme, the control signals of the isolation relay are low-level signals and square wave signals, the two signals are controlled through a comparator, and the comparator is controlled through a dog feeding signal and a check word.
In the step 4, a protection barrier is added to ensure that the relay is not output by mistake during switching.
As a preferable technical solution, in the step 4, the output relay self-checking includes the following steps:
step 4.1, controlling the A output relay and the B output relay to be disconnected by the B output relay only;
step 4.2, controlling the output relay A and the output relay B to be disconnected;
step 4.3, controlling the output relay A and the output relay B to be disconnected only by the output relay A;
detecting whether the output relays of the step 4.1, the step 4.2 and the step 4.3 are correct or not respectively, and if the three steps are correct, considering that the output relays can be normally closed and normally opened; if there is one step incorrect, the wrong port needs to be recorded.
As a preferable technical solution, in the step 6, the output relay self-checking includes the following steps:
step 6.1, when the output relay command changes, if the output relay is opened, but the readback state is closed, the adhesion is considered, the relay is down, and the relay cannot be restarted; if the relay is closed but the readback state is open, the relay is down, and restarting is allowed;
step 6.2, when the command of the output relay is unchanged and the normal running time of the board card reaches the interval time, detecting a port which is not output, if the output relay is disconnected but the read-back state is closed, the adhesion is considered, the board card is down, and the board card cannot be restarted; if the relay is closed but the readback state is open, the relay is down, and restarting is allowed;
and 6.3, when the output relay command is unchanged and the normal running time of the board card does not reach the interval time, the relay detection result is abnormal, the relay is down, and restarting is allowed.
As a preferable technical scheme, if more than one port is detected at the same time during the self-checking of the output relay, if one port is abnormal, the output relay is guided to the safety side.
According to a second aspect of the present invention there is provided an electronic device comprising a memory and a processor, the memory having stored thereon a computer program, the processor implementing the method when executing the program.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method.
Compared with the prior art, the invention has the following advantages:
1) The invention designs a quick-action mode, improves the possibility of recovering the state of the relay in an abnormal environment, increases the usability of the vehicle-mounted platform and reduces the maintenance cost;
2) According to the invention, a restarting mode can be set according to the actual condition of the board card, so that the safety and maintainability are improved;
3) The invention provides steady state detection before the relay acts, ensures that the relay does not have transient output due to adhesion, and improves the safety;
4) The invention creates a safer environment for the board card, reduces the probability of false triggering abnormality of the relay due to external factors, and improves the reliability;
5) The invention is controlled by the relay A and the relay B together, and a protective barrier is added, so that the two relays cannot output simultaneously, and the accuracy is improved.
Drawings
FIG. 1 is a flow chart of the self-test of the output board card of the present invention;
FIG. 2 is a diagram of a snap-action mode process of the present invention;
FIG. 3 is a diagram of the process of detecting each phase relay in the snap-action mode of the present invention;
FIG. 4 is a graph of the test results of the snap-action mode relay of the present invention;
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The invention provides a self-checking method of an output board card, which increases the usability of a vehicle-mounted platform and solves the problem of easy error output under the condition of board card failure on the premise of ensuring the safety.
The method specifically comprises the following steps:
step one, detecting an initialization state of an isolation channel:
1. the isolation channel controls the power supply channel of the output relay, so that whether the isolation channel is normal or not determines whether the output relay can normally operate or not;
2. initializing and detecting an isolation channel, namely judging whether a normally-open node is in a disconnection state according to the states of normally-closed nodes of two channel isolation relays;
3. if the detection initialization state is closed, the isolation channel is considered to have a problem, the isolation channel should be down, and the subsequent output port detection is not performed any more;
4. if the detection initialization state is off, the initialization state of the isolation relay is considered to be normal, so that the output relay is ensured not to be powered before steady state detection of the output relay, and the output relay is ensured not to be output by mistake due to power supply;
step two, steady state detection of the output relay:
1. the steady state detection of the output relay is used for ensuring that the initialized state of the output relay is a normal state, namely judging the condition that the output relay is opened but closed;
2. if the situation described in 1 occurs, downtime is generated, and subsequent detection is not performed;
3. if the situation described in 1 does not occur, the situation that the output relay is not adhered is considered, and the action relay can be started; ensuring that the output relay is not stuck before the output relay acts;
step three, detecting on-off of an isolation channel:
1. the isolation channel initialization detection performed in the first step only detects the condition of the isolation relay initialization opening, and the step detects the condition of the isolation relay opening and closing;
2. the low level signal and the square wave signal of the control isolation relay need to be controlled by a comparator; the control comparator is controlled by a dog feeding signal and a check word; different combination modes of check words and feeding dog signals are adopted to detect whether two channels of the isolation relay can be normally closed and opened;
3. if the isolation can be normally closed, supplying power to the output relay; if the isolation can be normally disconnected, the output can be disconnected in time when a fault occurs;
4. if the detection is abnormal, namely the normal closing or normal opening is not realized, the machine is down, and the subsequent detection cannot be performed;
fourth, output port switching detection:
1. each port is detected sequentially, and compared with steady state detection in the second step, the step needs to switch and detect the relay, so that the output relay can be normally closed and normally opened; but in the detection process, an environment in which the relay cannot have transient output needs to be ensured;
2. the relay A and the relay B are controlled to be staggered for action, namely, when the relay A acts, the relay B keeps an off state, and in the process of switching from the relay A to the relay B, the relay A and the relay B are ensured to be in the off state at the same time and then the relay B can act; the relay is ensured not to generate sparks and other phenomena in the switching process, so that transient output is avoided;
3. if a certain port detects an error, the port is abnormal, the abnormal port is recorded, and whether quick action is needed is judged according to whether the abnormal port exists after all ports are detected;
4. if an abnormal port exists, a quick-acting mode is needed to be entered, and quick-acting is carried out on the abnormal port; if no abnormal port exists, the normal operation process is directly entered for detection;
step five, quick-action mode detection:
1. in the quick-action mode, sustainable opening and closing are carried out aiming at an abnormal port, three protection barriers are added aiming at safety in the action process, the three protection barriers are respectively placed before the relay acts, after the relay acts, the output relay is ensured to normally and completely fall down after the relay acts, stored energy is released, and misoperation output is avoided;
2. in the quick-action mode, the effective frequency of quick-action is required to be set, namely the maximum frequency of entering the quick-action mode is set, if the maximum frequency is exceeded, the machine should be down to keep faults; if the maximum number of times is not exceeded, quick-action should be performed;
3. in the quick-action mode, the relay A and the relay B which are controlled to be output are required to be separated to act, and the relay is operated on the premise that safety and misoperation of the relay are ensured; the action times are determined according to the service life of the relay and must be in a reasonable range;
4. the step can ensure that if the relay is stuck, the probability of opening the stuck relay is increased, the relay can be normally used after safety detection, and the maintenance cost is reduced;
step six, detecting in the normal operation process:
1. the detection in the second step and the detection in the fourth step are all carried out on all ports under the condition that the relay does not output, the steps are carried out under the condition that the relay can output or not output in the normal operation process, but the normal output is not influenced in the detection process, the ports which are not output are detected regularly, the state of the relay which is kept unchanged is detected periodically, and the relay which is operated is detected according to whether the relay is operated or not;
2. if a plurality of ports are detected at the same time, one port is abnormal, the safety side is guided, and other port detection is not performed;
3. in the detection process, whether the fault cause is caused by adhesion of the relay or not needs to be screened;
4. if the relay is stuck to cause a fault, the relay is in downtime and is not allowed to restart; otherwise, the machine should be down, and the restarting is allowed.
In practical application, the output board relay generally has multiple paths, and only one path is used for illustrating a self-checking flow, as shown in fig. 1, the self-checking method of the output board is realized by the following steps:
and step 1, after the initialization of the board card is completed, reading the initialization state of the isolation relay, judging whether the isolation relay is in an off state, and judging whether the normally open node is in the off state according to the states of normally closed nodes of the two channel isolation relays. The isolation channel controls the power supply channel of the output relay, so that whether the isolation channel is normal or not determines whether the output relay can normally operate, and the isolation channel is ensured not to supply power to the output relay at the moment and not to become an abnormal index of the output relay;
step 1.1, if the initialization state of the isolation relay is closed, the initialization state of the isolation relay is considered to be abnormal, and the isolation relay is directly down and is not restarted;
step 1.2, if the initialization state of the isolation relay is off, the initialization state of the isolation relay is considered to be normal, and step 2 is carried out;
step 2, steady state detection of the output relay is performed to ensure that the initialized state of the output relay is a normal state, namely, whether the output relay has adhesion conditions (namely, the condition that the output relay is opened but closed is confirmed in step 1), the condition that the isolation relay is opened is confirmed, the condition that the output relay is supplied with power is not caused, and the condition that the output relay is erroneously closed in the power supply state is avoided; ensuring that the relay is normal in a default state, and if abnormal conditions occur, detecting and maintaining faults in the first time;
step 2.1, if at least one result of the two relays A and B is abnormal, the output relay is considered to be stuck and down, and the relay is not restarted;
step 2.2, if the two relays A and B are normal, the output relay is considered to be not adhered at the current moment;
step 3, the isolation relay performs self-checking to ensure that the isolation relay can be normally closed and normally opened; the control of the low-level signal and the square wave signal of the isolation relay is controlled by a comparator, the control of the comparator is controlled by a feeding dog signal and a checking word, and different combination modes of the checking word and the feeding dog signal are adopted to detect whether two channels of the isolation relay can be normally closed and opened; the operation ensures that the isolation relay can normally operate, supplies power to the output relay, and can safely cut off output under abnormal conditions;
step 3.1, if the self-checking of the isolation relay fails, namely the isolation relay cannot be normally closed or normally opened, and the isolation relay is down and is not restarted;
step 3.2, if the self-checking of the isolation relay is successful, supplying power to the output relay, and entering step 4;
step 4, the output relay self-checking, the step needs to switch and detect the relay, ensure that the output relay can be normally closed and normally opened, and ensure that the relay cannot have the environment of transient output in the detection process, so that a method of controlling the output relay A and B to stagger and act is adopted, and the relay is ensured not to have the phenomena of spark and the like in the switching process, and the transient output is avoided; adding a protective barrier to ensure that the port cannot be output by mistake when the relay is switched, if a certain port is detected to have errors, indicating that the port has abnormality, recording the abnormal ports, and judging whether quick-acting is needed according to whether the abnormal ports exist after all the ports are detected;
step 4.1, controlling the relay A to be closed, controlling the relay B to be opened, detecting whether the relay A is correct or not, if not, failing the self-checking, and entering the step 4.2 after recording an error port; if the result is correct, directly entering step 4.2;
step 4.2, controlling the relays A and B in one path to be disconnected, keeping the T period time (ensuring that the relays fall completely), detecting whether the relays are correct or not, if not, failing the self-detection, and entering step 4.3 after recording an error port; if the result is correct, the step 4.3 is entered;
step 4.3, controlling the relay A to be opened, controlling the relay B to be closed, detecting whether the relay A is correct or not, if the relay B is incorrect, failing the self-checking, and recording an error port; if the result is correct, the step 6 is entered;
step 4.4, if the execution of 4.1-4.3 is finished, and one self-checking fails, entering step 5;
step 5, as shown in fig. 2, a snap-action mode is entered, wherein the snap-action mode is to perform sustainable opening and closing on an abnormal port, three protection barriers are added on safety in the action process, the three protection barriers are respectively placed before the relay acts, in the relay switching process, after the relay acts, the output relay is ensured to normally and completely drop, stored energy is released, and misoperation is avoided. The error port is subjected to quick action, so that the usability of the relay is improved; the relay A and the relay B which are controlled to be output are required to be separated to act, and the relay is operated on the premise that the safety is ensured and the misoperation is avoided; the action times are determined according to the service life of the relay and must be in a reasonable range, if the action times reach the maximum times X, the action is not performed, the machine is down and restarted, otherwise, the step 5.1 is performed;
as shown in fig. 3, the quick-action mode relay needs to open the sampling readback switch first, if T2< W, it indicates that at least two cycles of readback detection are needed, otherwise, it indicates that only one cycle is needed to complete; if TN > =W, direct sampling does not need waiting time, after detection is completed, recording a detection result, and closing a sampling readback switch; otherwise, performing readback detection every T1 time, sampling for a plurality of times, and filtering out an unstable value, wherein TN=TN+T1; if TN > =0 and TN < =T2, detecting the current period, and recording a detection result; if TN is more than T2 and TN is less than W, continuing to detect in the next period, updating TN according to the period switching time, and recording a detection result;
as shown in fig. 4, if the continuous detection result is correct, the flag Fi (i=1, 2, 3) is TRUE, otherwise is FALSE;
step 5.1, when C < T, keeping the state of the relay A and B in a limiting state, intermittently detecting the state of the relay, if the continuous detection results are correct, the flag bit F1 is TRUE, otherwise, the flag bit F1 is FALSE, and when the operation is finished, C=C+T-1; when C is equal to T, if the flag bit F1 is TRUE, the step 5.2 is entered, otherwise, the machine is down and the machine is not restarted;
step 5.2, keeping the relay A to be inactive, and keeping the relay B to be active, wherein C=T+N/2-1 when the relay B is finished; the B relay acts once every T period, namely the A relay is kept in a limiting state when C > =T and C < T+N/2, the B relay is switched between a limiting state and an allowing state (from the limiting state to the allowing state to the limiting state), and when C is equal to T+N/2, the step 5.3 is entered;
step 5.3, keeping the relays A and B in a T period limit state, intermittently detecting the states of the relays, and if the continuous detection results are correct, the flag bit F2 is TRUE, otherwise, the flag bit F2 is FALSE, and when the relay is ended, C=2xT+N/2-1; when C is equal to 2 x T+N/2, if the flag bit F2 is TRUE, the step 5.4 is entered, otherwise, the machine is down and the machine is not restarted;
step 5.4, keeping the relay B to be inactive, and keeping the relay A to be active, wherein when the relay A is ended, C=2xT+N-1; the relay A acts once every T period, the relay A is kept in a limiting state when C > =2xT+N/2 and C <2 x T+N, the relay A is switched between a limiting state and an allowed state (the limiting state is to the allowed state, the allowed state is to the limiting state), and when C is equal to 2 x T+N, the step 5.5 is entered;
step 5.5, keeping the relays A and B in a T period limit state, intermittently detecting the states of the relays, and if the continuous detection results are correct, the flag bit F3 is TRUE, otherwise, the flag bit F3 is FALSE, and C=3xT+N-1 is ended; when c=3×t+n, if the flag bit F3 is TRUE, then step 4 is entered, otherwise, the machine is down and not restarted;
step 5, if adhesion occurs to the relay, the probability of opening the adhesion relay is increased, the relay can be normally used after safety detection, and maintenance cost is reduced;
and 6, entering a normal operation mode, and performing self-checking on the output relay in the normal operation process. If a plurality of ports are detected at the same time, one port is abnormal, the safety side is guided, and other port detection is not performed; in the detection process, whether the fault cause is caused by adhesion of the relay or not needs to be screened;
step 6.1, when the output relay command changes, if the relay is opened, but the read-back state is closed, the relay is considered to be adhered, the relay is down, and the relay cannot be restarted; if the relay should be closed, but the readback state is open, the relay is down, and restarting is allowed;
step 6.2, when the command of the output relay is not changed, and the normal running time of the board card reaches the interval time, detecting a port which is not the output port, if the relay is opened, but the read-back state is closed, the relay is considered to be stuck, the relay is down, and the relay cannot be restarted; if the relay should be closed, but the readback state is open, the relay is down, and restarting is allowed;
step 6.3, when the output relay command is not changed, and the normal running time of the board card does not reach the interval time, the detection result of the relay is abnormal, the relay should be down, and restarting is allowed;
the letter meanings above are described as follows:
n is the total number of times of quick action of the A and B relays, the quick action is carried out in a reasonable range according to the service life of the relays, and N is configured as even as possible, so that the action times of the A and B relays are kept consistent; c is the number of snap-action cycles (initial value is 0); x is the maximum number of times of entering quick action; t is the number of cycles needed to hold the state, t= (w+s-1)/S, w= time to determine relay closing and dropping according to the output relay characteristics, s= time per cycle; t2 is the maximum time for the current cycle to read back, i.e., t2=w/T; t1 is the time of each interval read back, and is determined (segmented into a plurality of identical time blocks) according to the value of T2; the marks F1, F2 and F3 respectively represent the mark positions of three protective barriers in the quick-action mode; TN represents the snap-mode relay readback accumulated time, with an initial value tn=0.
The foregoing description of the embodiments of the method further describes the embodiments of the present invention through embodiments of the electronic device and the storage medium.
The electronic device of the present invention includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to computer program instructions stored in a Read Only Memory (ROM) or computer program instructions loaded from a storage unit into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The CPU, ROM and RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
A plurality of components in a device are connected to an I/O interface, comprising: an input unit such as a keyboard, a mouse, etc.; an output unit such as various types of displays, speakers, and the like; a storage unit such as a magnetic disk, an optical disk, or the like; and communication units such as network cards, modems, wireless communication transceivers, and the like. The communication unit allows the device to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processing unit performs the various methods and processes described above, such as the inventive method. For example, in some embodiments, the inventive methods may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device via the ROM and/or the communication unit. One or more of the steps of the method of the invention described above may be performed when the computer program is loaded into RAM and executed by a CPU. Alternatively, in other embodiments, the CPU may be configured to perform the methods of the present invention by any other suitable means (e.g., by means of firmware).
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
Program code for carrying out methods of the present invention may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (12)

1. The self-checking method of the output board card is characterized in that the output board card is provided with an isolation relay, an A output relay and a B output relay, and the method comprises the following steps:
step 1, reading back an initialization state of the isolation relay, judging whether the initialization of the isolation relay is in a disconnection state, and if so, executing the step 2; otherwise, downtime is caused, and restarting is not allowed;
step 2, steady state detection of the output relay is carried out, whether the output relay has adhesion condition is judged, if yes, the relay is down, and restarting is not allowed; otherwise, executing the step 3;
step 3, performing self-checking of the isolation relay, judging whether the self-checking is successful, and if so, executing step 4; otherwise, downtime is caused, and restarting is not allowed;
step 4, carrying out self-checking on the output relay, judging whether the self-checking is successful, and if so, executing the step 6; otherwise, executing the step 5;
step 5, entering a snap-action mode, wherein the snap-action mode is to perform sustainable opening and closing aiming at an error port, judging whether the snap-action frequency reaches the maximum frequency, if not, separating the output relay A from the output relay B for action, then intermittently detecting the state of the relay, and if the continuous detection results are correct, executing the step 4 again; otherwise, downtime is caused, and restarting is not allowed;
and 6, detecting normal operation, and performing self-detection on the output relay in the normal operation process.
2. The self-checking method of an output board card according to claim 1, wherein the snap-action mode in step 5 specifically comprises the following steps:
step 5.1, keeping the output relay A and the output relay B in a limiting state, intermittently detecting the state of the relay, and recording the flag bit F 1 If the continuous detection results are correct, the step 5.2 is carried out; otherwise, downtime is caused, and restarting is not allowed;
step 5.2, keeping the output relay A not to act, and entering step 5.3 after the output relay B acts;
step 5.3, keeping the output relay A and the output relay B in a limiting state, intermittently detecting the state of the relay, and recording the flag bit F 2 If the continuous detection results are correct, the step 5.4 is carried out; otherwise, downtime is caused, and restarting is not allowed;
step 5.4, keeping the output relay B not to act, and entering step 5.5 after the output relay A acts;
step 5.5, keeping the output relay A and the output relay B in a limiting state, intermittently detecting the state of the relay, and recording the flag bit F 3 If the continuous detection results are correct, executing the step 4 again; otherwise, the machine is down and restarting is not allowed.
3. The self-checking method of an output board card according to claim 2, wherein the step of intermittently detecting the state of the relay specifically comprises:
firstly, a sampling readback switch is opened, if T2 is less than W, at least two periods of readback detection are indicated, otherwise, only one period is needed to complete, wherein T2 is the maximum time of readback in the current period, namely T2=W/T, T is the period number of a holding state, T= (W+S-1)/S, W is the time for determining the closing and falling of a relay according to the characteristics of an output relay, and S is the time of each period;
if TN > =w, direct sampling is not needed to wait, after detection is completed, recording a detection result, and closing a sampling readback switch, wherein TN represents the readback accumulated time of the quick-action mode relay, and the initial value tn=0; otherwise, performing readback detection every T1 time, sampling for a plurality of times, and filtering out an unstable value, wherein T1 is the time of readback at each interval, and is determined according to the value of T2;
if TN > =0 and TN < =T2, detecting the current period, and recording a detection result; if TN is greater than T2 and TN is less than W, the next period is continuously detected, TN is updated according to the period switching time, and the detection result is recorded.
4. The self-checking method of an output board card according to claim 1, wherein in the step 2, if the output relay a and the output relay B are normal, the output relay is considered to have no adhesion.
5. The self-checking method of an output board card according to claim 1, wherein in the step 3, the self-checking of the isolation relay is used for ensuring that the isolation relay can be normally closed and normally opened.
6. The method of claim 5, wherein the control signal of the isolation relay is a low level signal and a square wave signal, the two signals are controlled by a comparator, and the comparator is controlled by a feeding signal and a check word.
7. The self-inspection method of an output board card according to claim 1, wherein in the step 4, a protection barrier is added to ensure that the output will not be mistakenly performed when the relay is switched.
8. The self-checking method of an output board card according to claim 1, wherein in the step 4, the self-checking of the output relay comprises the steps of:
step 4.1, controlling the A output relay and the B output relay to be disconnected by the B output relay only;
step 4.2, controlling the output relay A and the output relay B to be disconnected;
step 4.3, controlling the output relay A and the output relay B to be disconnected only by the output relay A;
detecting whether the output relays of the step 4.1, the step 4.2 and the step 4.3 are correct or not respectively, and if the three steps are correct, considering that the output relays can be normally closed and normally opened; if there is one step incorrect, the wrong port needs to be recorded.
9. The self-checking method of an output board card according to claim 1, wherein in the step 6, the self-checking of the output relay comprises the steps of:
step 6.1, when the output relay command changes, if the output relay is opened, but the readback state is closed, the adhesion is considered, the relay is down, and the relay cannot be restarted; if the relay is closed but the readback state is open, the relay is down, and restarting is allowed;
step 6.2, when the command of the output relay is unchanged and the normal running time of the board card reaches the interval time, detecting a port which is not output, if the output relay is disconnected but the read-back state is closed, the adhesion is considered, the board card is down, and the board card cannot be restarted; if the relay is closed but the readback state is open, the relay is down, and restarting is allowed;
and 6.3, when the output relay command is unchanged and the normal running time of the board card does not reach the interval time, the relay detection result is abnormal, the relay is down, and restarting is allowed.
10. The method of claim 9, wherein the output relay self-tests to guide to the safety side if more than one port is detected at the same time and one port is abnormal.
11. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the processor, when executing the program, implements the method of any of claims 1-10.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-10.
CN202310545197.6A 2023-05-15 2023-05-15 Self-checking method, equipment and storage medium of output board card Pending CN116819296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310545197.6A CN116819296A (en) 2023-05-15 2023-05-15 Self-checking method, equipment and storage medium of output board card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310545197.6A CN116819296A (en) 2023-05-15 2023-05-15 Self-checking method, equipment and storage medium of output board card

Publications (1)

Publication Number Publication Date
CN116819296A true CN116819296A (en) 2023-09-29

Family

ID=88113548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310545197.6A Pending CN116819296A (en) 2023-05-15 2023-05-15 Self-checking method, equipment and storage medium of output board card

Country Status (1)

Country Link
CN (1) CN116819296A (en)

Similar Documents

Publication Publication Date Title
US7007191B2 (en) Method and apparatus for identifying one or more devices having faults in a communication loop
CN110445638B (en) Switch system fault protection method and device
CN112732477A (en) Method for fault isolation by out-of-band self-checking
US7953016B2 (en) Method and system for telecommunication apparatus fast fault notification
CN109471670A (en) Equipment starting method and electronic equipment
CN106375114B (en) A kind of hot plug fault restoration methods and distributed apparatus
US20060173655A1 (en) Information processing apparatus, failure monitoring method and failure monitoring computer program
CN113596619B (en) Fire-fighting Internet of things multi-equipment state judging method, device, equipment and storage medium
US6363493B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
CN116819296A (en) Self-checking method, equipment and storage medium of output board card
CN116737471A (en) BIOS automatic switching method and device, electronic equipment and storage medium
JP2009129075A (en) Storage system
CN108335721B (en) Method and system for detecting random access memory address line fault in real time
CN1983206A (en) Method and device for automatically restoring software system
CN112394656B (en) Method, external device and system for checking program execution of microcontroller
CN101140540B (en) Method and system for detecting automatic monitoring magnetic array
CN116340038A (en) Method and device for protecting erasing power-down data of flash memory
CN113361289B (en) Code identification processing method and device for dial switch and code reading circuit
CN113625957A (en) Hard disk fault detection method, device and equipment
CN110088023A (en) Elevator control system
CN114978891B (en) Processing method, device and storage medium for BIOS configuration of network device
CN111865719A (en) Automatic testing method and device for fault injection of switch
CN112751688A (en) Flow control processing method of OTN device, electronic device and storage medium
KR19980066818A (en) Server-Client System Architecture for Automatic Recovery of Terminal Computer
CN111986707B (en) Disk link exception handling test method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination