CN201583944U - PCI bus based real-time acquisition card realized by adopting FPGA - Google Patents

PCI bus based real-time acquisition card realized by adopting FPGA Download PDF

Info

Publication number
CN201583944U
CN201583944U CN2009203500494U CN200920350049U CN201583944U CN 201583944 U CN201583944 U CN 201583944U CN 2009203500494 U CN2009203500494 U CN 2009203500494U CN 200920350049 U CN200920350049 U CN 200920350049U CN 201583944 U CN201583944 U CN 201583944U
Authority
CN
China
Prior art keywords
interface module
module
fpga
real
adopts
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 - Fee Related
Application number
CN2009203500494U
Other languages
Chinese (zh)
Inventor
周华
秦卓
相干
孙东宁
庄凌
黄山竹
高野军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Aerospace Changzheng Aircraft Institute
Original Assignee
Beijing Aerospace Changzheng Aircraft Institute
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 Aerospace Changzheng Aircraft Institute filed Critical Beijing Aerospace Changzheng Aircraft Institute
Priority to CN2009203500494U priority Critical patent/CN201583944U/en
Application granted granted Critical
Publication of CN201583944U publication Critical patent/CN201583944U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

A PCI bus based real-time acquisition card realized by adopting FPGA is characterized by comprising a memory module (1), a configurable serial communication module (2), a multichannel A/D conversion module (3), a configurable general I/O interface module (4), an FPGA logic control chip (5) and a PCI interface module (7), wherein the memory module (1) comprises a static memory (10) and a dynamic memory (11), the baud rate generation circuit of a multichannel configurable multifunctional serial communication interface is realized by adopting independent fractional frequency, the control logic of the multichannel A/D conversion module (3) is realized in the FPGA logic control chip (5) by adopting a master-slave state machine, the specific application of the configurable general I/O interface module (4) is realized by modifying the I/O control logic in the FPGA logic control chip (5), the PCI interface module (7) uses a slave single write and interrupt DMA read mode, and the control logic of the PCI interface module (7) is realized in the FPGA logic control chip (5).

Description

A kind of real-time capture card that adopts the FPGA realization based on pci bus
Technical field
The utility model relates to a kind of real-time capture card, particularly relates to a kind of real-time capture card based on pci bus.
Background technology
At present, the pci card of various interface is of a great variety, but the interface of these integrated circuit boards is all more single, or only has the A/D acquisition function, or only according to the function that serial communication is arranged.Uphole equipment in the past adopts the polylith integrated circuit board integrated more, and so, integrated circuit board quantity is more on the one hand, integrated circuit board slot quantity to main frame proposes higher requirement, if increase the integrated circuit board of other functions again, quantitatively tend to have too many difficulties to cope with at the integrated circuit board slot, and the comparison confusion that seems; Many integrated circuit boards is integrated to making the control of testing process also relatively more difficult on the other hand, is difficult to satisfy the requirement of clock synchronization.
Summary of the invention
The purpose of this utility model is to provide a kind of real-time capture card that gathers multi-function in integral whole, and not only can satisfy the requirement of testing process control, can also satisfy the requirement of clock synchronization.
For achieving the above object, the technical solution of the utility model is: a kind of real-time capture card that adopts the FPGA realization based on pci bus, comprise memory module, the serial communication module can be set, hyperchannel A/D modular converter, configurable general I/O interface module, fpga logic control chip and pci interface module, wherein the fpga logic control chip is communicated with hyperchannel A/D modular converter by multi-channel high-accuracy A/D ALT-CH alternate channel, be communicated with configurable general I/O interface module by hyperchannel configurable general I/O interface, by the configurable multi-functional serial communication interface connection of multichannel the serial communication module can be set, be communicated with host computer by the pci interface module, memory module comprises static memory and dynamic storage, dynamic storage is for depositing initialize data and real-time image data space, static memory is the alternate program space, the baud rate generation circuit of the configurable multi-functional serial communication interface of multichannel adopts autonomous fractional frequency division to realize, the steering logic of hyperchannel A/D modular converter adopts the master slave mode machine to realize in the fpga logic control chip, the concrete I/O steering logic of using by revising in the fpga logic control chip of configurable general I/O interface module realizes, the use of pci interface module is singly write and is interrupted DMA from pattern and reads mode, and its steering logic realizes in the fpga logic control chip.
Host computer sent the initialization command word by the pci interface module according to different local side addresses when initialization began, come configuration storage module, the serial communication module can be set, hyperchannel A/D modular converter, configurable general I/O interface module and pci interface module, finish the initial work of above-mentioned interface module; Host computer continued to send data after initialization was finished, these data are the initialize data of above-mentioned interface module in the process need transmission of work, the fpga logic control chip according to the local side receiver address data be temporary in dynamic storage different address spaces in, use when sending data in order to above-mentioned interface module; After having finished the transmission of initialize data, host computer then begins to send each module initial order word, each module just begins real-time image data after receiving command word, the whole data collection system carries out again and again, by the pci interface module data are sent to host computer, host computer is applied to control algolithm to the data of gathering, finish the calculating of control algolithm after, again each corresponding interface module issued in control command word or various bookbinding data, finish real-time data acquisition and control.
Above-mentioned static memory can be 1M Bytes NOR FLASH storer, can deposit control and used control word and the command word of program; Above-mentioned dynamic storage can be 16M Bytes SDRAM storer, can deposit and preset number and real-time image data, independent development its efficient controller, speed can reach about 100M.
The above-mentioned serial communication module that is provided with can be 4 road serial communication interfaces, and more excellent scheme is for to be chosen as RS485 or RS422 interface by wire jumper, and the baud rate generation circuit of communication interface adopts autonomous fractional frequency division to realize, has saved special-purpose crystal oscillator.
Above-mentioned hyperchannel A/D modular converter can be 8 passage 12bits A/D converters, and more excellent scheme is high speed serialization AD chip AD7328.
Above-mentioned configurable general I/O interface module can be 16 passages two-way I/O able to programme, the concrete application by revising IO steering logic realization among the FPGA.
Above-mentioned pci interface module can adopt PCI2.2 specification protocol chip PCI9054.
The utility model can be according to different test requests, realize the A/D conversion, satisfy the real-time control between general purpose I/O interface and the serial ports and gather the sequential requirement by FPGA, can be stored in control and required control and the command word of program in the solid-state memory, both can be temporary in the dynamic storage so that data are done post-processed for the data of real-time collection, and also can pass to host computer to the data of gathering and do to handle in real time by pci interface.The utility model utilizes the high speed performance of FPGA and the real-time sequential logic that powerful logic function can realize each port, and the employing pci interface has been finished the real time bidirectional data transmission with host computer very easily, reaches the function of present desired simulated program and control program seamless link.
Description of drawings
Fig. 1 is a kind of structured flowchart that adopts the FPGA realization based on the real-time capture card of pci bus.
Fig. 2 is the structured flowchart of an embodiment provided by the utility model.
Among the figure, 1. memory module 2. can be provided with the serial communication module, 3. hyperchannel A/D modular converter, 4. configurable general I/O interface module, 5.FPGA logic control chip, 6. local bus, 7.PCI interface module, 8.PCI bus, 9. host computer, 10. static store module, 11. dynamic memory modules.
Embodiment
Below in conjunction with drawings and Examples the utility model is further specified.
As depicted in figs. 1 and 2, a kind of FPGA that adopts realizes real-time capture card based on pci bus, comprises memory module 1, serial communication module 2 can be set, hyperchannel A/D modular converter 3, configurable general I/O interface module 4, fpga logic control chip 5 and pci interface module 7.Wherein memory module 1 is made up of 16M Bytes SDRAM storer and 1M Bytes NOR FLASH storer, 1MBytes NOR FLASH storer is the alternate program space, and 16M Bytes SDRAM storer is for depositing initialize data and real-time image data space.Serial communication module 2 can be set be chosen as RS485 or RS422 interface by wire jumper, the baud rate generation circuit of communication interface adopts autonomous fractional frequency division to realize, has saved special-purpose crystal oscillator; Hyperchannel A/D modular converter 3 adopts high speed serialization AD chip AD7328; Configurable general I/O interface module 4 adopts 16 passages two-way I/O able to programme; Pci interface module 7 adopts PCI2.2 specification protocol chip PCI9054; Wherein fpga logic control chip 5 is communicated with high speed serialization AD chip AD7328 by multi-channel high-accuracy A/D ALT-CH alternate channel, be communicated with 16 passages two-way I/O able to programme by hyperchannel configurable general I/O interface, be communicated with RS485 or RS422 by the configurable multi-functional serial communication interface of multichannel, be communicated with host computer 9 by pci interface module 7; The steering logic of high speed serialization AD chip AD7328 adopts the master slave mode machine to realize in fpga logic control chip 5, the concrete I/O steering logic of using by revising in the fpga logic control chip 5 of 16 passages two-way I/O able to programme realizes, 7 uses of pci interface module are singly write and are interrupted DMA from pattern and read mode, and its steering logic realizes in fpga logic control chip 5.In real time the capture card driver is selected the windriver too development for use, with seek integrated circuit board, open the integrated circuit board handle, to integrated circuit board carry out read-write operation, the step of closing the integrated circuit board handle operates.
Host computer sent the initialization command word by the pci interface module according to different local side addresses when initialization began, dispose 16M Bytes SDRAM storer, 1M Bytes NOR FLASH storer, RS485 or RS422 chip, high speed serialization AD chip AD7328,16 passages two-way I/O able to programme and PCI9054 chip, finish the initial work of above-mentioned interface module; Host computer continued to send data after initialization was finished, these data are the initialize data of above-mentioned interface module in the process need transmission of work, the fpga logic control chip according to the local side receiver address data be temporary in 16M Bytes SDRAM storer different address spaces in, use when sending data in order to above-mentioned interface module; After having finished the transmission of initialize data, host computer then begins to send each module initial order word, each module just begins real-time image data after receiving command word, the whole data collection system carries out again and again, by the pci interface module data are sent to host computer, host computer is applied to control algolithm to the data of gathering, finish the calculating of control algolithm after, again each corresponding interface module issued in control command word or various bookbinding data, finish real-time data acquisition and control.
Above in conjunction with the accompanying drawings to embodiment of the present utility model to having done detailed description, but the utility model is not limited to the foregoing description, in the ken that those of ordinary skills possessed, can also under the prerequisite that does not break away from the utility model aim, make various variations.

