[go: up one dir, main page]

CN220232289U - A programmable logic controller and control system - Google Patents

A programmable logic controller and control system Download PDF

Info

Publication number
CN220232289U
CN220232289U CN202322351524.2U CN202322351524U CN220232289U CN 220232289 U CN220232289 U CN 220232289U CN 202322351524 U CN202322351524 U CN 202322351524U CN 220232289 U CN220232289 U CN 220232289U
Authority
CN
China
Prior art keywords
programmable logic
logic controller
control signal
unit
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202322351524.2U
Other languages
Chinese (zh)
Inventor
刘思聪
陈家志
向军
袁林
蔡超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202322351524.2U priority Critical patent/CN220232289U/en
Application granted granted Critical
Publication of CN220232289U publication Critical patent/CN220232289U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Programmable Controllers (AREA)

Abstract

本申请提供一种可编程逻辑控制器和控制系统,涉及可编程逻辑控制器技术领域。可编程逻辑控制器包括:输入单元、密码传输装置、处理单元和输出单元;密码传输装置分别与输入单元和处理单元通信连接;输入单元,用于获取第一控制信号;密码传输装置,用于密码运算第一控制信号,得到第二控制信号,并将第二控制信号转发至处理单元;处理单元与输出单元通信连接;处理单元,用于将第二控制信号转发至输出单元。本申请的可编程逻辑控制器,解决了控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高的问题。

This application provides a programmable logic controller and a control system, relating to the technical field of programmable logic controllers. The programmable logic controller includes: an input unit, a password transmission device, a processing unit and an output unit; the password transmission device is communicatively connected to the input unit and the processing unit respectively; the input unit is used to obtain the first control signal; the password transmission device is used to The first control signal is cryptographically calculated to obtain a second control signal, and the second control signal is forwarded to the processing unit; the processing unit is communicatively connected to the output unit; and the processing unit is used to forward the second control signal to the output unit. The programmable logic controller of this application solves the problem that the transmission of control signals is faced with increasingly frequent network attacks, resulting in a greatly increased probability of data leakage.

Description

一种可编程逻辑控制器和控制系统A programmable logic controller and control system

技术领域Technical field

本申请涉及可编程逻辑控制器领域,尤其涉及一种可编程逻辑控制器和控制系统。The present application relates to the field of programmable logic controllers, and in particular to a programmable logic controller and a control system.

背景技术Background technique

可编程序控制器(Programmable Logic Controller,PLC)是一种能够编程的器材,可编程序控制器的功能强大,广泛的安装在各种工程机械设备上。多个可编程序控制器组成了控制系统,主控设备通过控制系统,可以同时控制多个被控设备。Programmable Logic Controller (PLC) is a kind of equipment that can be programmed. The programmable logic controller has powerful functions and is widely installed on various engineering machinery and equipment. Multiple programmable controllers form a control system. The main control device can control multiple controlled devices at the same time through the control system.

控制系统中,部署于主站的可编程序控制器,将控制信号传输至部署于从站的可编程序控制器。然而,控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高。确保控制信号传输的安全性和完整性,是本实用新型亟需解决的问题。In the control system, the programmable controller deployed in the master station transmits control signals to the programmable controller deployed in the slave station. However, the transmission of control signals faces increasingly frequent cyber attacks, which greatly increases the probability of data leakage. Ensuring the safety and integrity of control signal transmission is an urgent problem that this utility model needs to solve.

实用新型内容Utility model content

本申请提供一种可编程逻辑控制器和控制系统,用以解决控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高的问题。This application provides a programmable logic controller and a control system to solve the problem that the transmission of control signals is faced with increasingly frequent network attacks, resulting in a greatly increased probability of data leakage.

第一方面,本申请提供一种可编程逻辑控制器,可编程逻辑控制器包括:输入单元、密码传输装置、处理单元和输出单元;In a first aspect, this application provides a programmable logic controller. The programmable logic controller includes: an input unit, a password transmission device, a processing unit and an output unit;

密码传输装置分别与输入单元和处理单元通信连接;The password transmission device is communicatively connected with the input unit and the processing unit respectively;

输入单元,用于获取第一控制信号;Input unit, used to obtain the first control signal;

密码传输装置,用于密码运算第一控制信号,得到第二控制信号,并将第二控制信号转发至处理单元;A cryptographic transmission device for cryptographically calculating the first control signal to obtain a second control signal, and forwarding the second control signal to the processing unit;

处理单元与输出单元通信连接;The processing unit is communicated with the output unit;

处理单元,用于将第二控制信号转发至输出单元。A processing unit configured to forward the second control signal to the output unit.

在一种可能的设计中,密码传输装置包括:运算芯片和接口电路;In a possible design, the cryptographic transmission device includes: a computing chip and an interface circuit;

运算芯片与输入单元通信连接;The computing chip is communicated with the input unit;

运算芯片,用于加密运算或解密运算第一控制信号,得到第二控制信号;A computing chip, used for encrypting or decrypting the first control signal to obtain the second control signal;

接口电路分别与运算芯片和处理单元通信连接;The interface circuit is communicated with the computing chip and the processing unit respectively;

接口电路,用于将第二控制信号转发至处理单元。The interface circuit is used to forward the second control signal to the processing unit.

在一种可能的设计中,密码传输装置还包括:分析芯片;In a possible design, the cryptographic transmission device also includes: an analysis chip;

分析芯片分别与输入单元和运算芯片通信连接;The analysis chip is communicated with the input unit and the computing chip respectively;

分析芯片,用于分析第一控制信号,得到分析结果;An analysis chip is used to analyze the first control signal and obtain analysis results;

分析芯片,还用于在分析结果为第一结果时,将第一控制信号转发至运算芯片,其中,第一结果用于指示密码运算第一控制信号。The analysis chip is also configured to forward the first control signal to the operation chip when the analysis result is a first result, wherein the first result is used to indicate the cryptographic operation first control signal.

在一种可能的设计中,分析芯片与处理单元通信连接;In one possible design, the analysis chip is communicatively connected to the processing unit;

分析芯片,还用于在分析结果为第二结果时,将第一控制信号透传至处理单元,其中,第二结果用于指示透传第一控制信号;The analysis chip is also configured to transparently transmit the first control signal to the processing unit when the analysis result is a second result, where the second result is used to indicate transparent transmission of the first control signal;

处理单元,还用于将第一控制信号转发至输出单元。The processing unit is also used to forward the first control signal to the output unit.

在一种可能的设计中,密码传输装置还包括:控制芯片;In a possible design, the password transmission device also includes: a control chip;

控制芯片与运算芯片通信连接;Communication connection between control chip and computing chip;

控制芯片,用于在分析结果为第一结果时启动运算芯片,在分析结果为第二结果时停止运算芯片。The control chip is used to start the computing chip when the analysis result is the first result, and to stop the computing chip when the analysis result is the second result.

在一种可能的设计中,可编程逻辑控制器部署于主站;In one possible design, the programmable logic controller is deployed at the master station;

输入单元与主控设备通信连接;The input unit is communicated with the main control device;

输出单元与部署于从站的可编程逻辑控制器通信连接;The output unit is communicatively connected to the programmable logic controller deployed in the slave station;

运算芯片,具体用于加密运算第一控制信号,得到第二控制信号。The computing chip is specifically used to encrypt and compute the first control signal to obtain the second control signal.

在一种可能的设计中,可编程逻辑控制器部署于从站;In one possible design, programmable logic controllers are deployed in slave stations;

输入单元与部署于主站的可编程逻辑控制器通信连接;The input unit is communicatively connected to the programmable logic controller deployed on the main station;

输出单元与被控设备通信连接;The output unit communicates with the controlled device;

运算芯片,具体用于解密运算第一控制信号,得到第二控制信号。The computing chip is specifically used to decrypt and compute the first control signal to obtain the second control signal.

在一种可能的设计中,可编程逻辑控制器还包括:指示单元、存储单元和扩展单元;In a possible design, the programmable logic controller also includes: an indication unit, a storage unit and an expansion unit;

指示单元、存储单元和扩展单元分别与处理单元通信连接;The instruction unit, storage unit and expansion unit are respectively communicatively connected with the processing unit;

指示单元,用于指示可编程逻辑控制器的状态;Indicating unit, used to indicate the status of the programmable logic controller;

存储单元包括只读存储器和随机存取存储器,只读存储器和随机存取存储器分别与处理单元通信连接;The storage unit includes a read-only memory and a random access memory, and the read-only memory and the random access memory are respectively communicatively connected with the processing unit;

扩展单元与第三方设备通信连接。The expansion unit communicates with third-party devices.

在一种可能的设计中,指示单元包括:第一显示灯、第二显示灯和第三显示灯;In a possible design, the indication unit includes: a first display light, a second display light and a third display light;

第一显示灯、第二显示灯和第三显示灯分别与处理单元通信连接;The first display light, the second display light and the third display light are respectively communicatively connected with the processing unit;

第一显示灯,用于指示运行状态,运行状态包括设备开机和设备关机;The first display light is used to indicate the operating status, which includes equipment startup and equipment shutdown;

第二显示灯,用于指示异常状态,异常状态包括连接超时和连接中断;The second display light is used to indicate abnormal status, which includes connection timeout and connection interruption;

第三显示灯,用于指示接口状态,接口状态包括接口连接和接口断开。The third display light is used to indicate the interface status. The interface status includes interface connection and interface disconnection.

第二方面,本申请提供一种控制系统,该系统包括:星型拓扑结构通信连接的,多个如第一方面中任一项的可编程逻辑控制器。In a second aspect, this application provides a control system, which includes: a plurality of programmable logic controllers as in any one of the first aspect that are communicatively connected in a star topology structure.

本申请提供的一种可编程逻辑控制器和控制系统,可编程逻辑控制器包括:输入单元、密码传输装置、处理单元和输出单元,密码传输装置分别与输入单元和处理单元通信连接,处理单元与输出单元通信连接。实现了如下技术效果:通过密码传输装置密码运算第一控制信号,得到并传输第二控制信号,解决了控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高的问题;通过处理单元控制可编程逻辑控制器的各个单元和装置,解决了可编程逻辑控制器的各个单元和装置相互协调的问题;通过输入单元从其他PLC或主控设备获取第一控制信令,并通过输出单元将第二控制信号发送至其他PLC或被控设备,解决了可编程逻辑控制器传输控制信号的问题。This application provides a programmable logic controller and a control system. The programmable logic controller includes: an input unit, a password transmission device, a processing unit and an output unit. The password transmission device is communicatively connected to the input unit and the processing unit respectively. The processing unit Communicate with the output unit. The following technical effects are achieved: the first control signal is cryptographically calculated by the cryptographic transmission device to obtain and transmit the second control signal, which solves the problem that the transmission of control signals is faced with increasingly frequent network attacks, resulting in a greatly increased probability of data leakage; By controlling the various units and devices of the programmable logic controller through the processing unit, the problem of mutual coordination of the various units and devices of the programmable logic controller is solved; the first control signaling is obtained from other PLCs or master control devices through the input unit, and The second control signal is sent to other PLCs or controlled devices through the output unit, thereby solving the problem of the programmable logic controller transmitting control signals.

附图说明Description of the drawings

为了更清楚地说明本实用新型实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本实用新型的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the accompanying drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description The drawings illustrate some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1为本申请实施例提供的可编程逻辑控制器的应用场景示意图;Figure 1 is a schematic diagram of an application scenario of a programmable logic controller provided by an embodiment of the present application;

图2为本申请实施例提供的可编程逻辑控制器的结构示意图一;Figure 2 is a schematic structural diagram of a programmable logic controller provided by an embodiment of the present application;

图3为本申请实施例提供的可编程逻辑控制器的结构示意图二;Figure 3 is a schematic structural diagram 2 of a programmable logic controller provided by an embodiment of the present application;

图4为本申请实施例提供的可编程逻辑控制器的结构示意图三;Figure 4 is a schematic structural diagram three of a programmable logic controller provided by an embodiment of the present application;

图5为本申请实施例提供的可编程逻辑控制器的结构示意图四;Figure 5 is a schematic structural diagram 4 of a programmable logic controller provided by an embodiment of the present application;

图6为本申请实施例提供的可编程逻辑控制器的结构示意图五;Figure 6 is a schematic structural diagram 5 of a programmable logic controller provided by an embodiment of the present application;

图7为本申请实施例提供的可编程逻辑控制器的结构示意图六;Figure 7 is a schematic structural diagram 6 of a programmable logic controller provided by an embodiment of the present application;

图8为本申请实施例提供的可编程逻辑控制器的结构示意图七;Figure 8 is a schematic structural diagram 7 of a programmable logic controller provided by an embodiment of the present application;

图9为本申请实施例提供的控制系统的结构示意图。Figure 9 is a schematic structural diagram of a control system provided by an embodiment of the present application.

附图标记:Reference signs:

100-控制电脑;100-control computer;

200-控制系统;210-可编程逻辑控制器;220-输入单元;230-密码传输装置;231-运算芯片;232-接口电路;233-分析芯片;234-控制芯片;240-处理单元;250-输出单元;260-指示单元;261-第一显示灯;262-第二显示灯;263-第三显示灯;270-存储单元;280-扩展单元;200-Control system; 210-Programmable logic controller; 220-Input unit; 230-Password transmission device; 231-Arithmetic chip; 232-Interface circuit; 233-Analysis chip; 234-Control chip; 240-Processing unit; 250 -Output unit; 260-indicating unit; 261-first display light; 262-second display light; 263-third display light; 270-storage unit; 280-extension unit;

300-自动导向车;310-吊装系统;320-行驶系统。300-automatic guided vehicle; 310-hoisting system; 320-travel system.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和可编程逻辑控制器的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and programmable logic controllers consistent with aspects of the application as detailed in the appended claims.

在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。In the embodiments of the present application, words such as “first” and “second” are used to distinguish identical or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not limit the number and execution order. It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner. In the embodiments of this application, "at least one" refers to one or more, and "multiple" refers to two or more.

需要说明的是,本申请实施例中的“在……时”,可以为在某种情况发生的瞬时,也可以为在某种情况发生后的一段时间内,本申请实施例对此不作具体限定。此外,本申请实施例提供的可编程逻辑控制器仅作为示例,可编程逻辑控制器还可以包括更多或更少的内容。It should be noted that "at..." in the embodiments of the present application can be the instant when a certain situation occurs, or it can be a period of time after a certain situation occurs. The embodiments of the present application do not specify this. limited. In addition, the programmable logic controller provided in the embodiments of this application is only an example, and the programmable logic controller may also include more or less content.

为了便于清楚描述本申请实施例的技术方案,以下,对本申请实施例中所涉及的部分术语和技术进行简单介绍:In order to facilitate a clear description of the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:

密码运算:是一种数据处理方式。密码运算包括加密运算或解密运算。Cryptographic operations: It is a data processing method. Cryptographic operations include encryption operations or decryption operations.

加密运算:是一种密码运算。加密运算通过加密算法,将原本可读的明文数据,加密为不可读的密文数据。Encryption operation: It is a cryptographic operation. Encryption operations use encryption algorithms to encrypt originally readable plaintext data into unreadable ciphertext data.

解密运算:是一种密码运算。解密运算通过解密算法,将原本不可读的密文数据,解密为可读的明文数据。Decryption operation: It is a cryptographic operation. The decryption operation decrypts the originally unreadable ciphertext data into readable plaintext data through the decryption algorithm.

透传:是一种数据处理方式。透传即透明传输,即只传输数据,不做任何改变和调整,数据在发送前后的所有格式内容全部一致,极大的保证了数据的完整性。Transparent transmission: It is a data processing method. Transparent transmission means transparent transmission, that is, only data is transmitted without any changes or adjustments. All format contents of the data before and after it is sent are consistent, which greatly ensures the integrity of the data.

星型拓扑结构:是一种网络拓扑结构。在星型拓扑结构中,各个网络节点通过点到点的方式连接到一个中央节点,由该中央节点向目的节点传送信息。Star topology: It is a network topology. In a star topology, each network node is connected to a central node in a point-to-point manner, and the central node transmits information to the destination node.

PLC是工程机械设备的大脑,是其不可缺少的一个组成部分。在工程机械设备运行过程中,PLC实时做出决策,以控制工程机械设备的执行装置执行预设工作。具体来说,PLC控制伺服电机(例如控制转矩、控制转向或控制转速等),驱动更底层的对外做功装置(例如机械臂、行驶系统或液压系统)。PLC is the brain of engineering machinery and equipment and an indispensable part of it. During the operation of construction machinery and equipment, PLC makes real-time decisions to control the execution devices of construction machinery and equipment to perform preset tasks. Specifically, PLC controls the servo motor (such as controlling torque, controlling steering or controlling speed, etc.) and drives the lower-level external power device (such as mechanical arm, driving system or hydraulic system).

随着工业自动化的快速发展,为实现更加复杂的功能,要求主控设备同时控制多个被控设备。一种有效的解决方案是,多个PLC组成控制系统,其中,包括一个部署于主站的PLC,即主站PLC,以及多个部署于从站的PLC,即从站PLC。主站PLC通过控制信号同时控制多个从站PLC,主控设备通过控制系统同时控制多个被控设备。With the rapid development of industrial automation, in order to achieve more complex functions, the main control device is required to control multiple controlled devices at the same time. An effective solution is to form a control system with multiple PLCs, including one PLC deployed at the master station, that is, the master station PLC, and multiple PLCs deployed at the slave stations, that is, the slave station PLC. The master station PLC simultaneously controls multiple slave station PLCs through control signals, and the master control device simultaneously controls multiple controlled devices through the control system.

随着而来的则是,确保控制信号传输的安全性和完整性,显得日益重要。原因在于,一是,通过控制信号可以解析出企业的核心竞争力和商业机密,例如生产工艺、产品设计和市场策略等,如果这些数据被未经授权的人员获取,将对企业的利益和声誉造成严重的损害;二是,随着无线化连接的快速发展,主站PLC和从站PLC无线通信连接,相应的,控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高。Along with this, ensuring the security and integrity of control signal transmission has become increasingly important. The reason is that, first, the core competitiveness and business secrets of an enterprise can be analyzed through control signals, such as production processes, product designs, and market strategies. If these data are obtained by unauthorized personnel, it will affect the interests and reputation of the enterprise. Cause serious damage; secondly, with the rapid development of wireless connections, the master station PLC and slave station PLC are connected wirelessly. Correspondingly, the transmission of control signals is facing increasingly frequent network attacks, resulting in a high probability of data leakage. improve.

基于此,本申请实施例提供一种可编程逻辑控制器和控制系统,可用于可编程逻辑控制器技术领域,旨在解决控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高的问题。Based on this, embodiments of the present application provide a programmable logic controller and a control system, which can be used in the technical field of programmable logic controllers, aiming to solve the problem that the transmission of control signals is faced with increasingly frequent network attacks, resulting in extremely high probability of data leakage. A big improvement question.

图1为本申请实施例提供的可编程逻辑控制器的应用场景示意图。需要注意的是,图1所示仅为一种可能的应用场景,以帮助本领域技术人员理解本申请的技术内容,但并不意味着本申请实施例不可以用于其他的应用场景示。如图1所示,可编程逻辑控制器的应用场景包括:控制电脑100、控制系统200和自动导向车300。控制系统200包括:三个可编程逻辑控制器210,自动导向车300包括:吊装系统310和行驶系统320。Figure 1 is a schematic diagram of an application scenario of a programmable logic controller provided by an embodiment of the present application. It should be noted that Figure 1 shows only one possible application scenario to help those skilled in the art understand the technical content of the present application, but does not mean that the embodiment of the present application cannot be used in other application scenarios. As shown in Figure 1, the application scenarios of the programmable logic controller include: control computer 100, control system 200 and automatic guided vehicle 300. The control system 200 includes three programmable logic controllers 210 , and the automatic guided vehicle 300 includes a hoisting system 310 and a traveling system 320 .

控制电脑100是主控设备。操作人员在控制电脑100上,通过输入命令、图像化操作或者自动化程序,控制吊装系统310驱动自动导向车300行驶,和/或,控制行驶系统320吊装货物。除了本应用场景给出的示例,主控设备还可以是台式电脑、智能手机、控制服务器或操作仪表台。The control computer 100 is the main control device. The operator controls the hoisting system 310 to drive the automatic guided vehicle 300 to travel on the control computer 100 by inputting commands, graphical operations, or automated programs, and/or controls the traveling system 320 to hoist goods. In addition to the examples given in this application scenario, the main control device can also be a desktop computer, a smartphone, a control server or an operating dashboard.

第一个可编程逻辑控制器210是主站可编程逻辑控制器。第一个可编程逻辑控制器210与控制电脑100通信连接,分别与第二个可编程逻辑控制器210和第三个可编程逻辑控制器210无线通信连接,通信连接可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。第一个可编程逻辑控制器210可以部署在控制电脑100上,也可以部署在自动导向车300上,还可以部署在其他位置。第一个可编程逻辑控制器210用于将控制电脑100发送的控制信号转发至第二个可编程逻辑控制器210或第三个可编程逻辑控制器210,例如,将控制吊装系统310的控制信号转发至第二个可编程逻辑控制器210,以便于该控制信号转发至吊装系统310;再例如,将控制行驶系统320的控制信号转发至第三个可编程逻辑控制器210,以便于该控制信号转发至行驶系统320。The first programmable logic controller 210 is the master programmable logic controller. The first programmable logic controller 210 is communicatively connected to the control computer 100, and is wirelessly connected to the second programmable logic controller 210 and the third programmable logic controller 210 respectively. The communication connections may include various connection types, For example, wired or wireless communication links or fiber optic cables, etc. The first programmable logic controller 210 can be deployed on the control computer 100, on the automatic guided vehicle 300, or at other locations. The first programmable logic controller 210 is used to forward the control signal sent by the control computer 100 to the second programmable logic controller 210 or the third programmable logic controller 210, for example, to control the control of the hoisting system 310. The signal is forwarded to the second programmable logic controller 210 so that the control signal is forwarded to the hoisting system 310; for another example, the control signal for controlling the driving system 320 is forwarded to the third programmable logic controller 210 so that the control signal is forwarded to the hoisting system 310. The control signal is forwarded to the driving system 320 .

第二个可编程逻辑控制器210是从站可编程逻辑控制器。第二个可编程逻辑控制器210与吊装系统310通信连接。第二个可编程逻辑控制器210可以部署在吊装系统310上,也可以部署在自动导向车300上,还可以部署在其他位置。第二个可编程逻辑控制器210用于将控制信号转发至吊装系统310。The second programmable logic controller 210 is a slave programmable logic controller. The second programmable logic controller 210 is communicatively connected with the hoisting system 310 . The second programmable logic controller 210 can be deployed on the hoisting system 310, on the automatic guided vehicle 300, or at other locations. The second programmable logic controller 210 is used to forward control signals to the hoisting system 310 .

第三个可编程逻辑控制器210是从站可编程逻辑控制器。第三个可编程逻辑控制器210与行驶系统320通信连接。第三个可编程逻辑控制器210可以部署在行驶系统320上,也可以部署在自动导向车300上,还可以部署在其他位置。第三个可编程逻辑控制器210用于将控制信号转发至行驶系统320。The third programmable logic controller 210 is a slave programmable logic controller. The third programmable logic controller 210 is communicatively connected with the driving system 320 . The third programmable logic controller 210 can be deployed on the driving system 320, on the automatic guided vehicle 300, or at other locations. The third programmable logic controller 210 is used to forward control signals to the driving system 320 .

自动导向车300是被控设备。自动导向车300用于吊装并搭载货物,并将货物由运送至指定地点。吊装系统310具体用于根据控制信号输出不同的转矩、转速和转向,驱动自动导向车300前进、后退或转向。行驶系统320具体用于根据控制信号,将货物由车下吊装至车上,或者,将货物由车上吊装至车下。除了本应用场景给出的示例,被控设备还可以是其他工程机械设备,例如,巡检设备、起重机械或流水生产线等。工程机械设备上搭载有多个驱动系统,每个从站可编程逻辑控制器分别控制若干个驱动系统。The automatic guided vehicle 300 is a controlled device. The automatic guided vehicle 300 is used to hoist and carry goods, and transport the goods to designated locations. The hoisting system 310 is specifically used to output different torques, rotational speeds and steering according to the control signal to drive the automatic guided vehicle 300 forward, backward or steering. The driving system 320 is specifically used to hoist goods from under the vehicle to the vehicle, or to hoist goods from the vehicle to the vehicle under the vehicle according to the control signal. In addition to the examples given in this application scenario, the controlled equipment can also be other engineering machinery and equipment, such as inspection equipment, lifting machinery or production lines, etc. Construction machinery equipment is equipped with multiple drive systems, and each slave programmable logic controller controls several drive systems.

