CN201037908Y - Universal small-sized programmable controller - Google Patents
Universal small-sized programmable controller Download PDFInfo
- Publication number
- CN201037908Y CN201037908Y CNU2007200845906U CN200720084590U CN201037908Y CN 201037908 Y CN201037908 Y CN 201037908Y CN U2007200845906 U CNU2007200845906 U CN U2007200845906U CN 200720084590 U CN200720084590 U CN 200720084590U CN 201037908 Y CN201037908 Y CN 201037908Y
- Authority
- CN
- China
- Prior art keywords
- module
- output
- input
- digital quantity
- analog
- 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.)
- Expired - Lifetime
Links
- 230000006870 function Effects 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 13
- 238000012544 monitoring process Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000003321 amplification Effects 0.000 claims description 7
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 3
- 239000004615 ingredient Substances 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 2
- XYDVHKCVOMGRSY-UHFFFAOYSA-N 4-(4-benzylphenyl)-1,3-thiazol-2-amine Chemical compound S1C(N)=NC(C=2C=CC(CC=3C=CC=CC=3)=CC=2)=C1 XYDVHKCVOMGRSY-UHFFFAOYSA-N 0.000 description 16
- 101000928034 Homo sapiens Proteasomal ubiquitin receptor ADRM1 Proteins 0.000 description 15
- 102100036915 Proteasomal ubiquitin receptor ADRM1 Human genes 0.000 description 15
- 230000003287 optical effect Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
技术领域 technical field
本实用新型涉及一种工业通用自动控制装置,尤其涉及一种基于CAN现场总线、嵌入式微处理器ARM+FPGA组成的通用小型可编程控制器(PLC)。The utility model relates to an industrial general automatic control device, in particular to a general small programmable controller (PLC) based on CAN field bus and embedded microprocessor ARM+FPGA.
背景技术 Background technique
目前,小型PLC是开关量输入输出为256点以下的PLC,是一种主要用于工业设备顺序控制的通用自动控制装置,通常以各公司专门设计的Soc芯片或应用单片机为控制核心,用户根据被控对象的需要灵活配置和选择各种输入输出扩展模块,小型PLC具有强大的顺序逻辑控制功能;但由于生产小型PLC的各公司在小型PLC主机与各种扩展模块之间的连接采用各自的总线标准,使得其扩展的各种输入输出扩展模块必须安装在各自公司设计的导轨上、或与小型PLC的CPU模块必须是近距离的,小型PLC主机及其扩展的各种输入输出扩展模块只能够安装在一个电柜中,如果一台小型PLC控制的被控对象的检测点和控制点在设备中比较分散,部分检测点和控制点距离电柜较远,将会导致被控对象的检测点和控制点到小型PLC的连接导线长;一台小型PLC只能配置一个人机界面模块;另外,虽然大部分小型PLC可以与各自公司的PLC集成控制系统通过现场总线连接,作为下位机用于现场控制装置,其输入输出扩展模块可以配置A/D、D/A模块实现PID算法控制,但小型PLC难以将更为复杂的控制算法嵌入到PLC程序中来实现对复杂控制对象的自动控制。At present, a small PLC is a PLC with a switching input and output of less than 256 points. It is a general-purpose automatic control device mainly used for sequential control of industrial equipment. It usually uses a Soc chip specially designed by each company or an application single-chip microcomputer as the control core. The controlled object needs flexible configuration and selection of various input and output expansion modules. Small PLCs have powerful sequential logic control functions; Due to the bus standard, the various input and output expansion modules for its expansion must be installed on the guide rails designed by their respective companies, or must be close to the CPU module of the small PLC. The small PLC host and its expansion of various input and output expansion modules only It can be installed in an electric cabinet. If the detection points and control points of the controlled object controlled by a small PLC are scattered in the equipment, some detection points and control points are far away from the electric cabinet, which will lead to the detection of the controlled object. Points and control points to the small PLC connection wire is long; a small PLC can only be equipped with a man-machine interface module; in addition, although most small PLCs can be connected with the PLC integrated control system of their respective companies through the field bus, as a lower computer For field control devices, its input and output expansion modules can be configured with A/D and D/A modules to realize PID algorithm control, but it is difficult for small PLCs to embed more complex control algorithms into PLC programs to realize automatic control of complex control objects .
实用新型内容Utility model content
本实用新型的目的在于提供一种能够实现对复杂对象的控制、灵活配置输入输出扩展模块、各功能模块可以安装在不同的电柜中、在被控对象的检测点与控制点距离较远的情况下方便地实现多点监控、并可配置多个人机界面模块的小型通用可编程控制器,以克服上述已有技术的不足。The purpose of this utility model is to provide a device that can realize the control of complex objects, flexibly configure input and output expansion modules, and install various functional modules in different electric cabinets, and the distance between the detection point and the control point of the controlled object is relatively long. A small general-purpose programmable controller that can conveniently realize multi-point monitoring and can be configured with multiple human-machine interface modules in order to overcome the above-mentioned deficiencies in the prior art.
为解决上述技术问题,本实用新型所采用的技术方案是:一种基于CAN现场总线、嵌入式微处理器ARM+FPGA组成的通用小型可编程控制器包括可编程装置、PLC主机、人机界面模块和CAN总线;In order to solve the above-mentioned technical problems, the technical solution adopted by the utility model is: a general small programmable controller composed of a CAN field bus and an embedded microprocessor ARM+FPGA including a programmable device, a PLC host, and a man-machine interface module and CAN bus;
PLC主机包括嵌入式微处理器ARM、模拟量输入输出模块、数字量输入输出模块、FLASH存储器、SDRAM存储器和FPGA可重构控制算法协处理器,嵌入式微处理器ARM作为控制核心,分别与模拟量输入输出模块、数字量输入输出模块、FLASH存储器、SDRAM存储器和FPGA可重构控制算法协处理器连接,FPGA可重构控制算法协处理器与嵌入式微处理器ARM的输入输出I/O端口连接,嵌入式微处理器ARM向FPGA可重构控制算法协处理器提供控制设置值、数据采集值及控制参数,并从FPGA可重构控制算法协处理器获得控制输出驱动参数;FPGA可重构控制算法协处理器中配置有多种控制算法,这些控制算法作为子程序模块嵌入到小型可编程控制器的程序中作为功能模块调用;FLASH存储器用于固化系统程序、PLC指令解释程序以及固化的数据表格;SDRAM存储器是闪存储器,用作输入输出映像寄存器、元件映像寄存器、元件寄存器,并存储中间计算结果、用户程序;PLC主机通过其CAN接口与CAN总线连接,CAN接口由顺序连接的收发器、光隔和CAN控制器组成,嵌入式微处理器ARM通过CAN总线获得用户编写的指令程序和监控命令、从人机界面模块获得被控对象设备的运行控制参数和控制命令、并传输PLC主机用户编写的指令程序和控制参数、向人机界面模块传输被控对象设备运行的数字量和模拟量状态参数和控制驱动参数;PLC host includes embedded microprocessor ARM, analog input and output modules, digital input and output modules, FLASH memory, SDRAM memory and FPGA reconfigurable control algorithm coprocessor, embedded microprocessor ARM as the control core, and analog Input and output modules, digital input and output modules, FLASH memory, SDRAM memory and FPGA reconfigurable control algorithm coprocessor are connected, FPGA reconfigurable control algorithm coprocessor is connected with input and output I/O ports of embedded microprocessor ARM , the embedded microprocessor ARM provides control setting values, data acquisition values and control parameters to the FPGA reconfigurable control algorithm coprocessor, and obtains control output driving parameters from the FPGA reconfigurable control algorithm coprocessor; FPGA reconfigurable control algorithm coprocessor Algorithm coprocessors are equipped with a variety of control algorithms, these control algorithms are embedded as subroutine modules in the program of small programmable controllers and called as function modules; FLASH memory is used to solidify system programs, PLC instruction interpreters and solidified data Table; SDRAM memory is a flash memory, used as input and output image registers, component image registers, component registers, and stores intermediate calculation results and user programs; the PLC host is connected to the CAN bus through its CAN interface, and the CAN interface is connected by sequentially connected transceivers The embedded microprocessor ARM obtains the instruction program and monitoring command written by the user through the CAN bus, obtains the operation control parameters and control commands of the controlled object equipment from the man-machine interface module, and transmits them to the PLC host user Write the command program and control parameters, transmit the digital and analog state parameters and control drive parameters of the controlled object equipment to the man-machine interface module;
包括上位机和手持编程器的可编程装置通过其内置的CAN接口与CAN总线连接,从而将用户在可编程装置上编写的用户指令程序下载到PLC主机的ARM微处理器中,并从CAN总线获取PLC主机的运行状态、读取PLC主机的用户程序、向PLC主机系统发送控制指令以实现对通用小型可编程控制器的监控;The programmable device including the host computer and the handheld programmer is connected to the CAN bus through its built-in CAN interface, so that the user instruction program written by the user on the programmable device can be downloaded to the ARM microprocessor of the PLC host, and then transferred from the CAN bus Obtain the running status of the PLC host, read the user program of the PLC host, and send control instructions to the PLC host system to realize the monitoring of general small programmable controllers;
人机界面模块通过其内置的CAN接口与CAN总线连接,从而与嵌入式微处理器ARM相互传输信息,以获得被控对象设备的运行状态信息、并通过CAN总线传输被控对象设备的运行控制参数和控制命令、显示系统实时运行参数、参数状态曲线、以及显示设置系统运行参数、控制参数、控制命令,人机界面模块配置数量为n,1≤n≤4;The man-machine interface module is connected to the CAN bus through its built-in CAN interface, so as to transmit information with the embedded microprocessor ARM, so as to obtain the operation status information of the controlled object equipment, and transmit the operation control parameters of the controlled object equipment through the CAN bus and control commands, display system real-time operating parameters, parameter status curves, and display and set system operating parameters, control parameters, and control commands. The number of man-machine interface modules configured is n, 1≤n≤4;
CAN总线是PLC主机、可编程装置、人机界面模块各组成部分之间互相传输、交换数据的中间媒体,各模块通过其内置的CAN接口与CAN总线连接,所述的各CAN接口均由顺序连接的收发器、光隔和CAN控制器组成,各收发器一端与CAN总线连接,各CAN控制器的另一端分别与PLC主机、可编程装置和人机界面模块相连,从而使得各功能模块能够安装在同一个电柜中或不同的电柜中或安装在被控设备的不同部位上;The CAN bus is an intermediary medium for mutual transmission and data exchange between the components of the PLC host, programmable devices, and man-machine interface modules. Each module is connected to the CAN bus through its built-in CAN interface. Connected transceivers, optical barriers and CAN controllers, one end of each transceiver is connected to the CAN bus, and the other end of each CAN controller is connected to the PLC host, programmable device and man-machine interface module, so that each functional module can Installed in the same electric cabinet or in different electric cabinets or on different parts of the controlled equipment;
PLC主机的数字量输入输出模块由FPGA扩展I/O、光电隔离器、16~64点数字量输入、16~64点数字量输出组成;嵌入式微处理器ARM与FPGA扩展I/O连接,FPGA扩展I/O通过接线端子与光电隔离器连接,光电隔离器分别与16~64点数字量输入和16~64点数字量输出连接;所述FPGA扩展I/O的FPGA能够灵活配置数字量的输入输出点数,数字量输入点数以16点为单位配置,可以配置为16或32或48或64;数字量输出点数以16点为单位配置,可以配置为16或32或48或64,最大配置达到数字量输入输出128点。The digital input and output module of the PLC host is composed of FPGA expansion I/O, photoelectric isolator, 16-64 points digital input, and 16-64 points digital output; the embedded microprocessor ARM is connected to the FPGA expansion I/O, and the FPGA The extended I/O is connected to the photoelectric isolator through terminal blocks, and the photoelectric isolator is respectively connected to 16-64 points of digital input and 16-64 points of digital output; the FPGA of the FPGA extended I/O can flexibly configure the digital quantity Number of input and output points, the number of digital input points is configured in units of 16 points, which can be configured as 16 or 32 or 48 or 64; the number of digital output points is configured in units of 16 points, which can be configured as 16 or 32 or 48 or 64, the maximum configuration Up to 128 points of digital input and output.
PLC主机的模拟量输入输出模块由A/D输入接口、8路模拟量放大输入、D/A芯片、4路模拟量驱动输出组成;嵌入式微处理器ARM、A/D输入接口、8路模拟量放大输入顺序连接,8路模拟量放大输入通过接线端子与被控对象检测与驱动电路连接,从而构成数据采集通道;嵌入式微处理器ARM、D/A芯片、4路模拟量驱动输出顺序连接,4路模拟量驱动输出通过接线端子与被控对象检测与驱动电路连接,从而构成控制驱动输出通道;模拟量输入输出模块和嵌入式微处理器ARM组成闭环控制电路。The analog input and output module of the PLC host is composed of A/D input interface, 8-way analog amplified input, D/A chip, and 4-way analog drive output; embedded microprocessor ARM, A/D input interface, 8-way analog Quantity amplification input is connected sequentially, and 8 analog quantity amplification inputs are connected with the controlled object detection and drive circuit through terminal blocks to form a data acquisition channel; embedded microprocessor ARM, D/A chip, and 4 analog quantity drive outputs are sequentially connected , 4-way analog drive output is connected to the controlled object detection and drive circuit through terminal blocks to form a control drive output channel; the analog input and output module and the embedded microprocessor ARM form a closed-loop control circuit.
由于采用以上结构,本实用新型之通用小型可编程控制器具有以下有益效果:Due to the adoption of the above structure, the general small programmable controller of the utility model has the following beneficial effects:
一、能够实现复杂被控对象的自动控制1. Able to realize the automatic control of complex controlled objects
本实用新型是基于CAN现场总线、嵌入式微处理器ARM+FPGA组成的通用小型可编程控制器,该小型可编程控制器以嵌入式微处理器ARM为控制核心,以FPGA为可重构控制算法协处理器,FPGA可重构控制算法协处理器与嵌入式微处理器ARM的输入输出I/O端口连接,嵌入式微处理器ARM向FPGA可重构控制算法协处理器提供控制设置值、数据采集值及控制参数,并从FPGA可重构控制算法协处理器获得控制输出驱动参数;在FPGA中配置了先进的控制算法,如先进的PID、模糊控制,神经网络算法等,这些控制算法作为子程序模块嵌入到PLC的程序中作为功能模块调用;并且,FPGA可重构控制算法协处理器的控制算法的运算不会占用PLC程序的执行时间,因此能够轻松实现对复杂控制对象的自动控制。The utility model is a general small programmable controller composed of CAN field bus and embedded microprocessor ARM+FPGA. The small programmable controller uses the embedded microprocessor ARM as the control core and FPGA as the reconfigurable control algorithm coordination The processor, the FPGA reconfigurable control algorithm coprocessor are connected to the input and output I/O ports of the embedded microprocessor ARM, and the embedded microprocessor ARM provides control setting values and data acquisition values to the FPGA reconfigurable control algorithm coprocessor And control parameters, and obtain the control output drive parameters from the FPGA reconfigurable control algorithm coprocessor; configure advanced control algorithms in the FPGA, such as advanced PID, fuzzy control, neural network algorithms, etc., these control algorithms are used as subroutines The module is embedded in the PLC program and called as a function module; and the operation of the control algorithm of the FPGA reconfigurable control algorithm coprocessor will not occupy the execution time of the PLC program, so it can easily realize the automatic control of complex control objects.
二、灵活配置输入输出扩展模块,输入输出扩展模块可以安装在不同的电柜中2. Flexible configuration of input and output expansion modules, input and output expansion modules can be installed in different electrical cabinets
在本实用新型之通用小型可编程控制器中,CAN总线是各组成模块之间互相传输、交换数据的中间媒体,各模块通过其内置的CAN接口与CAN总线连接,并通过CAN总线实现数据交换和通讯,使得扩展的输入输出功能模块通过CAN总线与系统连接,每个扩展模块能够安装在不同的电柜中或安装在靠近被控对象控制点和检测点的部位上,大大减少连接导线的长度和数量,并很好的解决了在被控对象的检测点与控制点距离较远的情况下的多点监控问题。In the general-purpose small programmable controller of the utility model, the CAN bus is the intermediary medium for mutual transmission and data exchange between the constituent modules, and each module is connected to the CAN bus through its built-in CAN interface, and realizes data exchange through the CAN bus And communication, so that the extended input and output function modules are connected to the system through the CAN bus, and each expansion module can be installed in a different electric cabinet or near the control point and detection point of the controlled object, greatly reducing the number of connecting wires Length and quantity, and well solved the multi-point monitoring problem when the distance between the detection point and the control point of the controlled object is far away.
三、可以配置多个人机界面模块3. Multiple man-machine interface modules can be configured
由于本实用新型之通用小型可编程控制器中各功能模块均通过CAN总线实现数据交换和通讯,使得人机界面模块通过CAN总线与系统连接,因此用户可以根据被控对象现场的需求来选择多个人机界面模块,便于用户监控被控对象控制系统的运行状态。Since each functional module in the general-purpose small-scale programmable controller of the utility model realizes data exchange and communication through the CAN bus, the man-machine interface module is connected with the system through the CAN bus, so the user can choose multiple The personal machine interface module is convenient for users to monitor the running status of the controlled object control system.
四、系统性价比高4. The system is cost-effective
本实用新型以嵌入式微处理器ARM为控制核心,FPGA为可重构控制算法协处理器,在FPGA中配置先进的控制算法,应用FPGA配置数字量输入输出口,并且各功能模块通过CAN现场总线与系统连接起来,各模块通过其内置的CAN接口与CAN总线连接,CAN总线是各模块之间互相传输、交换数据的中间媒体,使得各功能模块能够安装在同一个电柜中或不同的电柜中或安装在被控设备的不同部位上,大大提高了各功能模块安装位置的灵活性,使得该小型可编程控制器的控制功能与性能增强,具备较高的性价比。The utility model takes the embedded microprocessor ARM as the control core, FPGA as the reconfigurable control algorithm coprocessor, configures the advanced control algorithm in the FPGA, applies the FPGA to configure the digital quantity input and output ports, and each functional module passes the CAN field bus Connected with the system, each module is connected to the CAN bus through its built-in CAN interface, and the CAN bus is an intermediate medium for mutual transmission and data exchange between modules, so that each functional module can be installed in the same electrical cabinet or in different electrical cabinets. It can be installed in the cabinet or on different parts of the controlled equipment, which greatly improves the flexibility of the installation position of each functional module, which makes the control function and performance of the small programmable controller enhanced, and has a high cost performance.
下面结合附图和实施例对本实用新型之通用小型可编程控制器之技术特征作进一步的说明。Below in conjunction with accompanying drawing and embodiment the technical characteristic of general small programmable controller of the present utility model is described further.
附图说明 Description of drawings
图1:本实用新型之通用小型可编程控制器的系统结构框图;Fig. 1: the system structural block diagram of the universal small programmable controller of the utility model;
图2:本实用新型之通用小型可编程控制器的硬件连接图;图中:Fig. 2: the hardware connection diagram of the universal small programmable controller of the utility model; in the figure:
I-上位机, II-PLC主机, III-手持编程器, IV-人机界面模块,I-host computer, II-PLC host, III-handheld programmer, IV-man-machine interface module,
V-扩展模块,VI-CAN总线,IIA-模拟量输入输出模块,V-expansion module, VI-CAN bus, IIA-analog input and output module,
IIB-数字量输入输出模块,VIA-CAN接口,IIB-digital input and output module, VIA-CAN interface,
1-嵌入式微处理器ARM,2-FLASH存储器,3-SDRAM存储器,1-embedded microprocessor ARM, 2-FLASH memory, 3-SDRAM memory,
4-A/D输入接口,5-8路模拟量放大输入,6-D/A芯片,4-A/D input interface, 5-8 channels of analog amplification input, 6-D/A chip,
7-4路模拟量驱动输出,8、11-接线端子,9-被控对象检测与驱动电路,7-4 analog drive output, 8, 11-terminal, 9-controlled object detection and drive circuit,
10-FPGA扩展I/O,12-光电隔离器,13-16~64点数字量输入,10-FPGA expansion I/O, 12-photoelectric isolator, 13-16~64 points digital input,
14-16~64点数字量输出,15-CAN控制器,16-光隔,17-CAN收发器,14-16-64 points of digital output, 15-CAN controller, 16-optical isolation, 17-CAN transceiver,
18-FPGA可重构控制算法协处理器;18-FPGA reconfigurable control algorithm coprocessor;
PLC-Programmable Logical Controller,可编程逻辑控制器,简称可编程控制器;PLC-Programmable Logical Controller, programmable logic controller, referred to as programmable controller;
CAN-Controller Area Network,控制器局域网,一种现场总线;CAN-Controller Area Network, Controller Area Network, a field bus;
FPGA-Field Programmable Gate Array,现场可编程门阵列;FPGA-Field Programmable Gate Array, Field Programmable Gate Array;
ARM-Advanced RISC Machines,一种微处理器;ARM-Advanced RISC Machines, a microprocessor;
SPI-Service Provider Interface,服务提供商接口,满足某种服务标准的供应商SPI-Service Provider Interface, service provider interface, a provider that meets certain service standards
提供的符合该标准的应用程序接口。Provides an application programming interface that conforms to this standard.
具体实施方式 Detailed ways
一种通用小型可编程控制器,包括上位机I、PLC主机II、手持编程器III、人机界面模块IV和CAN总线V。A general-purpose small programmable controller includes a host computer I, a PLC host computer II, a handheld programmer III, a man-machine interface module IV and a CAN bus V.
PLC主机II包括嵌入式微处理器ARM1、模拟量输入输出模块IIA、数字量输入输出模块IIB、FLASH存储器2、SDRAM存储器3和FPGA可重构控制算法协处理器18,嵌入式微处理器ARM1作为控制核心,分别与模拟量输入输出模块IIA、数字量输入输出模块IIB、FLASH存储器2、SDRAM存储器3和FPGA可重构控制算法协处理器18连接,FPGA可重构控制算法协处理器18与嵌入式微处理器ARM1的输入输出I/O端口连接,嵌入式微处理器ARM1向FPGA可重构控制算法协处理器18提供控制设置值、数据采集值及控制参数,并从FPGA可重构控制算法协处理器18获得控制输出驱动参数;FPGA可重构控制算法协处理器18中配置有多种控制算法,如先进的PID、模糊控制,神经网络算法等,这些控制算法作为子程序模块嵌入到PLC的程序中作为功能模块调用,FPGA可重构控制算法协处理器18的控制算法的运算不占用PLC程序的执行时间;PLC主机II通过其CAN接口VIA与CAN总线VI连接,CAN接口VIA由顺序连接的收发器17、光隔16和CAN控制器15组成,嵌入式微处理器ARM1通过CAN总线VI获得用户编写的指令程序和监控命令、从人机界面模块IV获得被控对象设备的运行控制参数和控制命令、并传输PLC主机II用户编写的指令程序和控制参数、向人机界面模块IV传输被控对象设备运行的数字量和模拟量状态参数和控制驱动参数;嵌入式微处理器ARM1的总线与FLASH存储器2连接,FLASH存储器2用于固化系统程序、PLC指令解释程序以及固化的数据表格;嵌入式微处理器ARM1的总线与SDRAM存储器3连接,SDRAM存储器3是闪存储器,用作输入输出映像寄存器、元件映像寄存器、元件寄存器,并存储中间计算结果、用户程序;PLC host II includes embedded microprocessor ARM1, analog input and output module IIA, digital input and output module IIB,
PLC主机II的模拟量输入输出模块IIA由A/D输入接口4、8路模拟量放大输入5、D/A芯片6、4路模拟量驱动输出7组成;嵌入式微处理器ARM1、A/D输入接口4、8路模拟量放大输入5顺序连接,8路模拟量放大输入5通过接线端子8与被控对象检测与驱动电路9连接,从而构成数据采集通道;嵌入式微处理器ARM1、D/A芯片6、4路模拟量驱动输出7顺序连接,4路模拟量驱动输出7通过接线端子8与被控对象检测与驱动电路9连接,从而构成控制驱动输出通道;模拟量输入输出模块IIA和嵌入式微处理器ARM1组成闭环控制电路。The analog input and output module IIA of PLC mainframe II is composed of A/D input interface 4, 8-way
PLC主机II的数字量输入输出模块IIB由FPGA扩展I/O 10、光电隔离器12、16~64点数字量输入13、16~64点数字量输出14组成;嵌入式微处理器ARM1与FPGA扩展I/O 10连接,FPGA扩展I/O 10通过接线端子11与光电隔离器12连接,光电隔离器12分别与16~64点数字量输入13和16~64点数字量输出14连接;所述FPGA扩展I/O 10的FPGA能够灵活配置数字量的输入输出点数,数字量输入点数以16点为单位配置,可以配置为16或32或48或64;数字量输出点数以16点为单位配置,可以配置为16或32或48或64,最大配置达到数字量输入输出128点。The digital input and output module IIB of PLC mainframe II is composed of FPGA expansion I/
上位机I、手持编程器III都是一种可编程装置。The upper computer I and the handheld programmer III are all programmable devices.
上位机I通过其内置的CAN接口与CAN总线VI连接,从而将用户在上位机I上编写的用户指令程序下载到PLC主机II的嵌入式微处理器ARM1中、并从CAN总线VI获取PLC主机II的运行状态、读取PLC主机II的用户程序,以及向PLC主机II系统发送控制指令,以实现对小型可编程控制器的监控;上位机I不与CAN总线VI连接,不影响小型可编程控制器的运行。The host computer I is connected to the CAN bus VI through its built-in CAN interface, so as to download the user instruction program written by the user on the host computer I to the embedded microprocessor ARM1 of the PLC host II, and obtain the PLC host II from the CAN bus VI. running status, read the user program of PLC mainframe II, and send control instructions to the PLC mainframe II system to realize the monitoring of the small programmable controller; the upper computer I is not connected to the CAN bus VI, and does not affect the small programmable control device operation.
手持编程器III通过其内置的CAN接口与CAN总线VI连接,手持编程器III是提供给用户编制指令程序,修改指令程序,监控小型可编程控制器运行状态的功能模块,手持编程器III向CAN总线VI传输用户编写的指令程序和监控命令,并从CAN总线VI获得小型可编程控制器的运行状态信息,如果手持编程器III不与CAN总线VI连接,不影响小型可编程控制器的运行。The Handheld Programmer III is connected to the CAN bus VI through its built-in CAN interface. The bus VI transmits the instruction program and monitoring command written by the user, and obtains the running status information of the small programmable controller from the CAN bus VI. If the handheld programmer III is not connected to the CAN bus VI, the operation of the small programmable controller will not be affected.
人机界面模块IV是监控整个被控对象设备运行状况的功能模块;人机界面模块IV通过其内置的CAN接口与CAN总线VI连接,从而与嵌入式微处理器ARM1相互传输信息,以获得被控对象设备的运行状态信息、并通过CAN总线VI传输被控对象设备的运行控制参数和控制命令、显示系统实时运行参数、参数状态曲线、以及显示设置系统运行参数、控制参数、控制命令,用户可以根据需要配置多个人机界面模块,人机界面模块IV可以配置n个,1≤n≤4,即人机界面模块IV1、人机界面模块IV2、人机界面模块IV3、人机界面模块IV4,每个人机界面模块的功能相同,能够安装在同一个电柜中或不同的电柜中或安装在被控设备的不同部位上。The human-machine interface module IV is a functional module that monitors the operating status of the entire controlled object equipment; the human-machine interface module IV is connected to the CAN bus VI through its built-in CAN interface, so as to transmit information with the embedded microprocessor ARM1 to obtain the controlled The running status information of the target equipment, and transmit the running control parameters and control commands of the controlled target equipment through the CAN bus VI, display the real-time running parameters of the system, parameter status curves, and display and set the system running parameters, control parameters, and control commands. Users can Configure multiple man-machine interface modules as required, man-machine interface module IV can be configured with n, 1≤n≤4, namely man-machine interface module IV1, man-machine interface module IV2, man-machine interface module IV3, man-machine interface module IV4, Each man-machine interface module has the same function and can be installed in the same electric cabinet or in different electric cabinets or on different parts of the controlled equipment.
CAN总线VI是PLC主机II、上位机I、手持编程器III、人机界面模块IV互相传输、交换数据的中间媒体,CAN总线VI与上位机I、手持编程器III、人机界面模块IV通过各个模块内置的CAN接口连接,使得小型可编程控制器的各功能模块能够安装在同一个电柜中或不同的电柜中或安装在被控设备的不同部位上。CAN bus VI is the intermediary medium for mutual transmission and data exchange between PLC host II, upper computer I, handheld programmer III, and human-machine interface module IV. CAN bus VI communicates with upper computer I, handheld programmer III, and human-machine interface module IV through The built-in CAN interface connection of each module enables each functional module of the small programmable controller to be installed in the same electric cabinet or in different electric cabinets or on different parts of the controlled equipment.
所述的各CAN接口均由顺序连接的收发器17、光隔16和CAN控制器15组成,各收发器1 7一端与CAN总线VI连接,各CAN控制器15的另一端分别与PLC主机II、上位机I、手持编程器III和人机界面模块IV相连。Each described CAN interface is all made up of sequentially
以上是本实用新型的实施方式之一。The above is one of the embodiments of the present utility model.
作为本实用新型实施例的一种变换,该小型可编程控制器的可编程装置也可以是只有上位机I或只有手持编程器III,当只有上位机I时,对于用户在现场修改程序不太方便,而只有手持编程器III,虽然方便用户在现场修改程序,但由于受手持编程器III本身功能制约,其编程的速度及功能受限。As a kind of transformation of the embodiment of the present utility model, the programmable device of this small-sized programmable controller also can only have host computer I or only hand-held programmer III, when only host computer I, it is not too easy for the user to revise the program on the spot Convenient, but only the handheld programmer III, although it is convenient for users to modify the program on site, but due to the functional constraints of the handheld programmer III itself, its programming speed and functions are limited.
作为本实用新型实施例的又一种变换,该小型可编程控制器还可通过增加扩展模块来增加数字量输入输出点数和模拟量输入输出路数,所述扩展模块通过其内置的CAN接口与CAN总线VI连接,使得该模块能够安装在同一个电柜中或不同的电柜中或安装在被控设备的不同部位上,以减少连接导线的长度和数量,扩展模块可配置数量为m,1≤m≤10,即扩展模块V1、…、扩展模块Vi、…、扩展模块V10;扩展模块是扩展小型可编程控制器的数字量输入输出点数以及模拟量输入输出路数的功能模块,其可以是数字量输入模块或数字量输出扩展功能模块,也可以是模拟量输入模块或模拟量输出模块,若是数字量输入扩展功能模块,数字量输入点数以16点为单位配置,可以配置为16或32或48或64或80或96或112或128;若是数字量输出扩展功能模块,数字量输出点数以16点为单位配置,可以配置为16或32或48或64或80或96或112或128;小型可编程控制器数字量输入输出的点数k=数字量输入输出模块IIB的输入输出点数+扩展模块V数字量的输入输出点数,所述小型可编程控制器模拟量输入路数h=模拟量输入输出模块IIA的输入路数+扩展模块V的模拟量输入模块路数,小型可编程控制器模拟量输出路数g=模拟量输入输出模块IIA的输出路数+扩展模块V的模拟量输出模块路数,上述参数中,k≤256点、h≤24、g≤12。As another transformation of the embodiment of the present utility model, the small programmable controller can also increase the number of digital input and output points and the number of analog input and output channels by adding an expansion module, and the expansion module communicates with the CAN bus VI connection, so that the module can be installed in the same electric cabinet or in different electric cabinets or on different parts of the controlled equipment to reduce the length and quantity of connecting wires. The configurable number of expansion modules is m, 1≤m≤10, that is, expansion module V1,..., expansion module Vi,..., expansion module V10; the expansion module is a functional module that expands the number of digital input and output points and the number of analog input and output channels of the small programmable controller. It can be a digital input module or a digital output expansion function module, or an analog input module or an analog output module. If it is a digital input expansion function module, the number of digital input points is configured in units of 16 points and can be configured as 16 points. Or 32 or 48 or 64 or 80 or 96 or 112 or 128; if it is a digital output expansion function module, the number of digital output points is configured in units of 16 points, which can be configured as 16 or 32 or 48 or 64 or 80 or 96 or 112 Or 128; the number of digital input and output points of the small programmable controller k=the input and output points of the digital input and output module IIB+the input and output points of the expansion module V digital quantity, the number of analog input channels of the small programmable controller h = Number of input channels of analog input and output module IIA + number of analog input modules of expansion module V, number of analog output channels of small programmable controller g = output number of analog input and output module IIA + expansion module V The number of analog output modules, among the above parameters, k≤256 points, h≤24, g≤12.
PLC主机II的嵌入式微处理器ARM1的SPI与CAN接口VIA连接,CAN接口VIA与CAN总线VI连接,嵌入式微处理器ARM1通过CAN总线VI从上位机I或手持编程器III获得用户编写的指令程序和监控命令、从人机界面模块IV获得被控对象设备的运行控制参数和控制命令、从扩展模块V获得数字量输入状态和模拟量采集的数据;嵌入式微处理器ARM1通过CAN总线VI向上位机I或手持编程器III传输PLC主机II的用户编写的指令程序和控制参数;向人机界面模块IV传输被控对象设备运行的数字量和模拟量状态参数和控制驱动参数;向扩展模块V传输数字量输出状态和模拟量控制驱动参数。The SPI of the embedded microprocessor ARM1 of the PLC mainframe II is connected to the CAN interface VIA, and the CAN interface VIA is connected to the CAN bus VI, and the embedded microprocessor ARM1 obtains the instruction program written by the user from the upper computer I or the handheld programmer III through the CAN bus VI and monitoring commands, obtain the operation control parameters and control commands of the controlled object equipment from the man-machine interface module IV, and obtain the digital input status and analog quantity acquisition data from the expansion module V; the embedded microprocessor ARM1 goes up through the CAN bus VI Machine I or handheld programmer III transmits the command program and control parameters written by the user of PLC host II; transmits the digital and analog state parameters and control drive parameters of the controlled object equipment to the man-machine interface module IV; Transmits digital output status and analog control drive parameters.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNU2007200845906U CN201037908Y (en) | 2007-04-28 | 2007-04-28 | Universal small-sized programmable controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNU2007200845906U CN201037908Y (en) | 2007-04-28 | 2007-04-28 | Universal small-sized programmable controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN201037908Y true CN201037908Y (en) | 2008-03-19 |
Family
ID=39210423
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNU2007200845906U Expired - Lifetime CN201037908Y (en) | 2007-04-28 | 2007-04-28 | Universal small-sized programmable controller |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN201037908Y (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101864945A (en) * | 2010-05-21 | 2010-10-20 | 北京工业大学 | Multi-well Continuous Metering System and Metering Method Based on Programmable Controller |
| CN101394246B (en) * | 2008-11-12 | 2011-05-04 | 烽火通信科技股份有限公司 | General configurable parallel disturbance code implementation device and method |
| CN101582011B (en) * | 2009-06-12 | 2011-07-06 | 华为技术有限公司 | Serializer/deserializer (Serdes) interface data acquisition method and device |
| CN101937205B (en) * | 2009-11-13 | 2013-01-09 | 广西工学院 | Novel portable PLC (Programmable Logic Controller) programming device |
| US9411528B1 (en) | 2015-04-22 | 2016-08-09 | Ryft Systems, Inc. | Storage management systems and methods |
| US9411613B1 (en) | 2015-04-22 | 2016-08-09 | Ryft Systems, Inc. | Systems and methods for managing execution of specialized processors |
| US9542244B2 (en) | 2015-04-22 | 2017-01-10 | Ryft Systems, Inc. | Systems and methods for performing primitive tasks using specialized processors |
| CN106681261A (en) * | 2015-11-06 | 2017-05-17 | 中国科学院大连化学物理研究所 | Collection control system for HF/DF chemical laser |
| CN113253666A (en) * | 2020-12-31 | 2021-08-13 | 上海自动化仪表有限公司 | Small PLC system based on Cortex M4 |
| EP3818476B1 (en) * | 2018-08-03 | 2025-04-02 | Siemens Aktiengesellschaft | Neural logic controllers |
-
2007
- 2007-04-28 CN CNU2007200845906U patent/CN201037908Y/en not_active Expired - Lifetime
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101394246B (en) * | 2008-11-12 | 2011-05-04 | 烽火通信科技股份有限公司 | General configurable parallel disturbance code implementation device and method |
| CN101582011B (en) * | 2009-06-12 | 2011-07-06 | 华为技术有限公司 | Serializer/deserializer (Serdes) interface data acquisition method and device |
| CN101937205B (en) * | 2009-11-13 | 2013-01-09 | 广西工学院 | Novel portable PLC (Programmable Logic Controller) programming device |
| CN101864945A (en) * | 2010-05-21 | 2010-10-20 | 北京工业大学 | Multi-well Continuous Metering System and Metering Method Based on Programmable Controller |
| CN101864945B (en) * | 2010-05-21 | 2013-03-27 | 北京工业大学 | Multi-oil-well continuous metering system based on programmable controller, and metering method thereof |
| US9411528B1 (en) | 2015-04-22 | 2016-08-09 | Ryft Systems, Inc. | Storage management systems and methods |
| US9411613B1 (en) | 2015-04-22 | 2016-08-09 | Ryft Systems, Inc. | Systems and methods for managing execution of specialized processors |
| US9542244B2 (en) | 2015-04-22 | 2017-01-10 | Ryft Systems, Inc. | Systems and methods for performing primitive tasks using specialized processors |
| CN106681261A (en) * | 2015-11-06 | 2017-05-17 | 中国科学院大连化学物理研究所 | Collection control system for HF/DF chemical laser |
| EP3818476B1 (en) * | 2018-08-03 | 2025-04-02 | Siemens Aktiengesellschaft | Neural logic controllers |
| CN113253666A (en) * | 2020-12-31 | 2021-08-13 | 上海自动化仪表有限公司 | Small PLC system based on Cortex M4 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN201037908Y (en) | Universal small-sized programmable controller | |
| CN100530009C (en) | Universal small-sized programmable controller and control method thereof | |
| CN204585226U (en) | A kind of application multi-axis motion controller on a robotic arm | |
| CN103941648A (en) | Multi-axis motion control system and control method thereof | |
| CN103901822A (en) | Multi-shaft linkage motion control system | |
| CN102254218B (en) | Counter device composed of ARM+FPGA and its realization method | |
| CN203070010U (en) | Multifunctional board card used for flexible AC power transmission apparatus | |
| CN106773907A (en) | A kind of Remote I/O Control System and its controller and I/O module | |
| CN202159243U (en) | Monitoring module of engineering machinery monitoring system | |
| CN105955202B (en) | The network-based economical embedded five-axle numerical control system of one kind and its control method | |
| CN105807711A (en) | Experiment system of coal mining machine intelligent control for achieving multi-information fusion | |
| CN208588917U (en) | An industrial robot motion controller based on ARM+DSP+FPGA | |
| CN203849591U (en) | Multi-shaft linkage motion control system | |
| CN206515683U (en) | Programmable human-computer interface system | |
| CN202057995U (en) | PLC data recording module | |
| CN104656565A (en) | Intelligent IO device capable of being freely configured | |
| CN1970247A (en) | Inset type mobile robot core controller | |
| CN203502767U (en) | Reconfigurable touch type integrated general industrial controller | |
| CN203084500U (en) | Programmable logic controller (PLC) application equipment based on bus form | |
| CN206671808U (en) | A kind of wireless remote switch executing agency | |
| CN201471699U (en) | Full servo injection molding machine manipulator control system | |
| CN203174840U (en) | Device for controlling extension and retraction of solar panel curtain wall | |
| CN1920806A (en) | Testing method for programmable equipment and programming method | |
| CN102684584A (en) | Remote stepping motor control system based on Ethernet | |
| CN201576371U (en) | A Remote Control Teaching and Training System Based on Wide Area Network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| AV01 | Patent right actively abandoned |
Effective date of abandoning: 20070428 |
|
| AV01 | Patent right actively abandoned |
Effective date of abandoning: 20070428 |
|
| C25 | Abandonment of patent right or utility model to avoid double patenting |