Claims (10)

1. one kind is adopted FPGA to realize real-time capture card based on pci bus, it is characterized in that comprising memory module (1), serial communication module (2) can be set, hyperchannel A/D modular converter (3), configurable general I/O interface module (4), fpga logic control chip (5) and pci interface module (7), wherein fpga logic control chip (5) is communicated with hyperchannel A/D modular converter (3) by multi-channel high-accuracy A/D ALT-CH alternate channel, be communicated with configurable general I/O interface module (4) by hyperchannel configurable general I/O interface, by the configurable multi-functional serial communication interface connection of multichannel serial communication module (2) can be set, be communicated with host computer (9) by pci interface module (7), memory module (1) comprises static memory (10) and dynamic storage (11), static memory (10) is the alternate program space, dynamic storage (11) is for depositing initialize data and real-time image data space, the baud rate generation circuit of the configurable multi-functional serial communication interface of multichannel adopts autonomous fractional frequency division to realize, the steering logic of hyperchannel A/D modular converter (3) adopts the master slave mode machine to realize in fpga logic control chip (5), the concrete I/O steering logic of using by revising in the fpga logic control chip (5) of configurable general I/O interface module (4) realizes, pci interface module (7) use is singly write and is interrupted DMA from pattern and reads mode, and its steering logic realizes in fpga logic control chip (5).
2. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1, it is characterized in that host computer when initialization begins (9) sends the initialization command word by pci interface module (7) according to different local side addresses, come configuration storage module (1), serial communication module (2) can be set, hyperchannel A/D modular converter (3), configurable general I/O interface module (4) and pci interface module (7), finish the initial work of above-mentioned interface module; Host computer after initialization is finished (9) continues to send data, these data are the initialize data of above-mentioned interface module in the process need transmission of work, fpga logic control chip (5) according to the local side receiver address data be temporary in dynamic storage (11) different address spaces in, use when sending data in order to above-mentioned interface module; After having finished the transmission of initialize data, host computer (9) then begins to send each module initial order word, each module just begins real-time image data after receiving command word, the whole data collection system carries out again and again, by pci interface module (7) data are sent to host computer (9), host computer (9) is applied to control algolithm to the data of gathering, after finishing the calculating of control algolithm, again each corresponding interface module issued in control command word or various bookbinding data, finish real-time data acquisition and control.
3. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1 is characterized in that described hyperchannel A/D modular converter (3) is 8 passage 12bitsA/D converters.
4. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 3 is characterized in that described 8 passage 12bitsA/D converters are high speed serialization AD chip AD7328.
5. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1 is characterized in that described configurable general I/O interface module (4) is 16 passages two-way I/O able to programme.
6. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1 is characterized in that the described serial communication module (2) that is provided with is 4 road serial communication interfaces.
7. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 6, it is characterized in that described 4 road serial communication interfaces are chosen as RS485 or RS422 interface by wire jumper, the baud rate generation circuit of communication interface adopts autonomous fractional frequency division to realize.
8. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1 is characterized in that described static memory (10) is a 1M Bytes NOR FLASH storer.
9. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1 is characterized in that described dynamic storage (11) is a 16M Bytes SDRAM storer.
10. a kind of real-time capture card that adopts the FPGA realization based on pci bus as claimed in claim 1 is characterized in that pci interface module (7) adopts PCI2.2 specification protocol chip PCI9054.
CN2009203500494U 2009-12-24 2009-12-24 PCI bus based real-time acquisition card realized by adopting FPGA Expired - Fee Related CN201583944U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009203500494U CN201583944U (en) 2009-12-24 2009-12-24 PCI bus based real-time acquisition card realized by adopting FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009203500494U CN201583944U (en) 2009-12-24 2009-12-24 PCI bus based real-time acquisition card realized by adopting FPGA

Publications (1)

Publication Number Publication Date
CN201583944U true CN201583944U (en) 2010-09-15

Family

ID=42725952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009203500494U Expired - Fee Related CN201583944U (en) 2009-12-24 2009-12-24 PCI bus based real-time acquisition card realized by adopting FPGA

Country Status (1)

Country Link
CN (1) CN201583944U (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279828A (en) * 2011-07-25 2011-12-14 中兴通讯股份有限公司 Control device and method for converting PCI (programmable communication interface) to Flash interface
CN102360326A (en) * 2011-05-24 2012-02-22 福建星网锐捷网络有限公司 Field-programmable gate array (FPGA) simulating method and device
CN102799558A (en) * 2012-07-20 2012-11-28 哈尔滨工业大学 RS422 communication module based on CPCI bus
CN102854375A (en) * 2012-09-07 2013-01-02 哈尔滨工业大学 High-speed voltage and current analog quantity acquisition system based on FPGA (field programmable gate array)
CN102930065A (en) * 2012-11-07 2013-02-13 昆山北极光电子科技有限公司 Method for collecting multichannel and high-capacity data in real time
CN103631179A (en) * 2013-11-06 2014-03-12 天津瑞能电气有限公司 Method for carrying out communication between CPU (central processing unit) and external expansion logic gate circuit as well as collecting device
CN103645999A (en) * 2013-12-07 2014-03-19 天津光电通信技术有限公司 FPGA-based high-speed board card for achieving eight-channel receiving and transmitting serial ports
CN104535835A (en) * 2014-12-09 2015-04-22 重庆西南集成电路设计有限责任公司 Double-channel PCI data acquisition card and method
CN105045704A (en) * 2015-06-24 2015-11-11 哈尔滨工业大学 Method for implementing data exchange between boards by using PCI master mode
CN105300271A (en) * 2015-10-09 2016-02-03 天津市英贝特航天科技有限公司 Multichannel RDC angle measurement CPCI insertion card
CN108345564A (en) * 2018-01-19 2018-07-31 深圳云天励飞技术有限公司 Interrupt matrix module, chip and electronic equipment
CN110161913A (en) * 2019-05-23 2019-08-23 上海钇莹电器有限公司 A kind of controller of aluminium electrolytic bath multi-channel data acquisition plate and multi-channel data acquisition method
CN113114254A (en) * 2021-05-18 2021-07-13 天津凯发电气股份有限公司 High-speed multi-channel synchronous analog quantity acquisition control method
CN113406909A (en) * 2021-06-28 2021-09-17 广东电网有限责任公司 Cluster measurement and control device for seamless switching of faults
CN116155290A (en) * 2023-04-18 2023-05-23 青岛本原微电子有限公司 Control device and control method of analog-to-digital conversion unit

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360326A (en) * 2011-05-24 2012-02-22 福建星网锐捷网络有限公司 Field-programmable gate array (FPGA) simulating method and device
CN102360326B (en) * 2011-05-24 2014-01-01 福建星网锐捷网络有限公司 Field-programmable gate array (FPGA) simulating method and device
CN102279828A (en) * 2011-07-25 2011-12-14 中兴通讯股份有限公司 Control device and method for converting PCI (programmable communication interface) to Flash interface
CN102799558A (en) * 2012-07-20 2012-11-28 哈尔滨工业大学 RS422 communication module based on CPCI bus
CN102799558B (en) * 2012-07-20 2015-03-11 哈尔滨工业大学 RS422 communication module based on CPCI bus
CN102854375A (en) * 2012-09-07 2013-01-02 哈尔滨工业大学 High-speed voltage and current analog quantity acquisition system based on FPGA (field programmable gate array)
CN102930065A (en) * 2012-11-07 2013-02-13 昆山北极光电子科技有限公司 Method for collecting multichannel and high-capacity data in real time
CN103631179B (en) * 2013-11-06 2016-07-20 天津瑞能电气有限公司 A kind of CPU carries out method and the harvester of communication with extending out logic gates
CN103631179A (en) * 2013-11-06 2014-03-12 天津瑞能电气有限公司 Method for carrying out communication between CPU (central processing unit) and external expansion logic gate circuit as well as collecting device
CN103645999A (en) * 2013-12-07 2014-03-19 天津光电通信技术有限公司 FPGA-based high-speed board card for achieving eight-channel receiving and transmitting serial ports
CN104535835A (en) * 2014-12-09 2015-04-22 重庆西南集成电路设计有限责任公司 Double-channel PCI data acquisition card and method
CN105045704A (en) * 2015-06-24 2015-11-11 哈尔滨工业大学 Method for implementing data exchange between boards by using PCI master mode
CN105045704B (en) * 2015-06-24 2017-11-03 哈尔滨工业大学 A kind of method that utilization PCI holotypes realize data interaction between board
CN105300271A (en) * 2015-10-09 2016-02-03 天津市英贝特航天科技有限公司 Multichannel RDC angle measurement CPCI insertion card
CN108345564A (en) * 2018-01-19 2018-07-31 深圳云天励飞技术有限公司 Interrupt matrix module, chip and electronic equipment
CN108345564B (en) * 2018-01-19 2020-04-14 深圳云天励飞技术有限公司 Interrupt matrix module, chip and electronic equipment
CN110161913A (en) * 2019-05-23 2019-08-23 上海钇莹电器有限公司 A kind of controller of aluminium electrolytic bath multi-channel data acquisition plate and multi-channel data acquisition method
CN113114254A (en) * 2021-05-18 2021-07-13 天津凯发电气股份有限公司 High-speed multi-channel synchronous analog quantity acquisition control method
CN113114254B (en) * 2021-05-18 2022-08-26 天津凯发电气股份有限公司 High-speed multi-channel synchronous analog quantity acquisition control method
CN113406909A (en) * 2021-06-28 2021-09-17 广东电网有限责任公司 Cluster measurement and control device for seamless switching of faults
CN116155290A (en) * 2023-04-18 2023-05-23 青岛本原微电子有限公司 Control device and control method of analog-to-digital conversion unit
CN116155290B (en) * 2023-04-18 2023-07-21 青岛本原微电子有限公司 Control device and control method of analog-to-digital conversion unit

Similar Documents

Publication Publication Date Title
CN201583944U (en) PCI bus based real-time acquisition card realized by adopting FPGA
CN108228513B (en) Intelligent serial port communication device based on FPGA framework
CN101958152B (en) NAND FLASH controller and application thereof
CN101599004B (en) SATA controller based on FPGA
CN102012885A (en) System and method for realizing communication by adopting dynamic I2C bus
CN101436171B (en) Modular communication control system
CN103559152A (en) Device and method for CPU (central processing unit) to access local bus on basis of PCIE (peripheral component interface express) protocol
CN201418086Y (en) Data communication protocol controller used for satellite-borne equipment
CN102243619A (en) FPGA (Field Programmable Gate Array)-based method for realizing multi-path I2C (Inter-Integrated Circuit) bus port expansion
CN104636301B (en) A kind of extensive PLC High speed rear panels bus system based on PCI E interfaces
CN203812236U (en) Data exchange system based on processor and field programmable gate array
CN103853642A (en) Injection type simulation system for infrared digital image based on USB3.0 and method thereof
CN105205025A (en) Chip interconnection method, chips and device
CN102231718A (en) Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof
CN105281433A (en) Distribution terminal communication system
CN205375458U (en) Four -channel's multi -protocols communication interface card
CN104461660A (en) Multi-mode dynamic loading method of heterogeneous system
CN103368974A (en) Device for supporting IEC61850 protocol based on FPGA (Field Programmable Gata Array)
CN103067201A (en) Multi-protocol communication manager
CN102789424B (en) External extended DDR2 (Double Data Rate 2) read-write method on basis of FPGA (Field Programmable Gate Array) and external extended DDR2 particle storage on basis of FPGA
CN102291337A (en) Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof
CN102708075A (en) Secure digital (SD) memory card hardware control device and control method
CN103226531B (en) A kind of dual-port peripheral configuration interface circuit
CN106292544B (en) Based on PCIE interface hardware board and its bus control method and system
CN203276266U (en) Intelligent adapter

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100915

Termination date: 20171224