图2为本申请实施例提供的可编程逻辑控制器的结构示意图一。如图2所示,可编程逻辑控制器210包括:输入单元220、密码传输装置230、处理单元240和输出单元250;FIG. 2 is a schematic structural diagram of a programmable logic controller provided by an embodiment of the present application. As shown in Figure 2, the programmable logic controller 210 includes: an input unit 220, a password transmission device 230, a processing unit 240 and an output unit 250;

密码传输装置230分别与输入单元220和处理单元240通信连接;The password transmission device 230 is communicatively connected with the input unit 220 and the processing unit 240 respectively;

具体来说,输入单元220是一种传输接口,不同类型的接入设备接入输入单元220,其中,其他PLC(在可编程逻辑控制器210为主站可编程逻辑控制器时,其他PLC为从站可编程逻辑控制器;在可编程逻辑控制器210为从站可编程逻辑控制器时,其他PLC为主站可编程逻辑控制器)通过无线通信连接的方式接入输入单元220,主控设备通过有线通信连接或无线通信连接的方式接入输入单元220;无线通信连接的方式可以是第五代移动通信技术(5th Generation Mobile Communication Technology,5G)、远距离无线电(Long RangeRadio,LoRa)或无线网络通信技术(WIreless Fidelity,WiFi)等;有线通信连接的方式可以是控制器局域网络(Controller Area Network,CAN)总线、通用串行(Universal SerialBus,USB)总线或网线等。输入单元220用于获取第一控制信号,可以从其他PLC采集第一控制信号,也可以从主控设备采集第一控制信号。Specifically, the input unit 220 is a transmission interface, and different types of access devices are connected to the input unit 220. Among them, other PLCs (when the programmable logic controller 210 is the main station programmable logic controller, the other PLCs are Slave programmable logic controller; when the programmable logic controller 210 is a slave programmable logic controller, other PLCs (master programmable logic controller) access the input unit 220 through wireless communication connections, and the master control The device accesses the input unit 220 through a wired communication connection or a wireless communication connection; the wireless communication connection method can be fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G), long range radio (Long Range Radio, LoRa) or Wireless network communication technology (WIreless Fidelity, WiFi), etc.; wired communication connection methods can be controller area network (Controller Area Network, CAN) bus, universal serial bus (Universal SerialBus, USB) bus or network cable, etc. The input unit 220 is used to acquire the first control signal, which may be acquired from other PLCs or from the main control device.

密码传输装置230是一种处理数据的装置。密码传输装置230与输入单元220通信连接,密码传输装置230用于密码运算第一控制信号,得到第二控制信号,并将第二控制信号转发至处理单元240。其中,密码运算为加密运算或解密运算;密码传输装置230与处理单元240通信连接,密码传输装置230将第二控制信号发送至处理单元240。The password transmission device 230 is a device for processing data. The password transmission device 230 is communicatively connected to the input unit 220. The password transmission device 230 is used to cryptographically calculate the first control signal to obtain the second control signal, and forward the second control signal to the processing unit 240. The cryptographic operation is an encryption operation or a decryption operation; the cryptographic transmission device 230 is communicatively connected to the processing unit 240, and the cryptographic transmission device 230 sends the second control signal to the processing unit 240.

处理单元240与输出单元250通信连接;The processing unit 240 is communicatively connected with the output unit 250;

具体来说,处理单元240是一种运算数据的芯片。密码传输装置230可以是中央处理器(Central Processing Unit,CPU)、微控制单元(Microcontroller Unit,MCU)、专用集成电路(Application Specific Integrated Circuit,ASIC)或现场可编程门阵列(FieldProgrammable Gate Array,FPGA)等。处理单元240与输出单元250通信连接,处理单元240用于将第二控制信号转发至输出单元250。Specifically, the processing unit 240 is a chip that operates data. The password transmission device 230 may be a central processing unit (CPU), a microcontroller unit (MCU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a field programmable gate array (FieldProgrammable Gate Array, FPGA). )wait. The processing unit 240 is communicatively connected with the output unit 250 , and the processing unit 240 is configured to forward the second control signal to the output unit 250 .

处理单元240控制可编程逻辑控制器210中的各个单元和装置,处理单元240还用于控制输入单元220从其他PLC或主控设备获取第一控制信令,控制密码传输装置230根据第一控制信号得到第二控制信号,以及控制输出单元250将第二控制信号发送至其他PLC或被控设备。The processing unit 240 controls each unit and device in the programmable logic controller 210. The processing unit 240 is also used to control the input unit 220 to obtain the first control signaling from other PLCs or master control devices, and control the password transmission device 230 according to the first control The signal obtains a second control signal, and the control output unit 250 sends the second control signal to other PLCs or controlled devices.

输出单元250是一种传输接口,输出单元250接入不同类型的接入设备。其中,输出单元250通过无线通信连接的方式接入其他PLC,通过有线通信连接或无线通信连接的方式接入被控设备。输出单元250将第二控制信号发送至其他PLC或被控设备,以便于根据第二控制信号控制被控设备执行预设的动作。The output unit 250 is a transmission interface, and the output unit 250 is connected to different types of access devices. Among them, the output unit 250 is connected to other PLCs through wireless communication connections, and is connected to the controlled equipment through wired communication connections or wireless communication connections. The output unit 250 sends the second control signal to other PLCs or controlled devices, so as to control the controlled devices to perform preset actions according to the second control signal.

本实施例提供的一种可编程逻辑控制器,可编程逻辑控制器包括:输入单元、密码传输装置、处理单元和输出单元,密码传输装置分别与输入单元和处理单元通信连接,处理单元与输出单元通信连接。实现了如下技术效果:通过密码传输装置密码运算第一控制信号,得到并传输第二控制信号,解决了控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高的问题;通过处理单元控制可编程逻辑控制器的各个单元和装置,解决了可编程逻辑控制器的各个单元和装置相互协调的问题;通过输入单元从其他PLC或主控设备获取第一控制信令,并通过输出单元将第二控制信号发送至其他PLC或被控设备,解决了可编程逻辑控制器传输控制信号的问题。This embodiment provides a programmable logic controller. The programmable logic controller includes: an input unit, a password transmission device, a processing unit and an output unit. The password transmission device is communicatively connected to the input unit and the processing unit respectively. The processing unit is connected to the output unit. Unit communication connection. The following technical effects are achieved: the first control signal is cryptographically calculated by the cryptographic transmission device to obtain and transmit the second control signal, which solves the problem that the transmission of control signals is faced with increasingly frequent network attacks, resulting in a greatly increased probability of data leakage; By controlling the various units and devices of the programmable logic controller through the processing unit, the problem of mutual coordination of the various units and devices of the programmable logic controller is solved; the first control signaling is obtained from other PLCs or master control devices through the input unit, and The second control signal is sent to other PLCs or controlled devices through the output unit, thereby solving the problem of the programmable logic controller transmitting control signals.

图3为本申请实施例提供的可编程逻辑控制器的结构示意图二。图3在图2的基础上,对密码传输装置230进行详细的说明。如图3所示,密码传输装置230包括:运算芯片231和接口电路232;Figure 3 is a schematic second structural diagram of a programmable logic controller provided by an embodiment of the present application. FIG. 3 explains the password transmission device 230 in detail on the basis of FIG. 2 . As shown in Figure 3, the password transmission device 230 includes: a computing chip 231 and an interface circuit 232;

运算芯片231与输入单元220通信连接;The computing chip 231 is communicatively connected with the input unit 220;

接口电路232分别与运算芯片231和处理单元240通信连接;The interface circuit 232 is communicatively connected with the computing chip 231 and the processing unit 240 respectively;

