CN104034928A - Multi-path signal source based on PCI and FPGA - Google Patents

Multi-path signal source based on PCI and FPGA Download PDF

Info

Publication number
CN104034928A
CN104034928A CN201410228152.7A CN201410228152A CN104034928A CN 104034928 A CN104034928 A CN 104034928A CN 201410228152 A CN201410228152 A CN 201410228152A CN 104034928 A CN104034928 A CN 104034928A
Authority
CN
China
Prior art keywords
card
pci
backboard
fpga
signal source
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.)
Pending
Application number
CN201410228152.7A
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.)
North University of China
Original Assignee
North University of China
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 North University of China filed Critical North University of China
Priority to CN201410228152.7A priority Critical patent/CN104034928A/en
Publication of CN104034928A publication Critical patent/CN104034928A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The invention discloses a multi-path signal source based on an PCI and an FPGA. According to the multi-path signal source based on the PCI and the FPGA, the FPGA servers as a central control units, a sine-wave frequency is changed through an DDS technology, and the PCI communicates with an upper computer. The signal source uses a high-precision D/A conversion chip as a core to form a waveform circuit, and the switch between the multiple paths of signal output is realized through an electronic analogue switch. The frequency, amplitude and bias of the output signal are adjustable, the precision arrives at 0.01%, and the design requirement is satisfied.

Description

A kind of multipath signal source based on PCI and FPGA
Technical field
The present invention relates to digital technology field, in particular a kind of multipath signal source based on PCI and FPGA.
Background technology
Signal source as driving source can the various test signals of analogue simulation to offer equipment under test, measure and various actual needs thereby meet, early stage frequency synthesis technique uses a frequency reference to produce variable frequency signal by digital combiner circuit, this mode job insecurity, not high, the difficult debugging of reliability.Direct Digital frequency synthesis is that DDS (Direct Digital Frequency Synthesis) is paid close attention to by industry as a kind of brand-new frequency combining method, and it can effectively overcome above shortcoming.The mode that the FPGA adopting in the present invention and DDS combine produces signal source, output Liao50 road simulating signal.Comprise 26 road low-voltage directs and sinusoidal signal and 24 road high voltage direct flow signals, wherein sinusoidal signal output frequency 0-8kHZ,, low-pressure direct flow is 0-6V, high voltage direct flow 0-48V, and signal source amplitude is all adjustable, and output accuracy reaches 0.01%.Carry out order with pci bus and host computer and issue and data data upload, with respect to usb bus, more stable, speed is also faster.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of multipath signal source based on PCI and FPGA for the deficiencies in the prior art.It is central control unit that the present invention adopts FPGA, utilize DDS technology to realize the variation of sine wave freuqency, communicate by letter with host computer by PCI, this signal source forms waveform circuit taking high precision D/A conversion chip as core, uses electronic analog swtich to realize multiple signals output switching.Signal frequency, amplitude and the biasing of output are adjustable, and precision reached 0.01%, have met designing requirement.
Technical scheme of the present invention is as follows:
Based on a multipath signal source of PCI and FPGA, comprise that power supply board, pci card, backboard, analog quantity card, D/A conversion, signal amplify conditioning, multi-way switch is selected module, followed filtration module; Power supply board is converted to needed Voltage-output to backboard by the AC/DC of input, and then backboard is voltage analog card power supply, and backboard carries out exchanges data by the pci card on optical fiber and computing machine, completes under order and passes and data upload; Described analog quantity card comprises analog quantity low pressure card and analog quantity high pressure card; Analog quantity low pressure card output 0~6V DC analogue quantity signal and the adjustable sinusoidal signal of frequency.Analog quantity high pressure card is output as 0~48V, the DC quantity that amplitude is adjustable; Host computer sends to backboard by plate card number, channel number, amplitude and frequency order packing by pci bus, backboard is transmitted to different boards by judging different plate card numbers, FPGA is to the host computer command analysis receiving, order after parsing is by the read-write for FPGA inside ROM, the conversion of high precision D/A chip AD768 and the gating of multidiameter option switch ADG708, after low pressure board signal filtering, export, high pressure board increases its current drive capability through following, and is undertaken exporting after secondary amplification filtering by OPA454.
The described multipath signal source based on PCI and FPGA, adopts the spartan-3 of Xilinx company family chip XC3S400 to be connected with peripheral circuit as the main control chip of analog quantity card
The described multipath signal source based on PCI and FPGA, pci card has adopted special interface chip PCI9054 to realize the design of interface module, and PCI9054 meets the local regulation 2.2 of PCI, and data width is 32.
The described multipath signal source based on PCI and FPGA, adopts Optical Fiber Transmission between pci card and backboard, and optical module is selected the OCM3443 of 84M/S, is placed in respectively pci card and completes communicating by letter of data with backboard.
The present invention utilizes FPGA and pci bus technology, by means of the principle idea of DDS (Direct Digital is synthetic), realize the system of multichannel analog signal source, the frequency of PC control signal and amplitude, the advantage such as signal source has that precision is high, good stability and multichannel are exported simultaneously.
Brief description of the drawings
Fig. 1 is general system proposal block diagram;
Fig. 2 is OCM3443 peripheral circuit schematic diagram;
Fig. 3 is D/A change-over circuit schematic diagram;
Fig. 4 is multichannel output and signal holding circuit schematic diagram;
Fig. 5 is second amplifying circuit schematic diagram;
Fig. 6 is principle of lowpass filter figure;
Fig. 7 is signal source program flow diagram;
Fig. 8 is high pressure card DC quantity test result;
Fig. 9 is low pressure card DC quantity;
The sine wave that Figure 10 (1.00009KHz), Figure 11 (8.00001KHz) are variable frequency.
Embodiment
Below in conjunction with specific embodiment, the present invention is described in detail.
1 overall system design scheme
The present invention adopts modular design, each module is an independent board, each board definite functions and total tune are good, and system comprises that power supply board (module), pci card, backboard, analog quantity card, D/A conversion, signal amplify conditioning, multi-way switch is selected module, followed filtration module.Designer's debugging and expansion are convenient in modular design, and in the time that functional cards goes wrong, troubleshooting is simple, for ease of maintenaince.
Power supply board (module) is converted to needed Voltage-output to backboard by the AC/DC of input, then backboard is the power supply of voltage analog card, and backboard carries out exchanges data by the pci card on optical fiber and computing machine, complete under order and pass and data upload.Two analog quantity cards of the present invention (analog quantity low pressure card and analog quantity high pressure card) carry out practical function, adopt the spartan-3 of Xilinx company family chip XC3S400 to be connected with peripheral circuit as the main control chip of analog quantity card.
Pci card has adopted special interface chip PCI9054 to realize the design of interface module, PCI9054 meets the local regulation 2.2 of PCI, data width is 32, and the burst speed when input of 33M clock is up to 132MHz/s, and general system proposal designs as shown in Figure 1.
Analog quantity low pressure card output 0~6V DC analogue quantity signal and the adjustable sinusoidal signal of frequency in the present invention.Analog quantity high pressure card is output as 0~48V, the DC quantity that amplitude is adjustable.The principle of work of system is: host computer is by plate card number, channel number, amplitude and frequency order packing send to backboard by pci bus, backboard is transmitted to different boards by different plate card numbers (mesohigh card of the present invention is 00 by judging, low pressure card is 01), FPGA is to the host computer command analysis receiving, order after parsing is by the read-write for FPGA inside ROM, the conversion of high precision D/A chip AD768 and the gating of multidiameter option switch ADG708, after low pressure board signal filtering, export, high pressure board increases its current drive capability through following, undertaken exporting after secondary amplification filtering by OPA454.Power module comprises the direct supply (output+55V ,+28V, ± 9V) of power supply board (28V changes into 5V) and customization, meets the voltage requirements of whole system.
2, hardware circuit design
2.1PCI Interface design
Pci card is inserted in computer PCI slot, be the intermediate hub that connects host computer and backboard, adopt special interface chip PCI9054 to realize being connected of local bus and pci bus, the PCI end of PCI9054 allows to access 33M clock, as use 32 bit data width, transfer rate can reach 132MB/S [1].The local side of PCI9054 provides independently address wire and data line, and data width can be configured to 8,16 or 32, allows access 0~50M local clock.PCI9054 can be configured to from mode, and computing machine is controlled local bus by PCI9054, completes issuing of order.Also can be configured to dma mode, do not need in this manner the participation of CPU, directly control between local bus and calculator memory and carry out immediate data transmission by PCI9054, in the present invention, adopt DMA burst transfer mode to meet the high speed data transfer of host computer and pci bus.
2.2 Electric ciruit design of photo-electric conversion
Simulating signal requires high precision, low-power consumption transmission, so adopt Optical Fiber Transmission between pci card and backboard, adopting the advantage of Optical Fiber Transmission is that message capacity is large, loss is low, repeater span is long and strong security.Adopt opto-electronic conversion all right anti-interference, improve reliability, optical module is selected the OCM3443 of 84M/S to be placed in respectively pci card and is completed communicating by letter of data with backboard.OCM3443 interface level standard is TTL, and with FPGA pin level compatibility, so directly join with FPGA, extremely low power dissipation designs, and its peripheral circuit as shown in Figure 2.
2.3 signal source module designs
2.3.1D/A circuit design
The effect of D/A change-over circuit is that synthetic signal waveform digital quantity is changed into analog quantity, and the resolution of D/A converter is higher, the precision of output waveform is also just higher, the quantified precision of common 8 has met accuracy requirement substantially, and actual DAC output need to consider that external condition is as the impact of temperature on signal accuracy, real output signal is to reach DAC [2]the described precision of chip.Therefore the signal accuracy in order to touch the mark and to require, in the present invention, select the high accurate A/D 768 of 16 bit resolutions, AD768 is the high-speed AD converter that current/voltage mode is exported, digital quantity input is all that 1 o'clock full deflection current reaches 20mA, meet the requirement of drive current, switching rate is up to 30MSPS.Design circuit as shown in Figure 3, I oUTAand I oUTBfor two complementary current output terminals of AD768; The reference voltage output valve that is AD768 according to chip data REFOUT is 2.5V, and reference current is 5mA, and the present invention adopts the bipolar mode of AD768.This pattern is by arranging I bIPOLARvalue be maximum feedback electric current I fBhalf, make the boundary value symmetry of output voltage.The output current I of AD768 oUTAwith reference current I bIPOLARrelational expression be:
I OUTA=(DAC CODE/65536)×(I BIPOLAR×4) (1)
In formula (1), DAC CODE is 16 bit digital input codes, 0~65535 variation.I bIPOLARvalue be 5mA.Therefore output current IO UTA scope is between 0~20mA.Output current is after operational amplifier A D811 Hyblid Buffer Amplifier, and the output end voltage of the first order is V oUT1for-1~+ 1V, second level amplifier act as see-saw circuit, obtaining last output voltage is V oUT2for-4~+ 4V, third level amplifier act as the amplifying circuit with reference voltage, obtain last output voltage V oUT3for-0.7V~+ 7.3V, wherein DAC CODE is decided by the data value to be converted of inputting.
2.3.2 analog switch and signal holding circuit design
In the present invention, analog quantity is more, reducing cost and space considers, adopt analog switch to realize multichannel selection and switching, the present invention has selected ADG708 to complete 8 and has selected 1 analog signal output, ADG708 is 8 channel electron switches, enable when effective, the address wire A0 of 3, A1, A2 8 in binary number combination control the simulating signal that will select output, through experimental verification, there is the problem slackening by analog switch in signal, so must modelled signal holding circuit ensure the stable of simulating signal, and increase its drive current, so that output time can effectively drive load.Fig. 4 is analog switch (A) and the follow circuit (B) of low-pressure designs.Fig. 4 is the circuit that low-voltage simulation card uses, for high pressure card, magnitude of voltage after D/A conversion and three grades of amplifier cascades can not reach requirement far away, must carry out secondary amplification to the signal of switch output, amplifying circuit as shown in Figure 5, amplifier chip selection OPA454, have 0~100V and ± two kinds of power supply modes of 50V, in test, find that OPA454 is not rail-to-rail amplifier, so its negative terminal voltage must be less than 0V, the present invention use-9V~+ 55V power supply, enlargement factor is: 1+R119/R110, wherein R119 has selected 12K resistance, R110 is 2K, so voltage gain is 7 times, theoretical ceiling voltage after amplifying reaches 49V, meet design requirement.
The incoming frequency of signal is lower, in order effectively to avoid the interference of high-frequency signal, adopt low-pass filter to process output signal, the RC active filter being formed by integrated transporting discharging, input impedance is high, output impedance is low, certain gain can be provided, and cutoff frequency is adjustable, as shown is the wave filter of low pressure board design, wherein first order electric capacity is connected to output terminal, has introduced appropriate positive feedback to improve amplitude versus frequency characte.High pressure simulation amount card and the difference of low-voltage simulation amount card are that the integrated transporting discharging chip adopting is different, and high pressure card adopts OPA454 to form filtering circuit (Fig. 6).
3, Design of System Software
The present invention utilizes DDS principle, completes by VHDL language at FPGA inner utilization IP Core exampleization waveform ROM, and wherein sinusoidal wave Wave data is produced by MATLAB program, and the sinusoidal signal of a complete cycle is separated into 2 8i.e. 256 sampled sequences deposit wave memorizer in after quantizing, and then give D/A by Wave data with 16 bits by addressing mode and complete digital-to-analog conversion.Host computer is clicked the equipment of opening and is signal source startup, and then FPGA is according to the information of inner register, and judgement is DC quantity or sine wave, if be that sine wave is by DDS principle [4]calculate the ROM address that frequency values is corresponding, from ROM, take out data and give DA and export, if DC quantity is directly given the binary data of corresponding internal register D/A output.Each road DC quantity or sinusoidal wave all corresponding different absolute addresses, complete the adjusting of frequency and amplitude by the mode of addressing.Control flow chart as shown in Figure 7.
4, test result analysis
With oscillograph and High Precision Multimeter output waveform and the DC quantity magnitude of voltage of test macro respectively, obtain different frequency sine wave, the DC quantity of different amplitudes, Fig. 8 is the DC quantity of hardboard output, Fig. 9 is the DC quantity of low pressing plate output, the sine wave that Figure 10 (1.00009KHz), Figure 11 (8.00001KHz) are variable frequency.The waveform obtaining is as seen from the figure smooth, and resolution is higher.Wherein reach 0.01% in sinusoidal wave output medium frequency degree of accuracy, in the output of DC quantity, amplitude degree of accuracy reaches 0.1%, meets design requirement.
Should be understood that, for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (4)

1. the multipath signal source based on PCI and FPGA, is characterized in that, comprises that power supply board, pci card, backboard, analog quantity card, D/A conversion, signal amplify conditioning, multi-way switch is selected module, followed filtration module; Power supply board is converted to needed Voltage-output to backboard by the AC/DC of input, and then backboard is voltage analog card power supply, and backboard carries out exchanges data by the pci card on optical fiber and computing machine, completes under order and passes and data upload; Described analog quantity card comprises analog quantity low pressure card and analog quantity high pressure card; Analog quantity low pressure card output 0~6V DC analogue quantity signal and the adjustable sinusoidal signal of frequency.Analog quantity high pressure card is output as 0~48V, the DC quantity that amplitude is adjustable; Host computer sends to backboard by plate card number, channel number, amplitude and frequency order packing by pci bus, backboard is transmitted to different boards by judging different plate card numbers, FPGA is to the host computer command analysis receiving, order after parsing is by the read-write for FPGA inside ROM, the conversion of high precision D/A chip AD768 and the gating of multidiameter option switch ADG708, after low pressure board signal filtering, export, high pressure board increases its current drive capability through following, and is undertaken exporting after secondary amplification filtering by OPA454.
2. the multipath signal source based on PCI and FPGA according to claim 1, is characterized in that, adopts the spartan-3 of Xilinx company family chip XC3S400 to be connected with peripheral circuit as the main control chip of analog quantity card.
3. the multipath signal source based on PCI and FPGA according to claim 1, is characterized in that, pci card has adopted special interface chip PCI9054 to realize the design of interface module, and PCI9054 meets the local regulation 2.2 of PCI, and data width is 32.
4. the multipath signal source based on PCI and FPGA according to claim 1, is characterized in that, between pci card and backboard, adopts Optical Fiber Transmission, and optical module is selected the OCM3443 of 84M/S, is placed in respectively pci card and completes communicating by letter of data with backboard.
CN201410228152.7A 2014-05-28 2014-05-28 Multi-path signal source based on PCI and FPGA Pending CN104034928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410228152.7A CN104034928A (en) 2014-05-28 2014-05-28 Multi-path signal source based on PCI and FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410228152.7A CN104034928A (en) 2014-05-28 2014-05-28 Multi-path signal source based on PCI and FPGA

Publications (1)

Publication Number Publication Date
CN104034928A true CN104034928A (en) 2014-09-10

Family

ID=51465772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410228152.7A Pending CN104034928A (en) 2014-05-28 2014-05-28 Multi-path signal source based on PCI and FPGA

Country Status (1)

Country Link
CN (1) CN104034928A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164375A (en) * 2013-03-19 2013-06-19 中国科学院声学研究所 Multichannel digital-to-analogue conversion device communicating with computer through peripheral component interconnect (PCI) bus
CN104950758A (en) * 2015-06-15 2015-09-30 北京工业大学 Multi-channel isolation and program-controlled analog signal source system
CN105652050A (en) * 2016-03-24 2016-06-08 西安鹰之航航空科技有限公司 Multiplex waveform output system and method
CN105866482A (en) * 2016-03-23 2016-08-17 中国航空工业集团公司北京长城航空测控技术研究所 Arbitrary waveform generator based on PXIe bus
CN109239423A (en) * 2018-10-15 2019-01-18 北京数采精仪科技有限公司 A kind of random waveform current signal source based on FPGA
CN109307806A (en) * 2018-09-21 2019-02-05 北京东方计量测试研究所 A kind of standard signal source of high accuracy
CN111536024A (en) * 2018-09-12 2020-08-14 国网江苏省电力有限公司泰州供电分公司 Multistage high-frequency piezoelectric pump control system
CN113219828A (en) * 2021-04-22 2021-08-06 中国电子科技集团公司第二十九研究所 Control method for gain consistency of multi-channel analog optical module
CN114137863A (en) * 2021-11-01 2022-03-04 太原市华纳方盛科技有限公司 Electric quantity signal output circuit system
CN114995586A (en) * 2022-08-08 2022-09-02 中星联华科技(北京)有限公司 Multi-channel signal source based on digital logic chip

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164375A (en) * 2013-03-19 2013-06-19 中国科学院声学研究所 Multichannel digital-to-analogue conversion device communicating with computer through peripheral component interconnect (PCI) bus
CN104950758A (en) * 2015-06-15 2015-09-30 北京工业大学 Multi-channel isolation and program-controlled analog signal source system
CN105866482A (en) * 2016-03-23 2016-08-17 中国航空工业集团公司北京长城航空测控技术研究所 Arbitrary waveform generator based on PXIe bus
CN105652050A (en) * 2016-03-24 2016-06-08 西安鹰之航航空科技有限公司 Multiplex waveform output system and method
CN111536024A (en) * 2018-09-12 2020-08-14 国网江苏省电力有限公司泰州供电分公司 Multistage high-frequency piezoelectric pump control system
CN109307806A (en) * 2018-09-21 2019-02-05 北京东方计量测试研究所 A kind of standard signal source of high accuracy
CN109239423A (en) * 2018-10-15 2019-01-18 北京数采精仪科技有限公司 A kind of random waveform current signal source based on FPGA
CN109239423B (en) * 2018-10-15 2024-05-03 北京数采精仪科技有限公司 Arbitrary waveform current signal source based on FPGA
CN113219828A (en) * 2021-04-22 2021-08-06 中国电子科技集团公司第二十九研究所 Control method for gain consistency of multi-channel analog optical module
CN114137863A (en) * 2021-11-01 2022-03-04 太原市华纳方盛科技有限公司 Electric quantity signal output circuit system
CN114995586A (en) * 2022-08-08 2022-09-02 中星联华科技(北京)有限公司 Multi-channel signal source based on digital logic chip

Similar Documents

Publication Publication Date Title
CN104034928A (en) Multi-path signal source based on PCI and FPGA
CN112165415B (en) 1553B bus control equipment, control system and control method
CN109613491B (en) High-speed signal acquisition, storage and playback system based on FPGA
CN101592706B (en) Digital and analog mixed signal chip test card
CN101587167A (en) Multi-functional integrated circuit chip testing machine
CN202995732U (en) High-speed synchronous data acquisition card
CN104142160A (en) Telemetering system converter ground testing system
CN104865457A (en) Universal detection board card
CN103036740A (en) Ethernet passive optical network (EPON) system testing method for network terminal gigabit Ethernet interface signal
CN107490756A (en) A kind of logic control signal system of usb bus
CN203688743U (en) OLED device optical and electrical property testing system
CN201434901Y (en) Test card for digital and analog mixed signal chip on chip tester
CN205506896U (en) Oscilloscope circuit
CN103955322A (en) Lower-power-consumption capacitive touch screen control chip based on distributed type structure
CN103077258B (en) High-speed synchronous data acquiring card
CN206400612U (en) A kind of multi-analog digitized sampling circuit
CN104238404A (en) Modular industrial control board
CN203025276U (en) Tester of capacitive touch screen module
CN203632687U (en) Switching circuit for communication encryption
CN109687871A (en) Analog-digital converter
CN201479118U (en) Digital-to-analog signal converter and electric energy quality signal generator using the same
CN204065964U (en) Based on the single-ended difference board of PXI structure
CN103019137A (en) Extendable measurement channel switching circuit
CN204406849U (en) A kind of modular electronic designed teaching experimental box
Li et al. Design and implementation of VXI bus Arbitrary Waveform Generator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140910

WD01 Invention patent application deemed withdrawn after publication