curious_mind
Full Member level 4
I have a control system modeled in matlab, which takes the inputs from ADC and then continues to process the data. Simulation works fine. In real world,I am not sure how to fix the sampling rate. ADC is a simultaneous sampling type (AD7606) and the fixed point algorithm runs in FPGA. I am using bunch of discrete integrator which requires the sampling time as a parameter. If I fix 10k as a sampling rate, I will never be able to get simultaneous data from ADC at this rate as the ADC requires more time to acquire data than 100us(10kHz). I am generating all control signals from FPGA and I am presuming that I use 10KHz as the clock source. (is that correct?)
Here is the Problem: How to maintain the same sample rate for adc and the control model and yet the data to the control model is available at every 100us
Here is the Problem: How to maintain the same sample rate for adc and the control model and yet the data to the control model is available at every 100us