具体来说,运算芯片231是一种专门用于实现数据加密和解密的芯片。运算芯片231可以是ATSHA204A系列的芯片,也可以是PN7462系列的芯片,还可以是其他的加密芯片。运算芯片231支持多种算法和协议,通过硬件支持,实现加密算法或解密算法,以实现更加安全高效的加密运算或解密运算。运算芯片231用于加密运算或解密运算第一控制信号,得到第二控制信号。Specifically, the computing chip 231 is a chip specially used to implement data encryption and decryption. The computing chip 231 may be an ATSHA204A series chip, a PN7462 series chip, or other encryption chips. The computing chip 231 supports a variety of algorithms and protocols, and implements encryption algorithms or decryption algorithms through hardware support to achieve more secure and efficient encryption or decryption operations. The computing chip 231 is used for encrypting or decrypting the first control signal to obtain the second control signal.

接口电路232是一种起连接作用的电路,接口电路232用于将第二控制信号转发至处理单元240。接口电路232包括串联连接的串行外设(Serial Peripheral Interface,SPI)接口、逻辑电平转换装置、滤波/隔离装置,SPI接口与运算芯片231通信连接,滤波/隔离装置与处理单元240通信连接。The interface circuit 232 is a circuit that functions as a connection, and the interface circuit 232 is used to forward the second control signal to the processing unit 240 . The interface circuit 232 includes a serial peripheral (Serial Peripheral Interface, SPI) interface, a logic level conversion device, and a filtering/isolating device. The SPI interface is communicatively connected to the computing chip 231 , and the filtering/isolating device is communicatively connected to the processing unit 240 .

SPI接口用于主设备(如运算芯片231)与从设备(如处理单元240)之间进行数据通信,SPI接口是一种同步的、全双工的通信协议。The SPI interface is used for data communication between the master device (such as the computing chip 231) and the slave device (such as the processing unit 240). The SPI interface is a synchronous, full-duplex communication protocol.

逻辑电平转换装置用于将运算芯片231的逻辑电平,转换为处理单元240的逻辑电平。在运算芯片231和处理单元240使用不同的逻辑电平时,逻辑电平转换装置确保二者信号的兼容性。逻辑电平转换装置是一种成熟的电路结构,由晶体管、电平移位器、电平比较器等电子元件构成,采用电平移位或电平比较的方式来实现逻辑电平的转换。The logic level conversion device is used to convert the logic level of the operation chip 231 into the logic level of the processing unit 240 . When the computing chip 231 and the processing unit 240 use different logic levels, the logic level conversion device ensures the compatibility of their signals. The logic level conversion device is a mature circuit structure, which is composed of electronic components such as transistors, level shifters, and level comparators. It uses level shifting or level comparison to achieve logic level conversion.

滤波/隔离装置用于减少电磁干扰、隔离不同部分之间的干扰,从而提高通信的可靠性和稳定性,是电子系统中常用的电路组件。滤波/隔离装置包括滤波装置和隔离装置,滤波装置通常由电容、电感和电阻等元件组成,用于滤除控制信号中的高频噪声、干扰和谐波,以保持控制信号的清晰度;隔离装置用于隔离运算芯片231和处理单元240之间的干扰,以防止干扰信号影响到其他装置和单元。Filtering/isolation devices are used to reduce electromagnetic interference and isolate interference between different parts, thereby improving the reliability and stability of communication. They are commonly used circuit components in electronic systems. Filtering/isolation devices include filtering devices and isolation devices. Filtering devices are usually composed of capacitors, inductors, resistors and other components. They are used to filter out high-frequency noise, interference and harmonics in control signals to maintain the clarity of control signals; isolation The device is used to isolate interference between the computing chip 231 and the processing unit 240 to prevent interference signals from affecting other devices and units.

在一种可能的设计中,图4为本申请实施例提供的可编程逻辑控制器的结构示意图三。图4在图3的基础上,对密码传输装置230进行详细的说明。如图4所示,密码传输装置230还包括:分析芯片233;In one possible design, FIG. 4 is a schematic structural diagram 3 of a programmable logic controller provided by an embodiment of the present application. FIG. 4 explains the password transmission device 230 in detail on the basis of FIG. 3 . As shown in Figure 4, the password transmission device 230 also includes: an analysis chip 233;

分析芯片233分别与输入单元220和运算芯片231通信连接;The analysis chip 233 is communicatively connected to the input unit 220 and the computing chip 231 respectively;

具体来说,分析芯片233是一种分析和转发数据的电路。分析芯片233可以是CPU、MCU、ASIC或FPGA等。分析芯片233根据预设的规则和策略,决定是否对第一控制信号进行加密运算或解密运算。例如,分析芯片233实时监测第一控制信号的安全性和敏感性,识别其中潜在的威胁,以确保控制信号在传输和存储过程中的安全性和完整性。分析芯片233用于分析第一控制信号,得到分析结果;在分析结果为第一结果时,将第一控制信号转发至运算芯片231,以便于运算芯片231密码运算第一控制信号,得到第二控制信号,并通过处理单元240将第二控制信号转发至输出单元250,其中,第一结果用于指示密码运算第一控制信号。Specifically, the analysis chip 233 is a circuit that analyzes and forwards data. The analysis chip 233 may be a CPU, MCU, ASIC or FPGA, etc. The analysis chip 233 determines whether to perform an encryption operation or a decryption operation on the first control signal according to preset rules and strategies. For example, the analysis chip 233 monitors the security and sensitivity of the first control signal in real time and identifies potential threats therein to ensure the security and integrity of the control signal during transmission and storage. The analysis chip 233 is used to analyze the first control signal to obtain the analysis result; when the analysis result is the first result, the first control signal is forwarded to the arithmetic chip 231 so that the arithmetic chip 231 cryptographically calculates the first control signal to obtain the second control signal, and forward the second control signal to the output unit 250 through the processing unit 240, where the first result is used to indicate the cryptographic operation of the first control signal.

在一种可能的设计中,图5为本申请实施例提供的可编程逻辑控制器的结构示意图四。图5在图4的基础上,对密码传输装置230进行详细的说明。如图5所示,分析芯片233与处理单元240通信连接;In one possible design, FIG. 5 is a schematic structural diagram 4 of a programmable logic controller provided by an embodiment of the present application. FIG. 5 explains the password transmission device 230 in detail based on FIG. 4 . As shown in Figure 5, the analysis chip 233 is communicatively connected with the processing unit 240;

具体来说,在分析结果为第二结果时,将第一控制信号转发至处理单元240,以便于处理单元240将第一控制信号转发至输出单元250,其中,第二结果用于指示透传第一控制信号。Specifically, when the analysis result is the second result, the first control signal is forwarded to the processing unit 240 so that the processing unit 240 forwards the first control signal to the output unit 250, where the second result is used to indicate transparent transmission. first control signal.

在一种可能的设计中,图6为本申请实施例提供的可编程逻辑控制器的结构示意图五。图6在图5的基础上,对密码传输装置230进行详细的说明。如图6所示,密码传输装置230还包括:控制芯片234;In one possible design, FIG. 6 is a schematic structural diagram 5 of a programmable logic controller provided by an embodiment of the present application. FIG. 6 explains the password transmission device 230 in detail on the basis of FIG. 5 . As shown in Figure 6, the password transmission device 230 also includes: a control chip 234;

控制芯片234与运算芯片231通信连接;The control chip 234 is communicatively connected with the computing chip 231;

具体来说,控制芯片234是一种专门用于控制运算芯片231的芯片。控制芯片234可以是A71CH系列的芯片,也可以是OPTIGA Trust系列的芯片,还可以是ATECC608A系列的芯片。控制芯片234用于控制运算芯片231的启停和参数设置等功能,是密码传输装置230中的一个重要组成部分,具体用于:一是,在分析结果为第一结果时启动运算芯片231,在分析结果为第二结果时停止运算芯片231,确保运算芯片231只在需要时才运行,从而节省可编程逻辑控制器210的系统资源;二是,控制运算芯片231选择不同的算法和协议,并配置运算芯片231的配置参数,确保运算芯片231能够进行加密运算或解密运算;三是,监控密码传输装置230的状态,包括电源状态、加密状态和错误状态等,从而确保密码传输装置230的正常运行;四是,对密码传输装置230的各个芯片和电量进行控制和管理。Specifically, the control chip 234 is a chip specially used to control the computing chip 231 . The control chip 234 may be a chip of the A71CH series, a chip of the OPTIGA Trust series, or a chip of the ATECC608A series. The control chip 234 is used to control the start, stop, parameter setting and other functions of the computing chip 231. It is an important component of the password transmission device 230. It is specifically used for: first, starting the computing chip 231 when the analysis result is the first result; When the analysis result is the second result, stop the computing chip 231 to ensure that the computing chip 231 only runs when needed, thereby saving the system resources of the programmable logic controller 210; second, control the computing chip 231 to select different algorithms and protocols, And configure the configuration parameters of the computing chip 231 to ensure that the computing chip 231 can perform encryption operations or decryption operations; third, monitor the status of the password transmission device 230, including power status, encryption status, error status, etc., to ensure that the password transmission device 230 Normal operation; fourth, control and manage each chip and power of the password transmission device 230.

在一种可能的设计中,可编程逻辑控制器210部署于主站;In one possible design, the programmable logic controller 210 is deployed at the main station;

输入单元220与主控设备通信连接;The input unit 220 is communicatively connected with the main control device;

输出单元250与部署于从站的可编程逻辑控制器通信连接;The output unit 250 is communicatively connected with the programmable logic controller deployed in the slave station;

具体来说,在可编程逻辑控制器210部署于主站时,为主站可编程逻辑控制器。输入单元220从主控设备(例如图1中的控制电脑100)获取第一控制信号,第一控制信号为可读的明文数据;运算芯片231加密运算第一控制信号,得到第二控制信号,第二控制信号为不可读的暗文数据;输出单元250将第二控制信号发送至从站可编程逻辑控制器。Specifically, when the programmable logic controller 210 is deployed at the main station, it is the main station programmable logic controller. The input unit 220 obtains the first control signal from the main control device (such as the control computer 100 in Figure 1), and the first control signal is readable plain text data; the computing chip 231 encrypts the first control signal to obtain the second control signal, The second control signal is unreadable cipher text data; the output unit 250 sends the second control signal to the slave programmable logic controller.

在一种可能的设计中,可编程逻辑控制器210部署于从站;In one possible design, the programmable logic controller 210 is deployed in the slave station;

输入单元220与部署于主站的可编程逻辑控制器210通信连接;The input unit 220 is communicatively connected to the programmable logic controller 210 deployed on the main station;

输出单元250与被控设备通信连接;The output unit 250 is communicatively connected with the controlled device;

具体来说,在可编程逻辑控制器210部署于从站时,为从站可编程逻辑控制器。输入单元220从主站可编程逻辑控制器获取第一控制信号,第一控制信号为不可读的暗文数据;运算芯片231解密运算第一控制信号,得到第二控制信号,第二控制信号为可读的明文数据;输出单元250将第二控制信号发送至被控设备(例如图1中的吊装系统310或行驶系统320)。Specifically, when the programmable logic controller 210 is deployed in a slave station, it is a slave station programmable logic controller. The input unit 220 obtains the first control signal from the master station programmable logic controller, and the first control signal is unreadable cipher text data; the computing chip 231 decrypts and operates the first control signal to obtain a second control signal, and the second control signal is Readable plain text data; the output unit 250 sends the second control signal to the controlled device (for example, the hoisting system 310 or the driving system 320 in Figure 1).

在一种可能的设计中,图7为本申请实施例提供的可编程逻辑控制器的结构示意图六。图7在图6的基础上,对可编程逻辑控制器210进行详细的说明。如图7所示,可编程逻辑控制器210还包括:指示单元260、存储单元270和扩展单元280;In one possible design, FIG. 7 is a schematic structural diagram 6 of a programmable logic controller provided by an embodiment of the present application. FIG. 7 explains the programmable logic controller 210 in detail based on FIG. 6 . As shown in Figure 7, the programmable logic controller 210 also includes: an indication unit 260, a storage unit 270 and an expansion unit 280;

指示单元260、存储单元270和扩展单元280分别与处理单元240通信连接;The instruction unit 260, the storage unit 270 and the expansion unit 280 are respectively communicatively connected with the processing unit 240;

存储单元270包括只读存储器和随机存取存储器,只读存储器和随机存取存储器分别与处理单元240通信连接;The storage unit 270 includes a read-only memory and a random access memory, and the read-only memory and the random access memory are respectively communicatively connected with the processing unit 240;

扩展单元280与第三方设备通信连接;The expansion unit 280 communicates with third-party devices;

具体来说,指示单元260是一种对外进行提示的装置。指示单元260可以是光学装置,例如,通过显示灯进行提示;也可以是声学装置,例如,通过喇叭进行提示;还可以是其他未列出的装置。指示单元260用于指示可编程逻辑控制器210的状态,可编程逻辑控制器210的状态是由处理单元240确定的,处理单元240控制指示单元260进行提示。Specifically, the indication unit 260 is a device for providing external prompts. The indication unit 260 may be an optical device, for example, prompting through a display light; it may also be an acoustic device, for example, prompting through a speaker; or it may be other unlisted devices. The indication unit 260 is used to indicate the status of the programmable logic controller 210. The status of the programmable logic controller 210 is determined by the processing unit 240, and the processing unit 240 controls the indication unit 260 to prompt.

存储单元270是一种存储数据的装置。存储单元270包括只读存储器(Read-OnlyMemory,ROM)和随机存取存储器(Random Access Memory,RAM)。ROM以非破坏性读出方式工作,只能读出无法写入信息,信息一旦写入后就固定下来,即使切断电源,信息也不会丢失,ROM中存储有PLC的系统程度和用户程序,系统程序和用户程序可以存储在一个分区,也可以分开存储在不同分区。RAM可以随时读写,而且速度很快,RAM工作时可以随时从任何一个指定的地址写入(存入)或读出(取出)信息,RAM与ROM的最大区别是数据的易失性,即一旦断电所存储的数据将随之丢失,RAM中存储有临时数据和中间结果。The storage unit 270 is a device that stores data. The storage unit 270 includes read-only memory (Read-OnlyMemory, ROM) and random access memory (Random Access Memory, RAM). ROM works in a non-destructive reading mode. It can only read information but cannot write it. Once the information is written, it is fixed. Even if the power is cut off, the information will not be lost. The system level and user program of the PLC are stored in the ROM. System programs and user programs can be stored in one partition or in different partitions. RAM can be read and written at any time, and it is very fast. When RAM is working, it can write (store) or read (retrieve) information from any specified address at any time. The biggest difference between RAM and ROM is the volatility of data, that is, Once the power is turned off, the stored data will be lost, and temporary data and intermediate results are stored in RAM.

扩展单元280是一种传输接口,不同类型的第三方设备接入扩展单元280。第三方设备可以是监视器和打印机等外部设备,使可编程逻辑控制器210的配置更加灵活,以满足不同控制系统和操作人员的需求。The extension unit 280 is a transmission interface, and different types of third-party devices access the extension unit 280. Third-party devices can be external devices such as monitors and printers, making the configuration of the programmable logic controller 210 more flexible to meet the needs of different control systems and operators.

在其他实施例中,可编程逻辑控制器210还包括:电源装置,电源装置用于将220V交流电转换为各单元和装置可用的直流电,并为各单元和装置供电。In other embodiments, the programmable logic controller 210 further includes: a power supply device, which is used to convert 220V AC power into DC power available for each unit and device, and to provide power to each unit and device.

在一种可能的设计中,图8为本申请实施例提供的可编程逻辑控制器的结构示意图七。图8在图7的基础上,对指示单元260进行详细的说明。如图3所示,指示单元260包括:第一显示灯261、第二显示灯262和第三显示灯263;In one possible design, FIG. 8 is a schematic structural diagram 7 of a programmable logic controller provided by an embodiment of the present application. FIG. 8 explains the instruction unit 260 in detail based on FIG. 7 . As shown in Figure 3, the indication unit 260 includes: a first display light 261, a second display light 262 and a third display light 263;

第一显示灯261、第二显示灯262和第三显示灯263分别与处理单元240通信连接;The first display light 261, the second display light 262 and the third display light 263 are respectively communicatively connected with the processing unit 240;

