A wired self-organizing network complete machine PLC controller and control method thereof
By introducing a wired self-networking integrated design into the PLC controller, combining CPU, redundant power supply, input and output interfaces and regional routing protocol tables, the high cost of accessing network equipment in large-scale networking of traditional PLC controllers is solved. and the problem of low data transmission reliability achieves efficient and reliable industrial data transmission, meeting the dynamic changes of industrial data transmission.
Patent Information
- Application Number
- CN202210776157.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-04
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-07-04
AI Technical Summary
When traditional PLC controllers form large-scale networking, network equipment access costs are high and the reliability is low. IPv4 address resources are insufficient and the QoS mechanism cannot guarantee real-time reliable transmission of data, making it difficult to meet the needs of industrial data transmission.
Design a wired self-networked PLC controller, using CPU, redundant power supply, input and output interface, communication interface, memory and area routing protocol table, and realize business processing, equipment monitoring and data through internal interconnection bus and extension interface Transmission, with host functions and routing functions, supports ring and star network topology, and uses regional routing protocol tables to expand network address and dynamic updates.
Reduces network cabling costs, improves real-time reliability and interconnectivity of data transmission, meets the needs of industrial data transmission, realizes fast, accurate and efficient data transmission interaction, reduces the overhead of routing protocols, and improves the robustness of network systems. and the accuracy of industrial data transmission.
Smart Images

