RedPitayaDAQServer icon indicating copy to clipboard operation
RedPitayaDAQServer copied to clipboard

Correct the amplitude response of the ADC

Open jonschumacher opened this issue 8 years ago • 6 comments

The CIC-Compiler has a non-flat amplitude response. This can be compensated according to this article. Additionally the input stage has some issues according to this forum entry. The original image includes a compensation filter which uses the values from this forum entry. Ideally both filters should be combined in order to achieve a minimal delay.

jonschumacher avatar Oct 16 '17 18:10 jonschumacher

Hello, I have measured the ADC inputs to calculate offset and gain correction to be done on the client side. My values are similar to the ones Tobias mentioned in another issue, so this looked promising. This works for DC and very low frequencies, but already with a few 10s of kHz, I see an attenuation when plotting the acquisition. After undoing my HW modifications I can see that this is not coming from my additions. I haven't yet done further measurements, but the attenuation is not negligible. I am not sure if this is related to this dfilt1 filter or not. New to FPGA, I have not yet figured out where/how it is actually implemented in this project. Has this issue been resolved and I have a different problem? Thankful for any help, Amir

amarrei avatar Apr 09 '21 10:04 amarrei

no, we have not resolved this issue.

tknopp avatar Apr 10 '21 03:04 tknopp

@nHackel @jusack Is this resolved now?

jonschumacher avatar Feb 07 '23 15:02 jonschumacher

Yes, the implementation is finished and will be included in the upcoming release. Only the documentation of the FIR filter is missing and will be added later

nHackel avatar Mar 17 '23 09:03 nHackel

@jusack noticed that there is still an issue with the input stage when trying to capture square waves. This might still be related to the missing compensation filter. The link from the original post is broken but the file can be found here: https://github.com/RedPitaya/RedPitaya-FPGA/blob/e5f70e1dee2c633eab5c162cca25a085d10c7b55/rtl/red_pitaya_dfilt1.sv

jonschumacher avatar Sep 28 '23 11:09 jonschumacher

@jusack Is this done?

jonschumacher avatar Aug 01 '24 14:08 jonschumacher