CN107643989B - Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol - Google Patents

Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol Download PDF

Info

Publication number
CN107643989B
CN107643989B CN201610582811.6A CN201610582811A CN107643989B CN 107643989 B CN107643989 B CN 107643989B CN 201610582811 A CN201610582811 A CN 201610582811A CN 107643989 B CN107643989 B CN 107643989B
Authority
CN
China
Prior art keywords
board card
control board
dual
pci bus
optical fiber
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
CN201610582811.6A
Other languages
Chinese (zh)
Other versions
CN107643989A (en
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.)
Beijing Zhongkexin Electronic Equipment Co Ltd
Original Assignee
Beijing Zhongkexin Electronic Equipment 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 Beijing Zhongkexin Electronic Equipment Co Ltd filed Critical Beijing Zhongkexin Electronic Equipment Co Ltd
Priority to CN201610582811.6A priority Critical patent/CN107643989B/en
Publication of CN107643989A publication Critical patent/CN107643989A/en
Application granted granted Critical
Publication of CN107643989B publication Critical patent/CN107643989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a communication board card with a double optical fiber loop redundant structure based on a PCI bus protocol. The invention consists of a PCI bus interface (1), a double-optical-fiber interface (2) and a control board card (3). The invention is directly inserted into a PCI slot of an industrial control computer, the industrial control computer writes the communication board card to transmit control information to the communication board card, the FPGA control board card converts control data transmitted by a PCI bus into optical fiber signals to be transmitted to each lower computer controller, so that the lower computer control system is reasonably controlled, meanwhile, each lower computer can also transmit digital and analog state information to the communication board card through an optical fiber ring, and the industrial control computer reads back the state of each lower computer through reading operation. The specification gives a detailed description of the method and gives specific embodiments.

Description

Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol
Technical Field
The invention relates to a PCI bus protocol-based dual-optical fiber loop redundancy structure communication board card which can be applied to any industrial control field, a PCI bus interface has higher data transmission speed, the dual-optical fiber loop redundancy design can ensure that control signals are not interfered in environments such as an electric field, a magnetic field and the like and realize accurate control, and the aims of collecting and controlling state information of a lower computer control board card by an industrial control computer are realized through the PCI bus interface and an optical fiber interface.
Background
The communication board card used in the industry at present usually adopts a single optical fiber loop structure of ISA bus protocol, wherein, the ISA bus has two modes of 8 bit and 16 bit, and the PCI bus is a synchronous multiplexing bus with two modes of 32 bit and 64 bit, not only can save the pin number of the connector, but also can realize burst data transmission, so that the data transmission is more efficient, when PCI bus interface is used, the system can automatically allocate the resources required by the board card and automatically search the corresponding driving program without manual configuration, the single optical fiber loop has better anti-interference performance, however, when a problem occurs in the optical fiber or a certain optical fiber interface, the whole optical fiber control loop cannot work, so that the system cannot operate, the double-optical fiber loop redundancy design can automatically switch to another optical fiber loop for communication when a certain optical fiber loop fails, does not affect the work of the system, and can simultaneously maintain the failed optical fiber loop.
The communication board will be described in detail herein.
Disclosure of Invention
The invention is realized by the following technical scheme:
and 1, the PCI bus interface is used for reading and writing the communication board card through the industrial control computer to realize data communication between the industrial control computer and the communication board card.
2. And the double optical fiber interface transmits and receives data through the double optical fiber loop redundant structure interface, so that data transmission between the communication board card and the lower computer control board card is realized.
3. The control board card comprises a control board card main chip which is an FPGA (field programmable gate array), stores state signals and feedback signals acquired by the optical fiber loop into a memory, reads data in the memory through read-write operation of an industrial control computer and writes the data into the memory, the FPGA uses a Verilog language and is in a parallel operation mode, and the acquisition model of the optical fiber loop and the read-write of the industrial control computer are not influenced by each other.
Drawings
FIG. 1 is a flow chart of a PCI bus interface based control system
FIG. 2 is a schematic diagram of a communication board
Detailed Description
The invention is realized by the following technical scheme:
1. the module (1) is a PCI bus interface. The address bus and data bus of PCI bus are time-sharing multiplex, when the data is transmitted, one device is used as main device, another device is used as Slave device, all time sequence generation and setting on the bus are controlled by main device, an arbitration mechanism is required to decide who can take control right of bus, when the PCI bus is operated, the main device must obtain permission of arbiter first, then place Slave address on AD bus, and place command signal at the same time to explain next transmission type, all PCI bus devices must decode the address, the selected device must declare itself selected, then can transmit data, and after the data is transmitted, release the control right of bus. The PCI bus has the advantages of high speed, automatic configuration, high reliability, good expansibility, multiplexing, high data transmission efficiency and the like.
2. The module (2) is a double-optical fiber loop redundant structure. The dual-optical-fiber loop redundancy structure is a data communication mode of a communication board card and a lower computer control board card, generally, in the field of industrial control, the distance between the communication board card and the lower computer control board card is long, a large number of electric fields and magnetic fields exist in special application occasions, if electric signal transmission of analog quantity or digital quantity is adopted, transmission signals are bound to be interfered, the control precision of the lower computer control board card is reduced or cannot be controlled, and the optical fiber loop is used for optical signal transmission, so that the interference can be well avoided. The dual-optical-fiber loop redundancy structure adopts two optical fiber loops, for example, a single optical fiber loop is adopted, when any optical fiber line or optical fiber joint in the loop is damaged, the whole loop cannot be controlled, and the dual-optical-fiber loop redundancy structure well solves the problem.
3. The module (3) is a control board card. The main function of the control board card is to realize the data transmission between the PCI interface and the optical fiber interface, usually a dual port memory is provided in the control board card, when the upper computer sends a command, the industrial control computer needs to write the dual port memory, all the control data are written into the dual port memory, the control board card sends the data of the corresponding address to the corresponding lower computer control board card according to a certain data format through the optical fiber loop, when the upper computer needs to collect the state information of the lower computer, the state signal and the feedback signal of the lower computer control board card are transmitted into the control board card according to a certain data format through the optical fiber loop, the control board card transfers the signal into the dual port memory, then the industrial control computer reads the dual port memory, the control board card signals of the lower computer are read back, and at the same time, a ROM is required to be configured in the control board card for storing data during power failure, and when the communication board card is powered off, the state information and feedback information of each lower computer control board card before power failure can be read through the ROM.
The foregoing has outlined rather broadly the present invention. Any obvious modifications thereto, which would occur to one skilled in the art without departing from the invention, constitute a violation of the patent of the present invention and would bear corresponding legal responsibility.

Claims (1)

1. A communication board card based on a PCI bus protocol and a double-optical-fiber loop redundancy structure is composed of a PCI bus interface (1), a double-optical-fiber interface (2) and a control board card (3); the PCI bus interface (1) is a parallel bus standard, the working frequency of the PCI bus interface (1) is 33MHz higher than that of an ISA bus, namely 8MHz, and data reading and writing are performed through the reading and writing operation of an industrial control computer and a communication board card; the dual-optical-fiber interface (2) is mainly used for controlling the lower computers, a dual-optical-fiber loop redundancy structure is adopted, when one optical fiber loop has a problem, the control board card (3) is automatically switched to the other optical fiber loop to collect and control the state information of each lower computer; the control board card (3) adopts FPGA as a main control chip, the FPGA uses Verilog language to program, hardware description language is also formed, a parallel operation mode is adopted, and the control board card has the characteristics of high speed, repeated programming and good real-time performance, and is characterized in that: the control board card (3) is mainly used for collecting and sending optical fiber signals, sending and receiving data of the PCI bus and collecting information of each communication state so as to avoid conflict between the collection and sending of the optical fiber signals and the sending and receiving of the PCI bus data;
the specific process is as follows: the method comprises the steps that a dual-port memory is provided in a control board card (3), when an upper computer sends a command, an industrial control computer needs to write the dual-port memory, all control data are written into the dual-port memory, the control board card (3) reads data of corresponding addresses in the dual-port memory and sends the data to a corresponding lower computer control board card through an optical fiber loop according to a certain data format, when the upper computer needs to acquire state information of the lower computer, state signals and feedback signals of the lower computer control board card are transmitted into the control board card (3) through the optical fiber loop according to a certain data format, the control board card (3) stores the signals into the dual-port memory, the industrial control computer reads the dual-port memory, and the signals of each control board card of the lower computer are read back.
CN201610582811.6A 2016-07-22 2016-07-22 Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol Active CN107643989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610582811.6A CN107643989B (en) 2016-07-22 2016-07-22 Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610582811.6A CN107643989B (en) 2016-07-22 2016-07-22 Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol

Publications (2)

Publication Number Publication Date
CN107643989A CN107643989A (en) 2018-01-30
CN107643989B true CN107643989B (en) 2022-05-10

Family

ID=61109149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610582811.6A Active CN107643989B (en) 2016-07-22 2016-07-22 Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol

Country Status (1)

Country Link
CN (1) CN107643989B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124502B (en) * 2018-10-31 2022-06-28 北京中科信电子装备有限公司 Method for accelerating driving program of optical fiber loop main controller of ion implanter
CN111007714B (en) * 2019-12-06 2022-10-28 重庆川仪自动化股份有限公司 Linux Ethernet-based redundant switching method for rail safety shielding door controller

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5315424A (en) * 1992-06-30 1994-05-24 Loral Aerospace Corp. Computer fiber optic interface
CN1424659A (en) * 2002-12-31 2003-06-18 清华大学 Interface card for realizing opening flexiable series real-time communication system
CN101017203A (en) * 2006-09-26 2007-08-15 南京大桥机器有限公司 Portable X wave range Doppler weather radar signal processing method and device thereof
CN101196857A (en) * 2008-01-04 2008-06-11 太原理工大学 Double-port access symmetrical dynamic memory interface
CN201114084Y (en) * 2007-09-30 2008-09-10 赵凡 CobraNet double optical fibre transceiver
CN101303568A (en) * 2008-06-27 2008-11-12 重庆神州龙芯科技有限公司 Industry control computer system
CN201251783Y (en) * 2008-09-08 2009-06-03 徐欣 PCI-E-based fiber transmission card
CN102098103A (en) * 2010-12-02 2011-06-15 西北工业大学 Direct interface method of fiber channel (FC) bus and high-speed intelligent unified bus
CN202178760U (en) * 2011-07-28 2012-03-28 北京中科戎大信息技术有限公司 High speed data transmit-receive integral apparatus based on PCIE
CN102801467A (en) * 2012-08-20 2012-11-28 深圳市共进电子股份有限公司 Device and method for implementing dual optical fiber protection switching based on ONU
CN203224621U (en) * 2013-04-16 2013-10-02 成都远望科技有限责任公司 Weather radar high-speed data transmission device based on PCI-E bus
CN103761137A (en) * 2014-01-07 2014-04-30 中国电子科技集团公司第八研究所 Optical fiber reflection internal memory card and optical fiber reflection internal memory network
CN104020691A (en) * 2014-06-11 2014-09-03 哈尔滨工业大学 Signal acquisition board suitable for multiple bus protocols and multiple expansion interfaces
CN104572487A (en) * 2015-02-02 2015-04-29 哈尔滨工业大学 Memory access device and method of reflective memory card
CN105763258A (en) * 2016-03-18 2016-07-13 苏州盛森集成电路科技有限公司 FPGA-based digital processing and control system
CN105785335A (en) * 2016-03-28 2016-07-20 电子科技大学 Automatic digital array reception channel performance test system based on cPCI

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5315424A (en) * 1992-06-30 1994-05-24 Loral Aerospace Corp. Computer fiber optic interface
CN1424659A (en) * 2002-12-31 2003-06-18 清华大学 Interface card for realizing opening flexiable series real-time communication system
CN101017203A (en) * 2006-09-26 2007-08-15 南京大桥机器有限公司 Portable X wave range Doppler weather radar signal processing method and device thereof
CN201114084Y (en) * 2007-09-30 2008-09-10 赵凡 CobraNet double optical fibre transceiver
CN101196857A (en) * 2008-01-04 2008-06-11 太原理工大学 Double-port access symmetrical dynamic memory interface
CN101303568A (en) * 2008-06-27 2008-11-12 重庆神州龙芯科技有限公司 Industry control computer system
CN201251783Y (en) * 2008-09-08 2009-06-03 徐欣 PCI-E-based fiber transmission card
CN102098103A (en) * 2010-12-02 2011-06-15 西北工业大学 Direct interface method of fiber channel (FC) bus and high-speed intelligent unified bus
CN202178760U (en) * 2011-07-28 2012-03-28 北京中科戎大信息技术有限公司 High speed data transmit-receive integral apparatus based on PCIE
CN102801467A (en) * 2012-08-20 2012-11-28 深圳市共进电子股份有限公司 Device and method for implementing dual optical fiber protection switching based on ONU
CN203224621U (en) * 2013-04-16 2013-10-02 成都远望科技有限责任公司 Weather radar high-speed data transmission device based on PCI-E bus
CN103761137A (en) * 2014-01-07 2014-04-30 中国电子科技集团公司第八研究所 Optical fiber reflection internal memory card and optical fiber reflection internal memory network
CN104020691A (en) * 2014-06-11 2014-09-03 哈尔滨工业大学 Signal acquisition board suitable for multiple bus protocols and multiple expansion interfaces
CN104572487A (en) * 2015-02-02 2015-04-29 哈尔滨工业大学 Memory access device and method of reflective memory card
CN105763258A (en) * 2016-03-18 2016-07-13 苏州盛森集成电路科技有限公司 FPGA-based digital processing and control system
CN105785335A (en) * 2016-03-28 2016-07-20 电子科技大学 Automatic digital array reception channel performance test system based on cPCI