具体来说,第一显示灯261、第二显示灯262和第三显示灯263可以是发光二极管(Light Emitting Diode,LED),也可以是灯丝指示灯,通过不同的颜色,或者不同的闪烁评率,指示不同的内容。Specifically, the first display lamp 261, the second display lamp 262 and the third display lamp 263 may be light emitting diodes (Light Emitting Diodes, LEDs) or filament indicator lamps, with different colors or different flicker evaluations. rate, indicating different content.

第一显示灯261用于指示运行状态,运行状态包括设备开机和设备关机;例如,在第一显示灯261为绿色常亮时,指示可编程逻辑控制器210处于设备开机的运行状态;在第一显示灯261为蓝色常亮时,指示可编程逻辑控制器210处于设备关机的运行状态。The first display light 261 is used to indicate the operating status, which includes the device being turned on and the device being turned off; for example, when the first display light 261 is solid green, it indicates that the programmable logic controller 210 is in the operating state of the device being turned on; in the When a display light 261 is always blue, it indicates that the programmable logic controller 210 is in a device shutdown operating state.

第二显示灯262用于指示异常状态,异常状态包括连接超时和连接中断;例如,在第二显示灯262为绿色常亮时,指示可编程逻辑控制器210未处于异常状态;在第二显示灯262为黄色常亮时,指示可编程逻辑控制器210处于连接超时的异常状态,连接超时的异常状态是指,可编程逻辑控制器210与主控设备、主站可编程逻辑控制器、从站可编程逻辑控制器或被控设备之间连接超时;在第二显示灯262为黄色闪烁时,指示可编程逻辑控制器210处于连接中断的异常状态,连接中断的异常状态是指,可编程逻辑控制器210与主控设备、主站可编程逻辑控制器、从站可编程逻辑控制器或被控设备之间连接中断,或者,可编程逻辑控制器210中若干个装置或单元出现故障,故障为软件故障和/或硬件故障。The second display light 262 is used to indicate an abnormal state, which includes connection timeout and connection interruption; for example, when the second display light 262 is solid green, it indicates that the programmable logic controller 210 is not in an abnormal state; when the second display When the light 262 is solid yellow, it indicates that the programmable logic controller 210 is in an abnormal state of connection timeout. The abnormal state of connection timeout refers to the connection between the programmable logic controller 210 and the master control device, the master station programmable logic controller, and the slave. The connection between the station programmable logic controller or the controlled device times out; when the second display light 262 flashes yellow, it indicates that the programmable logic controller 210 is in an abnormal state of connection interruption. The abnormal state of connection interruption means that the programmable logic controller 210 is in an abnormal state of connection interruption. The connection between the logic controller 210 and the master control device, the master station programmable logic controller, the slave station programmable logic controller or the controlled device is interrupted, or several devices or units in the programmable logic controller 210 fail, Failures are software failures and/or hardware failures.

第三显示灯263用于指示接口状态,接口状态包括接口连接和接口断开;例如,在第三显示灯263为绿色常亮时,指示输入单元220和输出单元250的接口连接;在第三显示灯263为黄色常亮时,指示输入单元220和/或输出单元250正在进行插拔。The third display light 263 is used to indicate the interface status, which includes interface connection and interface disconnection; for example, when the third display light 263 is solid green, it indicates the interface connection of the input unit 220 and the output unit 250; When the display light 263 is solid yellow, it indicates that the input unit 220 and/or the output unit 250 are being plugged or unplugged.

本实施例提供的一种可编程逻辑控制器,可编程逻辑控制器包括:输入单元、密码传输装置、处理单元和输出单元,密码传输装置分别与输入单元和处理单元通信连接,处理单元与输出单元通信连接。实现了如下技术效果:通过密码传输装置密码运算第一控制信号,得到并传输第二控制信号,解决了控制信号的传输面临着日益频繁的网络攻击,导致数据泄露的概率极大提高的问题;通过处理单元控制可编程逻辑控制器的各个单元和装置,解决了可编程逻辑控制器的各个单元和装置相互协调的问题;通过输入单元从其他PLC或主控设备获取第一控制信令,并通过输出单元将第二控制信号发送至其他PLC或被控设备,解决了可编程逻辑控制器传输控制信号的问题;通过运算芯片、接口电路、分析芯片和控制芯片,密码运算第一控制信号,或者,透传第一控制信号,解决了第一控制信号的安全性和敏感性需求不同的问题;通过指示灯指示可编程逻辑控制器的运行状态、异常状态和接口状态,解决了操作人员无法及时了解到可编程逻辑控制器的状态的问题。This embodiment provides a programmable logic controller. The programmable logic controller includes: an input unit, a password transmission device, a processing unit and an output unit. The password transmission device is communicatively connected to the input unit and the processing unit respectively. The processing unit is connected to the output unit. Unit communication connection. The following technical effects are achieved: the first control signal is cryptographically calculated by the cryptographic transmission device to obtain and transmit the second control signal, which solves the problem that the transmission of control signals is faced with increasingly frequent network attacks, resulting in a greatly increased probability of data leakage; By controlling the various units and devices of the programmable logic controller through the processing unit, the problem of mutual coordination of the various units and devices of the programmable logic controller is solved; the first control signaling is obtained from other PLCs or master control devices through the input unit, and The second control signal is sent to other PLCs or controlled equipment through the output unit, which solves the problem of programmable logic controller transmitting control signals; through the computing chip, interface circuit, analysis chip and control chip, the first control signal is cryptographically calculated, Alternatively, transparently transmitting the first control signal solves the problem of different safety and sensitivity requirements of the first control signal; indicating the operating status, abnormal status and interface status of the programmable logic controller through indicator lights, solving the problem that the operator cannot Know the status of the programmable logic controller in a timely manner.

图9为本申请实施例提供的控制系统的结构示意图。如图9所示,控制系统200包括:星型拓扑结构通信连接的,多个上述实施例的可编程逻辑控制器210。Figure 9 is a schematic structural diagram of a control system provided by an embodiment of the present application. As shown in Figure 9, the control system 200 includes: a plurality of programmable logic controllers 210 of the above embodiments communicatively connected in a star topology structure.

本实施例提供的控制系统,其实现原理和技术效果与上述实施例中的一种可编程逻辑控制器类似,本实施例此处不再赘述。The implementation principles and technical effects of the control system provided by this embodiment are similar to those of a programmable logic controller in the above embodiment, and will not be described again in this embodiment.

