A Detailed Explanation of the Four-Layer Architecture of an Overhead Crane Control System: PLC Selection, Communication Protocols, and Data Flow Design
A Detailed Explanation of the Four-Layer Architecture of an Overhead Crane Control System: PLC Selection, Communication Protocols, and Data Flow Design
The Crane Control System serves as the core technological foundation for achieving unmanned, automated, remote, and intelligent crane operations. Based on a four-layer architecture, this paper systematically discusses strategies for selecting PLC controllers, compares communication protocols for each layer, and outlines a comprehensive design methodology for uplink and downlink data streams as well as safety data streams.

I. Overview of the Four-Layer Architecture
Modern overhead crane control systems employ a layered, decoupled architecture, which is divided into the following layers:Enterprise Level、Coordination Layer、Control Layer和Driver/Sensor Layer, balancing the high determinism of real-time control with the flexibility of upper-level information systems.
| Level | Typical Hardware | Core Features | Communication Cycle | Real-time Requirements |
|---|---|---|---|---|
| Layer 4: Enterprise Layer | ERP / MES / WMS Servers | Production Planning, Order Management, Inventory Analysis | 500 ms to 1 s | 无 |
| Layer 3: Coordination Layer | Scheduling System / Multi-Machine Collaboration Platform | Task Assignment, Route Planning, Remote Driving | 100 ms–500 ms | Soft Real-Time |
| Layer 2: Control Layer | PLC S7-1500F (Safety-Rated) | Motion Control, Positioning and Anti-Sway, Safety Logic | 1–10 ms | Hard real-time |
| Layer 1: Driver/Sensor Layer | G120 Inverter, Encoder, LiDAR | Motor Drive, Position Detection, Safety Data Acquisition | 0.25–2 ms | Hard real-time |
Among these, the control layer serves as the central hub: the PLC receives control commands, drives the variable-frequency drives and sensors via PROFINET, and exchanges data with upper-level systems via OPC UA.
II. PLC Selection Strategy: Why Choose the S7-1500F
When selecting PLCs for each level, the Siemens S7-1500F is currently the mainstream choice for unmanned crane projects:
- Security Integration: The 1500F features a built-in PROFIsafe protocol stack and supports SIL 3 safety functions (emergency stop, limit switches, and light curtains), eliminating the need for additional safety relays and meetingSIL 3 Safety MonitoringRequirements.
- Motion Control: Native support for PROFINET IRT, capable ofVariable-Frequency Speed Control for Overhead CranesAchieve closed-loop control within 1 ms; pair with the S120/G120 variable frequency drive for optimal response.
- OPC UA Integration: The 1500F firmware includes a built-in OPC UA server that supports Basic256 and SHA256 encryption as well as X.509 authentication, eliminating the need for an additional gateway.
- TIA Portal Platform: PLC programs, HMIs, and driver configurations are all completed within TIA Portal, reducing the engineering and debugging cycle.
III. Selection and Comparison of Communication Protocols
In a four-layer architecture, communication requirements vary greatly across different layers. Choosing the right protocol is key to architectural design.
| Communication Scenarios | Referral Agreement | Alternative Agreement | Reasons for Selection |
|---|---|---|---|
| PLC ↔ Variable Frequency Drive | PROFINET RT | EtherCAT | Optimal compatibility with SIEMENS systems; drive cycle ≤ 1 ms |
| PLC ↔ Safety I/O | PROFIsafe | — | SIL 3 Mandatory Requirements, Black Channel Principle |
| Dispatch ↔ PLC | OPC UA | Modbus TCP | Extensive data models, X.509+TLS encryption |
| Vision AI ↔ PLC | MQTT | OPC UA PubSub | Flexible edge deployment; JSON structure is easy to parse |
| Scheduling ↔ ERP | REST API | SOAP | Standard HTTP/HTTPS interfaces, rich ecosystem |
| Remote Driving | WebRTC + MQTT | RTSP+MQTT | Integrated video and control links, low latency |
| Multi-Vehicle Coordination | UDP Broadcast | OPC UA | Lowest-latency broadcasting, suitable for collision-avoidance communication |
Summary of the Protocol Stack:PROFINET RT/PROFIsafe handles real-time control and safety communication; OPC UA facilitates command issuance and status feedback; MQTT enables flexible decoupling at the edge; and UDP broadcasting ensures rapid response to the three-level anti-collision strategy.
IV. Data Flow Design: The Complete Path from Scheduler to Executor
Data flow design ensures the reliable operation of the overhead crane control system. Take the scenario ”transporting a steel coil from A3-12 to B2-05” as an example:
- T+0 ms: The scheduling system writes task parameters via OPC UA, and the PLC returns an Ack.
- T+10 ms: The PLC's main loop detects a new task and sends a speed command to G120 via PROFINET.
- T+21 ms: The drive motor starts, and the encoder pulses are transmitted back via PROFINET.
- T+25 ms: The PLC integrates data from the laser and the encoder, calculates the position, and sends it to the scheduling system.
- T+30 ms: Roll control activated; tilt sensor compensation value adjustment speed.
- T+5000 ms: Upon reaching the target, the vision AI sends deviation values (-2 mm, +3 mm) via MQTT, and the PLC performs fine-tuning.
- T+5200 ms: Visual confirmation complete; task status reported back to the dispatch system.
The data flow is divided into three separate channels:
- Downstream Flow(Scheduler → PLC → Actuator): Task commands, path planning points, vision-guided offsets; cycle time: 100 ms.
- Upstream Flow(Sensor → PLC → Dispatch): Real-time position, equipment diagnostics, and inverter status, with a cycle of 100 ms to 1 s.
- Secure Data Stream(Safety sensor → Safety PLC → Safety actuator): Emergency stop, limit switches, door locks, and light curtains are transmitted via dual-channel PROFIsafe, isolated from standard control logic but sharing the same physical network.
V. Safe Data Flows and SIL 3 Design
The safety data stream is the most critical design element in the four-layer architecture. PROFIsafe is based on the ”black channel principle”: non-safety devices cannot interfere with safety communications. The safety PLC receives emergency stop and light curtain signals via dual-channel redundant F-DI inputs; after processing by F-Logic, it controls contactors and brakes, with the entire link achieving SIL 3 compliance.
VI. Network Deployment Plan
Depending on the specific conditions of each facility and budget, we recommend the following solutions:
- Ring Fiber Optic Solution (Recommended): The overhead crane forms an MRP ring network using SCALANCE XC216 units; self-healing time for a single-point cable break<200 ms; suitable for new factories and large production facilities.
- WiFi 6 Star Topology: No fiber-optic cabling required; connects to the dispatch network via Wi-Fi 6; packet loss during roaming<3, suitable for retrofitting existing production lines.
- Hybrid Approach: The system is divided into east and west groups with ring topologies, and the groups are interconnected via OPC UA over Industrial Ethernet, ensuring both reliability and scalability.
Regardless of the network topology used, it is recommended to enable MRP management on the core switch and configure a standby controller on the PLC side to implement OPC UA failover.
Conclusion
The four-layer architecture of the overhead crane control system forms the foundation for the safe, efficient, and intelligent operation of unmanned overhead cranes. Krude Heavy Industry’s overhead crane control system supports the full range of Siemens S7-1500F PLC models and integrates with the complete protocol stack of PROFINET, OPC UA, and MQTT. It has been successfully deployed in dozens of unmanned overhead crane projects in the steel, warehousing, and port industries, and the company offers free solution evaluations and PLC programming services.
Frequently Asked Questions
问:天车控制系统常见架构有哪些?
A:典型四层架构:现场层(传感器/执行器)、控制层(PLC/运动控制器)、通信层(PROFINET/EtherCAT/OPC UA)、管理层(SCADA/MES)。PLC常用西门子S7-1200/1500或三菱FX5U系列,大吨位采用冗余PLC方案。
问:天车PLC选型有哪些关键参数?
A:关键参数包括:IO点数(数字量+模拟量)、扫描周期(一般≤10ms)、通信接口(至少预留PROFINET/Modbus TCP)、安全功能(需支持STO安全转矩中断)、环境温度(-20℃~+60℃)。
问:天车控制系统设计执行哪些标准?
A:控制系统设计按GB/T 3811和GB 5226.2《机械电气安全》,通信协议参考GB/T 38869《基于OPC UA的数字化车间互联技术规范》。