CN204406186U - A kind of fieldbus controller - Google Patents
A kind of fieldbus controller Download PDFInfo
- Publication number
- CN204406186U CN204406186U CN201520107822.XU CN201520107822U CN204406186U CN 204406186 U CN204406186 U CN 204406186U CN 201520107822 U CN201520107822 U CN 201520107822U CN 204406186 U CN204406186 U CN 204406186U
- Authority
- CN
- China
- Prior art keywords
- pin
- data
- controller
- bus
- transceiver
- 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
- 238000004891 communication Methods 0.000 claims abstract description 25
- 230000008878 coupling Effects 0.000 claims abstract description 11
- 238000010168 coupling process Methods 0.000 claims abstract description 11
- 238000005859 coupling reaction Methods 0.000 claims abstract description 11
- 230000003287 optical effect Effects 0.000 claims abstract description 11
- 230000009977 dual effect Effects 0.000 claims abstract 7
- 235000015429 Mirabilis expansa Nutrition 0.000 claims description 9
- 244000294411 Mirabilis expansa Species 0.000 claims description 9
- 235000013536 miso Nutrition 0.000 claims description 9
- 238000002955 isolation Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 5
- 101100482081 Agrobacterium vitis (strain S4 / ATCC BAA-846) iaaM gene Proteins 0.000 claims description 3
- 102100029647 Apoptosis-associated speck-like protein containing a CARD Human genes 0.000 claims description 3
- 101100170834 Arabidopsis thaliana ERDJ3A gene Proteins 0.000 claims description 3
- 101100110004 Homo sapiens PYCARD gene Proteins 0.000 claims description 3
- 101100095608 Mus musculus Serinc3 gene Proteins 0.000 claims description 3
- 101100509792 Oncorhynchus mykiss tck1 gene Proteins 0.000 claims description 3
- 101150089936 Uba4 gene Proteins 0.000 claims description 3
- 238000003860 storage Methods 0.000 claims description 3
- 101150116154 tms1 gene Proteins 0.000 claims description 3
- 101150008604 CAN1 gene Proteins 0.000 claims description 2
- 101150063504 CAN2 gene Proteins 0.000 claims description 2
- 239000003086 colorant Substances 0.000 claims description 2
- 230000006870 function Effects 0.000 abstract description 8
- 238000000034 method Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 235000008247 Echinochloa frumentacea Nutrition 0.000 description 3
- 244000182691 Echinochloa frumentacea Species 0.000 description 3
- 229940122605 Short-acting muscarinic antagonist Drugs 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 102100024025 Heparanase Human genes 0.000 description 1
- 101001047819 Homo sapiens Heparanase Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本实用新型涉及电厂现场总线控制技术领域,具体涉及一种现场总线控制器。The utility model relates to the field bus control technology field of power plants, in particular to a field bus controller.
背景技术Background technique
现场总线控制系统(Fieldbus Control System,简称FCS)是将自动化最底层的现场控制器和现场智能仪表设备互连的实时控制通讯网络,它遵循ISO的OSI开放系统互连参考模型的全部或部分通讯协议,能够实现双向串行多节点数字通信。FCS是一个全分散、全数字化、全开放和可互操作的新一代生产过程自动控制装置,是将自动化最底层的现场控制器和现场智能仪表设备互连而成的实时网络控制系统。FCS是由多段现场总线、各类智能现场仪表设备(包括流量、压力、温度、执行器及辅助单元等)、人机接口(工业PC机)、组态软件、监控软件及网络软件等组成。目前较流行的现场总线主要有:CAN、PROFIBUS、FF、HART等。FCS中的网络节点可以是独立控制现场设备,并与控制站交换现场控制信息和管理信息,极其便于控制站对现场设备的实时监控和管理、控制功能彻底分散到现场设备,大大提高系统的可靠性、维护性。Fieldbus Control System (FCS for short) is a real-time control communication network that interconnects the lowest level of automation field controllers and field intelligent instrumentation equipment. It follows all or part of the communication of the ISO OSI open system interconnection reference model. Protocol, which can realize two-way serial multi-node digital communication. FCS is a fully decentralized, fully digital, fully open and interoperable new-generation production process automatic control device. It is a real-time network control system that interconnects the lowest level of automation field controllers and field intelligent instrumentation equipment. FCS is composed of multi-segment fieldbus, various intelligent field instruments (including flow, pressure, temperature, actuators and auxiliary units, etc.), man-machine interface (industrial PC), configuration software, monitoring software and network software. Currently more popular field bus mainly includes: CAN, PROFIBUS, FF, HART and so on. The network nodes in FCS can independently control the field devices and exchange field control information and management information with the control station, which is extremely convenient for the control station to monitor and manage the field devices in real time, and the control functions are completely distributed to the field devices, greatly improving the reliability of the system sex, maintainability.
电厂自动控制系统目前正在经历从传统的DCS向FCS升级,国内电厂现场总线控制系统的应用主要采用艾默生,西门子,ABB等国外公司的系统,各个系统的技术细节和实现对用户和电厂技术人员都是不开放的。各个厂商提供的控制器和IO卡件都存在高度耦合,提供给外部的通讯接口单一,控制器的技术和组成对用户保密,导致现场控制器的元器件损坏就要求整卡替换。控制器的结构和功能也不能完全满足国内电厂的各种需求;而且在日常运行维护过程中经常出现各种各样的工程和技术问题,这些问题的解决都需要控制系统厂家提供技术服务和支持,这样会产生非常高的费用,增加了电厂的经营成本,开发一个国产现场总线控制系统成了国内电力科研院所的首要任务。The power plant automatic control system is currently undergoing an upgrade from traditional DCS to FCS. The application of domestic power plant fieldbus control systems mainly adopts systems from foreign companies such as Emerson, Siemens, and ABB. The technical details and implementation of each system are important to users and power plant technicians is not open. The controllers and IO cards provided by various manufacturers are highly coupled, and the communication interface provided to the outside is single. The technology and composition of the controller are kept secret from the user. If the components of the on-site controller are damaged, the entire card needs to be replaced. The structure and functions of the controller cannot fully meet the various needs of domestic power plants; moreover, various engineering and technical problems often occur in the daily operation and maintenance process, and the solution of these problems requires technical services and support provided by the control system manufacturer , which will generate very high costs and increase the operating cost of the power plant. The development of a domestic fieldbus control system has become the primary task of domestic electric power research institutes.
现有技术的主要局限有:The main limitations of the existing technology are:
(1)国外现场总线控制器采购成本高,技术封闭,电厂普通的热工和技术人员对日常的工程和技术问题处理起来困难重重。(1) The purchase cost of foreign fieldbus controllers is high, and the technology is closed. It is difficult for ordinary thermal engineers and technicians in power plants to deal with daily engineering and technical problems.
(2)现场总线控制器被国外系统供应商垄断,采用国外现场总线控制系统会额外产生巨额的服务、培训和技术支持费用,造成电厂后期不必要的支出。(2) The field bus controller is monopolized by foreign system suppliers, and the use of foreign field bus control systems will generate huge additional service, training and technical support costs, resulting in unnecessary expenses for the power plant in the later stage.
(3)目前现场总线控制器各家技术自成体系,对外部提供的标准接口少,或者不公开外部接口,对于系统的扩展非常困难。(3) At present, each fieldbus controller has its own technology system, and there are few standard interfaces provided to the outside, or the external interfaces are not disclosed, which is very difficult for the expansion of the system.
(4)已有控制器在线修改组态和下装效率低,耗时长,安全性差,一般系统不支持组态在线下装功能。(4) The online modification and downloading of the existing controllers is inefficient, time-consuming, and poor in security. Generally, the system does not support the online configuration downloading function.
(5)控制器控制组态和系统数据库组态的操作复杂,人机界面,操作习惯不友好,由于控制系统都为系统国外系统,多采用英文界面,导致国内电厂热工和工程人员操作和使用不方便。(5) The operation of controller control configuration and system database configuration is complicated, and the man-machine interface and operating habits are not friendly. Since the control systems are all foreign systems, English interfaces are mostly used, resulting in domestic power plant thermal and engineering personnel operating and Inconvenient to use.
(6)控制器提供的控制算法和功能块不完善,不能充分满足国内电厂复杂控制和节能优化的要求,为了实现某一功能常常需要进行复杂的组态工作才能实现。(6) The control algorithm and function blocks provided by the controller are not perfect, and cannot fully meet the requirements of complex control and energy-saving optimization of domestic power plants. In order to realize a certain function, complex configuration work is often required to realize it.
发明内容Contents of the invention
为了解决上述现有技术存在的问题,本实用新型的目的在于提供一种现场总线控制器及方法,该控制器易于生产和实施,控制功能块丰富、系统实现简单、可靠性高。In order to solve the above-mentioned problems in the prior art, the purpose of this utility model is to provide a field bus controller and method, which is easy to produce and implement, rich in control function blocks, simple in system implementation and high in reliability.
为达到以上目的,本实用新型采用如下技术方案:In order to achieve the above object, the utility model adopts the following technical solutions:
一种现场总线控制器(简称FCP01),包括向外部提供的两个冗余以太网接口DM9000A,与以太网接口DM9000A通过双向数据总线连接的RM9200,以太网接口DM9000A的数据引脚SD0到SD15分别与RM9200的数据引脚D0到D15连接,其中SD0连接D0,SD1连接D1,依次类推,SD15连接D15;以太网接口DM9000A的CS#引脚与RM9200的NCS3引脚相连,以太网接口DM9000A的RESET引脚与RM9200的PA25相连接,以太网接口DM9000A的INT引脚与RM9200的PA23相连接,以太网接口DM9000A的CMD引脚与RM9200的A2引脚相连;A field bus controller (FCP01 for short), including two redundant Ethernet interfaces DM9000A provided to the outside, RM9200 connected to the Ethernet interface DM9000A through a bidirectional data bus, and the data pins SD0 to SD15 of the Ethernet interface DM9000A respectively Connect with the data pins D0 to D15 of RM9200, among which SD0 is connected with D0, SD1 is connected with D1, and so on, SD15 is connected with D15; the CS# pin of the Ethernet interface DM9000A is connected with the NCS3 pin of RM9200, and the RESET of the Ethernet interface DM9000A The pin is connected to PA25 of RM9200, the INT pin of Ethernet interface DM9000A is connected to PA23 of RM9200, and the CMD pin of Ethernet interface DM9000A is connected to A2 pin of RM9200;
还包括双口RAM、两路CAN总线控制器SJA1000T、逻辑控制器XC9536以及位于双口RAM、CAN总线控制器SJA1000T和RM9200之间的16位总线收发器,16位总线收发器的引脚1A1到1A8,2A1到2A8分别连接RM9200的数据引脚D0到D15,16位总线收发器的引脚1B1到1B8,2B1到2B8分别连接双口RAM的数据引脚D0到D15,其中1B1连接D0,1B2连接D2,依此顺序2B8连接D15,CAN控制器SJA1000T通过引脚D0到D7依次接入16位总线收发器的1B1到1B8,双口RAM右端引脚D0到D7通过总线接口依次连接到底版插槽对应的LD0到LD7位置,向外部提供可读写操作的总线接口;CAN总线控制器SJA1000T的时钟引脚SCK,数据线MOSI和MISO分别与RM9200串行总线中的时钟线SCK、数据线MOSI和MISO相连,RM9200的引脚TCK1、TDO1、TDI1和TMS1分别与逻辑控制器XC9536的管脚11、24、9和10连接,逻辑控制器XC9536的引脚DTREQ和DTREQ0分别接入16位总线收发器的使能引脚EN和CAN总线控制器的CANE引脚;It also includes dual-port RAM, two-way CAN bus controller SJA1000T, logic controller XC9536, and a 16-bit bus transceiver located between dual-port RAM, CAN bus controller SJA1000T and RM9200, and pins 1A1 to 16 of the bus transceiver 1A8, 2A1 to 2A8 are respectively connected to the data pins D0 to D15 of RM9200, and the pins 1B1 to 1B8, 2B1 to 2B8 of the 16-bit bus transceiver are respectively connected to the data pins D0 to D15 of the dual-port RAM, among which 1B1 is connected to D0 and 1B2 Connect D2, and connect 2B8 to D15 in this order. The CAN controller SJA1000T is connected to 1B1 to 1B8 of the 16-bit bus transceiver through pins D0 to D7 in turn, and the pins D0 to D7 at the right end of the dual-port RAM are connected to the bottom plate plug in turn through the bus interface. The positions from LD0 to LD7 corresponding to the slot provide a bus interface that can be read and written to the outside; the clock pin SCK, data lines MOSI and MISO of the CAN bus controller SJA1000T are respectively connected to the clock line SCK and data line MOSI in the RM9200 serial bus Connected to MISO, the pins TCK1, TDO1, TDI1 and TMS1 of RM9200 are respectively connected to the pins 11, 24, 9 and 10 of the logic controller XC9536, and the pins DTREQ and DTREQ0 of the logic controller XC9536 are respectively connected to the 16-bit bus for transceiver The enable pin EN of the device and the CANE pin of the CAN bus controller;
还包括X5045EEPROM存储器,X5045EEPROM存储器的RESET引脚通过RESET线连接RM9200的115引脚,X5045EEPROM存储器和RM9200通过SPI串行总线连接,X5045EEPROM存储器和RM9200的SPI串行总线对应的时钟线SCK、数据线MOSI和MISO同名引脚相连;It also includes the X5045EEPROM memory, the RESET pin of the X5045EEPROM memory is connected to the 115 pin of RM9200 through the RESET line, the X5045EEPROM memory and RM9200 are connected through the SPI serial bus, the corresponding clock line SCK and data line MOSI of the SPI serial bus between the X5045EEPROM memory and RM9200 It is connected to the pin with the same name as MISO;
还包括32M闪存FLASH,32M闪存FLASH的24个地址引脚A1到A24分别接入RM9200的地址引脚A1到A24,且32M闪存FLASH通过16条数据引脚D0到D15依次接入RM9200的16位数据线D0到D15,RM9200的管脚166连接32M闪存FLASH的片选信号线CS;It also includes 32M flash memory FLASH, 24 address pins A1 to A24 of 32M flash memory FLASH are respectively connected to address pins A1 to A24 of RM9200, and 32M flash memory FLASH is sequentially connected to 16 bits of RM9200 through 16 data pins D0 to D15 Data line D0 to D15, pin 166 of RM9200 is connected to chip select signal line CS of 32M flash memory FLASH;
还包括128M SDRAM存储器,128M SDRAM存储器通过26条地址线A0到A25分别接入RM9200的地址总线A0到A25,128M SDRAM存储器的16条数据线D0到D15分别接入RM9200数据线的16位数据线D0到D15,128MSDRAM存储器的片选信号SDCS接入RM9200的片选信号线CS;It also includes 128M SDRAM memory, 128M SDRAM memory is respectively connected to the address bus A0 to A25 of RM9200 through 26 address lines A0 to A25, and 16 data lines D0 to D15 of the 128M SDRAM memory are respectively connected to the 16-bit data line of RM9200 data line From D0 to D15, the chip selection signal SDCS of 128MSDRAM memory is connected to the chip selection signal line CS of RM9200;
还包括光耦隔离器A、光耦隔离器B和半双工微分收发器,RM9200的引脚TXD0,TXD0和CTS0分别通过传输信号线TXD,接收信号线RXD和使能信号线EN485分别与光耦隔离器A和光耦隔离器B连接,光耦隔离器A和光耦隔离器B分别通过传输信号线以及接收信号线连接半双工微分收发器,半双工微分收发器通过引脚485+和485-接入485通讯的正负信号线485+,485-;It also includes optocoupler isolator A, optocoupler isolator B and half-duplex differential transceiver. The pins TXD0, TXD0 and CTS0 of RM9200 respectively communicate with the optical The coupling isolator A is connected to the optocoupler isolator B, and the optocoupler isolator A and optocoupler isolator B are respectively connected to the half-duplex differential transceiver through the transmission signal line and the receiving signal line. 485- is connected to the positive and negative signal lines 485+ and 485- of 485 communication;
两路CAN总线控制器SJA1000T向上通过数据线和地址线与RM9200的数据线和地址线相互连接;两路CAN总线控制器SJA1000T向下均通过引脚CAN+,CAN-分别连接到光耦C和光耦D,两个光耦C和光耦D分别通过TxD和RxD连接到CAN收发器82C250,两路CAN收发器82C250的地线分别通过DC/DC电源隔离的右端地,隔离现场总线控制器地线和外部CAN总线地线,两路CAN收发器82C250分别直接通过引脚D0和D1接入底版插槽的CAN+和CAN-差模信号,然后通过CAN总线连接到I/O模件。The two-way CAN bus controller SJA1000T is connected upwardly with the data line and address line of RM9200 through the data line and address line; the two-way CAN bus controller SJA1000T is connected downwardly to the optocoupler C and optocoupler respectively through pins CAN+ and CAN- D, Two optocouplers C and D are connected to the CAN transceiver 82C250 through TxD and RxD respectively, and the ground wires of the two CAN transceivers 82C250 are respectively separated from the right end ground of the DC/DC power supply to isolate the ground wire of the field bus controller and The external CAN bus ground wire, the two CAN transceivers 82C250 are directly connected to the CAN+ and CAN- differential mode signals of the chassis slot through pins D0 and D1 respectively, and then connected to the I/O module through the CAN bus.
采用5V系统电源供电,CAN收发器82C250、光耦隔离器A和光耦隔离器B的供电通过DC/DC电源隔离提供5V直流供电,CAN总线电源隔离左端接地线GND,右端接CAN总线地线CGND,485通讯电源隔离左端接485通讯地485GND1,右端接现场总线控制器地线GND。Using 5V system power supply, CAN transceiver 82C250, optocoupler isolator A and optocoupler isolator B provide 5V DC power supply through DC/DC power isolation, CAN bus power isolation left end ground wire GND, right end connected to CAN bus ground wire CGND , 485 communication power isolation left terminal is connected to 485 communication ground 485GND1, and the right terminal is connected to field bus controller ground wire GND.
所述32M闪存FLASH采用两片并用的方式,单片容量为16M×16,构成32M存储容量。The 32M flash memory FLASH adopts the mode of using two chips together, and the capacity of a single chip is 16M×16, forming a 32M storage capacity.
所述128M SDRAM存储器采用两片并用的方式,单片容量为32M×16,构成128M×8位的存储空间。Described 128M SDRAM memory adopts the mode that two slices are used together, and single chip capacity is 32M * 16, constitutes the storage space of 128M * 8 bits.
所述现场总线控制器通过面板上的红/绿LED指示灯来表示模件运行状态,指示灯共包括8个,每个指示灯的名称为运行/故障灯(缩写为RUN),主/从灯(M/S),网口1状态(HSE1),网口2状态(HSE2),控制器故障状态灯4个(LED1~LED4);其中运行/故障灯有红色和绿色两种颜色,红色表示运行异常,绿色表示正常,主/从灯绿色表示是主卡,黄色表示是备卡,网口1状态和网口2状态通过闪烁表示两个网口是否处于连接状态;控制器故障状态灯这4个状态灯按照从上到下8421编码给出了控制器的15种工作状态,包括:FLASH故障、SDRAM故障、双口RAM故障、CAN1故障、CAN2故障、网口A故障、网口B故障、网口A工作、网口B工作、I/O类型不符、I/O通信超时、GPS同步超时、FTP连接失败、无组态文件和保留位。Described field bus controller represents module operation status by the red/green LED indicator lamp on the panel, indicator lamp comprises 8 altogether, and the name of each indicator lamp is operation/fault lamp (abbreviated as RUN), master/slave LED (M/S), network port 1 status (HSE1), network port 2 status (HSE2), 4 controller fault status lights (LED1~LED4); among them, the running/fault lights have two colors: red and green, red Indicates abnormal operation, green indicates normal, green master/slave light indicates master card, yellow indicates standby card, network port 1 status and network port 2 status flash to indicate whether the two network ports are connected; controller fault status light The 4 status lights give 15 working states of the controller according to the 8421 code from top to bottom, including: FLASH failure, SDRAM failure, dual-port RAM failure, CAN1 failure, CAN2 failure, network port A failure, network port B Fault, network port A works, network port B works, I/O type mismatch, I/O communication timeout, GPS synchronization timeout, FTP connection failure, no configuration file and reserved bits.
上述所述现场总线控制器的控制方法,CAN总线数据交互,外部各种功能的I/O模件通过两个冗余的CAN总线接口进行通讯,I/O模件的输入数据发送到CAN总线,现场总线控制器通过CAN总线收发器82C250接收来自CAN总线的数据,然后经过光耦C或光耦D,数据进入CAN总线控制器SJA1000T,CAN总线控制器SJA1000T接收到I/O模件的输入数据通过数据总线发送到16位总线收发器,然后通过中断信号线INT通知RM9200接收数据,外部I/O模件的数据就输入到现场总线控制器;发送CAN数据包过程,RM9200根据输出需要产生CAN数据包,产生的CAN数据包首先发送到16位总线收发器中进行排队等待发送,CAN总线控制器SJA1000T判断CAN总线的工作状态,如果CAN总线处于空闲状态,则从16位总线收发器队列中读取CAN数据包,然后将CAN数据包发送到CAN总线,外部I/O模件根据数据的地址信息选择接受属于自己的CAN数据包。The control method of the above-mentioned field bus controller, CAN bus data interaction, external I/O modules with various functions communicate through two redundant CAN bus interfaces, and the input data of the I/O modules are sent to the CAN bus , the field bus controller receives the data from the CAN bus through the CAN bus transceiver 82C250, and then through the optocoupler C or optocoupler D, the data enters the CAN bus controller SJA1000T, and the CAN bus controller SJA1000T receives the input of the I/O module The data is sent to the 16-bit bus transceiver through the data bus, and then the RM9200 is notified to receive the data through the interrupt signal line INT, and the data of the external I/O module is input to the field bus controller; during the process of sending CAN data packets, the RM9200 generates CAN data packet, the generated CAN data packet is first sent to the 16-bit bus transceiver for queuing and waiting to be sent. The CAN bus controller SJA1000T judges the working status of the CAN bus. The CAN data packet is read in, and then the CAN data packet is sent to the CAN bus, and the external I/O module selects and accepts its own CAN data packet according to the address information of the data.
485通讯数据的交互,当有外部485数据输入现场总线控制器时,外部485数据首先发送到485总线,经过半双工微分收发器接受,经过光耦隔离器A或光耦隔离器B通过串行总线RxD发送至RM9200串口输入;数据接受完成后通过中断信号通知RM9200处理,当现场总线控制器需要485数据输出到外部485模件时,只需要把数据发送到485总线即可,外部485模件会自动从485总线上读取485数据,现场总线控制器在向485总线发送数据时,首先检测485总线是否处于就绪状态,如果处于空闲,那么就通过TxD信号线将数据串行写入半双工微分收发器,然后发送使能信号EN485通知半双工微分收发器将数据写入485总线。485 communication data interaction, when external 485 data is input to the field bus controller, the external 485 data is first sent to the 485 bus, received by the half-duplex differential transceiver, passed through the optocoupler isolator A or optocoupler isolator B through the serial The line bus RxD is sent to the RM9200 serial port input; after the data is received, the RM9200 is notified by the interrupt signal for processing. When the field bus controller needs to output 485 data to the external 485 module, it only needs to send the data to the 485 bus. The software will automatically read 485 data from the 485 bus. When the field bus controller sends data to the 485 bus, it first checks whether the 485 bus is in the ready state. The duplex differential transceiver then sends the enable signal EN485 to notify the half-duplex differential transceiver to write data into the 485 bus.
现场总线控制器与PROFIBUS通讯卡FPB01或FPB02之间通过双口RAM的总线接口进行通讯;双口RAM数据的通讯是双向的,当现场总线控制器需要将数据写入PROFIBUS通讯卡时,首先将数据写入到16位总线收发器中后,然后再将数据从16位总线收发器中发送到PROFIBUS通讯卡的双口RAM的右端口,然后通过总线接口发送中断信号通知PROFIUBS通讯卡有新的数据写入;当外部PROFIUBS通讯卡或者第三方卡件有数据需要通过双口RAM发送至现场总线控制器时,通过总线接口数据写入现场总线控制器双口RAM右端口,然后发送中断信号通知现场总线控制器读数据,现场总线控制器收到中断信号后,从DPRAM的左端口中将数据读如到16位总线收发器,然后从16位总线收发器将数据读入到RM9200;现场总线控制器对外部提供的以太网接口,外部工程师站、操作员站,历史站通过以太网接口DM9000A与现场总线控制器进行通讯;当外部数据写入现场总线控制器时,通过以太网PHY将数据传入到以太网接口DM9000A,当数据传入到后,通过中断信号通知RM9200处理数据;当数据需要通过以太网发送给外部工程师站、操作员站时,RM9200首先准备好数据,当数据准备好后,通过以太网PHY将数据发送到以太网上。The fieldbus controller communicates with the PROFIBUS communication card FPB01 or FPB02 through the bus interface of the dual-port RAM; the data communication of the dual-port RAM is bidirectional. When the fieldbus controller needs to write data into the PROFIBUS communication card, first write After the data is written into the 16-bit bus transceiver, then the data is sent from the 16-bit bus transceiver to the right port of the dual-port RAM of the PROFIBUS communication card, and then an interrupt signal is sent through the bus interface to notify the PROFIUBS communication card that there is a new Data writing; when the external PROFIUBS communication card or third-party card has data that needs to be sent to the fieldbus controller through the dual-port RAM, the data is written to the right port of the fieldbus controller dual-port RAM through the bus interface, and then an interrupt signal is sent to notify The field bus controller reads the data. After the field bus controller receives the interrupt signal, it reads the data from the left port of the DPRAM to the 16-bit bus transceiver, and then reads the data from the 16-bit bus transceiver to RM9200; the field bus control The external Ethernet interface provided by the device, the external engineer station, operator station, and history station communicate with the fieldbus controller through the Ethernet interface DM9000A; when the external data is written into the fieldbus controller, the data is transmitted through the Ethernet PHY input to the Ethernet interface DM9000A, when the data arrives, the RM9200 is notified to process the data through the interrupt signal; when the data needs to be sent to the external engineer station and operator station through the Ethernet, the RM9200 first prepares the data, and when the data is ready , Send data to Ethernet through Ethernet PHY.
所述现场总线控制器通过X5045EEPROM存储器实现外部看门狗,RM9200定期通过控制线CT对X5045EEPROM存储器进行复位,如果达到设定的时间没有复位看门狗,X5045EEPROM存储器将通过信号线RESET复位RM9200。The field bus controller implements an external watchdog through the X5045EEPROM memory, and the RM9200 resets the X5045EEPROM memory regularly through the control line CT. If the watchdog is not reset within the set time, the X5045EEPROM memory will reset the RM9200 through the signal line RESET.
述RM9200能够检测其所连接的各个部件包括太网接口DM9000A,32M闪存FLASH,128M SDRAM存储器,两路CAN总线控制器SJA1000T,485通讯和双口RAM的状态,如果检测到严重的错误和故障信息,并且此错误和故障信息已经危及到现场总线控制器的正常安全运行时,主现场总线控制器会自动重启并切换到备现场总线控制器运行,有效保护电厂现场运行设备和机组的安全;RM9200对和其所连接的各个部件的检测结果,会通过前面板的控制器故障状态灯显示出来;所述RM9200以10ms或者10ms的倍数为周期对和其所连接的各个部件的数据进行采集和处理,能够同时处理5个周期的数据;现场总线控制器初始上电,RM9200将32M闪存FLASH中的指令和数据首先被读入到128M SDRAM存储器中,然后RM9200逐条对128M SDRAM存储器中的指令和数据进行解析执行,然后RM9200通过CAN总线控制器SJA1000T、光耦C、光耦D和CAN收发器82C250向CAN总线发送广播请求,请求发送完成后,RM9200会侦听CAN总线,然后接收来自CAN总线的应答数据,就将所有的接入CAN总线的卡件接入到现场总线控制器;然后现场总线控制器就通过CAN总线和外部卡件进行正常数据交互和指令交互。The above RM9200 can detect the status of the connected components including Ethernet interface DM9000A, 32M flash memory FLASH, 128M SDRAM memory, two-way CAN bus controller SJA1000T, 485 communication and dual-port RAM. If serious errors and fault information are detected , and this error and fault information has endangered the normal and safe operation of the fieldbus controller, the main fieldbus controller will automatically restart and switch to the standby fieldbus controller to run, effectively protecting the safety of the plant’s on-site operating equipment and units; RM9200 The detection results of each component connected to it will be displayed through the controller fault status light on the front panel; the RM9200 collects and processes the data of each component connected to it at a cycle of 10ms or a multiple of 10ms , can process 5 cycles of data at the same time; when the fieldbus controller is initially powered on, RM9200 first reads the instructions and data in the 32M flash memory FLASH into the 128M SDRAM memory, and then RM9200 reads the instructions and data in the 128M SDRAM memory one by one Perform parsing and execution, and then RM9200 sends a broadcast request to the CAN bus through CAN bus controller SJA1000T, optocoupler C, optocoupler D and CAN transceiver 82C250. After the request is sent, RM9200 will listen to the CAN bus, and then receive the CAN bus In response to the data, all the cards connected to the CAN bus are connected to the field bus controller; then the field bus controller performs normal data interaction and command interaction with the external cards through the CAN bus.
初始下装,工程师站将组态和数据信息发送以太网接口DM9000A,RM9200将组态和数据信息从以太网接口DM9000A写入到32M闪存FLASH,RM9200将对数据进行正确性和完整性验证,只有通过正确性和完整性验证的数据才被写入32M闪存FLASH,否则,数据就被抛弃,并通过以太网接口DM9000A向外部发送错误的数据和组态信息反馈信号;只有正确完成初始下装后,RM9200将32M闪存FLASH中的数据读入到16位总线收发器,然后对16位总线收发器中读入的数据和指令信息进行解析执行。For the initial download, the engineer station will send the configuration and data information to the Ethernet interface DM9000A, and the RM9200 will write the configuration and data information from the Ethernet interface DM9000A to the 32M flash memory FLASH, and the RM9200 will verify the correctness and integrity of the data. The data that has passed the correctness and integrity verification is written into the 32M flash memory FLASH, otherwise, the data will be discarded, and the wrong data and configuration information feedback signal will be sent to the outside through the Ethernet interface DM9000A; only after the initial download is completed correctly , RM9200 reads the data in the 32M flash memory FLASH into the 16-bit bus transceiver, and then analyzes and executes the data and instruction information read in the 16-bit bus transceiver.
完成初始下装,主现场总线控制器将会把32M闪存FLASH中的组态和数据信息通过16位总线收发器、双口RAM和总线接口发送给备现场总线控制器,建立主备冗余现场总线控制器。主备现场总线控制器以500ms为周期通过DPRAM进行数据和状态信息备份,两个现场总线控制器通过面板灯进行主备的区分。After completing the initial download, the master fieldbus controller will send the configuration and data information in the 32M flash memory FLASH to the standby fieldbus controller through the 16-bit bus transceiver, dual-port RAM and bus interface, and establish a master-standby redundant site bus controller. The main and standby fieldbus controllers back up data and status information through DPRAM at a cycle of 500ms, and the two fieldbus controllers distinguish between active and standby through panel lights.
主、备现场总线控制器通过背板并行总线同步数据,主现场总线控制器故障重启时可实现无扰切换,两个现场总线控制器可以实现主备冗余机制。主备冗余通过底版插槽的总线连接实现,主现场总线控制器写备现场总线控制器,主现场总线控制器的RM9200通过总线接口对备现场总线控制器的双口RAM右口写数据,首先加锁,如果加锁成功,将数据写入到双口RAM,如果加锁失败,说明双口RAM被占用,主现场总线控制器的RM9200等待并重新加锁,锁定成功之后开始从16位总线收发器将数据写入双口RAM的I/0数据区,在写入数据的时候采用单字节循环写入,保证一次写入双口RAM的数据长度一致,在将16位总线收发器的数据写入双口RAM完成后,重新读出双口RAM中的数据并对数据进行检验,保证写入数据的正确性。然后对双口RAM进行解锁,解锁完成后对双口RAM的使用全进行释放,保证双口RAM不被长时间占据而得不到释放。The main and standby fieldbus controllers synchronize data through the parallel bus on the backplane. When the main fieldbus controller fails and restarts, it can realize non-disruptive switching, and the two fieldbus controllers can realize the main and standby redundancy mechanism. The master-standby redundancy is realized through the bus connection of the bottom board slot, the master fieldbus controller writes to the standby fieldbus controller, and the RM9200 of the master fieldbus controller writes data to the right port of the dual-port RAM of the standby fieldbus controller through the bus interface. Firstly lock, if the lock is successful, write the data to the dual-port RAM, if the lock fails, it means that the dual-port RAM is occupied, the RM9200 of the main fieldbus controller waits and re-locks, after the lock is successful, it starts from the 16-bit The bus transceiver writes the data into the I/0 data area of the dual-port RAM, and writes the data in a single-byte cycle to ensure that the data length of the dual-port RAM written at one time is consistent. When the 16-bit bus transceiver After the data written into the dual-port RAM is completed, re-read the data in the dual-port RAM and check the data to ensure the correctness of the written data. Then the dual-port RAM is unlocked, and after the unlocking is completed, the use of the dual-port RAM is fully released to ensure that the dual-port RAM is not occupied for a long time and cannot be released.
主现场总线控制器读双口RAM左口读数据,读数据的流程同写入的流程相似,首先加锁,如果加锁失败,说明当前双口RAM正被占用,如果加锁成功,锁定成功之后开始从双口RAM的I/0数据区将数据读到16位总线收发器,数据的读取采用一次读,保证读操作在一个周期内完成。读操作完成后需要对双口RAM进行解锁和释放。The main fieldbus controller reads data from the left port of the dual-port RAM. The process of reading data is similar to the process of writing. First, lock it. If the lock fails, it means that the current dual-port RAM is being occupied. If the lock is successful, the lock is successful. Then start to read the data from the I/0 data area of the dual-port RAM to the 16-bit bus transceiver, and the data is read once to ensure that the read operation is completed within one cycle. After the read operation is completed, the dual-port RAM needs to be unlocked and released.
本实用新型和现有技术相比,具有如下优点:Compared with the prior art, the utility model has the following advantages:
(1)本实用新型现场总线控制器FCP01实现了火电厂现场控制系统的控制器,使得传统的DCS系统和现场总线系统结合在了一起,通过FCP01与现场总线通信主站,或者常规AI、DI、AO、DO卡件通讯,实现DCS控制系统和现场总线控制系统的无缝结合。(1) The field bus controller FCP01 of the utility model realizes the controller of the field control system of the thermal power plant, which makes the traditional DCS system and the field bus system combined together, and communicates with the field bus master station through FCP01, or conventional AI, DI , AO, DO card communication to realize the seamless integration of DCS control system and fieldbus control system.
(2)FCP01硬件上采用主备冗余设计,两块FCP01卡件组成一个主站,互为冗余,通过故障检测机制可以实现故障自动切换,保证控制系统安全可靠运行。(2) The FCP01 hardware adopts a master-standby redundancy design. Two FCP01 cards form a master station, which is mutually redundant. The fault detection mechanism can realize automatic fault switching to ensure the safe and reliable operation of the control system.
(3)FCP01对外部提供2个冗余CAN总线接口,对支持标准的CAN总线的扩展,并且2个冗余CAN总线接口可以自动实现故障切换,提高了FCP01的可靠性和安全性。(3) FCP01 provides 2 redundant CAN bus interfaces to the outside, supports the expansion of standard CAN bus, and the 2 redundant CAN bus interfaces can automatically realize failover, which improves the reliability and safety of FCP01.
(4)FCP01对外部提供2个互为冗余的以太网接口,支持通过以太网对控制器的操作,同时2个以太网接口互为冗余,提高了系统的可靠性和安全性。(4) FCP01 provides two mutually redundant Ethernet interfaces to the outside, and supports the operation of the controller through Ethernet. At the same time, the two Ethernet interfaces are mutually redundant, which improves the reliability and security of the system.
(5)FCP01提供现场总线接口,支持PROFIBUS和FF总线系统的接入。(5) FCP01 provides field bus interface, supports the access of PROFIBUS and FF bus system.
(6)FCP01提供了双口RAM接口,支持通过双口RAM接口进行不规则数据的和自定义数据的交互。(6) FCP01 provides a dual-port RAM interface, which supports the interaction of irregular data and custom data through the dual-port RAM interface.
(7)FCP01对外部提供了标准的485接口,支持标准485信号源的通信。(7) FCP01 provides a standard 485 interface to the outside, and supports the communication of standard 485 signal sources.
(8)FCP01向外部提供了丰富的标准接口和自定义接口,扩展了FCP01在电厂和第三方系统的应用范围。(8) FCP01 provides a wealth of standard interfaces and custom interfaces to the outside, expanding the application range of FCP01 in power plants and third-party systems.
(9)FCP01采用先进的故障检测和故障恢复机制,可以对FCP01的运行状态进行实时的检测和故障恢复,通过FCP01面板上的LED灯向外部提供控制运行的各种状态和阶段。(9) FCP01 adopts advanced fault detection and fault recovery mechanism, which can detect and recover the operating state of FCP01 in real time, and provide various states and stages of control operation to the outside through the LED lights on the FCP01 panel.
附图说明Description of drawings
图1为本实用新型控制器结构图。Fig. 1 is the structural diagram of the utility model controller.
图2为本实用新型控制器工程部署图。Fig. 2 is the engineering deployment diagram of the controller of the utility model.
具体实施方式Detailed ways
以下结合附图及具体实施例对本实用新型作进一步的详细描述。Below in conjunction with accompanying drawing and specific embodiment the utility model is described in further detail.
如图1所示,本实用新型一种现场总线控制器,包括向外部提供的两个冗余以太网接口DM9000A,与以太网接口DM9000A通过双向数据总线连接的RM9200,以太网接口DM9000A的数据引脚SD0到SD15分别与RM9200的数据引脚D0到D15连接,其中SD0连接D0,SD1连接D1,依次类推,SD15连接D15;以太网接口DM9000A的CS#引脚与RM9200的NCS3引脚相连,以太网接口DM9000A的RESET引脚与RM9200的PA25相连接,以太网接口DM9000A的INT引脚与RM9200的PA23相连接,以太网接口DM9000A的CMD引脚与RM9200的A2引脚相连;还包括双口RAM、两路CAN总线控制器SJA1000T、逻辑控制器XC9536以及位于双口RAM、CAN总线控制器SJA1000T和RM9200之间的16位总线收发器,16位总线收发器的引脚1A1到1A8,2A1到2A8分别连接RM9200的数据引脚D0到D15,16位总线收发器ALVC16245的引脚1B1到1B8,2B1到2B8分别连接双口RAM的数据引脚D0到D15,其中1B1连接D0,1B2连接D2,依此顺序2B8连接D15,CAN控制器SJA1000T通过引脚D0到D7依次接入16位总线收发器的1B1到1B8,双口RAM右端引脚D0到D7通过总线接口依次连接到底版插槽对应的LD0到LD7位置,向外部提供可读写操作的总线接口;CAN总线控制器SJA1000T的时钟引脚SCK,数据线MOSI和MISO分别与RM9200串行总线中的时钟线SCK、数据线MOSI和MISO相连,RM9200的引脚TCK1、TDO1、TDI1和TMS1分别与逻辑控制器XC9536的管脚11、24、9和10连接,逻辑控制器XC9536的引脚DTREQ和DTREQ0分别接入16位总线收发器的使能引脚EN和CAN总线控制器的CANE引脚;还包括X5045EEPROM存储器,X5045EEPROM存储器的RESET引脚通过RESET线连接RM9200的115引脚,X5045EEPROM存储器和RM9200通过SPI串行总线连接,X5045EEPROM存储器和RM9200的SPI串行总线对应的时钟线SCK、数据线MOSI和MISO同名引脚相连;还包括32M闪存FLASH,32M闪存FLASH的24个地址引脚A1到A24分别接入RM9200的24个地址引脚A1到A24,且32M闪存FLASH通过16条数据引脚D0到D15依次接入RM9200的16位数据线D0到D15,RM9200的管脚166连接32M闪存FLASH的片选信号线CS;还包括128MSDRAM存储器,128M SDRAM存储器通过26条地址线A0到A25分别接入RM9200的地址总线A0到A25,128M SDRAM存储器的16条数据线D0到D15分别接入RM9200的16位数据线D0到D15,128M SDRAM存储器的片选信号SDCS接入RM9200的片选信号线CS;还包括光耦隔离器A、光耦隔离器B和半双工微分收发器,RM9200的引脚TXD0,TXD0和CTS0分别通过传输信号线TXD,接收信号线RXD和使能信号线EN485分别与光耦隔离器A和光耦隔离器B连接,光耦隔离器A和光耦隔离器B分别通过传输信号线以及接收信号线连接半双工微分收发器,半双工微分收发器通过引脚485+和485-接入485通讯的正负信号线485+,485-;两路CAN总线控制器SJA1000T向上通过数据线和地址线与RM9200的数据线和地址线相互连接;两路CAN总线控制器SJA1000T向下均通过引脚CAN+,CAN-分别连接到光耦C和光耦D,两个光耦C和光耦D分别通过TxD和RxD连接到CAN收发器82C250,两路CAN收发器82C250的地线分别通过DC/DC电源隔离的右端地,隔离现场总线控制器地线和外部CAN总线地线,两路CAN收发器82C250分别直接通过引脚D0和D1接入底版插槽的CAN+和CAN-差模信号,然后通过CAN总线连接到I/O模件。As shown in Figure 1, a field bus controller of the present invention includes two redundant Ethernet interfaces DM9000A provided to the outside, RM9200 connected to the Ethernet interface DM9000A through a bidirectional data bus, and the data guide of the Ethernet interface DM9000A The pins SD0 to SD15 are respectively connected to the data pins D0 to D15 of the RM9200, among which SD0 is connected to D0, SD1 is connected to D1, and so on, and SD15 is connected to D15; the CS# pin of the Ethernet interface DM9000A is connected to the NCS3 pin of the RM9200. The RESET pin of network interface DM9000A is connected with PA25 of RM9200, the INT pin of Ethernet interface DM9000A is connected with PA23 of RM9200, the CMD pin of Ethernet interface DM9000A is connected with A2 pin of RM9200; also includes dual-port RAM , two-way CAN bus controller SJA1000T, logic controller XC9536, and a 16-bit bus transceiver located between dual-port RAM, CAN bus controller SJA1000T and RM9200, pins 1A1 to 1A8, 2A1 to 2A8 of the 16-bit bus transceiver Connect the data pins D0 to D15 of RM9200 respectively, and the pins 1B1 to 1B8, 2B1 to 2B8 of the 16-bit bus transceiver ALVC16245 are respectively connected to the data pins D0 to D15 of the dual-port RAM, among which 1B1 is connected to D0, 1B2 is connected to D2, according to In this sequence, 2B8 is connected to D15, the CAN controller SJA1000T is sequentially connected to 1B1 to 1B8 of the 16-bit bus transceiver through pins D0 to D7, and the right end pins D0 to D7 of the dual-port RAM are sequentially connected to LD0 corresponding to the bottom plate slot through the bus interface To the LD7 position, provide a bus interface that can be read and written to the outside; the clock pin SCK, data lines MOSI and MISO of the CAN bus controller SJA1000T are respectively connected to the clock line SCK, data lines MOSI and MISO in the RM9200 serial bus, The pins TCK1, TDO1, TDI1 and TMS1 of RM9200 are respectively connected to pins 11, 24, 9 and 10 of the logic controller XC9536, and the pins DTREQ and DTREQ0 of the logic controller XC9536 are respectively connected to the 16-bit bus transceiver enable Pin EN and CAN bus controller CANE pin; also includes X5045EEPROM memory, RESET pin of X5045EEPROM memory is connected to 115 pin of RM9200 through RESET line, X5045EEPROM memory and RM9200 are connected through SPI serial bus, X5045EEPROM memory and RM9200 The clock line SCK corresponding to the SPI serial bus, the data line MOSI and the MISO pin with the same name are connected; it also includes 32M flash memory FLASH, 24 address pins A1 to 32M flash memory FLASH A24 is respectively connected to 24 address pins A1 to A24 of RM9200, and 32M flash memory FLASH is connected to 16-bit data lines D0 to D15 of RM9200 through 16 data pins D0 to D15 in turn, and pin 166 of RM9200 is connected to 32M flash memory FLASH The chip select signal line CS; also includes 128MSDRAM memory, 128M SDRAM memory is respectively connected to the address bus A0 to A25 of RM9200 through 26 address lines A0 to A25, and 16 data lines D0 to D15 of 128M SDRAM memory are respectively connected to RM9200 The 16-bit data lines D0 to D15, the chip select signal SDCS of 128M SDRAM memory are connected to the chip select signal line CS of RM9200; it also includes optocoupler isolator A, optocoupler isolator B and half-duplex differential transceiver, and the lead of RM9200 The pins TXD0, TXD0 and CTS0 are respectively connected to optocoupler isolator A and optocoupler isolator B through transmission signal line TXD, receiving signal line RXD and enable signal line EN485, and optocoupler isolator A and optocoupler isolator B are respectively connected through transmission The signal line and the receiving signal line are connected to the half-duplex differential transceiver, and the half-duplex differential transceiver is connected to the positive and negative signal lines 485+ and 485- of the 485 communication through pins 485+ and 485-; two-way CAN bus controller SJA1000T Up through the data line and address line and the data line and address line of RM9200 are connected to each other; the two CAN bus controllers SJA1000T are connected downward through pins CAN+ and CAN- to optocoupler C and optocoupler D respectively, and two optocoupler C and the optocoupler D are connected to the CAN transceiver 82C250 through TxD and RxD respectively, and the ground wires of the two CAN transceivers 82C250 pass through the right end ground of the DC/DC power supply isolation to isolate the ground wire of the field bus controller and the ground wire of the external CAN bus. The CAN transceiver 82C250 is directly connected to the CAN+ and CAN- differential mode signals of the base slot through the pins D0 and D1, and then connected to the I/O module through the CAN bus.
FCP01插入到机箱,通过以太网连接到接入级交换机,一个控制站推荐配置两块FCP01,实现控制器主备冗余。FCP01初始上电需要进行初始配置,根据设计指定的以太网IP地址,由工程师站生成配置文件,配置文件详细的给出了控制器的IP地址,对时服务器等的信息,工程师站生成配置文件后,通过初始默认IP地址192.168.0.49,将配置文件通过以太网下装到FCP01;下装配置文件完成后,接下来需要重启FCP01,重启后新的配置生效,FCP01的IP地址就会自动改变成新的配置文件给出的IP地址。主备FCP01配置独立的以太网地址,并且备卡的地址是在主卡IP地址的基础上生成,例如,如果主卡地址配置为192.168.1.2,那么备卡IP地址就为192.168.1.52。对FCP01的重启可以采用软重启和硬件RESET键重启,每次改变FCP01的以太网地址都需要重启才能生效。FCP01 is inserted into the chassis and connected to the access-level switch through Ethernet. It is recommended to configure two FCP01s for one control station to realize active and standby controller redundancy. The initial power-on of FCP01 requires initial configuration. According to the Ethernet IP address specified by the design, the configuration file is generated by the engineering station. The configuration file gives the IP address of the controller in detail, the information of the time synchronization server, etc., and the configuration file is generated by the engineering station. Finally, download the configuration file to FCP01 via Ethernet through the initial default IP address 192.168.0.49; after the configuration file is downloaded, you need to restart FCP01, and the new configuration will take effect after restarting, and the IP address of FCP01 will automatically change into the IP address given in the new configuration file. The main and standby FCP01s are configured with independent Ethernet addresses, and the address of the standby card is generated based on the IP address of the main card. For example, if the address of the main card is configured as 192.168.1.2, then the IP address of the standby card is 192.168.1.52. The restart of FCP01 can be restarted by soft restart and hardware RESET button. Every time you change the Ethernet address of FCP01, you need to restart to take effect.
如图2所示建立控制系统,控制系统包括以下几个部分:操作员站,工程师站,FCP01,FPB01,I/O模件,DB37电缆,端子板,来自各个制造商的现场设备和仪表等。操作员站和工程师站通过以太网和FCP01建立TCP和UDP连接,通过以太网工程师站可以完成组态信息的下装,在线命令的发送等针对FCP01的交互;工程人员在工程师站根据现场设备和各种控制要求建立数据库,控制组态等信息,通过工程师站上位机程序编译,生成数据库文件,控制组态文件下装到FCP01,FCP01对数据库文件和控制组态文件进行解析,执行初始化配置和运算任务的启动;包括卡件信息的读取和配置,I/O点的数据结构的建立和地址分配,运算周期的配置,运算任务的启动,站间引用点的广播。Establish the control system as shown in Figure 2. The control system includes the following parts: operator station, engineer station, FCP01, FPB01, I/O modules, DB37 cables, terminal boards, field devices and instruments from various manufacturers, etc. . The operator station and the engineer station establish TCP and UDP connections with FCP01 through Ethernet, and the engineer station through Ethernet can complete the interaction with FCP01, such as downloading configuration information and sending online commands; Various control requirements establish a database, control configuration and other information, compile the program on the upper computer of the engineer station, generate a database file, download the control configuration file to FCP01, FCP01 analyzes the database file and control configuration file, and performs initialization configuration and The start of computing tasks includes the reading and configuration of card information, the establishment of I/O point data structures and address allocation, the configuration of computing cycles, the starting of computing tasks, and the broadcasting of inter-station reference points.
FCP01提供CAN接口,可以自由通过CAN总线接入I/O模件,I/O模件可以配置AI,AO,DI,DO以及现场总线模件FPB01。FCP01通过CAN总线与I/O模件通信,通信速率高,报文结构灵活。FCP01可以提供5个扩展机箱,每个机箱可以插入12块卡件。I/O模件通过DB37预制电缆连接到对应模件的端子板,端子板通过硬接线直接接入现场设备的测量信号。对于PROFIBUS FPB01模件,无需接入端子板,只需要从背板直接接入DP线缆,然后将DP设备直接接入DP线缆。对于DP设备参数,点的信息的配置和拆分通过通信主站FPB01完成。FCP01 provides CAN interface, which can be freely connected to I/O modules through CAN bus. I/O modules can be configured with AI, AO, DI, DO and field bus module FPB01. FCP01 communicates with I/O modules through CAN bus, with high communication rate and flexible message structure. FCP01 can provide 5 expansion chassis, and each chassis can insert 12 cards. The I/O module is connected to the terminal board of the corresponding module through the DB37 prefabricated cable, and the terminal board is directly connected to the measurement signal of the field device through hard wiring. For the PROFIBUS FPB01 module, there is no need to connect to the terminal board, it only needs to directly connect to the DP cable from the backplane, and then directly connect the DP device to the DP cable. For DP device parameters, the configuration and splitting of point information is completed through the communication master station FPB01.
供电系统,FCP01供电通过底板来完成,由外部直流电源向FCP01的电源部分提供+5VIN电源,同时经过电源部分的变换,+3.3用于RM9200、FLASH、SDRAM、BUFFER逻辑控制器XC9536、双口RAM和以太网物理接口芯片;+1.8主要用在RM9200的内核部分,目的是降低功耗。Power supply system, the power supply of FCP01 is completed through the backplane, the external DC power supply provides +5VIN power to the power supply part of FCP01, and at the same time, after the transformation of the power supply part, +3.3 is used for RM9200, FLASH, SDRAM, BUFFER logic controller XC9536, dual-port RAM And Ethernet physical interface chip; +1.8 is mainly used in the core part of RM9200, the purpose is to reduce power consumption.
工程师站根据控制系统的设计要求,点表等,建立数据库,通过数据库进行组态信息的建立,在完成组态工作后,通过工程师站将这些数据通过以太网下装到挂接在以太网上,具有明确IP地址的控制器。FCP01在接收到这些数据库组态和SAMA组态信息后,对这些信息进行解析,首先建立I/O点数据库,模件配置信息,然后对SAMA组态信息进行读取和解析,SAMA组态信息和数据库组态一致,都是首先是插入部分,删除部分和添加部分。然后控制需需要对根据数据库组态对接入FCP01CAN总线接口的模件进行配置,包括模件的广播数据周期,模件的槽号,索引号等。I/O模件接入对应的端子板,然后I/O模件通过硬接线直接接入现场设备的控制信号和诊断信号。The engineer station establishes a database according to the design requirements of the control system, point tables, etc., and establishes configuration information through the database. After completing the configuration work, the engineer station downloads these data to the Ethernet through the Ethernet. A controller with an explicit IP address. After receiving the database configuration and SAMA configuration information, FCP01 analyzes the information, first establishes the I/O point database, module configuration information, and then reads and analyzes the SAMA configuration information, SAMA configuration information Consistent with the database configuration, it is the first to insert part, delete part and add part. Then the control needs to configure the modules connected to the FCP01CAN bus interface according to the database configuration, including the broadcast data period of the module, the slot number of the module, the index number, etc. The I/O module is connected to the corresponding terminal board, and then the I/O module is directly connected to the control signal and diagnostic signal of the field device through hard wiring.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520107822.XU CN204406186U (en) | 2015-02-13 | 2015-02-13 | A kind of fieldbus controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520107822.XU CN204406186U (en) | 2015-02-13 | 2015-02-13 | A kind of fieldbus controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204406186U true CN204406186U (en) | 2015-06-17 |
Family
ID=53430030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520107822.XU Expired - Lifetime CN204406186U (en) | 2015-02-13 | 2015-02-13 | A kind of fieldbus controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204406186U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104699055A (en) * | 2015-02-13 | 2015-06-10 | 西安热工研究院有限公司 | Field bus controller and method |
CN106061023A (en) * | 2016-07-08 | 2016-10-26 | 浙江众合科技股份有限公司 | Novel indicating lamp control circuit |
TWI684129B (en) * | 2018-01-12 | 2020-02-01 | 大陸商龍迅半導體(合肥)股份有限公司 | A software upgrading method, system and an active dp cable |
CN113778041A (en) * | 2021-11-11 | 2021-12-10 | 西安热工研究院有限公司 | Method and system, device and storage medium for generating communication data between DCS controllers |
-
2015
- 2015-02-13 CN CN201520107822.XU patent/CN204406186U/en not_active Expired - Lifetime
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104699055A (en) * | 2015-02-13 | 2015-06-10 | 西安热工研究院有限公司 | Field bus controller and method |
CN106061023A (en) * | 2016-07-08 | 2016-10-26 | 浙江众合科技股份有限公司 | Novel indicating lamp control circuit |
CN106061023B (en) * | 2016-07-08 | 2018-05-08 | 浙江众合科技股份有限公司 | New indicating lamp control circuit |
TWI684129B (en) * | 2018-01-12 | 2020-02-01 | 大陸商龍迅半導體(合肥)股份有限公司 | A software upgrading method, system and an active dp cable |
CN113778041A (en) * | 2021-11-11 | 2021-12-10 | 西安热工研究院有限公司 | Method and system, device and storage medium for generating communication data between DCS controllers |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101685301B (en) | Embedded type state monitoring information adaptor capable of operating under complex working conditions of numerically-controlled machine tool and method thereof | |
CN104699055A (en) | Field bus controller and method | |
CN205539996U (en) | Redundant control system of controller, IO communication bus and communication module | |
CN101132328A (en) | Real-time industrial Ethernet EtherCAT communication controller | |
CN204406186U (en) | A kind of fieldbus controller | |
CN105353715A (en) | Realization method of logic control of VB/VC (Microsoft Visual Basic 6.0/Microsoft Visual C++) and PLC (Programmable Logic Controller) on the basis of serial communication | |
CN100504688C (en) | Private chip for implementing bus controller function in ring bus numerical control system | |
WO2018223253A1 (en) | Motion control card, motion control system, robot system, and numerical control machine tool | |
CN106873541A (en) | A kind of EtherCAT Distributed Servo kinetic control systems based on DSP | |
CN101013315A (en) | General numerical control system based on full digital ring bus | |
CN114924503A (en) | Distributed IO module based on CANopen bus and its configuration optimization method, equipment and medium | |
CN104932373A (en) | Intelligent industrial network protocol wireless converter | |
CN115967592A (en) | A gateway device interconnecting the EtherCAT bus and the Profinet bus | |
CN109525472B (en) | Bus communication conversion circuit, device and system | |
JPWO2008146477A1 (en) | PLC with communication function | |
CN103034220A (en) | An integrated controller for a power plant | |
CN201933937U (en) | Shielding door and safety door control system for rail transit station platform | |
CN200997073Y (en) | Universal digital-controlled system based on digital ring bus | |
CN202077059U (en) | Bus bridge capable of changing PROFIBUS protocol to MODBUS protocol | |
CN201471700U (en) | Injection molding machine PROFIBUS-DP network slave station interface circuit | |
CN114935904A (en) | General master-slave controller system for cascade communication | |
CN116074397A (en) | Data sharing system | |
CN201000569Y (en) | A dedicated chip to realize the function of the bus controller in the ring bus numerical control system | |
CN107676987A (en) | Fully automatic constant temperature water heater operation panel communication system | |
CN110278137A (en) | A host control system and field-level remote communication system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20150617 |
|
CX01 | Expiry of patent term |