08-25-2020 03:52 AM - edited 08-25-2020 03:56 AM
Hello,
I’m trying to build a control system, for that I’m using cRio 9053 to implement some transfer functions in Labview FPGA mode.
The test goes like this,
I have already implemented the Butterworth filter and verified the results with a signal analyzer and I can see the frequency response of the filter (Bode Diagram).
The problem is when I try to use the (Discrete transfer function VI). I entered the correct coefficients of the TF (in the Z-domain): in this case, a simple lowpass filter, but the output is unchanged…
Thanks.
Solved! Go to Solution.
08-25-2020 01:15 PM
Hi,
1. You have a Delta-Sigma card, so you don't need to set the time of the FPGA loop, it is imposed by the hardware, and that is your sample time.
2. You must tune the discrete filter with the same sample time you will use on the FPGA.
3. Review the order of the parameters on the array, I am not sure the lower index of the array corresponds to grater power of z.
09-03-2020 08:00 AM
Thank you so much for your response.
Your answer did helped me.
- I removed the samplerate parameter.
- I discretize my transfer functions with the the same sample-time of the AO card.
Things work just fine now.
PS: The order of the parameters is correct: [ ] + [ ]z + [ ]z² + ...
Thanks again.