Figure CN115343938B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of PLC controllers, and in particular to a wired self-organizing network complete PLC controller and a control method thereof. Background Art
[0002] With the digital upgrade of the intelligent manufacturing industry, more and more sensors and industrial control modules are connected to the network. Traditional PLC controllers mainly use fieldbus connection methods. The large-scale access of digital acquisition modules and analog acquisition modules has put forward higher requirements on the bandwidth and access volume of data transmission channels. For PLC network communication, it can be divided into communication between PLC and external devices and communication between PLC and internal devices of the system from the perspective of device division. The communication between PLC and external devices mainly includes two aspects: communication between PLC and the host computer of the programming, monitoring, and debugging computer or network control system, and communication between PLC and external devices of the general communication interface (RS232, RS485); the communication between PLC and internal devices mainly includes two aspects: communication between PLC and remote I / O, and communication between PLC and PLC.
[0003] The communication between PLC and external devices and between PLC and internal devices of the system adopts the traditional LAN network topology. The basic structure of LAN includes star, ring, field bus and tree structure. These common structures adopt the central core point. The dependence of other devices on the central core point leads to high network wiring cost and low reliability.
[0004] The main tasks of traditional PLC controllers are data processing and logic control. When large-scale networking is carried out, the access of network devices is mainly handled by IPv4 and QoS mechanism. The biggest problem with IPv4 technology is the lack of network address resources, which seriously restricts the application and development of the Internet; the biggest problem with the QoS mechanism is that it cannot guarantee the real-time reliability of data transmission, which is difficult to meet the requirements of industrial data transmission.
[0005] Traditional PLC controllers mainly use fieldbus-type device expansion methods, which not only limits the number of device expansions, but also restricts the development of high bandwidth requirements, real-time performance, reliability and connectivity of data communications. The flexible characteristics of industrial production processes require control systems to be able to quickly and dynamically reorganize, continuously update production information, and improve the production efficiency of industrial manufacturers. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present invention provides a wired self-organizing network complete PLC controller and a control method thereof, which solves the problems raised in the above-mentioned background technology.
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0008] A wired self-organizing network complete PLC controller, comprising a CPU, a redundant power supply connected to the CPU, an input interface and an output interface connected to the redundant power supply, and also comprising a communication interface, a memory, a regional routing protocol table and an expansion interface connected to the CPU via an internal interconnection bus;
[0009] The CPU is used for business processing and equipment monitoring, the redundant power supply is used to provide a stable power supply and provide power status indication information; the output interface adopts a field bus to connect to an external logic control; the input interface is used to be compatible with a traditional data acquisition module; the communication interface is used to communicate with a programmer, HMI, or computer-aided equipment, program the PLC controller, display and issue human-computer interaction control instructions; the memory is used to store basic equipment information and auxiliary startup programs; the regional routing protocol table is used to maintain the routing exchange information of regional network equipment and run the corresponding routing protocol; the expansion interface is used to add other functional modules.
[0010] Preferably, the CPU has a host function and a routing function, and as a core component of the PLC controller, is interconnected with the modules of the controller through an internal interconnection bus to perform business processing and equipment monitoring.
[0011] Preferably, the host functionality is used for conventional data processing and logic control.
[0012] As a preferred embodiment, the routing function is used to quickly, accurately and efficiently perform data transmission interaction in large-scale industrial networking, realize ring and star network topology, and the network communication between devices will not cause communication abnormalities due to line interruption, which can effectively improve the robustness of the network system; at the same time, the routing function is used to distinguish different networks, realize network interconnection and isolation, and maintain the independence of each network. The routing function does not forward broadcast messages, but limits broadcast messages to their respective control areas.
[0013] Preferably, the field bus includes RS232, RS422, and RS485, and is connected to external logic control devices through these interfaces.
[0014] Preferably, the basic information of the device is used for authentication of the same PLC controller, and the auxiliary startup program is used for initialization of the device.
[0015] The present invention also provides a control method for a wired self-organizing network complete PLC controller, comprising the following steps:
[0016] (1) Analyze the control requirements of the control system, determine the I / O device information and functions required in the system, and establish the networking environment for the field-level PLC control system;
[0017] (2) The PLC controller is powered on and initialized, the hardware configuration is completed, the input and output points of the PLC controller are allocated, and the designed ladder diagram is input into the PLC controller;
[0018] (3) The CPU of the PLC controller converts the address resolution protocol into Ethernet messages and broadcasts them to neighboring devices, and provides its own MAC address;
[0019] (4) Determine whether the neighboring device is the transmission destination address device;
[0020] (5) If the adjacent PLC controller is the destination data processing device, update the host device information to the regional routing protocol table and update the device status to ready;
[0021] (6) If the adjacent PLC controller is not the destination data processing device, an automatic routing algorithm is used to find the destination address device, and the MAC and IP information of the relay node is added to the Ethernet broadcast message until the destination address is found. Then the host device information is updated to the regional routing protocol table and the device status is updated to ready;
[0022] (7) When the node information in the network topology changes, update the device status to the standby status and repeat steps 3 to 6 to update the regional routing protocol table;
[0023] (8) After waiting for the network interconnection device to detect that the status is ready, information communication between PLC devices begins.
[0024] Preferably, the regional routing protocol table plans the transmission path and direction of the control data and performs real-time dynamic updates.
[0025] Preferably, a next-hop redundant address design method is added to the regional routing protocol table, and when it is detected that the data cannot be transmitted to the next-hop address, the data is transmitted according to the backup next-hop address.
[0026] The wired self-organizing network complete machine PLC controller and control method thereof described in the present invention have the following beneficial effects:
[0027] (1) The CPU and modules are connected by an internal interconnection bus, which eliminates the dependence of other devices on the central core point. There is no limit on the number of device expansions, and there is no restriction on the development of high bandwidth requirements, real-time, reliability and connectivity of data communication. It reduces the cost of network wiring, ensures real-time and reliable data transmission, and meets the requirements of industrial data transmission.
[0028] (2) It has host and routing functions, which are compatible with traditional data processing and logic control, and can meet the needs of fast, accurate and efficient data transmission and interaction in large-scale industrial networks. It can find accurate and available routing information in the shortest possible time during data interaction. At the same time, it can quickly update the network topology configuration based on the in-place information of the equipment in the system, reduce additional delays and maintain routing control information, and reduce the overhead of routing protocols, so as to remove the limitations of PLC controllers in computing power, storage space, and power supply.
[0029] (3) Add regional routing protocol tables, maintain the routing exchange information of regional network devices, run corresponding routing protocols, adapt to the rapid changes in network topology, improve the interconnection scale and service quality of the communication network of field-level PLC controllers, and meet the dynamic changes in modern industrial data transmission needs; add a next-hop redundant address design method to the regional routing protocol table. When it is detected that the data cannot be transmitted to the next-hop address, the data is transmitted according to the backup next-hop address, which improves the transmission accuracy and reliability of industrial data and avoids data transmission waiting caused by multiple dynamic updates of the routing table and routing protocol table query abnormalities caused by abnormal equipment downtime.
[0030] (4) It provides multiple interfaces to facilitate the access and expansion of equipment, with richer functions and great potential for subsequent transformation. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the controller component modules of the present invention;
[0032] Figure 2 It is a flow chart of the control method of the present invention. DETAILED DESCRIPTION
[0033] 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.
[0034] like Figure 1 As shown, the present invention provides a technical solution: a wired self-organizing network complete machine PLC controller, including a CPU, a redundant power supply connected to the CPU, an input interface and an output interface connected to the redundant power supply, and also including a communication interface connected to the CPU through an internal interconnection bus, a memory, a regional routing protocol table and an expansion interface;
[0035] The CPU is used for business processing and equipment monitoring, and the redundant power supply is used to provide a stable power supply and power status indication information; the output interface adopts a field bus to connect to an external logic control; the input interface is used to be compatible with a traditional data acquisition module; the communication interface is used to communicate with a programmer, HMI, or computer-aided equipment, program the PLC controller, and display and issue human-computer interaction control instructions; the memory is used to store basic equipment information and auxiliary startup programs; the regional routing protocol table is used to maintain the routing exchange information of regional network devices, run the corresponding routing protocol, adapt to the rapid changes in network topology, and improve the interconnection scale and service quality of the communication network of the field-level PLC controller; the expansion interface is used to add other functional modules, mainly to add special functional modules to the PLC controller, and to expand the number of switch I / O points and increase the analog I / O terminals through expansion modules.
[0036] Among them, the CPU, as the core component of the PLC controller, is interconnected with the controller module through the internal interconnection bus to perform business processing and equipment monitoring. It has a host function and a routing function. The host function is used for traditional data processing and logic control, and the routing function is used to quickly, accurately and efficiently perform data transmission interaction in large-scale industrial networking, realize the ring and star network topology, and ensure that the network communication between devices will not cause communication abnormalities due to line interruption, which can effectively improve the robustness of the network system. At the same time, the routing function is used to distinguish different networks, realize network interconnection and isolation, and maintain the independence of each network. The routing function does not forward broadcast messages, but limits broadcast messages to their respective control areas.
[0037] The input interface is a commonly used field bus interface such as RS232, RS422, RS485, etc., providing an interface compatible with AI / AO / DI / DO.
[0038] The basic device information is used for authentication of the same PLC controller, and the auxiliary startup program is used for initialization of the device.
[0039] The present invention aims at the networking of small and medium-sized industrial Internet field-level equipment, realizes the expansion of switch quantity I / O points and analog quantity I / O terminals through conventional expansion interfaces, and provides a wired self-organizing network complete machine PLC controller to expand the network address through the regional routing protocol table in accordance with the demand of the complete machine control system while overcoming the insufficient network address resources of the IPV4 protocol. The specific control method is as follows:
[0040] (1) Analyze the control requirements of the control system, determine the I / O device information and functions required in the system, and establish the networking environment for the field-level PLC control system;
[0041] (2) The PLC controller is powered on and initialized, the hardware configuration is completed, the input and output points of the PLC controller are allocated, and the designed ladder diagram is input into the PLC controller;
[0042] (3) The CPU of the PLC controller converts the address resolution protocol into Ethernet messages and broadcasts them to neighboring devices, and provides its own MAC address;
[0043] (4) Determine whether the neighboring device is the transmission destination address device;
[0044] (5) If the adjacent PLC controller is the destination data processing device, update the host device information to the regional routing protocol table and update the device status to ready;
[0045] (6) If the adjacent PLC controller is not the destination data processing device, an automatic routing algorithm is used to find the destination address device, and the MAC and IP information of the relay node is added to the Ethernet broadcast message until the destination address is found. Then the host device information is updated to the regional routing protocol table and the device status is updated to ready;
[0046] (7) When the node information in the network topology changes, update the device status to the standby status and repeat steps 3 to 6 to update the regional routing protocol table;
[0047] (8) After waiting for the network interconnection device to detect that the status is ready, information communication between PLC devices begins.
[0048] The regional routing protocol table plans the transmission path and direction of the control data and performs real-time dynamic updates. A next-hop redundant address design method is added to the regional routing protocol table. When it is detected that the data cannot be transmitted to the next-hop address, in order to improve the transmission accuracy and reliability of industrial data, the data will be transmitted according to the backup next-hop address, avoiding data transmission waiting caused by multiple dynamic updates of the routing table and routing protocol table query abnormalities caused by abnormal equipment downtime.
[0049] Destination Address Mask length Priority Next hop address Output interface name Next hop redundant address
[0050] 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 control method for a wired ad hoc network complete PLC controller, comprising a CPU, a redundant power supply connected to the CPU, an input interface connected to the redundant power supply, and an output interface, characterized in that: Also includes a communication interface, a memory, a regional routing protocol table, and an expansion interface connected to the CPU via an internal interconnect bus; The CPU is used for business processing and equipment monitoring, the redundant power supply is used to provide a stable power supply and provide power status indication information; the output interface adopts a field bus to connect to an external logic control; the input interface is used to be compatible with a traditional data acquisition module; the communication interface is used to communicate with a programmer, HMI, or computer-aided equipment, program the PLC controller, display and issue human-computer interaction control instructions; the memory is used to store basic equipment information and auxiliary startup programs; The regional routing protocol table is used to maintain the routing exchange information of the regional network equipment and run the corresponding routing protocol; the expansion interface is used to add other functional modules; The control method comprises the following steps: (1) Analyze the control requirements of the control system, determine the I / O device information and functions required in the system, and establish the networking environment for the field-level PLC control system; (2) The PLC controller is powered on and initialized, the hardware configuration is completed, the input and output points of the PLC controller are allocated, and the designed ladder diagram is input into the PLC controller; (3) The CPU of the PLC controller converts the address resolution protocol into Ethernet messages and broadcasts them to neighboring devices, and provides its own MAC address; (4) Determine whether the neighboring device is the transmission destination address device; (5) If the adjacent PLC controller is the destination data processing device, update the host device information to the regional routing protocol table and update the device status to ready; (6) If the adjacent PLC controller is not the destination data processing device, an automatic routing algorithm is used to find the destination address device, and the MAC and IP information of the relay node is added to the Ethernet broadcast message until the destination address is found. Then the host device information is updated to the regional routing protocol table and the device status is updated to ready; (7) When the node information in the network topology changes, update the device status to the standby status and repeat steps 3 to 6 to update the regional routing protocol table; (8) After waiting for the network interconnection device to detect that the status is ready, information communication between PLC devices begins.
2. The control method of a wired ad hoc network complete PLC controller according to claim 1, characterized in that: The CPU has a host function and a routing function.
3. The control method of a wired ad hoc network complete PLC controller according to claim 2, characterized in that: The host function is used for traditional data processing and logic control.
4. The control method of a wired ad hoc network complete PLC controller according to claim 2, characterized in that: The routing function is used to quickly, accurately and efficiently perform data transmission interaction in large-scale industrial networking, and realize ring and star network topology structures.
5. The control method of a wired ad hoc network complete PLC controller according to claim 1, characterized in that: The field bus includes RS232, RS422 and RS485.
6. The control method of a wired ad hoc network complete PLC controller according to claim 1, characterized in that: The basic device information is used for authentication of the same PLC controller, and the auxiliary startup program is used for initialization of the device.
7. The control method of a wired ad hoc network complete PLC controller according to claim 1, characterized in that: The regional routing protocol table plans and controls the transmission path and direction of data, and performs real-time dynamic updates.
8. The control method of a wired ad hoc network complete PLC controller according to claim 7, characterized in that: The regional routing protocol table includes a next-hop redundant address design method. When it is detected that the data cannot be transmitted to the next-hop address, the data is transmitted according to the backup next-hop address.
Citation Information
Patent Citations
Wireless network optimization method for intelligent meter reading system
CN104010343A
Edge router for 6LoWPAN IPv4 Internet access and access method
CN104348929A
Multi-data integration service platform based on industrial Internet of Things (IoT) communication
CN105721546A
MAC-based PLC dual-redundant method and MAC-based PLC dual-redundant system
CN106647613A
Data transmission system and router with built-in data system
CN212649497U
