PLC master module and industrial control system
By integrating multi-core ARM and FPGA, the problems of large size and high maintenance difficulty of PLC control systems are solved, multi-protocol support and hardware cost savings are achieved, and system efficiency and reliability are improved.
Patent Information
- Application Number
- CN202522443279.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-18
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-11-18
AI Technical Summary
Existing PLC control systems are large in size, difficult to maintain, and cannot effectively support multiple communication protocols.
The integrated solution adopts a multi-core ARM architecture CPU chip, FPGA chip, shared memory unit and system bus, supports multiple communication protocols such as EtherCAT, Profibus-DP, CANOpen, etc., and optimizes data exchange through hardware resource allocation and hardware address mapping.
It has achieved savings in hardware costs, wiring costs, and cabinet space for PLC systems, improved system efficiency and reliability, reduced dependence on external technologies, and ensured supply chain security.
Smart Images

Figure CN225032371U_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of programmable logic controller (PLC) technology, and more particularly to a PLC main control module and an industrial control system. Background Technology
[0002] The PLC main control module is the brain of the control system. Its basic functions are data acquisition, processing, and corresponding data output. With the vigorous development of industrial automation, the functional requirements for the PLC main control module are also increasing. It not only needs to meet the basic requirements of PLC control, but also needs to support multiple communication protocols, such as EtherCAT, Profibus-DP, and CANOpen.
[0003] In related technologies, multiple control modules can be set in a PLC control system to meet the needs of different communication protocols and different control functions, resulting in a large size of the PLC control system and high maintenance difficulty. Utility Model Content
[0004] In view of this, the present disclosure provides a PLC main control module and an industrial control system to solve the technical problems of large size and high maintenance difficulty of PLC control systems in the prior art.
[0005] To achieve the above objectives, the technical solution adopted in this disclosure is: The PLC main control module provided in the first aspect of this disclosure includes: a multi-core ARM architecture CPU chip, an FPGA chip, a shared memory unit, and a system bus; the CPU chip and the FPGA chip are communicatively connected via the system bus; the CPU chip contains at least four physically independent data processing cores; the shared memory unit is configured to be directly accessed by at least two processing cores of the CPU chip and the FPGA chip; the at least four processing cores of the CPU chip include: a first processing core, whose hardware resources are allocated for executing IEC arithmetic instructions; a second processing core, whose hardware resources are allocated for processing Modbus-TCP communication data; a third processing core, whose hardware resources are allocated for processing EtherCAT master station communication data; and a fourth processing core, whose hardware resources are allocated for processing Profibus-DP master station, Modbus-RTU master station, and CAN master station communication data; the FPGA chip internally contains Profibus-DP protocol packetization logic circuit, IO-BUS slave station data frame breaking and parsing logic circuit, and Modbus-RTU frame breaking and data parsing logic circuit.
[0006] In some embodiments, the shared memory unit is divided into multiple independent address mapping regions, wherein at least one address mapping region is configured as a dedicated exchange buffer between IEC arithmetic instructions and various communication protocol data.
[0007] In some embodiments, the main control module further includes a physical communication interface group, which includes an Ethernet physical layer chip, an RS-485 physical layer chip, and a CAN physical layer transceiver; the Ethernet physical layer chip is connected to the MAC layer controllers of the second processing core and the third processing core; the RS-485 physical layer chip and the CAN physical layer transceiver are connected to the corresponding logic circuit pins of the FPGA chip.
[0008] In some embodiments, the system bus is a parallel bus, and the FPGA chip is connected to the memory controller of the CPU chip through the parallel bus to enable direct access to the shared memory unit.
[0009] In some embodiments, the system bus is a high-speed serial bus, and the FPGA chip is connected to the memory controller of the CPU chip through the high-speed serial bus to enable direct access to the shared memory unit.
[0010] In some embodiments, the first, second, and third processing cores are connected to a Linux operating system scheduler; the fourth processing core is not connected to any operating system scheduler and runs as a bare core.
[0011] In some embodiments, the main control module further includes a data exchange structure, which is built based on a shared memory unit and is used to establish a data exchange channel between the first processing core, the second processing core, the third processing core, the fourth processing core, and the FPGA chip.
[0012] In some embodiments, the FPGA chip also integrates an IO-BUS arbitrator, which implements communication timing management with multiple IO slave modules through hardware logic.
[0013] In some embodiments, the first processing core, the second processing core, the third processing core, and the fourth processing core are physically isolated from each other and each has an independent hardware execution pipeline.
[0014] A second aspect of this disclosure provides an industrial control system, including a PLC main control module according to the first aspect of this disclosure, and: an EtherCAT slave device connected to a third processing core of the PLC main control module via an Ethernet interface; a Profibus-DP slave device connected to the Profibus-DP protocol packaging logic circuit of the FPGA chip of the PLC main control module via an IO-BUS bus; and a host computer connected to a second processing core of the PLC main control module via an Ethernet interface.
[0015] The beneficial effects of this disclosure embodiment compared with the prior art are as follows: the PLC main control module in this disclosure embodiment integrates a multi-core ARM architecture CPU chip, an FPGA chip, a shared memory unit and a system bus on the same hardware platform, so that the PLC main control module can meet the requirements of different communication protocols and different control functions, thereby saving the hardware cost, wiring cost and cabinet space of the PLC system. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of a PLC main control module provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of another PLC main control module provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of another PLC main control module provided in an embodiment of this disclosure; Figure 4 This is a schematic diagram of an industrial control system provided in an embodiment of this disclosure. Detailed Implementation
[0018] To make the technical problems, technical solutions, and beneficial effects to be solved by this disclosure clearer, the disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining this disclosure and are not intended to limit this disclosure.
[0019] The PLC (Programmable Logic Controller) main control module according to embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0020] Figure 1 This is a schematic diagram of a PLC main control module provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of another PLC main control module provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of another PLC main control module provided in an embodiment of this disclosure; Figure 4 This is a schematic diagram of an industrial control system provided in an embodiment of this disclosure. The following is in conjunction with... Figure 1 , Figure 2 , Figure 3 and Figure 4Let's describe the PLC main control module and industrial control system provided in the embodiments of this disclosure.
[0021] like Figure 1 As shown, the PLC main control module provided in this embodiment includes: a multi-core ARM architecture CPU (Central Processing Unit) chip 101, an FPGA (Field Programmable Gate Array) chip 102, a shared memory unit 103, and a system bus. The CPU chip and the FPGA chip are connected and communicate with each other via the system bus. Figure 2 As shown, the CPU chip contains at least four physically independent data processing cores: Core0, Core1, Core2, and Core3. A shared memory unit is configured to be directly accessible to at least two of the CPU chip's processing cores and the FPGA chip. The CPU chip's at least four processing cores include: a first processing core, whose hardware resources are allocated to execute IEC arithmetic instructions; a second processing core, whose hardware resources are allocated to process Modbus-TCP communication data; a third processing core, whose hardware resources are allocated to process EtherCAT master station communication data; and a fourth processing core, whose hardware resources are allocated to process Profibus-DP master station, Modbus-RTU master station, and CAN (Controller Area Network) master station communication data. The FPGA chip internally contains Profibus-DP protocol packetization logic, IO-BUS (Input / Output Bus) slave station data frame breaking and parsing logic, and Modbus-RTU frame breaking and data parsing logic.
[0022] The technical solution of this disclosure constructs a single hardware platform comprising a multi-core ARM and an FPGA, integrating support for multiple mainstream industrial protocols such as EtherCAT, Profibus-DP, CAN, Modbus-TCP, and Modbus-RTU, replacing multiple dedicated communication modules and significantly reducing hardware costs and system complexity. This technical solution adopts a multi-core hardware task separation architecture, allocating tasks such as IEC computation and communication with different protocols to independent physical cores. This avoids resource contention and latency when a single core processes all tasks, ensuring high performance and deterministic real-time response for critical tasks. The technical solution of this disclosure uses the FPGA to handle the low-level, high-real-time data processing tasks of the communication protocols, freeing the CPU chip from tedious low-level work and allowing it to focus on upper-level logic, thus improving overall system efficiency and reliability. Furthermore, the technical solution of this disclosure explicitly adopts a common architecture of ARM and FPGA, realizing a technical path for using domestically produced chips, reducing dependence on external technologies, and ensuring supply chain security.
[0023] Among them, IEC arithmetic instructions are a programming standard widely used in industrial automation. They define many functions for numerical operations, arithmetic operations, bitwise operations, selection, comparison, and string manipulation. ModbusTCP is a standard network communication protocol that enables the MODBUS-RTU protocol to run on Ethernet. MODBUS-TCP uses TCP / IP (Transmission Control Protocol / Internet Protocol) Ethernet to transmit MODBUS messages between stations. MODBUS-TCP combines the physical Ethernet network, the TCP / IP network standard, and the data representation method using MODBUS as the application protocol standard.
[0024] EtherCAT (Control Automation Technology) is an open architecture, Ethernet-based fieldbus system. Profibus (Process Field Bus) is a communication protocol and network standard used in industrial automation. Profibus-DP is a variant of Profibus that uses DP (Decentralized Periphery) for high-speed data transmission at the field layer.
[0025] like Figure 2As shown, the CPU chip is connected to the EtherCAT, TCP1, TCP2, and CAN interfaces respectively to enable communication via the EtherCAT bus, CAN bus, and transmission control protocol. The CPU chip is also connected to DDR (Double Data Rate Synchronous Dynamic Random Access Memory) and eMMC (Embedded MultiMediaCard) to access shared memory units. For example... Figure 1 and Figure 2 The system bus is the SPI bus. The CPU chip 101 is connected to the FPGA chip 102 via the SPI bus. The FPGA chip 102 is connected to the Profibus-DPh interface and the MODBUS-RTU interface to realize communication between the Profibus-DPh bus and the MODBUS-RTU bus.
[0026] In this embodiment of the disclosure, the shared memory unit is divided into multiple independent address mapping regions, wherein at least one address mapping region is configured as a dedicated exchange buffer between IEC operation instructions and various communication protocol data.
[0027] The technical solution of this disclosure establishes a dedicated high-speed channel for data exchange between IEC and various protocols through hardware address mapping, avoiding disordered copying and searching of data in memory, greatly reducing communication latency and improving data forwarding efficiency. The technical solution of this disclosure uses a structured memory area as a data exchange buffer, providing a controlled and ordered interaction space for data sharing between multiple cores and between cores and FPGAs, reducing the risk of data contention and ensuring the consistency of critical data.
[0028] In this embodiment, the main control module further includes a physical communication interface group, which includes an Ethernet physical layer chip, an RS-485 physical layer chip, and a CAN physical layer transceiver; the Ethernet physical layer chip is connected to the MAC layer controllers of the second processing core and the third processing core; the RS-485 physical layer chip and the CAN physical layer transceiver are connected to the corresponding logic circuit pins of the FPGA chip.
[0029] The technical solution of this disclosure integrates all the necessary physical layer interface chips, providing complete external communication capabilities, enabling the module to directly connect to various industrial equipment, improving the product's usability and integration convenience; it clarifies the direct hardware connection relationship between the physical chip and the internal processing unit, making the signal path clear, reducing intermediate links, and enhancing the stability and anti-interference capability of communication.
[0030] In this embodiment of the disclosure, the system bus is a parallel bus, and the FPGA chip is connected to the memory controller of the CPU chip through the parallel bus to realize direct access to the shared memory unit.
[0031] Connecting the CPU and FPGA via a parallel bus provides a high-bandwidth data path, facilitating the transfer of large batches of bursty data blocks between the FPGA and shared memory, thus meeting the data processing requirements of protocols such as Profibus-DP. The FPGA directly accesses the shared memory through the memory controller, achieving true direct memory access without CPU intervention in data movement, further reducing CPU load and communication latency.
[0032] In this embodiment of the disclosure, the system bus is a high-speed serial bus, and the FPGA chip is connected to the memory controller of the CPU chip through the high-speed serial bus to realize direct access to the shared memory unit.
[0033] Employing a high-speed serial bus, it offers extremely high data transfer rates while requiring fewer pins, simplifying wiring, and providing strong anti-interference capabilities, making it suitable for applications with extremely high internal communication speed requirements. Using a modern CPU's mainstream high-speed interface facilitates system upgrades and expansion while maintaining efficient data transfer performance.
[0034] In this embodiment of the disclosure, the first processing core, the second processing core, and the third processing core are connected to a Linux operating system scheduler; the fourth processing core is not connected to any operating system scheduler and runs in a bare-core manner.
[0035] Three processing cores run Linux, facilitating the execution of complex network protocol stacks and applications; the fourth processing core runs on bare metal, ensuring ultimate real-time performance and time determinism for protocols such as Profibus-DP and CAN, eliminating latency jitter caused by operating system scheduling. The runtime environment is allocated according to task characteristics, achieving optimal system resource configuration and enabling high real-time tasks and complex general-purpose tasks to coexist harmoniously on the same hardware platform.
[0036] In this embodiment of the disclosure, the main control module further includes a data exchange structure, which is built based on a shared memory unit and is used to establish a data exchange channel between the first processing core, the second processing core, the third processing core, the fourth processing core, and the FPGA chip.
[0037] Building a unified, centralized data exchange structure based on shared memory provides a standard and simple data interaction channel for all processing units, simplifying software design complexity. Each functional core only needs to interact with the centralized data exchange structure, reducing the coupling between system modules and making the software easier to develop, debug, and maintain.
[0038] In this embodiment of the disclosure, the FPGA chip also integrates an IO-BUS arbitrator, which implements communication timing management with multiple IO slave modules through hardware logic.
[0039] The IO-BUS arbitration is implemented by hardware logic circuits within the FPGA, enabling scheduling accuracy down to the nanosecond level with no software latency. This ensures absolute timing determinism and reliability for communication with multiple IO slaves. By completely offloading complex, time-critical slave scheduling tasks from the CPU to the FPGA, the CPU's workload is reduced, allowing it to focus on other computational tasks.
[0040] In the embodiments disclosed herein, the first processing core, the second processing core, the third processing core, and the fourth processing core are physically isolated from each other and each has an independent hardware execution pipeline.
[0041] Physically isolated cores and independent hardware pipelines ensure that the four cores can execute tasks in true parallel, with zero contention for hardware resources among them. This achieves the key goal of ensuring that processing performance does not degrade with the increase in protocols. This isolation makes the performance of each core stable and predictable, meeting the stringent deterministic requirements of industrial control.
[0042] like Figure 4 As shown, the industrial control system provided in this embodiment includes the PLC main control module 100 in the above technical solution, and: an EtherCAT slave device 200, which is connected to the third processing core of the PLC main control module via an Ethernet interface; a Profibus-DP slave device 300, which is connected to the Profibus-DP protocol packing logic circuit of the FPGA chip of the PLC main control module via an IO-BUS bus; and a host computer 400, which is connected to the second processing core of the PLC main control module via an Ethernet interface.
[0043] The technical solution of this disclosure defines a complete control scheme built by the main control module at the system level, demonstrating its powerful multi-protocol access and heterogeneous device integration capabilities, and is able to uniformly manage devices on different networks such as EtherCAT and Profibus.
[0044] The PLC master control module provided in this disclosure can fulfill the basic functions of a PLC master control, namely data acquisition, processing, and corresponding data output. Furthermore, the PLC master control module provided in this disclosure supports EtherCAT master, PROFIBUS-DP master, CAN master, Modbus-RTU master, and Modbus-TCP master-slave protocols. While meeting the above technical specifications, the PLC master control module provided in this disclosure can achieve data forwarding between protocols through IEC operations, thus meeting customer requirements.
[0045] One core of the CPU chip implements the IEC function, one core implements the Modbus-TCP protocol to enable communication with the host computer, one core implements the EtherCAT master protocol to support communication with EtherCAT slave stations, and one core implements the Profibus-DP master protocol, Modbus-RTU, and CAN master protocols.
[0046] The CPU chip's cores are independent of each other; three cores run under a Linux system, and one core runs on bare metal. For example... Figure 3 As shown, the four components use shared memory or Tribuffer to achieve data interaction, thus realizing the portability of the hardware platform. Tribuffer is a buffering technology used to coordinate data exchange between data producers and consumers, such as CPU chips. It adds a buffer to the double buffer, mainly used to optimize performance, reduce waiting, and avoid data contention. It has applications in multi-threaded programming, graphics rendering, and multi-core PLC control systems.
[0047] The FPGA chip can package the data of the Profibus-DP master according to the protocol and send it to the IO-BUS bus. It can also realize the data frame breaking and parsing function of IO-BUS slave, as well as the frame breaking and data parsing function of Modbus-RTU.
[0048] The technical solution of this disclosure can meet the basic requirements of customers for PLC main control modules. The PLC main control module realizes interaction between multiple protocols through a single hardware platform, meeting customer needs for mainstream interfaces on the market without compromising processing performance, thus significantly saving hardware costs. This PLC main control module is a fully domestically designed module, independent of imported chips, achieving independent control. Furthermore, the software of the PLC main control module is independent of chip manufacturers, achieving software portability and avoiding the irreplaceability caused by hardware chip discontinuation. The hardware architecture of this module is a general-purpose ARM architecture; as long as the type and number of cores are met, the module's functions can be realized, greatly reducing dependence on chips and ensuring strong portability.
[0049] According to the PLC main control module and industrial control system provided in the embodiments of this disclosure, by integrating a multi-core ARM architecture CPU chip, an FPGA chip, a shared memory unit and a system bus onto the same hardware platform, the PLC main control module can meet the requirements of different communication protocols and different control functions, thereby saving hardware costs, wiring costs and cabinet space of the PLC system.
[0050] The above are merely preferred embodiments of this disclosure and are not intended to limit this disclosure. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A PLC main control module, characterized in that, include: A multi-core ARM architecture central processing unit (CPU) chip, a field-programmable gate array (FPGA) chip, a shared memory unit, and a system bus; The CPU chip and the FPGA chip are connected via the system bus; The CPU chip contains at least four physically independent data processing cores; The shared memory unit is configured to be directly accessible to at least two processing cores of the CPU chip and the FPGA chip; The CPU chip has at least four processing cores, including: The first processing core, whose hardware resources are allocated to execute IEC computation instructions; The second processing core, whose hardware resources are allocated to process Modbus-TCP communication data; The third processing core, whose hardware resources are allocated to process EtherCAT master station communication data; The fourth processing core has its hardware resources allocated to processing communication data from the Profibus-DP master, Modbus-RTU master, and CAN master. The FPGA chip contains embedded logic circuits for Profibus-DP protocol packetization, IO-BUS slave data frame breaking and parsing, and Modbus-RTU frame breaking and data parsing.
2. The PLC main control module according to claim 1, characterized in that, The shared memory unit is divided into multiple independent address mapping regions, wherein at least one of the address mapping regions is configured as a dedicated exchange buffer between the IEC operation instructions and various communication protocol data.
3. The PLC main control module according to claim 1, characterized in that, The main control module also includes a physical communication interface group, which includes an Ethernet physical layer chip, an RS-485 physical layer chip, and a CAN physical layer transceiver. The Ethernet physical layer chip is connected to the MAC layer controller of the second processing core and the third processing core. The RS-485 physical layer chip and the CAN physical layer transceiver are connected to the corresponding logic circuit pins of the FPGA chip.
4. The PLC main control module according to claim 1, characterized in that, The system bus is a parallel bus, and the FPGA chip is connected to the memory controller of the CPU chip through the parallel bus to realize direct access to the shared memory unit.
5. The PLC main control module according to claim 1, characterized in that, The system bus is a high-speed serial bus. The FPGA chip is connected to the memory controller of the CPU chip through the high-speed serial bus to enable direct access to the shared memory unit.
6. The PLC main control module according to claim 1, characterized in that, The first, second, and third processing cores are connected to a Linux operating system scheduler; the fourth processing core is not connected to any operating system scheduler and runs as a bare core.
7. The PLC main control module according to claim 1, characterized in that, The main control module also includes a data exchange structure, which is built based on the shared memory unit and is used to establish a data exchange channel between the first processing core, the second processing core, the third processing core, the fourth processing core, and the FPGA chip.
8. The PLC main control module according to claim 1, characterized in that, The FPGA chip also integrates an IO-BUS arbitrator, which uses hardware logic to manage the communication timing with multiple IO slave modules.
9. The PLC main control module according to claim 1, characterized in that, The first processing core, the second processing core, the third processing core, and the fourth processing core are physically isolated from each other and each has an independent hardware execution pipeline.
10. An industrial control system, characterized in that, Includes the PLC main control module as described in any one of claims 1 to 9, and: The EtherCAT slave device is connected to the third processing core of the PLC main control module via an Ethernet interface. The Profibus-DP slave device is connected to the Profibus-DP protocol packaged logic circuit of the FPGA chip of the PLC main control module via the IO-BUS bus. The host computer is connected to the second processing core of the PLC main control module via an Ethernet interface.
