CN104361143A - Portable data acquisition card and method thereof - Google Patents
Portable data acquisition card and method thereof Download PDFInfo
- Publication number
- CN104361143A CN104361143A CN201410704922.0A CN201410704922A CN104361143A CN 104361143 A CN104361143 A CN 104361143A CN 201410704922 A CN201410704922 A CN 201410704922A CN 104361143 A CN104361143 A CN 104361143A
- Authority
- CN
- China
- Prior art keywords
- interface
- data
- data acquisition
- mcu
- input interface
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000005070 sampling Methods 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 13
- 238000012360 testing method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 239000004606 Fillers/Extenders Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention discloses a portable data acquisition card and a method thereof. The data acquisition card comprises a housing and a movement circuit, wherein an analog signal input interface, a clock input interface, a clock output interface, a triggering input interface and an external differential digital signal input interface are formed in a front panel of the housing; a USB (universal serial bus) interface, an RJ45 interface, a power supply interface and a power supply indicating lamp are formed and arranged on a rear panel of the housing. The data acquisition method comprises the steps that four paths of AD (analog-digital) sampling data of the data acquisition card are respectively cached into four DDR (data direction registers2) of the acquisition card; after being cached, the data are introduced into a DMA (direct memory access) cache in an MCU through an interface between an FPGA (field programmable gate array) and the MCU and are finally transmitted to an upper computer through a USB3.0 interface of the MCU. The data acquisition card disclosed by the invention can be used for acquiring analog signals and digital signals and can support single-channel, double-channel and four-channel data acquisition and internal clock and external clock input.
Description
Technical field
The present invention relates to a kind of data collecting card, particularly a kind of portable data acquisition card and method thereof.
Background technology
Data acquisition, refers to automatic collection electricity or electric quantity signal from the analog-and digital-unit under tests such as sensor and other Devices to test, delivers in host computer and analyze, process.Data acquisition system (DAS) is that the measurement software and hardware product combined based on computing machine or other dedicated testing platforms realizes flexibly, user-defined measuring system.Data collecting card, namely realizes the computer extender card of data acquisition function, can pass through USB, 485,232, Ethernet, the bus such as various wireless networks access personal computer.
Data collecting card is used for gathering various types of data, and along with modern comfort is towards digitizing, informationalized high speed development, data acquisition is stuck in every field and obtains applying more and more widely.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of portable data acquisition card and method thereof are provided, this data collecting card can gather simulating signal, digital signal, the data acquisition of single channel, binary channels and four-way can be supported, support internal clocking and external clock input simultaneously, gather cassette tape 4 DDR2, every sheet capacity is 256MB, total amount is 1GB, and the data of collection, after the real-time buffer memory of capture card, are transferred to capture card outside by USB3.0 interface.
The object of the invention is to be achieved through the following technical solutions: a kind of portable data acquisition card, it comprises casing and movement circuit, the front panel of described casing is provided with analog input interface, clock input interface, clock output interface, triggers input interface and external difference digital signal input interface, the rear panel of described casing is provided with USB interface, RJ45 interface, power interface and power light;
Described movement circuit comprises AD converter, FPGA, Clock management chip, DDR2 and MCU, the data collected are transferred to FPGA by described AD converter, FPGA by data buffer storage in DDR2, after the sampled data of buffer memory 1S, the data of collection are transferred to MCU according to the instruction of MCU by FPGA, MCU transfers data in the DMA of USB, transfers data to host computer by USB.
Described analog input interface has four tunnels, and described AD converter has two, and be respectively connected with the input of two-way simulating signal, described DDR2 has four, each data storing a road collection of simulant signal.
Described AD converter adopts AD9650-105M, and board Clock management chip selects AD9516, and MCU adopts CY3014.
Described USB interface is USB3.0 interface, described external difference digital signal input interface is the J30J interface containing 21 pairs of differential lines, described power interface is the single CH10-5.08-4 interface of four-core, described analog input interface, clock input interface, clock output interface and trigger input interface and all adopt SMA interface.
A method for portable data acquisition card image data, it comprises the following steps:
S1: capture card electric power starting, data collecting card starts to carry out AD sampling to simulating signal;
After the sampled data of S2:DDR2 buffer memory 1S, stop sampling;
S3:MCU sends and starts data transfer instruction to FPGA;
S4:FPGA receives and starts data transfer instruction, reads data, and write data to SlaveFIFO by GPIF from DDR2;
After S5:MCU detects data, write data by GPIF socket to the DMA of USB;
Capture card outside is transferred to after the data of S6:USB reading DMA buffer zone.
It also comprises USB socket and empties buffer area and transmitted data and the step notifying GPIF.
The invention has the beneficial effects as follows: the invention provides a kind of portable data acquisition card and method thereof, this data collecting card can gather simulating signal, digital signal, the data acquisition of single channel, binary channels and four-way can be supported, support internal clocking and external clock input simultaneously, gather cassette tape 4 DDR2, every sheet capacity is 256MB, and total amount is 1GB, the data gathered, after the real-time buffer memory of capture card, are transferred to capture card outside by USB3.0 interface.
Accompanying drawing explanation
Fig. 1 is data collecting card structural drawing;
Fig. 2 is data collecting card backplane layout figure;
Fig. 3 is data collecting card circuit diagram;
Fig. 4 is collecting method block diagram;
In figure, 1-casing, 2-analog input interface, 3-clock output interface, 4-clock input interface, 5-triggers input interface, 6-external difference digital signal input interface, 7-power interface, 8-RJ45 interface, 9-USB interface, 10-power light.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, Figure 2 and Figure 3, a kind of portable data acquisition card, it comprises casing 1 and movement circuit, the front panel of described casing 1 is provided with analog input interface 2, clock input interface 4, clock output interface 3, triggers input interface 5 and external difference digital signal input interface 6, the rear panel of described casing 1 is provided with USB interface 9, RJ45 interface 8, power interface 7 and power light 10;
Described movement circuit comprises AD converter, FPGA, Clock management chip, DDR2 and MCU, the data collected are transferred to FPGA by described AD converter, FPGA by data buffer storage in DDR2, after the sampled data of buffer memory 1S, the data of collection are transferred to MCU according to the instruction of MCU by FPGA, MCU transfers data in the DMA of USB, transfers data to host computer by USB.
Described analog input interface has four tunnels, and described AD converter has two, and be respectively connected with the input of two-way simulating signal, described DDR2 has four, each data storing a road collection of simulant signal.
Described AD converter adopts AD9650-105M, and board Clock management chip selects AD9516, and MCU adopts CY3014.
Described USB interface is USB3.0 interface, described external difference digital signal input interface is the J30J interface containing 21 pairs of differential lines, described power interface is the single CH10-5.08-4 interface of four-core, described analog input interface, clock input interface, clock output interface and trigger input interface and all adopt SMA interface.
As shown in Figure 4, a kind of method of portable data acquisition card image data, it comprises the following steps:
S1: capture card electric power starting, data collecting card starts to carry out AD sampling to simulating signal;
After the sampled data of S2:DDR2 buffer memory 1S, stop sampling;
S3:MCU sends and starts data transfer instruction to FPGA;
S4:FPGA receives and starts data transfer instruction, reads data, and write data to SlaveFIFO by GPIF from DDR2;
After S5:MCU detects data, write data by GPIF socket to the DMA of USB;
Capture card outside is transferred to after the data of S6:USB reading DMA buffer zone.
It also comprises USB socket and empties buffer area and transmitted data and the step notifying GPIF.
4 road AD sampled datas of data collecting card are cached in capture card 4 DDR2 respectively, and after data buffer storage terminates, then imported to by the interface of FPGA and MCU in the DMA buffer memory in MCU, the USB3.0 interface eventually through MCU transfers data to host computer.Clock management chip selects AD9516, and support 2 road external clock inputs, clock is exported and can be configured by the SPI interface of FPGA, realizes 56MHz, 70MHz and 100MHz sampling clock of sampling request.Signals collecting starts to gather at the rising edge of trigger pip, and sampled point aligns with trigger pip, outside reserved J30J interface, connect the digital difference signal of directly input, for direct buffer memory transmission of digital signals, board reserves RJ45 Interface realization serial data communication, is convenient to debugging.
Claims (6)
1. a portable data acquisition card, it is characterized in that: it comprises casing (1) and movement circuit, the front panel of described casing (1) is provided with analog input interface (2), clock input interface (4), clock output interface (3), triggers input interface (5) and external difference digital signal input interface (6), the rear panel of described casing (1) is provided with USB interface (9), RJ45 interface (8), power interface (7) and power light (10);
Described movement circuit comprises AD converter, FPGA, Clock management chip, DDR2 and MCU, the data collected are transferred to FPGA by described AD converter, FPGA by data buffer storage in DDR2, after the sampled data of buffer memory 1S, the data of collection are transferred to MCU according to the instruction of MCU by FPGA, MCU transfers data in the DMA of USB, transfers data to host computer by USB.
2. a kind of portable data acquisition card according to claim 1, it is characterized in that: described analog input interface has four tunnels, described AD converter has two, is respectively connected with the input of two-way simulating signal, described DDR2 has four, each data storing a road collection of simulant signal.
3. a kind of portable data acquisition card according to claim 1, is characterized in that: described AD converter adopts AD9650-105M, and board Clock management chip selects AD9516, and MCU adopts CY3014.
4. a kind of portable data acquisition card according to claim 1, it is characterized in that: described USB interface is USB3.0 interface, described external difference digital signal input interface is the J30J interface containing 21 pairs of differential lines, described power interface is the single CH10-5.08-4 interface of four-core, described analog input interface, clock input interface, clock output interface and trigger input interface and all adopt SMA interface.
5. the method for a kind of portable data acquisition card image data as claimed in claim 1, is characterized in that: it comprises the following steps:
S1: capture card electric power starting, data collecting card starts to carry out AD sampling to simulating signal;
After the sampled data of S2:DDR2 buffer memory 1S, stop sampling;
S3:MCU sends and starts data transfer instruction to FPGA;
S4:FPGA receives and starts data transfer instruction, reads data, and write data to SlaveFIFO by GPIF from DDR2;
After S5:MCU detects data, write data by GPIF socket to the DMA of USB;
Capture card outside is transferred to after the data of S6:USB reading DMA buffer zone.
6. the method for a kind of portable data acquisition card image data according to claim 5, is characterized in that: it also comprises USB socket and empties buffer area and transmitted data and the step notifying GPIF.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410704922.0A CN104361143B (en) | 2014-11-28 | 2014-11-28 | A kind of portable data acquisition card and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410704922.0A CN104361143B (en) | 2014-11-28 | 2014-11-28 | A kind of portable data acquisition card and its method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104361143A true CN104361143A (en) | 2015-02-18 |
CN104361143B CN104361143B (en) | 2018-06-05 |
Family
ID=52528403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410704922.0A Expired - Fee Related CN104361143B (en) | 2014-11-28 | 2014-11-28 | A kind of portable data acquisition card and its method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104361143B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408213A (en) * | 2014-11-28 | 2015-03-11 | 成都龙腾中远信息技术有限公司 | Portable data acquisition card |
CN104978439A (en) * | 2015-07-24 | 2015-10-14 | 吴量 | Method and device for inputting multiple data of external device into computer |
CN106331452A (en) * | 2016-08-24 | 2017-01-11 | 宁波舜宇光电信息有限公司 | Device and method for performing image acquisition by utilizing synchronous slave SLAVEFIFO manner |
CN106530668A (en) * | 2016-12-14 | 2017-03-22 | 天津光电通信技术有限公司 | Miniature collector |
CN107908587A (en) * | 2017-10-19 | 2018-04-13 | 天津大学 | Real-time data acquisition transmitting device based on USB3.0 |
CN110347623A (en) * | 2019-07-10 | 2019-10-18 | 合肥金新允电子技术有限公司 | A kind of portable data acquisition card structure |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408902A (en) * | 2008-10-06 | 2009-04-15 | 南京大学 | Method for acquiring and transporting high speed data based on FPGA and USB bus |
-
2014
- 2014-11-28 CN CN201410704922.0A patent/CN104361143B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408902A (en) * | 2008-10-06 | 2009-04-15 | 南京大学 | Method for acquiring and transporting high speed data based on FPGA and USB bus |
Non-Patent Citations (3)
Title |
---|
刘勇等: "基于USB2.0和DDR2的数据采集***设计与FPGA实现", 《电子元器件应用》 * |
吴越等: "基于FPGA的多通道高速数据采集***", 《雷达科学与技术》 * |
郑文超等: "基于USB+FPGA的四通道数据采集***设计", 《科技资讯》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408213A (en) * | 2014-11-28 | 2015-03-11 | 成都龙腾中远信息技术有限公司 | Portable data acquisition card |
CN104408213B (en) * | 2014-11-28 | 2017-10-17 | 成都龙腾中远信息技术有限公司 | A kind of portable data acquisition card |
CN104978439A (en) * | 2015-07-24 | 2015-10-14 | 吴量 | Method and device for inputting multiple data of external device into computer |
CN106331452A (en) * | 2016-08-24 | 2017-01-11 | 宁波舜宇光电信息有限公司 | Device and method for performing image acquisition by utilizing synchronous slave SLAVEFIFO manner |
CN106530668A (en) * | 2016-12-14 | 2017-03-22 | 天津光电通信技术有限公司 | Miniature collector |
CN107908587A (en) * | 2017-10-19 | 2018-04-13 | 天津大学 | Real-time data acquisition transmitting device based on USB3.0 |
CN110347623A (en) * | 2019-07-10 | 2019-10-18 | 合肥金新允电子技术有限公司 | A kind of portable data acquisition card structure |
Also Published As
Publication number | Publication date |
---|---|
CN104361143B (en) | 2018-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104361143A (en) | Portable data acquisition card and method thereof | |
CN104408213A (en) | Portable data acquisition card | |
CN111090603B (en) | LVDS-to-USB 3.0 adapter | |
CN206541145U (en) | A kind of multi channel signals synchronous | |
CN204166088U (en) | Local discharge signal harvester | |
CN101887401A (en) | Apparatus for acquiring and storing high speed data in real time | |
CN103092119B (en) | A kind of bus state supervision method based on FPGA | |
CN203241515U (en) | Logic analyser based on PC | |
CN103257606A (en) | USB interface high-speed and real-time sampling logic analyzer | |
CN106326179A (en) | Fingerprint collection tooling and method based on SPI (serial peripheral interface) protocol | |
CN104123246A (en) | Interface expansion device and serial attached SCSI expander | |
CN100504723C (en) | USB data acquisition apparatus for power supply | |
CN106445854A (en) | Method and system for supporting transparent transmission of serial interfaces | |
CN203414947U (en) | FPGA (Field Programmable Gate Array)-based multi-channel high-speed voltage and resistance isolating acquisition card | |
CN105242603A (en) | Power collection terminal with USB OTG interface and debugging upgrade method thereof | |
CN107704417A (en) | The method and its communication system to be communicated with equipment under test | |
CN102890664A (en) | Capacity expansion data acquisition board and data storage method | |
CN204856469U (en) | General signal acquisition driver | |
CN204100994U (en) | A kind of two-phase Linear Array CCD Data Acquisition and disposal system | |
CN102121994B (en) | Data acquisition plate design method for high-resolution petroleum seismic exploration system | |
CN102109609B (en) | Method for designing high resolution overlay switch circuit of petroleum seismic prospecting system | |
CN202421267U (en) | Digital multimeter based on wifi wireless transmission | |
CN205428192U (en) | Digitalized data collector | |
CN207516997U (en) | A kind of outband management module that NVMe SSD are carried out using CPLD | |
CN204270302U (en) | A kind of portable data acquisition card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200810 Address after: 2211 Huafeng international business building, 4018 Bao'an Avenue, Yantian community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province Patentee after: Shenzhen reverse Entropy Technology Co.,Ltd. Address before: High tech Zone Tianchen road Chengdu City, Sichuan province 610000 No. 88 Patentee before: CHENGDU LONGTENG ZHONGYUAN INFORMATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180605 |