至此,已经结合附图所示的优选实施方式描述了本申请的技术方案,但是,本领域技术人员容易理解的是,本申请的保护范围显然不局限于这些具体实施方式,以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the drawings. However, those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to these specific embodiments. The above embodiments are only It is used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still apply the technology described in the foregoing embodiments. Modify the solution, or make equivalent substitutions for some or all of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solution to depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1.一种可编程逻辑控制器,其特征在于,所述可编程逻辑控制器包括:输入单元、密码传输装置、处理单元和输出单元;1. A programmable logic controller, characterized in that the programmable logic controller includes: an input unit, a password transmission device, a processing unit and an output unit; 所述密码传输装置分别与所述输入单元和所述处理单元通信连接;The password transmission device is communicatively connected to the input unit and the processing unit respectively; 所述输入单元,用于获取第一控制信号;The input unit is used to obtain the first control signal; 所述密码传输装置,用于密码运算所述第一控制信号,得到第二控制信号,并将所述第二控制信号转发至所述处理单元;The cryptographic transmission device is used to cryptographically calculate the first control signal to obtain a second control signal, and forward the second control signal to the processing unit; 所述处理单元与所述输出单元通信连接;The processing unit is communicatively connected to the output unit; 所述处理单元,用于将所述第二控制信号转发至所述输出单元。The processing unit is configured to forward the second control signal to the output unit. 2.根据权利要求1所述的可编程逻辑控制器,其特征在于,所述密码传输装置包括:运算芯片和接口电路;2. The programmable logic controller according to claim 1, characterized in that the password transmission device includes: a computing chip and an interface circuit; 所述运算芯片与所述输入单元通信连接;The computing chip is communicatively connected to the input unit; 所述运算芯片,用于加密运算或解密运算所述第一控制信号,得到第二控制信号;The operation chip is used for encryption operation or decryption operation of the first control signal to obtain a second control signal; 所述接口电路分别与所述运算芯片和所述处理单元通信连接;The interface circuit is communicatively connected to the computing chip and the processing unit respectively; 所述接口电路,用于将所述第二控制信号转发至所述处理单元。The interface circuit is used to forward the second control signal to the processing unit. 3.根据权利要求2所述的可编程逻辑控制器,其特征在于,所述密码传输装置还包括:分析芯片;3. The programmable logic controller according to claim 2, wherein the password transmission device further includes: an analysis chip; 所述分析芯片分别与所述输入单元和所述运算芯片通信连接;The analysis chip is communicatively connected to the input unit and the computing chip respectively; 所述分析芯片,用于分析所述第一控制信号,得到分析结果;The analysis chip is used to analyze the first control signal and obtain analysis results; 所述分析芯片,还用于在所述分析结果为第一结果时,将所述第一控制信号转发至所述运算芯片,其中,所述第一结果用于指示密码运算所述第一控制信号。The analysis chip is also configured to forward the first control signal to the operation chip when the analysis result is a first result, wherein the first result is used to indicate cryptographic operation of the first control signal. Signal. 4.根据权利要求3所述的可编程逻辑控制器,其特征在于,所述分析芯片与所述处理单元通信连接;4. The programmable logic controller according to claim 3, wherein the analysis chip is communicatively connected to the processing unit; 所述分析芯片,还用于在所述分析结果为第二结果时,将所述第一控制信号透传至所述处理单元,其中,所述第二结果用于指示透传所述第一控制信号;The analysis chip is also configured to transparently transmit the first control signal to the processing unit when the analysis result is a second result, wherein the second result is used to indicate transparent transmission of the first control signal. control signal; 所述处理单元,还用于将所述第一控制信号转发至所述输出单元。The processing unit is also used to forward the first control signal to the output unit. 5.根据权利要求4所述的可编程逻辑控制器,其特征在于,所述密码传输装置还包括:控制芯片;5. The programmable logic controller according to claim 4, wherein the password transmission device further includes: a control chip; 所述控制芯片与所述运算芯片通信连接;The control chip is communicatively connected to the computing chip; 所述控制芯片,用于在所述分析结果为第一结果时启动所述运算芯片,在所述分析结果为第二结果时停止所述运算芯片。The control chip is used to start the computing chip when the analysis result is the first result, and to stop the computing chip when the analysis result is the second result. 6.根据权利要求5所述的可编程逻辑控制器,其特征在于,所述可编程逻辑控制器部署于主站;6. The programmable logic controller according to claim 5, characterized in that the programmable logic controller is deployed at the main station; 所述输入单元与主控设备通信连接;The input unit is communicatively connected with the main control device; 所述输出单元与部署于从站的可编程逻辑控制器通信连接;The output unit is communicatively connected with a programmable logic controller deployed in the slave station; 所述运算芯片,具体用于加密运算所述第一控制信号,得到所述第二控制信号。The computing chip is specifically used to encrypt and compute the first control signal to obtain the second control signal. 7.根据权利要求5所述的可编程逻辑控制器,其特征在于,所述可编程逻辑控制器部署于从站;7. The programmable logic controller according to claim 5, characterized in that the programmable logic controller is deployed in a slave station; 所述输入单元与部署于主站的可编程逻辑控制器通信连接;The input unit is communicatively connected with a programmable logic controller deployed on the main station; 所述输出单元与被控设备通信连接;The output unit is communicatively connected with the controlled device; 所述运算芯片,具体用于解密运算所述第一控制信号,得到所述第二控制信号。The computing chip is specifically used to decrypt and compute the first control signal to obtain the second control signal. 8.根据权利要求6或7所述的可编程逻辑控制器,其特征在于,所述可编程逻辑控制器还包括:指示单元、存储单元和扩展单元;8. The programmable logic controller according to claim 6 or 7, characterized in that the programmable logic controller further includes: an indication unit, a storage unit and an expansion unit; 所述指示单元、存储单元和扩展单元分别与所述处理单元通信连接;The indication unit, storage unit and expansion unit are respectively communicatively connected with the processing unit; 所述指示单元,用于指示所述可编程逻辑控制器的状态;The indicating unit is used to indicate the status of the programmable logic controller; 所述存储单元包括只读存储器和随机存取存储器,所述只读存储器和随机存取存储器分别与所述处理单元通信连接;The storage unit includes a read-only memory and a random access memory, and the read-only memory and the random access memory are respectively communicatively connected with the processing unit; 所述扩展单元与第三方设备通信连接。The expansion unit is communicatively connected with a third-party device. 9.根据权利要求8所述的可编程逻辑控制器,其特征在于,所述指示单元包括:第一显示灯、第二显示灯和第三显示灯;9. The programmable logic controller according to claim 8, wherein the indication unit includes: a first display light, a second display light and a third display light; 所述第一显示灯、第二显示灯和第三显示灯分别与所述处理单元通信连接;The first display light, the second display light and the third display light are respectively communicatively connected with the processing unit; 所述第一显示灯,用于指示运行状态,所述运行状态包括设备开机和设备关机;The first display light is used to indicate operating status, and the operating status includes equipment startup and equipment shutdown; 所述第二显示灯,用于指示异常状态,所述异常状态包括连接超时和连接中断;The second display light is used to indicate abnormal status, and the abnormal status includes connection timeout and connection interruption; 所述第三显示灯,用于指示接口状态,所述接口状态包括接口连接和接口断开。The third display light is used to indicate interface status. The interface status includes interface connection and interface disconnection. 10.一种控制系统,其特征在于,所述系统包括:星型拓扑结构通信连接的,多个如权利要求1-9任一项所述的可编程逻辑控制器。10. A control system, characterized in that the system includes: a plurality of programmable logic controllers according to any one of claims 1 to 9, communicatively connected in a star topology structure.
CN202322351524.2U 2023-08-30 2023-08-30 A programmable logic controller and control system Active CN220232289U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202322351524.2U CN220232289U (en) 2023-08-30 2023-08-30 A programmable logic controller and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202322351524.2U CN220232289U (en) 2023-08-30 2023-08-30 A programmable logic controller and control system

Publications (1)

Publication Number Publication Date
CN220232289U true CN220232289U (en) 2023-12-22

Family

ID=89194715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202322351524.2U Active CN220232289U (en) 2023-08-30 2023-08-30 A programmable logic controller and control system

Country Status (1)

Country Link
CN (1) CN220232289U (en)

Similar Documents

Publication Publication Date Title
US9124999B2 (en) Method and apparatus for wireless communications in a process control or monitoring environment
JP2001252884A (en) Robot, robot system, and method of controlling robot
CN111381553B (en) VPN technology-based equipment and method and system for remotely maintaining PLC
CN104364720A (en) Control device for controlling a safety device, and use of an IO link for transmission of a safety protocol to a safety device
EP4095627B1 (en) Evaluating alternative control parameters based on a digital twin
TW201903605A (en) System for enhanced rehosting of legacy hardware and software (3)
CN102801658A (en) Configurable access gateway for Internet of things
CN110325930B (en) Safety systems and safety controllers
CN108247632A (en) A kind of cooperation robot control system based on ROS
CN104737513A (en) Industrial control system with internal generation for secure network communications
JP6328173B2 (en) Inverter control method
CN220232289U (en) A programmable logic controller and control system
US20160161934A1 (en) System for use in Automation Technology
JP2014222871A (en) Master device of Profibus DP
CN105420443A (en) Converter tilting control system
JP2019169945A (en) Gateway system for heterogeneous fieldbus
WO2018154891A1 (en) Method and control device for controlling a field device
CN104698916B (en) Method for operation automation device
CN108243186A (en) The system and method for remote operation programmable logic controller (PLC)
CN110509277A (en) A kind of robot motion control system and robot
CN113416560B (en) Online hot standby system of frequency converter of coke dry quenching hoister, hot standby control method and device
CN110266652A (en) A smart home security system
CN206226346U (en) Electric machine control system
CN104950880A (en) Industrial control equipment debugging system and method
CN101960401A (en) Device and method for planning a field device of a technical installation

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant