Method, system, device and storage medium for preventing input signal from changing position

By judging the normality of the sub -board power supply and delaying the sending data, the signal variable position caused by the DI board card insertion is solved to ensure the accuracy of the signal and the security of the system.

CN113884859BActive Publication Date: 2025-01-24XIAN THERMAL POWER RES INST CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111264506.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2025-01-24
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

During the plug-in and unplug the DI board, the input signal may be displaced, affecting the controller's logic operations and the safe and reliable operation of the system.

Method used

By determining whether the power supply of the on -site sub -board is normal, collect and delay sending the site data to ensure that the sample status of the DI board card is reported only when the on -site power supply is normal to avoid signal changes.

Benefits of technology

Effectively solve the problem of signal change due to insertion, ensure the accuracy of the signal bit, and improve the security and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113884859B_ABST
    Figure CN113884859B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and storage medium for preventing input signal displacement, comprising: judging whether the power supply of a field sub-board is normal; when the power supply of the field sub-board is normal, collecting field data through the field sub-board, and sending the collected field data to a system motherboard, and the system motherboard sends the received field data to a controller; when the power supply of the field sub-board is abnormal, the system motherboard refuses to send the received field data to the controller, and the controller keeps the original field data. The method, system, device and storage medium can solve the problem of signal displacement caused by plugging and unplugging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method, system, device and storage medium for preventing input signal displacement, and in particular to a method, system, device and storage medium for preventing input signal displacement. Background Art

[0002] DI (digital signal input) boards are used in thermal power DCS systems. Accurate monitoring of external digital quantities is crucial to the safe and stable operation of the system. Since the DI (digital signal input) board inputs digital signals, the collected digital signals are transmitted to the controller for logical operations. In actual applications, if the board works normally, the external digital signals are collected and transmitted to the controller for logical operations. When the DI (digital signal input) board is unplugged, the controller will maintain the input value of the previous moment. When the external wiring remains unchanged and the DI (digital signal input) board is reinserted, the DI (digital signal input) board input signal may sometimes flip. This signal flip state is a relatively dangerous signal in actual applications, which will directly affect the logic operation control of the controller, thereby affecting the safe and reliable operation of the system.

[0003] The reason for this situation is that the DI (digital signal input) board is a double-layer board, which is composed of two boards stacked together. The two boards are divided into a system motherboard and a field daughter board. The system motherboard and the field daughter board are powered separately and independently, and both are powered by the base. When the DI (digital signal input) board is inserted into the base, due to the different insertion methods, the power supply on the system motherboard side will be powered on first, and the motherboard will start working normally and establish communication with the controller. At this time, the field daughter board has not been powered on, resulting in the field daughter board being unable to collect and report the field signal in time. At this time, the system motherboard will think that the signal collected by the field daughter board is 0, and it will refresh the data buffer and report the 0 state to the controller, which will cause the original 1 state to flip, thereby affecting the entire control logic. This is a problem caused by the hot plug of the DI (digital signal input) board. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, system, device and storage medium for preventing input signal displacement, which can solve the problem of signal displacement caused by plugging and unplugging.

[0005] In order to achieve the above object, the present invention adopts the following technical scheme:

[0006] In one aspect, the present invention provides a method for preventing input signal displacement, comprising:

[0007] Determine whether the power supply of the on-site daughter board is normal;

[0008] When the power supply of the field daughter board is normal, the field daughter board collects the field data and sends the collected field data to the system mother board. In the first sampling cycle, after a delay of 3s-6s, the system mother board sends the received field data to the controller;

[0009] When the power supply of the field daughter board is abnormal, the system motherboard refuses to send the received field data to the controller, and the controller keeps the original field data.

[0010] The method for preventing input signal displacement of the present invention is further improved in that:

[0011] Before judging whether the power supply of the on-site daughter board is normal, the following steps are also included:

[0012] Insert the DI board into the base, and the system motherboard starts to work normally after being powered on, wherein the DI board includes the system motherboard and the field daughter board;

[0013] Establish the connection between the DI board and the controller, and the controller sends the sampling command.

[0014] In other sampling cycles, the system motherboard directly sends the received field data to the controller.

[0015] The system motherboard packages the received field data and sends it to the controller.

[0016] In a second aspect of the present invention, the present invention provides a system for preventing input signal displacement, comprising:

[0017] A judgment module is used to judge whether the power supply of the on-site daughter board is normal;

[0018] The data processing module is used for collecting field data on the field daughter board when the power supply of the field daughter board is normal, and sending the collected field data to the system mother board. In the first sampling cycle, after a delay of 3s-6s, the system mother board sends the received field data to the controller; when the power supply of the field daughter board is abnormal, the system mother board refuses to send the received field data to the controller, and the controller keeps the original field data.

[0019] In a third aspect of the present invention, the present invention provides a storage data displacement correction device, comprising:

[0020] Memory for storing computer programs;

[0021] A processor is used to implement the steps of the method for preventing input signal displacement when executing the computer program.

[0022] In a fourth aspect of the present invention, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for preventing input signal displacement are implemented.

[0023] The present invention has the following beneficial effects:

[0024] During specific operation, the method, system, device and storage medium for preventing input signal displacement described in the present invention collect field data through the field daughter board when the power supply of the field daughter board is normal, and send the collected field data to the system mother board, and the system mother board sends the received field data to the controller, that is, only when the power supply on the field side is normal and has not changed, it is considered that the DI board card is reliably powered on, and the current DI board card sampling state is reported at this time to completely solve the signal displacement problem caused by plugging and unplugging. After multiple tests, no state reversal occurred, and the operation is convenient and simple, which is easy to promote and apply. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0026] Figure 1 is a flow chart of the present invention;

[0027] Figure 2 It is a structural schematic diagram of the present invention.

[0028] Among them, 1 is the judgment module and 2 is the data processing module. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0032] The design principle of the present invention is:

[0033] Perform logical judgment on the power supply on the field side, and detect that only when the field side is normal and there is no change, the DI board is considered to be reliably powered on. At this time, the current DI board sampling state is reported to completely solve the signal displacement problem caused by plugging and unplugging. After many tests, no state reversal occurred.

[0034] In addition, since the hardware has been finalized and cannot be optimized from the hardware circuit, a software optimization method is adopted; when the DI board is powered on again, a delayed output is performed, that is, data is reported after a delay of 3s-6s.

[0035] Embodiment 1

[0036] See also Figure 1 In this embodiment, a method for preventing input signal displacement is provided to overcome the signal displacement problem caused by plugging and unplugging in the prior art to ensure the accuracy of the signal position in the controller. To this end, a method for preventing input signal displacement based on whether the power supply of the on-site daughter board is normal is provided.

[0037] refer to Figure 1 The method for preventing input signal displacement of the present invention comprises:

[0038] 1) Insert the DI (digital signal input) card into the base. After the system motherboard is powered on, it starts to work normally. The DI card includes the system motherboard and the field daughter board. The field daughter board is used to collect field data, and the system motherboard is used to package and forward field data.

[0039] 2) Establish the connection between the DI board and the controller, and the controller sends instructions normally;

[0040] 3) The system motherboard analyzes the field data according to the instructions issued by the controller;

[0041] 4) Determine whether the power supply of the field sub-board is normal. If the power supply of the field sub-board is normal, go to step 5). Otherwise, go to step 7). If the voltage of the field sub-board is normal, go to step 5).

[0042] 5) The field daughter board collects field data and then sends the collected field data to the system mother board;

[0043] 6) After the system receives the field data sent by the field sub-board, it packages the field data sent by the field sub-board, and then sends it to the controller after a delay of 3s-6s. In addition, in the subsequent sampling cycle, there is no need to delay, and the field data is directly packaged and sent to the controller;

[0044] 7) The system motherboard does not refresh the cache area, does not package the field data, and does not send the field data to the controller. The controller maintains the original field data.

[0045] The innovation of the present invention is:

[0046] The present invention does not change the hardware structure, but only increases the logic of the software to reduce the processing cost; in addition, the present invention considers different states of the DI board when inserted by judging whether the power supply of the on-site daughter board is normal, and avoids the possibility of fault occurrence from the logical judgment; at the same time, when the positive pressure of the on-site daughter board is normal, the first power-on of the DI board is delayed by 3-5s, so that the initialization of the entire DI board is completed, the system works stably, and the system motherboard sends the received on-site data to the controller to improve the reliability of on-site data acquisition and avoid sending interference signals at the moment of power-on.

[0047] Embodiment 2

[0048] refer to Figure 2 The system for preventing input signal displacement of the present invention comprises:

[0049] The judging module 1 is used to judge whether the power supply of the on-site sub-board is normal;

[0050] Data processing module 2 is used for collecting field data by the field sub-board when the power supply of the field sub-board is normal, and sending the collected field data to the system motherboard. In the first sampling cycle, after a delay of 3s-6s, the system motherboard sends the received field data to the controller; when the power supply of the field sub-board is abnormal, the system motherboard refuses to send the received field data to the controller, and the controller maintains the original field data.

[0051] Embodiment 3

[0052] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for preventing input signal displacement when executing the computer program.

[0053] Embodiment 4

[0054] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for preventing input signal displacement are implemented.

[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for preventing input signal displacement, characterized in that: include: Determine whether the power supply of the on-site daughter board is normal; When the power supply of the field daughter board is normal, the field daughter board collects the field data and sends the collected field data to the system mother board. In the first sampling cycle, after a delay of 3s-6s, the system mother board sends the received field data to the controller; When the power supply of the field daughter board is abnormal, the system motherboard refuses to send the received field data to the controller, and the controller keeps the original field data; Before judging whether the power supply of the on-site daughter board is normal, the following steps are also included: Insert the DI board into the base, and the system motherboard starts to work normally after being powered on, wherein the DI board includes the system motherboard and the field daughter board; Establish the connection between the DI board and the controller, and the controller sends the sampling instruction; In other sampling cycles, the system motherboard directly sends the received field data to the controller; The system motherboard packages the received field data and sends it to the controller; The method is applied in the control process of a thermal power DCS system, and solves the problem of signal displacement caused by plugging and unplugging of a DI board.

2. A system for preventing input signal displacement, characterized in that: include: A judgment module (1) is used to judge whether the power supply of the on-site sub-board is normal; The data processing module (2) is used for collecting field data on the field sub-board when the power supply of the field sub-board is normal, and sending the collected field data to the system motherboard. In the first sampling cycle, after a delay of 3s-6s, the system motherboard sends the received field data to the controller; when the power supply of the field sub-board is abnormal, the system motherboard refuses to send the received field data to the controller, and the controller keeps the original field data; Before judging whether the power supply of the on-site daughter board is normal, the following steps are also included: Insert the DI board into the base, and the system motherboard starts to work normally after being powered on, wherein the DI board includes the system motherboard and the field daughter board; Establish the connection between the DI board and the controller, and the controller sends the sampling instruction; In other sampling cycles, the system motherboard directly sends the received field data to the controller; The system motherboard packages the received field data and sends it to the controller; The system is applied in the control process of a thermal power DCS system, and solves the problem of signal displacement caused by plugging and unplugging of DI boards.

3. A storage data displacement correction device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for preventing input signal displacement as claimed in claim 1 when executing the computer program.

4. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for preventing input signal displacement as claimed in claim 1 are implemented.

Citation Information

Patent Citations

  • Master and slave circuit board capable of readlizing live insrtion and withdraw and method for realizing live insertion and withdraw

    CN1474514A