CN113742124B - Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus - Google Patents

Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus Download PDF

Info

Publication number
CN113742124B
CN113742124B CN202110982327.3A CN202110982327A CN113742124B CN 113742124 B CN113742124 B CN 113742124B CN 202110982327 A CN202110982327 A CN 202110982327A CN 113742124 B CN113742124 B CN 113742124B
Authority
CN
China
Prior art keywords
self
open loop
message
intelligent
checking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110982327.3A
Other languages
Chinese (zh)
Other versions
CN113742124A (en
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.)
Henan Yuanwang Hechu Electric Research Institute Co ltd
Xuji Group Co Ltd
XJ Electric Co Ltd
Original Assignee
Henan Yuanwang Hechu Electric Research Institute Co ltd
Xuji Group Co Ltd
XJ Electric Co 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 Henan Yuanwang Hechu Electric Research Institute Co ltd, Xuji Group Co Ltd, XJ Electric Co Ltd filed Critical Henan Yuanwang Hechu Electric Research Institute Co ltd
Priority to CN202110982327.3A priority Critical patent/CN113742124B/en
Publication of CN113742124A publication Critical patent/CN113742124A/en
Application granted granted Critical
Publication of CN113742124B publication Critical patent/CN113742124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an intelligent IO (input/output) outlet self-checking method and system based on a CAN (controller area network) bus, wherein the method comprises the following steps: the intelligent IO power-on initialization and the CAN network initialization; the intelligent IO program starts a self-checking function, and performs open loop self-checking by reading the level state of an outlet pin; according to the result of the open loop self-test, a corresponding open loop self-test message is obtained, and the open loop self-test message is sent to the CPU through the CAN bus; and the CPU analyzes the received CAN network message and performs board fault positioning. The system comprises an initialization module, a self-checking module, a message sending module and an analysis module. When the intelligent IO is broken or broken, the invention analyzes which board card is abnormal through the CAN network self-checking message, thereby realizing the quick positioning of the hardware problem of the relay protection device, facilitating the timely replacement of operation and maintenance personnel, effectively improving the reliability of the protection device, ensuring safer operation of the power system and reducing the failure accident rate.

Description

Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus
Technical Field
The invention relates to the technical field of relay protection, in particular to an intelligent IO (input/output) outlet self-checking method and system based on a CAN (controller area network) bus.
Background
The CAN bus is an ISO international standardized serial communication protocol, adopts a multi-master competitive bus structure, and has the characteristics of multi-master station operation, distributed arbitration, and broadcast communication. Any node on the CAN bus CAN actively send information to other nodes on the network at any time without dividing the primary and secondary, so that free communication between the nodes CAN be realized. The CAN bus is used as a technology for effectively supporting distributed control and real-time control, has the characteristics of good stability, high reliability, strong anti-interference capability, high communication rate, low maintenance cost and the like, and is widely applied to the fields of industrial automation, automobile industry, aerospace, medical equipment, industrial equipment, power system automation and the like.
The relay protection device based on the CAN bus protocol realizes the self-checking of the open loop by reading the self-checking state of the open loop of the intelligent IO board card, and sets the break-over or break-off mark of the open loop according to the self-checking state, thereby sending a break-over or break-off message of the open loop to the relay protection device. The loop abnormality seriously affects the tripping reliability of the relay protection device, thereby affecting the safe and stable operation of the power system. When the intelligent IO board card is abnormal in open loop, a total open loop breakdown or open loop disconnection message is sent to the relay protection device, which board card is abnormal in open loop cannot be distinguished, hardware faults cannot be accurately positioned, and timely replacement by operation and maintenance personnel is not facilitated.
Disclosure of Invention
Therefore, an object of the embodiments of the present invention is to provide a method and a system for self-checking an intelligent IO outlet based on a CAN bus, which are used for analyzing which board card has an abnormal open loop through a CAN network self-checking message when the intelligent IO has an open loop disconnection or an open loop breakdown, so as to realize quick positioning of hardware problems of a relay protection device, so that operation and maintenance personnel CAN replace the relay protection device in time, effectively improve reliability of the protection device, ensure safer operation of an electric power system, and reduce failure accident rate.
In a first aspect, an embodiment of the present invention provides a method for self-checking an intelligent IO outlet based on a CAN bus, where the method includes:
intelligent IO power-on initialization and CAN network initialization.
The intelligent IO program starts a self-checking function, and performs open loop self-checking by reading the level state of the outlet pin.
And according to the result of the open loop self-test, obtaining a corresponding open loop self-test message, and sending the open loop self-test message to the CPU through the CAN bus.
And the CPU analyzes the received CAN network message and performs board fault positioning.
With reference to the first aspect, the embodiment of the present invention provides a first possible implementation manner of the first aspect, where the smart IO power-on initialization and CAN network initialization include:
and (3) the intelligent IO is powered on for initialization, the configuration file is analyzed, and the outlet pins are distributed.
And initializing the CAN network and the opening object, including enabling the initialization of the receiving of the export message, the initialization of the self-checking function and the initialization of the uploading of the self-checking message.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the performing the open loop self-test by reading the status of the exit pin level by the intelligent IO program starts a self-test function includes:
first detection period Q 1 And when the protection device operates normally, the outlet pin is in a first high-level state, and the intelligent IO calls a breakdown self-checking function.
Judging whether the open loop breakdown occurs, if the open loop breakdown is read to be in a first low level state lower than the high level state, and the breakdown state is kept to be longer than a first preset time period T 1 And judging that the loop breaks down.
Reset by hand, first detection period Q 2 And (3) the protection device resumes normal operation, the outlet pin is in a second low-level state, and the intelligent IO calls a disconnection self-checking function.
Judging whether the open loop disconnection occurs, if the open loop disconnection is read to be in a second high-level state higher than the second low-level state, and the continuous disconnection time exceeds a second preset time length T 2 And judging that the loop is opened and broken.
The identification of the intelligent IO program initiated self-test function is shown in Table 1.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the obtaining, according to a result of the open loop self-test, a corresponding open loop self-test packet, sending the open loop self-test packet to the CPU through the CAN bus includes:
if the open loop breaks down, the intelligent IO sends an open loop breakdown CAN message to the CPU through the CAN bus.
If the open loop is broken, the intelligent IO sends an open loop broken CAN message to the CPU through the CAN bus.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the analyzing, by the CPU, the received CAN network packet, and performing board fault location includes:
and judging which hardware board card is subjected to open loop breakdown according to the characteristics of the open loop breakdown CAN message, and driving the relay protection device to send out alarm information.
And judging which hardware board card generates the open loop disconnection according to the characteristics of the open loop disconnection CAN message, and driving the relay protection device to send out alarm information.
The characteristics of the CAN network message comprise a message start bit, a CAN message identifier, a control bit, a data field, CRC check, message response and a message end stop bit.
In a second aspect, an embodiment of the present invention further provides an intelligent IO outlet self-checking system based on a CAN bus, where the system includes:
and the initialization module is used for intelligent IO power-on initialization and CAN network initialization.
And the self-checking module is used for starting a self-checking function by the intelligent IO program and carrying out open loop self-checking by reading the level state of the outlet pin.
And the message sending module is used for obtaining a corresponding open loop self-checking message according to the open loop self-checking result and sending the open loop self-checking message to the CPU through the CAN bus.
And the analysis module is used for analyzing the received CAN network message by the CPU and positioning the fault of the board card.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the initializing module includes:
and (3) the intelligent IO is powered on for initialization, the configuration file is analyzed, and the outlet pins are distributed.
And initializing the CAN network and the opening object, including enabling the initialization of the receiving of the export message, the initialization of the self-checking function and the initialization of the uploading of the self-checking message.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the self-checking module includes:
first detection period Q 1 And when the protection device operates normally, the outlet pin is in a first high-level state, and the intelligent IO calls a breakdown self-checking function.
Judging whether the open loop breakdown occurs, if the open loop breakdown is read to be in a first low level state lower than the high level state, and the breakdown state is kept to be longer than a first preset time period T 1 And judging that the loop breaks down.
Reset by hand, first detection period Q 2 And (3) the protection device resumes normal operation, the outlet pin is in a second low-level state, and the intelligent IO calls a disconnection self-checking function.
Judging whether the open loop disconnection occurs, if the open loop disconnection is read to be in a second high-level state higher than the second low-level state, and the continuous disconnection time exceeds a second preset time length T 2 And judging that the loop is opened and broken.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the message sending module includes:
if the open loop breaks down, the intelligent IO sends an open loop breakdown CAN message to the CPU through the CAN bus.
If the open loop is broken, the intelligent IO sends an open loop broken CAN message to the CPU through the CAN bus.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, wherein the analysis module includes:
and judging which hardware board card is subjected to open loop breakdown according to the characteristics of the open loop breakdown CAN message, and driving the relay protection device to send out alarm information.
And judging which hardware board card generates the open loop disconnection according to the characteristics of the open loop disconnection CAN message, and driving the relay protection device to send out alarm information.
The characteristics of the CAN network message comprise a message start bit, a CAN message identifier, a control bit, a data field, CRC check, message response and a message end stop bit.
The embodiment of the invention has the beneficial effects that:
the invention provides an intelligent IO (input/output) outlet self-checking method and system based on a CAN (controller area network) bus, which board card is abnormal in an open loop is analyzed through a CAN network self-checking message when the open loop of an intelligent IO breaks or breaks down, so that the hardware problem of a relay protection device is rapidly positioned, an operation and maintenance person CAN replace the relay protection device in time, the reliability of a protection device is effectively improved, the operation safety of an electric power system is ensured, and the failure accident rate is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an intelligent IO outlet self-checking method based on a CAN bus;
FIG. 2 is a schematic diagram of an intelligent IO chip control outlet relay of the intelligent IO outlet self-checking method based on the CAN bus;
FIG. 3 is a complete flow chart of the intelligent IO outlet self-checking method based on the CAN bus;
fig. 4 is a schematic diagram of an outlet relay control principle of the intelligent IO outlet self-checking method based on the CAN bus;
fig. 5 is a schematic diagram of open loop anomaly detection principle of the intelligent IO outlet self-detection method based on the CAN bus.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein can be arranged and designed in a wide variety of different configurations.
Referring to fig. 1 to 5, a first embodiment of the present invention provides an intelligent IO outlet self-checking method based on a CAN bus, including:
intelligent IO power-on initialization and CAN network initialization.
The intelligent IO program starts a self-checking function, and performs open loop self-checking by reading the level state of the outlet pin.
And according to the result of the open loop self-test, obtaining a corresponding open loop self-test message, and sending the open loop self-test message to the CPU through the CAN bus.
And the CPU analyzes the received CAN network message and performs board fault positioning.
Wherein, the intelligent IO power-on initialization and CAN network initialization comprise:
and (3) the intelligent IO is powered on for initialization, the configuration file is analyzed, and the outlet pins are distributed.
And initializing the CAN network and the opening object, including enabling the initialization of the receiving of the export message, the initialization of the self-checking function and the initialization of the uploading of the self-checking message.
The intelligent IO program starts a self-checking function, and the self-checking of the open loop by reading the level state of the outlet pin comprises the following steps:
first detection period Q 1 Initially, when the protection device operates normally, the exit pin (start_ret) is in a first high-level state, and the intelligent IO invokes a breakdown self-checking function. The intelligent IO initiates a self-test function once every millisecond.
Judging whether the open loop breakdown occurs or not, if the read-out exit pin (START_RET) is lower than thatA first low level state of the high level state, and the breakdown state is maintained for more than a first preset time period T 1 (0.5 s), it is determined that the loop breakdown is open.
Referring to fig. 4, when the protection device is operating normally, the outlet relay JQ1 is not operated, OUT1 is in a low level state, Q1 is turned off, at this time +5v_qd is in a high resistance state, and start_ret is at a first high level. When the breakdown occurs to the Q1, after the intelligent IO reads that the START_RET is at a first low level, the triode Q1 is indicated to be broken down, and when the breakdown state is kept to be more than 0.5s, the intelligent IO sends a loop breakdown CAN message to the CPU.
Reset by hand, first detection period Q 2 And (3) the protection device resumes normal operation, the exit pin (START_RET) is in a second low level state, and the intelligent IO calls a disconnection self-checking function. The intelligent IO initiates a self-test function once every millisecond.
Judging whether the open loop disconnection occurs, if the read outlet pin (START_RET) is in a second high level state higher than the second low level state, and the continuous disconnection time exceeds a second preset time length T 2 (10 min), the open loop is judged to be broken.
Referring to fig. 4, when the protection device is operating normally, the OUT1 is set to high level every minute, Q1 is turned on, and at this time +5v_qd is in the on state, start_ret is the second low level in fig. 4. When the Q1 is disconnected, the intelligent IO reads that start_ret in fig. 4 is at the second high level, indicates that the triode Q1 is disconnected, and continues to be disconnected for more than 10 minutes, at this time, the intelligent IO puts the local open loop to disconnect, and sends an open loop disconnection CAN message to the CPU.
The identification of the intelligent IO program initiated self-test function is shown in Table 1.
Table 1 opening self-checking State identifier definition
The method for obtaining the open loop self-checking message according to the open loop self-checking result comprises the steps of:
if the open loop breaks down, the intelligent IO sends an open loop breakdown CAN message to the CPU through the CAN bus. In table 2, open loop breakdown occurred for board card No. 4.
The open loop breakdown CAN message is shown in table 2.
TABLE 2 open loop breakdown CAN message
If the open loop is broken, the intelligent IO sends an open loop broken CAN message to the CPU through the CAN bus. In table 3, the 5 th and 8 th paths of the No. 4 board card are broken.
The open loop and open loop CAN message is shown in table 3.
TABLE 3 open loop open circuit CAN message
The CPU analyzes the received CAN network message, and the board fault positioning comprises the following steps:
and judging which hardware board card is subjected to open loop breakdown according to the characteristics of the open loop breakdown CAN message, and driving the relay protection device to send out alarm information to remind operation and maintenance personnel of timely replacing the hardware board card.
And judging which hardware board card is subjected to open loop disconnection according to the characteristics of the open loop disconnection CAN message, and driving the relay protection device to send out alarm information to remind operation and maintenance personnel of timely replacing the hardware board card.
The characteristics of the CAN network message comprise a message start bit, a CAN message identifier, a control bit, a data field, CRC check, message response and a message end stop bit.
Referring to fig. 2, fig. 4 and fig. 5, a second embodiment of the present invention provides a second aspect, and the embodiment of the present invention further provides an intelligent IO outlet self-checking system based on a CAN bus, which includes:
and the initialization module is used for intelligent IO power-on initialization and CAN network initialization.
And the self-checking module is used for starting a self-checking function by the intelligent IO program and carrying out open loop self-checking by reading the level state of the outlet pin.
And the message sending module is used for obtaining a corresponding open loop self-checking message according to the open loop self-checking result and sending the open loop self-checking message to the CPU through the CAN bus.
And the analysis module is used for analyzing the received CAN network message by the CPU and positioning the fault of the board card.
As shown in fig. 2, the intelligent IO chip control relay of the CAN bus of the present invention includes a relay protection device CPU, an intelligent IO M4 chip, a CAN transceiver 1, a CAN transceiver 2, a power module, a B code pair time and a debug interface.
The CPU communicates with the intelligent IO chip through the CAN bus, and the CAN1 receives and transmits the opening state message and sends the opening information to the CPU. CAN2 receives and transmits the exit state message and sends the exit state message to the CPU. The power module provides power for the intelligent IO chip. And the B code time synchronization module realizes the synchronous signal transmission function between the intelligent IO chip and the CPU of the relay protection device. The debugging interface realizes the downloading of the intelligent IO program and initializes the CAN network.
Wherein, the initialization module includes:
and (3) the intelligent IO is powered on for initialization, the configuration file is analyzed, and the outlet pins are distributed.
And initializing the CAN network and the opening object, including enabling the initialization of the receiving of the export message, the initialization of the self-checking function and the initialization of the uploading of the self-checking message.
Wherein, the self-checking module includes:
first detection period Q 1 Initially, when the protection device operates normally, the exit pin (start_ret) is in a first high-level state, and the intelligent IO invokes a breakdown self-checking function. The intelligent IO initiates a self-test function once every millisecond.
Judging whether the open loop breakdown occurs, if the read exit pin (START_RET) is in a first low level state lower than the high level state, and the breakdown state is kept exceeding the firstA preset time length T 1 (0.5 s), it is determined that the loop breakdown is open.
Reset by hand, first detection period Q 2 And (3) the protection device resumes normal operation, the exit pin (START_RET) is in a second low level state, and the intelligent IO calls a disconnection self-checking function. The intelligent IO initiates a self-test function once every millisecond.
Judging whether the open loop disconnection occurs, if the read outlet pin (START_RET) is in a second high level state higher than the second low level state, and the continuous disconnection time exceeds a second preset time length T 2 (10 min), the open loop is judged to be broken.
The message sending module comprises:
if the open loop breaks down, the intelligent IO sends an open loop breakdown CAN message to the CPU through the CAN bus.
If the open loop is broken, the intelligent IO sends an open loop broken CAN message to the CPU through the CAN bus.
Wherein the analysis module comprises:
and judging which hardware board card is subjected to open loop breakdown according to the characteristics of the open loop breakdown CAN message, and driving the relay protection device to send out alarm information to remind operation and maintenance personnel of timely replacing the hardware board card.
And judging which hardware board card is subjected to open loop disconnection according to the characteristics of the open loop disconnection CAN message, and driving the relay protection device to send out alarm information to remind operation and maintenance personnel of timely replacing the hardware board card.
The characteristics of the CAN network message comprise a message start bit, a CAN message identifier, a control bit, a data field, CRC check, message response and a message end stop bit.
The embodiment of the invention aims to protect an intelligent IO (input/output) outlet self-checking method and system based on a CAN (controller area network) bus, and has the following effects:
when the open loop breaks or breaks down, the CAN network self-checking message is used for analyzing which board card has the open loop abnormality, so that the hardware problem of the relay protection device is rapidly positioned, the operation and maintenance personnel CAN conveniently replace the relay protection device in time, the reliability of the protection device is effectively improved, the operation safety of the power system is ensured, and the failure accident rate is reduced.
The computer program product of the intelligent IO outlet self-checking method and device based on the CAN bus provided by the embodiment of the invention comprises a computer readable storage medium storing program codes, wherein the instructions included in the program codes CAN be used for executing the method in the method embodiment, and specific implementation CAN be seen in the method embodiment and is not repeated herein.
Specifically, the storage medium CAN be a general storage medium, such as a mobile disk, a hard disk and the like, and when a computer program on the storage medium is run, the intelligent IO outlet self-checking method based on the CAN bus CAN be executed, so that the reliability of a protection device CAN be effectively improved, the running safety of an electric power system is ensured, and the failure accident rate is reduced.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A self-checking method of intelligent IO outlet based on CAN bus is characterized in that,
comprising the following steps:
the intelligent IO power-on initialization and the CAN network initialization;
the intelligent IO program starts a self-checking function, and carries out open loop self-checking by reading the level state of an outlet pin, comprising:
starting a first detection period Q1, when the protection device operates normally, the outlet pin is in a first high-level state, and the intelligent IO calls a breakdown self-checking function;
judging whether open loop breakdown occurs, if the outlet pin is read to be in a first low-level state lower than the high-level state, and if the breakdown state is kept to be longer than a first preset time period T1, judging that the open loop breakdown occurs;
resetting is carried out manually, the first detection period Q2 is started, the protection device is restored to normal operation, the outlet pin is in a second low level state, and the intelligent IO calls a disconnection self-checking function;
judging whether the open loop disconnection occurs or not, if the read outlet pin is in a second high-level state higher than the second low-level state, and if the continuous disconnection time exceeds a second preset time length T2, judging that the open loop disconnection occurs;
according to the result of the open loop self-test, a corresponding open loop self-test message is obtained, and the open loop self-test message is sent to the CPU through the CAN bus;
and the CPU analyzes the received CAN network message and performs board fault positioning.
2. The intelligent IO output self-checking method based on CAN bus according to claim 1, wherein,
the intelligent IO power-on initialization and CAN network initialization comprise:
initializing intelligent IO power-on, analyzing a configuration file and distributing an outlet pin;
and initializing the CAN network and the opening object, including enabling the initialization of the receiving of the export message, the initialization of the self-checking function and the initialization of the uploading of the self-checking message.
3. The intelligent IO output self-checking method based on CAN bus according to claim 1, wherein,
according to the result of the open loop self-checking, a corresponding open loop self-checking message is obtained, and the open loop self-checking message is sent to the CPU through the CAN bus, comprising:
if the open loop breaks down, the intelligent IO sends an open loop breakdown CAN message to the CPU through the CAN bus;
if the open loop is broken, the intelligent IO sends an open loop broken CAN message to the CPU through the CAN bus.
4. The intelligent IO output self-checking method based on CAN bus according to claim 3,
the CPU analyzes the received CAN network message, and the board fault positioning comprises the following steps:
judging which hardware board card has the break-over of the open loop according to the characteristic of the break-over CAN message of the open loop, and driving the relay protection device to send out alarm information;
judging which hardware board card generates the open loop disconnection according to the characteristics of the open loop disconnection CAN message, and driving the relay protection device to send out alarm information;
the characteristics of the CAN network message comprise a message start bit, a CAN message identifier, a control bit, a data field, CRC check, message response and a message end stop bit.
5. An intelligent IO outlet self-checking system based on a CAN bus, comprising:
the initialization module is used for intelligent IO power-on initialization and CAN network initialization;
the self-checking module is used for the intelligent IO program to start a self-checking function, and the self-checking of the open loop is carried out by reading the level state of the outlet pin, and the self-checking module comprises:
starting a first detection period Q1, when the protection device operates normally, the outlet pin is in a first high-level state, and the intelligent IO calls a breakdown self-checking function;
judging whether open loop breakdown occurs, if the outlet pin is read to be in a first low-level state lower than the high-level state, and if the breakdown state is kept to be longer than a first preset time period T1, judging that the open loop breakdown occurs;
resetting is carried out manually, the first detection period Q2 is started, the protection device is restored to normal operation, the outlet pin is in a second low level state, and the intelligent IO calls a disconnection self-checking function;
judging whether the open loop disconnection occurs or not, if the read outlet pin is in a second high-level state higher than the second low-level state, and if the continuous disconnection time exceeds a second preset time length T2, judging that the open loop disconnection occurs;
the message sending module is used for obtaining a corresponding open loop self-checking message according to the result of the open loop self-checking, and sending the open loop self-checking message to the CPU through the CAN bus;
and the analysis module is used for analyzing the received CAN network message by the CPU and positioning the fault of the board card.
6. The CAN bus-based intelligent IO outlet self-test system of claim 5, the initialization module comprising:
initializing intelligent IO power-on, analyzing a configuration file and distributing an outlet pin;
and initializing the CAN network and the opening object, including enabling the initialization of the receiving of the export message, the initialization of the self-checking function and the initialization of the uploading of the self-checking message.
7. The CAN bus-based intelligent IO egress self-test system of claim 6, the message sending module comprising:
if the open loop breaks down, the intelligent IO sends an open loop breakdown CAN message to the CPU through the CAN bus;
if the open loop is broken, the intelligent IO sends an open loop broken CAN message to the CPU through the CAN bus.
8. The CAN bus-based intelligent IO outlet self-test system of claim 7, the analysis module comprising:
judging which hardware board card has the break-over of the open loop according to the characteristic of the break-over CAN message of the open loop, and driving the relay protection device to send out alarm information;
judging which hardware board card generates the open loop disconnection according to the characteristics of the open loop disconnection CAN message, and driving the relay protection device to send out alarm information;
the characteristics of the CAN network message comprise a message start bit, a CAN message identifier, a control bit, a data field, CRC check, message response and a message end stop bit.
CN202110982327.3A 2021-08-25 2021-08-25 Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus Active CN113742124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110982327.3A CN113742124B (en) 2021-08-25 2021-08-25 Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110982327.3A CN113742124B (en) 2021-08-25 2021-08-25 Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus

Publications (2)

Publication Number Publication Date
CN113742124A CN113742124A (en) 2021-12-03
CN113742124B true CN113742124B (en) 2024-02-13

Family

ID=78732800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110982327.3A Active CN113742124B (en) 2021-08-25 2021-08-25 Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus

Country Status (1)

Country Link
CN (1) CN113742124B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118502324A (en) * 2024-07-17 2024-08-16 中国铁路设计集团有限公司 Based on ARM MIPS measurement and control protection device and data control method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0577339A1 (en) * 1992-06-30 1994-01-05 Eaton Corporation Overcurrent protection device
CN102830688A (en) * 2012-09-25 2012-12-19 湖南先步信息股份有限公司 Distributed input/output (I/O) intelligent control system and method based on controller area network (CAN) bus
CN103560050A (en) * 2013-10-30 2014-02-05 武汉烽火富华电气有限责任公司 Starting circuit and method for relay protection switching value output circuit
CN104133138A (en) * 2014-07-24 2014-11-05 国电南瑞科技股份有限公司 DSP-based assembly line autotest method of protection and monitoring device
CN104793069A (en) * 2015-03-11 2015-07-22 四川华拓光通信股份有限公司 Data transmission performance self-checking system of active cable
CN105404198A (en) * 2015-11-02 2016-03-16 北京四方继保自动化股份有限公司 On-off input loop self-checking circuit based on pulse injection method
CN106026399A (en) * 2016-06-29 2016-10-12 许继集团有限公司 Intelligent substation process layer device precise self-checking and intelligent locking method
CN106200620A (en) * 2016-08-17 2016-12-07 许继集团有限公司 A kind of intelligent terminal outputs loop self checking method and feedback circuit
CN107271896A (en) * 2017-08-01 2017-10-20 郑州市轨道交通有限公司运营分公司 Safety relay test device and its method of testing
CN110488183A (en) * 2019-09-19 2019-11-22 南方电网科学研究院有限责任公司 A kind of relay working state monitoring system of chip protective device
CN112202145A (en) * 2020-10-13 2021-01-08 长园深瑞继保自动化有限公司 Method and device for preventing error exit of in-situ microcomputer relay protection device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0577339A1 (en) * 1992-06-30 1994-01-05 Eaton Corporation Overcurrent protection device
CN102830688A (en) * 2012-09-25 2012-12-19 湖南先步信息股份有限公司 Distributed input/output (I/O) intelligent control system and method based on controller area network (CAN) bus
CN103560050A (en) * 2013-10-30 2014-02-05 武汉烽火富华电气有限责任公司 Starting circuit and method for relay protection switching value output circuit
CN104133138A (en) * 2014-07-24 2014-11-05 国电南瑞科技股份有限公司 DSP-based assembly line autotest method of protection and monitoring device
CN104793069A (en) * 2015-03-11 2015-07-22 四川华拓光通信股份有限公司 Data transmission performance self-checking system of active cable
CN105404198A (en) * 2015-11-02 2016-03-16 北京四方继保自动化股份有限公司 On-off input loop self-checking circuit based on pulse injection method
CN106026399A (en) * 2016-06-29 2016-10-12 许继集团有限公司 Intelligent substation process layer device precise self-checking and intelligent locking method
CN106200620A (en) * 2016-08-17 2016-12-07 许继集团有限公司 A kind of intelligent terminal outputs loop self checking method and feedback circuit
CN107271896A (en) * 2017-08-01 2017-10-20 郑州市轨道交通有限公司运营分公司 Safety relay test device and its method of testing
CN110488183A (en) * 2019-09-19 2019-11-22 南方电网科学研究院有限责任公司 A kind of relay working state monitoring system of chip protective device
CN112202145A (en) * 2020-10-13 2021-01-08 长园深瑞继保自动化有限公司 Method and device for preventing error exit of in-situ microcomputer relay protection device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Design of arbitrary wave generator based on VXI bus;Wang Fujun et al.;《2019 14th IEEE International Conference on Electronic Measurement & Instruments (ICEMI)》;第175-179页 *
一种具有在线自检功能的开出回路设计;王振华等;《电子设计工程》;第25卷(第23期);第187-189页 *
用于继电保护开出回路高加速寿命试验问题的分析与改进方法;石建等;《电器与能效管理技术》(第3期);第69-71页 *

Also Published As

Publication number Publication date
CN113742124A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN102263645B (en) Power management method and power management system for communication equipment
CN103647662B (en) A kind of malfunction monitoring alarm method and device
CN113742124B (en) Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus
CN101296135A (en) Fault information processing method and device
CN110740072A (en) fault detection method, device and related equipment
CN113246887B (en) Sequential circuit control method and device, electronic equipment and storage medium
CN103842932A (en) Maintaining operational stability on a system on a chip
CN104104542B (en) RS 485-based real-time intelligent obstacle removing method
CN109768907A (en) A kind of CAN bus baud rate self-adapting setting method
CN112383457B (en) Safety slave station system based on CANopen protocol
CN109710441A (en) A kind of software watchdog, electronic equipment and computer storage medium
CN101714116B (en) Terminal machine and monitoring method thereof
CN110417464B (en) Fault processing method and device, computer device and readable storage medium
CN108762118A (en) Fault handling method and device between a kind of communication apparatus
CN110990903B (en) Cloud system and cloud system protection method
CN202153352U (en) Watchdog device capable of preventing computer control system from failure
CN111984453A (en) Network inspection equipment based on watchdog and use method thereof
CN116225817A (en) Monitoring method and device for database arbitration process
CN115664588A (en) Self-error correction method for acquisition execution unit device
US20140337506A1 (en) System and method for slow link flap detection
CN113595837B (en) Communication protocol management method, device, electronic equipment and storage medium
CN117666452B (en) Multiple safety control method and device for robot, electronic equipment and storage medium
CN115766415B (en) Intelligent network card VR state monitoring device, method, terminal and storage medium
CN115277485B (en) Control method and device for network data and electronic equipment
CN1708956B (en) Intelligent network interface controller

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221123

Address after: 461000 No. 1706, Xuji Avenue, Wuyi Road Street, Weidu District, Xuchang City, Henan Province

Applicant after: Henan Yuanwang Hechu Electric Research Institute Co.,Ltd.

Applicant after: XJ Group Corp.

Applicant after: XJ ELECTRIC Co.,Ltd.

Address before: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant before: XJ Group Corp.

Applicant before: XJ ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant