Remote monitoring bus with high real-time performance and self-redundancy function and control method thereof
By designing a remote monitoring bus with high real-time and redundant functions, using half-duplex communication and redundant mode, the problem of untimely data transmission caused by low real-time control bus and communication failure in the prior art is solved, and the data transmission problem is not timely due to high real-time performance of the control bus and the communication failure. Real-time and stable data collection and command issuance.
Patent Information
- Application Number
- CN201910444549.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-27
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2039-05-27
AI Technical Summary
The existing control bus has low real-time performance in data acquisition and command issuance, and cannot communicate normally when a communication failure occurs, resulting in untimely data transmission.
A remote monitoring bus with high real-time and redundant functions is designed, using point-to-point and point-to-multipoint bus connection methods. Through the half-duplex communication between the acquisition bus and the control bus, we ensure real-time data acquisition and timely commands. Issued and automatically switched to redundant communication mode in case of communication failure to ensure the stability of data communication.
It realizes high real-time data acquisition and command issuance under normal circumstances, timeliness and stability, and maintains normal data communication through redundant communication mode in the event of communication failure, ensuring real-time acquisition of on-site data and timely issuance of remote control commands .
Smart Images

Figure CN110048924B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of remote monitoring, in particular to a remote monitoring bus with high real-time performance and self-redundancy function and a control method thereof. Background Art
[0002] Commonly used RTU devices are used to realize signal acquisition and control related to on-site electrical control. For on-site data acquisition and signal control, the real-time nature of the collected data is required and the commands must be issued in a timely manner.
[0003] At present, the existing control bus has low real-time data collection performance, and commands are not issued in a timely manner. When a communication failure occurs on the control bus, data cannot be communicated normally.
[0004] Therefore, a remote monitoring bus with high real-time performance and self-redundancy function and a control method thereof are proposed to solve the above problems. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the deficiencies in the prior art, the present invention provides a remote monitoring bus with high real-time performance and self-redundancy function and a control method thereof, which solves the problems of low real-time performance of data collection by the existing control bus, untimely command issuance, and failure of data communication when a communication failure occurs on the control bus.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0009] A remote monitoring bus with high real-time performance and self-redundancy function, comprising a line body, wherein the line body comprises an acquisition bus and a control bus, wherein one end of the acquisition bus is connected to an RTU host, and the other end of the acquisition bus is connected to a plurality of RTU slaves, and one end of the control bus is connected to the RTU host, and the other end of the control bus is connected to a plurality of RTU slaves;
[0010] The outer surface of the wire body is provided with an outer protective layer, the inner surface of the outer protective layer is fixedly connected with a fireproof layer, the inner surface of the fireproof layer is provided with a first filling layer, and the middle of the first filling layer is provided with an inner protective layer;
[0011] The inner surface of the inner protective layer is fixedly connected to a second filling layer, both ends of the inner surface of the second filling layer are fixedly connected to shielding layers, and the inner surfaces of the two shielding layers are fixedly connected to wire cores;
[0012] The first filling layer is fixedly connected to the fireproof layer, and the middle parts of both sides of the inner protective layer are fixedly connected to fixed clips, and the fixed clips are made of extensible material;
[0013] A fixing slot is provided in the middle of the first filling layer, and the fixing slot is matched with the fixing strip.
[0014] Optionally, the RTU host is provided with multiple COM ports, and multiple RTU slaves are each provided with a COM port, and the number of the RTU slaves corresponds to the number of COM ports on the RTU host.
[0015] Optionally, the length of each message uploaded by each of the RTU slaves does not exceed 300 bytes, takes up less than 300 bytes in 30 milliseconds, has a baud rate greater than 9600, and an idle interval of 70 milliseconds.
[0016] A control method for a remote monitoring bus with high real-time performance and self-redundancy function,
[0017] Connection of acquisition bus: The acquisition bus connection between the RTU host and the RTU slave adopts point-to-point connection. The number of acquisition bus COM ports of the RTU host depends on the number of RTU slaves. Each RTU slave has a COM port on the host side.
[0018] Each RTU slave actively uploads real-time data. The length of each message does not exceed 300 bytes and takes less than 30 milliseconds. After the message is sent, the idle interval is 70 milliseconds. The real-time data message can reach 10 times within 1 second, achieving 100ms real-time data collection.
[0019] When the acquisition bus communication fails: If the RTU host does not receive the real-time data uploaded by a certain RTU slave acquisition bus within 3 seconds, it is determined that the RTU slave acquisition bus is abnormal, and the control bus will train the RTU slave every 1 second to ensure the normal acquisition of real-time data on site;
[0020] Connection of control bus: The control bus of RTU host and RTU slave adopts a point-to-multipoint bus connection mode. After the RTU host analyzes and processes the collected real-time data, it sends a remote control command to the RTU slave that needs to be controlled. The remote control command message sent by the RTU host contains the ID code of the controlled RTU slave;
[0021] The RTU slaves that are not coded in this way do not respond to control commands; the corresponding RTU slaves under remote control respond to information, and add remote control response field information to the real-time data through the acquisition bus to the RTU host. The remote control command is sent in real time and in a timely manner, with high real-time performance;
[0022] When the control bus communication fails: the RTU host broadcasts time information every 3 seconds through the control bus to maintain communication with each RTU slave to determine whether the communication is interrupted. If the RTU slave does not receive the time information within 5 seconds, it can be determined that the control bus end communication of the RTU slave is abnormal, and the field information of the control bus abnormality is added to the uploaded real-time data information. After the RTU host receives the real-time information or the control bus is abnormal, the RTU slave acquisition bus is configured with a redundant control bus, and a bus is shared for half-duplex communication. The remote control command is issued through the acquisition bus;
[0023] The acquisition bus collects field data in high real-time every 100 milliseconds. When the bus does not have redundancy, data is uploaded in one direction, ensuring high real-time data upload.
[0024] When the RTU host issues a remote control command, the command is issued through the control bus, and the data is transmitted unidirectionally, ensuring the timeliness of data issuance;
[0025] Communication redundancy: When a communication failure occurs on one of the acquisition bus or control bus, the other bus will be changed from one-way communication to half-duplex two-way communication;
[0026] When a communication failure occurs on the acquisition bus line, the RTU host detects that the acquisition bus of the RTU slave is abnormal, automatically starts the control bus, and performs question-and-answer round-robin training on the RTU slave once per second to obtain real-time data, so that the data communication of the RTU slave is normal;
[0027] If the RTU host has remote control commands to be sent to other devices, the remote control commands will be sent first; then the RTU slave with communication failure will be queried;
[0028] When the control bus line communication fails, the RTU slave cannot receive the remote control command. At this time, the acquisition bus is required for redundant communication;
[0029] When the control bus communication fails, the real-time data information uploaded by the RTU slave includes the abnormal information of the control bus. After the RTU host receives the real-time data of the acquisition bus, if a certain RTU slave needs to be remotely controlled, the remote control command is issued through the acquisition bus within 70 milliseconds after receiving the data. The acquisition bus is idle for 70 milliseconds after sending the real-time data, ready to receive whether the bus has a remote control command;
[0030] The acquisition bus realizes the collection of real-time data of each RTU slave, and the control bus realizes the issuance of remote control commands to each RTU slave. Both the acquisition bus and the control bus use half-duplex and differential communication methods, and the communication distance can reach 2Km. During normal communication, the acquisition bus only uploads real-time data in one direction, and the control bus only transmits remote control commands in one direction. When a communication failure occurs in the communication line, the bus itself is redundant, and the acquisition bus or control bus automatically changes from one-way communication to two-way communication.
[0031] (III) Beneficial effects
[0032] The present invention provides a remote monitoring bus with high real-time performance and self-redundancy function and a control method thereof, which has the following beneficial effects:
[0033] (1) The present invention uses two half-duplex communication buses to perform uplink and downlink data communications respectively. During normal communication, the acquisition bus uploads real-time data from the RTU slave to the RTU host. The RTU slave actively initiates the unidirectional upload of real-time data by the RTU slave. The uplink data is uploaded once every 100 milliseconds. The length of the real-time data message does not exceed the sending time of 30 milliseconds, thereby ensuring the real-time nature of the field data. The control bus processes and analyzes the real-time data by the RTU host, and transmits remote control instructions from the RTU host to the RTU slave. The control bus can be issued at any time.
[0034] (2) The present invention also has a redundant feature. When a communication failure occurs on any uplink acquisition bus, the RTU host can judge by the communication timeout mechanism and change to the control bus for real-time data acquisition. If a remote control command is issued by the control bus at this time, the remote control command will be issued first. When a communication failure occurs on the control bus, the RTU slave detects the communication timeout, and the real-time data information uploaded by the acquisition bus contains the control bus abnormal information. The RTU host then issues the remote control command from the acquisition bus, and the bus communication is changed from one-way to two-way communication, and the data can still communicate normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the linear structure of the present invention;
[0036] Figure 2 is a schematic diagram of the present invention;
[0037] Figure 3 This is a flow chart of the RTU host program of the present invention;
[0038] Figure 4 This is a flow chart of the RTU slave program of the present invention.
[0039] In the figure: 1. Line body; 11. Outer protective layer; 12. Fireproof layer; 13. First filling layer; 14. Inner protective layer; 15. Fixed card strip; 16. Fixed card slot; 17. Second filling layer; 18. Shielding layer; 19. Line core; 2. Acquisition bus; 3. Control bus; 4. RTU host; 5. RTU slave. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present invention will be described clearly and completely 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, rather than all the embodiments.
[0041] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0042] In the present invention, unless otherwise clearly specified and limited, the terms "set", "install", "connect", "connect", "fix" and the like should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection; it can be a mechanical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0043] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0044] See also Figure 1-4 , the present invention provides a technical solution:
[0045] A remote monitoring bus with high real-time performance and self-redundancy function, comprising a line body 1, the line body 1 comprising an acquisition bus 2 and a control bus 3, one end of the acquisition bus 2 is connected to an RTU host 4, the other end of the acquisition bus 2 is connected to multiple RTU slaves 5, one end of the control bus 3 is connected to the RTU host 4, the other end of the control bus 3 is connected to multiple RTU slaves 5;
[0046] The outer surface of the wire body 1 is provided with an outer protective layer 11, the inner surface of the outer protective layer 11 is fixedly connected with a fireproof layer 12, the inner surface of the fireproof layer 12 is provided with a first filling layer 13, and the middle of the first filling layer 13 is provided with an inner protective layer 14;
[0047] The inner surface of the inner protective layer 14 is fixedly connected with a second filling layer 17, both ends of the inner surface of the second filling layer 17 are fixedly connected with a shielding layer 18, and the inner surfaces of the two shielding layers 18 are fixedly connected with a wire core 19;
[0048] The first filling layer 13 is fixedly connected to the fireproof layer 12, and the middle of both sides of the inner protective layer 14 are fixedly connected with fixed clips 15, and the fixed clips 15 are made of extensible material;
[0049] A fixing slot 16 is formed in the middle of the first filling layer 13 , and the fixing slot 16 is matched with the fixing strip 15 .
[0050] As an optional technical solution of the present invention:
[0051] The RTU host 4 is provided with multiple COM ports, and the multiple RTU slaves 5 are all provided with COM ports. The number of the RTU slaves 5 corresponds to the number of the COM ports on the RTU host 4 .
[0052] As an optional technical solution of the present invention:
[0053] The length of each message uploaded by each RTU slave 5 does not exceed 300 bytes, the occupied time is less than 30 milliseconds, the baud rate is greater than 9600, and the idle interval time is 70 milliseconds.
[0054] A control method for a remote monitoring bus with high real-time performance and self-redundancy function,
[0055] Acquisition bus 2: The acquisition bus 2 of the RTU host 4 and the RTU slave 5 is connected in a point-to-point manner. The number of COM ports of the acquisition bus 2 of the RTU host 4 depends on the number of RTU slaves 5. Each RTU slave 5 has a COM port on the host side. Each RTU slave 5 actively uploads real-time data. The length of each message does not exceed 300 bytes and takes less than 30 milliseconds (300Byte, baud rate greater than 9600). After the message is sent, the idle interval is 70 milliseconds. The real-time data message can reach 10 times within 1 second, achieving 100ms of real-time data acquisition.
[0056] When the acquisition bus 2 communication fails: If the RTU host 4 does not receive the real-time data uploaded by a certain RTU slave 5 acquisition bus 2 within 3 seconds, it is determined that the acquisition bus 2 of the RTU slave 5 is abnormal, and the control bus 3 trains the RTU slave 5 every 1 second to ensure the normal acquisition of real-time data on site. Due to the communication failure, the real-time performance of the data of the faulty RTU slave 5 is reduced, but it can still communicate normally, and the real-time performance of other RTU slaves 5 is not affected.
[0057] Control bus 3: The control bus 3 of the RTU host 4 and the RTU slave 5 adopts a point-to-multipoint bus connection mode. After the RTU host 4 analyzes and processes the collected real-time data, it sends a remote control command to the RTU slave 5 that needs to be controlled. The remote control command message sent by the RTU host 4 contains the ID code of the controlled RTU slave 5. The RTU slave 5 without this code does not respond to the control command; the corresponding RTU slave 5 response information of the remote control is added to the real-time data through the acquisition bus 2 to the RTU host 4. The remote control command is sent in real time and in a timely manner, with high real-time performance.
[0058] When the control bus 3 communication fails: the RTU host 4 broadcasts time information once every 3 seconds through the control bus 3 to maintain communication with each RTU slave 5 to determine whether the communication is interrupted. If the RTU slave 5 does not receive the time information within 5 seconds, it can be determined that the communication at the control bus 3 end of the RTU slave 5 is abnormal, and the field information of the control bus 3 abnormality is added to the uploaded real-time data information. After the RTU host 4 receives the real-time information or the control bus 3 is abnormal, the RTU slave 5 is configured to acquire the redundant control bus 3 of the acquisition bus 2, share one bus, and perform half-duplex communication. The remote control command is issued through the acquisition bus 2.
[0059] The acquisition bus 2 collects field data in high real time every 100 milliseconds. When the bus does not have redundant effects (see the introduction to redundancy below), data is uploaded unidirectionally, ensuring the high real-time performance of data upload. When the RTU host 4 issues a remote control command, the command is issued through the control bus 3, and data is uploaded unidirectionally, ensuring the timeliness of data issuance.
[0060] Communication redundancy: When a communication failure occurs on one of the acquisition bus 2 or control bus 3, the other one is changed from one-way communication to half-duplex two-way communication.
[0061] When a communication failure occurs in the acquisition bus 2 line, the RTU host 4 detects that the acquisition bus 2 of the RTU slave 5 is abnormal, automatically starts the control bus 3, and performs a question-and-answer round-robin training on the RTU slave 5 once per second to obtain real-time data. This ensures that the data communication of the RTU slave 5 is normal. If the RTU host 4 has a remote control command to be sent to other devices, the remote control command will be sent first. Then the RTU slave 5 with the communication failure is queried.
[0062] When the control bus 3 line communication fails, the RTU slave 5 cannot receive the remote control command, and the acquisition bus 2 is required for redundant communication. When the control bus 3 communication fails, the real-time data information uploaded by the RTU slave includes the abnormal information of the control bus 3. After the RTU host 4 receives the real-time data of the acquisition bus 2, if a certain RTU slave 5 needs to be remotely controlled, the remote control command is issued through the acquisition bus 2 within 70 milliseconds after receiving the data. The acquisition bus 2 is ready to receive whether there is a remote control command for the bus during the 70 millisecond idle time after sending the real-time data.
[0063] To sum up, in the remote control monitoring bus with high real-time performance and self-redundancy function, the acquisition bus 2 realizes the acquisition of real-time data of each RTU slave 5, and the control bus 3 realizes the issuance of remote control commands to each RTU slave 5. Both the acquisition bus 2 and the control bus 3 use half-duplex and differential communication methods, and the communication distance can reach 2Km. During normal communication, the acquisition bus 2 only uploads real-time data in one direction, and the control bus 3 only transmits remote control commands in one direction. When a communication failure occurs in the communication line, the bus itself is redundant, and the acquisition bus 2 or the control bus 3 automatically changes from one-way communication to two-way communication.
[0064] It should be noted that, in the present invention, unless otherwise clearly specified and limited, the first feature being "above" or "below" the second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature being "above", "above" and "above" the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0065] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A remote monitoring bus with high real-time performance and self-redundancy function, comprising a line body (1), Features: The line body (1) comprises an acquisition bus (2) and a control bus (3), one end of the acquisition bus (2) is connected to an RTU host (4), the other end of the acquisition bus (2) is connected to a plurality of RTU slaves (5), one end of the control bus (3) is connected to the RTU host (4), the other end of the control bus (3) is connected to a plurality of RTU slaves (5); The outer surface of the wire body (1) is provided with an outer protective layer (11), the inner surface of the outer protective layer (11) is fixedly connected with a fireproof layer (12), the inner surface of the fireproof layer (12) is provided with a first filling layer (13), and the middle part of the first filling layer (13) is provided with an inner protective layer (14); The inner surface of the inner protective layer (14) is fixedly connected to a second filling layer (17), both ends of the inner surface of the second filling layer (17) are fixedly connected to shielding layers (18), and the inner surfaces of the two shielding layers (18) are fixedly connected to a wire core (19); The first filling layer (13) is fixedly connected to the fireproof layer (12), and the middle parts of both sides of the inner protective layer (14) are fixedly connected with fixed clips (15), and the fixed clips (15) are made of extensible material; A fixed card slot (16) is provided in the middle of the first filling layer (13), and the fixed card slot (16) is adapted to fit the fixed card strip (15); Connection of the acquisition bus (2): The acquisition bus (2) of the RTU host (4) and the RTU slave (5) is connected in a point-to-point manner. The number of COM ports of the acquisition bus (2) of the RTU host (4) depends on the number of RTU slaves (5). Each RTU slave (5) has a COM port on the host side. Each RTU slave (5) actively uploads real-time data. The length of each message does not exceed 300 bytes and takes less than 30 milliseconds. After the message is sent, the idle interval is 70 milliseconds. The real-time data message can reach 10 times within 1 second, achieving 100ms real-time data collection. When the acquisition bus (2) fails in communication: if the RTU host (4) does not receive the real-time data uploaded by the acquisition bus (2) of a certain RTU slave (5) within 3 seconds, it is determined that the acquisition bus (2) of the RTU slave (5) is abnormal, and the control bus (3) polls the RTU slave (5) every 1 second to ensure the normal acquisition of the real-time data on site; Connection of the control bus (3): The control bus (3) of the RTU host (4) and the RTU slave (5) adopts a point-to-multipoint bus connection mode. After the RTU host (4) performs analysis and processing operations based on the collected real-time data, it sends a remote control command to the RTU slave (5) that needs to be controlled. The remote control command message sent by the RTU host (4) contains the ID code of the controlled RTU slave (5); The RTU slave (5) that is not coded in this way does not respond to the control command; the corresponding RTU slave (5) that is remotely controlled responds, and adds the remote control response field information in the real-time data to the RTU host (4) through the acquisition bus (2), and the remote control command is sent in real time; When the control bus (3) fails to communicate: The RTU host (4) broadcasts time information every 3 seconds through the control bus (3) to maintain communication with each RTU slave (5) to determine whether the communication is interrupted. If the RTU slave (5) does not receive the time information within 5 seconds, it can be determined that the control bus (3) end of the RTU slave (5) has abnormal communication, and the field information of the abnormal control bus (3) is added to the uploaded real-time data information. After the RTU host (4) receives the real-time information or the control bus (3) is abnormal, the RTU slave (5) is configured with the acquisition bus (2) redundant control bus (3), and one bus is shared for half-duplex communication. The remote control command is issued through the acquisition bus (2); The acquisition bus (2) acquires field data in real time every 100 milliseconds. When the bus does not have redundancy, data is always uploaded in one direction. When the RTU host (4) issues a remote control command, it issues a command through the control bus (3), and the data is transmitted unidirectionally; Communication redundancy: When a communication failure occurs on one of the acquisition bus (2) or the control bus (3), the other bus is changed from one-way communication to half-duplex two-way communication; When a communication failure occurs in the acquisition bus (2) line, the RTU host (4) detects that the acquisition bus (2) of the RTU slave (5) is abnormal, automatically starts the control bus (3), and performs a question-and-answer round-robin training on the RTU slave (5) once per second to obtain real-time data, so that the data communication of the RTU slave (5) is normal; If the RTU master (4) has a remote control command to be sent to other devices, the remote control command is sent first; then the RTU slave (5) with the communication failure is queried; When the control bus (3) line communication fails, the RTU slave (5) cannot receive the remote control command, and the acquisition bus (2) is required to perform redundant communication; When the control bus (3) fails in communication, the real-time data information uploaded by the RTU slave (5) includes information about the abnormality of the control bus (3). After the RTU host (4) receives the real-time data from the acquisition bus (2), if a certain RTU slave (5) needs to be remotely controlled, a remote control command is sent through the acquisition bus (2) within 70 milliseconds after receiving the data. The acquisition bus (2) is idle for 70 milliseconds after sending the real-time data, and is ready to receive whether there is a remote control command for the bus.
2. The telecontrol monitoring bus with high real-time performance and self-redundancy function according to claim 1, Features: The RTU host (4) is provided with a plurality of COM ports, and the plurality of RTU slaves (5) are each provided with a COM port, and the number of the RTU slaves (5) corresponds to the number of the COM ports on the RTU host (4).
Citation Information
Patent Citations
Electricity utilization collecting method based on redundant bus and modular terminal and system
CN106846783A
Buoy modularization collection system based on CAN bus
CN107436569A
Controllable chain type bus bar intelligent meter checking system
CN201498092U
Compound cable of fire prevention
CN205789230U
Cable used for communication
CN207182953U
