![]() I attach my LabView code and also the response I got (response before multiplying with the large numerator coefficient). Despite this the response saturates to its minimum and doesn’t recover. I also made sure the sampling time in the FPGA code is the same as the sampling time of the discrete controller. Then I tried doing the same with Discrete transfer function direct VI in FPGA Labview, taking care to factorise the large numerator coefficients so that it respects the input limits of the VI, and then will multiply the coefficient later after the response of the VI. So I discretized my PID controller with 100 us and Tustin method in MATLAB, and checked the response to a 1 Hz wave in discrete time using Simulink, with the discrete response as attached. I’m having trouble with the discrete transfer function implementation in LabVIEW FPGA for a while now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |