tknopp / RedPitayaDAQServer

Advanced DAQ Tools for the RedPitaya (STEMlab 125-14)
https://tknopp.github.io/RedPitayaDAQServer/dev/
Other
37 stars 10 forks source link

Correct the amplitude response of the ADC #5

Open jonschumacher opened 7 years ago

jonschumacher commented 7 years ago

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.

amarrei commented 3 years ago

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

tknopp commented 3 years ago

no, we have not resolved this issue.

jonschumacher commented 1 year ago

@nHackel @jusack Is this resolved now?

nHackel commented 1 year ago

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

jonschumacher commented 1 year ago

@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 commented 3 months ago

@jusack Is this done?