Also Published As

Publication number Publication date
CN107643989A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN108228513B (en) Intelligent serial port communication device based on FPGA framework
CN101866328B (en) Automatically accessed serial bus read/write control method
CN111506249B (en) Data interaction system and method based on ZYNQ platform
CN108092753B (en) Hot standby redundancy system adopting hardware memory moving synchronization
CN100383544C (en) Method and apparatus for real-time monitoring level signal
CN116841932B (en) Flexibly-connectable portable high-speed data access equipment and working method thereof
CN104834620A (en) SPI (serial peripheral interface) bus circuit, realization method and electronic equipment
CN108268414A (en) SD card driver and its control method based on SPI mode
CN116450552B (en) Asynchronous batch register reading and writing method and system based on I2C bus
CN104238517A (en) PROFIBUS-DPV1 main communication station and method
CN107643989B (en) Dual-optical-fiber loop redundancy structure communication board card based on PCI bus protocol
CN103488600A (en) Universal auxiliary machine synchronous serial interface circuit
CN113722261A (en) Method for expanding chip selection number and enhancing flexibility of read-write response time by SPI
CN102279820A (en) Data storage device and control method based on SPI interface
CN117478227B (en) High-speed optical communication connector and server
CN109696878B (en) Controller based on multiple buffer zones
CN114253898A (en) Bus device and data read-write circuit
CN113961496A (en) Communication circuit system, method, chip and storage medium
JP2000293485A (en) Communication interface
CN116820521A (en) System and method for updating configuration parameters of controller
CN101251831B (en) Mobile memory supporting master-salve equipment interchange and method of master-salve equipment interchange
CN103530256B (en) The process device and method of CPCIe and PCI protocol data
CN204065816U (en) A kind of PROFIBUS-DPV1 communication main station
CN202189558U (en) SPI interface-based data storage device
CN101354634B (en) Memory apparatus system connecting ATA port with multiplex SATA port and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant