Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i synchronize PXI 7833R with other PXI DSA cards

My application includes PXI 4472 DSA cards and PXI 7833R card.How can i synchronize the operations?


0 Kudos
Message 1 of 5
(8,000 Views)

Hi,

You can synchronize the DSA and FPGA modules through the RTSI bus on the PXI backplane. For the PXI modules, the RTSI trigger lines are PXI/TRIG<0..6>. You can configure these lines as either input or output depending on your tasks; the same applies to the DSA board you have.

Please refer to the user manual for PXI-7833R and 4472:

http://digital.ni.com/manuals.nsf/websearch/6F78006EF62932BD86256FFF006DFD0C   (Page 2-15)

http://digital.ni.com/manuals.nsf/websearch/E7968CA4F4FF9D1686256A57004FFC5E (Page 2-11 and Chapter 3 )

You can either route the sample clock from 4472 to the 7833R or the other way.  If using 4472 as the trigger source, you can call the DAQmx Export Signals function to route out the signal.

 

0 Kudos
Message 2 of 5
(7,977 Views)

HI

Thanks for the reply!
 We r synchronising the FPGA 7833R board with the other 4472 DSA cards by using the PXI star line for the sample clock  of 7833R and the PXI TRIG for triggering to start acquisition in the FPGA vi.

Following the above can u please help us in resolving the issue explained below.

In general the  4472 card encounters a filter lag(antialiasing filter lag) which will be a delay to get valid data from the acquired samples of the 4472 cards.

How can we manage this delay in our FPGA card such that the FPGA and the DSA cards get synchronised .

It will great if we can have some sample codes.

Thanks and regards
Sahana




0 Kudos
Message 3 of 5
(7,963 Views)
A couple of things.  First, you can't drive the sample clock of the 4472 across the star trigger line.  The only signal you can drive on the star trigger line with the 4472 is the sample clock timebase.  On the 4472, the sample clock timebase either runs at 128 fs (51.2 kS/s < fs < 102.4 kS/s) or 256 fs (1 kS/s < fs < 51.2 kS/s).  If you share this signal with the 7833, you will need to divide it down by 128 or 256 to match the sampling rate of the 4472.  Your other option is to share the sample clock, but to share it through a PXI trigger line and not the star trigger line. 
 
However, this still doesn't deal with the filter delay, which was your original question.  For now, I'm assuming you have low-frequency alias rejection disabled.  If not, things are more complicated and I don't want to add confusion for something you may not be using.  If you don't know what low-frequency alias reject is, you're probably not using it since the default in the driver is to disable it.  With low-frequency alias rejection disabled, the ADC filter delay is 38.7 samples.  Depending on how tight of synchronization you need and how much work you want to do, there are a couple of methods you could try.  The easiest approach is just to realign the data in software.  Throw away the first 38 or 39 samples from the 4472 and this should should synchronize you to within .7 or .3 samples.  By using an analog trigger on the 4472, you can also remove the integer portion of the delay since the trigger is generated from data that has already passed through the filter.  You could also achieve this same level of synchronization by delaying the sample clock within the 7833 by N number of samples.  Both of these methods would eliminate the need to realign the data in software.  The tightest synchronization would be achieved by sharing the sample clock timebase from the 4472 and delaying the sample clock on the 7833 that is derived from it by N number of timebase ticks to compensate for both the integer and fractional delay.  I haven't done a lot of LabVIEW FPGA programming, so I admit I don't know how practical the approach of dividing down the sample clock timebase within the FPGA is.  The frequency range of the timebase is a bit weird and can vary from 256 kHz to ~13.1 MHz, but on paper it seems possible.
 
Hopefully this will give you some ideas of where you can start.  Good luck!
0 Kudos
Message 4 of 5
(7,943 Views)

Hi,

This is the first  time we are  working in FPGA and DSA. We are using 2 DSA cards 4472 and one FPGA 7833 R. We need information on how to synchronize. >From the technical material we understood that DSA master card will route Over sample clock through PXI star trigger and PXI trigger lines will route the Start trigger from DSA to FPGA card. Is our thinking right?.  Also we like to know reasons of why this over sample clock routing is required.

 

DSA filter delay: - We are thinking of how to account for the DSA filter delay in FPGA acquisition.If anyone can give us more details on this filter lag it would be great.The tacho pulses that we are acquiring with the FPGA needs to account this filter delay for the vibration analysis,so we r just pondering on how to use this delay when we measure the tacho pulse using the FPGA.

 

Regards

Sahana

0 Kudos
Message 5 of 5
(7,908 Views)